Fix code blocks

main
Thomas Quinot 9 years ago
parent 13a64d942b
commit 672082cf6e

@ -12,7 +12,7 @@ Context
I have a very basic KDE environment, just enough to be able to run I have a very basic KDE environment, just enough to be able to run
Digikam. Anytime I try to delete a photo, I get an error message: Digikam. Anytime I try to delete a photo, I get an error message:
``` ```plain
Could not start process Could not start process
Unable to create io-slave: klauncher said: Unknown protocol 'trash'. Unable to create io-slave: klauncher said: Unknown protocol 'trash'.
``` ```
@ -26,7 +26,7 @@ Building KDE workspace
A little grep'ping in port plists hints that the missing dep A little grep'ping in port plists hints that the missing dep
might be x11/kde4-workspace. Alright, let's build that. might be x11/kde4-workspace. Alright, let's build that.
```Build log ```plain Build log
[...] [...]
===> Registering installation for kfilemetadata-4.14.3_2 as automatic ===> Registering installation for kfilemetadata-4.14.3_2 as automatic
pkg-static: Unable to access file /var/ports/work/usr/ports/sysutils/kfilemetadata/work/stage/usr/local/lib/libkfilemetadata.so.4.14.3: No such file or directory pkg-static: Unable to access file /var/ports/work/usr/ports/sysutils/kfilemetadata/work/stage/usr/local/lib/libkfilemetadata.so.4.14.3: No such file or directory
@ -44,13 +44,13 @@ Answer: the library version is not set by the package itself, it comes from a
default value from: default value from:
o o
```/usr/local/share/apps/cmake/modules/KDE4Defaults.cmake ```plain /usr/local/share/apps/cmake/modules/KDE4Defaults.cmake
set(GENERIC_LIB_VERSION "4.14.2") set(GENERIC_LIB_VERSION "4.14.2")
``` ```
Where does this come from? Where does this come from?
``` ```plain
$ pkg which /usr/local/share/apps/cmake/modules/KDE4Defaults.cmake $ pkg which /usr/local/share/apps/cmake/modules/KDE4Defaults.cmake
/usr/local/share/apps/cmake/modules/KDE4Defaults.cmake was installed by package kdelibs-4.14.2_5 /usr/local/share/apps/cmake/modules/KDE4Defaults.cmake was installed by package kdelibs-4.14.2_5
``` ```
@ -71,14 +71,14 @@ Upgrading kdelibs
Let's instead upgrade kdelibs from binary package, and hope for the best: Let's instead upgrade kdelibs from binary package, and hope for the best:
``` ```plain
# pkg install -f kdelibs # pkg install -f kdelibs
``` ```
This breaks because the binary package depends on a newer libpng, so let's upgrade this one, This breaks because the binary package depends on a newer libpng, so let's upgrade this one,
keeping the old shared lib intact just in case. keeping the old shared lib intact just in case.
``` ```plain
$ digikam $ digikam
/usr/local/lib/libpng16.so.16: version PNG16_0 required by /usr/local/lib/libkhtml.so.5 not defined /usr/local/lib/libpng16.so.16: version PNG16_0 required by /usr/local/lib/libkhtml.so.5 not defined
``` ```

Loading…
Cancel
Save