babam wrote: ↑24 Dec 2020, 11:05
Why not add new pango to the Xfce module.
I think when you want an efficient system and you want to use the updated pango on a regular basis, it is the best to replace it in 002-xorg.
This is the standard 002-xorg of 5.0rc2:
Code: Select all
root@porteus:/mnt/live/memory/images# find 00*|grep pango
002-xorg.xzm/usr/bin/pango-list
002-xorg.xzm/usr/bin/pango-view
002-xorg.xzm/usr/lib64/libpango-1.0.so
002-xorg.xzm/usr/lib64/libpango-1.0.so.0
002-xorg.xzm/usr/lib64/libpango-1.0.so.0.4200.4
002-xorg.xzm/usr/lib64/libpangocairo-1.0.so
002-xorg.xzm/usr/lib64/libpangocairo-1.0.so.0
002-xorg.xzm/usr/lib64/libpangocairo-1.0.so.0.4200.4
002-xorg.xzm/usr/lib64/libpangoft2-1.0.so
002-xorg.xzm/usr/lib64/libpangoft2-1.0.so.0
002-xorg.xzm/usr/lib64/libpangoft2-1.0.so.0.4200.4
002-xorg.xzm/usr/lib64/libpangomm-1.4.so
002-xorg.xzm/usr/lib64/libpangomm-1.4.so.1
002-xorg.xzm/usr/lib64/libpangomm-1.4.so.1.0.30
002-xorg.xzm/usr/lib64/libpangoxft-1.0.so
002-xorg.xzm/usr/lib64/libpangoxft-1.0.so.0
002-xorg.xzm/usr/lib64/libpangoxft-1.0.so.0.4200.4
002-xorg.xzm/var/lib/pkgtools/packages/pango-1.42.4-x86_64-1
002-xorg.xzm/var/lib/pkgtools/packages/pangomm-2.42.1-x86_64-1
You might be able to use ldd to see what exactly is missing like so:
Code: Select all
ldd /full/path/to/binary|grep "not found"
And here a short howto remove a package from a module.
First you either used find in /mnt/live/memory/images or lsxzmgrep to search multiple modules, see
lsxzmgrep
The example presumes you altready figured out that the example package to remove, ristretto, is in 003-xfce4.xzm, and that got extracted to /tmp/003-xfce4/
find PATH -name "FILE-TO-FIND" -exec rm -rf {} \;
e.g. remove ristretto from 003-xfce:
find /tmp/003-xfce4/ -name 'ristretto*' -exec rm -rf {} \;
to first test what would be deleted run this:
find /tmp/003-xfce4/ -name 'ristretto*' -exec ls -o {} \;
Better first use removepkg, then run find, like so (removing package gpicview):
ROOT=/tmp/003-xfce4/ removepkg gpicview
find /tmp/003-xfce4/|grep gpicview| xargs /bin/rm -f '{}'
You can then use installpkg to install the new package like so:
ROOT=/tmp/003-xfce4/ installpkg [packagename]
Then just dir2xzm /tmp/003-xfce4/ , as backup move the original 003-xfce4.xzm e.g. into porteus/ and copy the new 003-xfce4.xzm into porteus/base and reboot and see if all works fine.
Also, make sure you have at least one other Linux ready to boot, e.g. the same Porteus you use, with the original 003-xfce4.xzm on a USB-stick or on a 2nd USB-stick if your system might become unusable because of a broken 003-xfce4.xzm .
HTH!