Success with creating a minimal dependency GIMP 2.10.8 module on Porteus dev Openbox, that is able to load (and save) png and jpeg.
gimp-2.10.8-x86_64-1_stripped+minimal_dependencies_rava.xzm (13.8 MB)
3d18118f24b52cdbb1ef55c5142e8ba9 gimp-2.10.8-x86_64-1_stripped+minimal_dependencies_rava.xzm
gimp-2.10.8-x86_64-1_locales_only_rava.xzm (10.27 MB)
c0cdfbf041f42fec2737026371366ded gimp-2.10.8-x86_64-1_locales_only_rava.xzm
Click on
➤ Jetzt zur Download-Seite (Go to the Download page)
and then on
Dein Download steht nun bereit. ➤ Klicke hier, um ihn zu starten. (Your download is now ready. Click here to start)
Like always, xzm2dir gimp-2.10.8-x86_64-1_locales_only_rava.xzm and extract only the locales you need, or delete all but the ones you want to keep, and create a new minimal locale module that fits your locales need out of that.
____________________________
All dependencies and the main program:
Code: Select all
root@porteus:/Porteus_modules/x.x/gimp_depsNEU# ./txz2dir-gimp-2.10.8-x86_64-1NEU.sh
LibRaw-0.18.12-x86_64-1: library for decoding raw digital photos ......... [2.3M]
babl-0.1.60-x86_64-1: pixel format translation library ................... [980K]
gegl-0.4.12-x86_64-1: Generic Graphics Library ........................... [7.6M]
gexiv2-0.10.10-x86_64-1: GObject-based Exiv2 wrapper ..................... [2.2M]
gimp-2.10.8-x86_64-1: The GNU Image Manipulation Program ................. [105M]
jasper-2.0.14-x86_64-1: free implementation of the JPEG-2000 standard .... [610K]
json-c-0.13.1_20180305-x86_64-1: JSON library in C ....................... [1.2M]
json-glib-1.4.4-x86_64-1: GLib/GObject based JSON tools .................. [1.8M]
libmypaint-1.3.0-x86_64-1: brush engine library .......................... [680K]
The only optimizations so far are these (I am not on such an expert level when it comes to optimizing GIMP modules as ncmprhnsbl is! He is the real GIMP guru on https://forum.porteus.org !)
Code: Select all
removed
/usr/share/gimp/2.0/brushes/Fun/Wilber.gih 8.8M
resized:
/usr/share/gimp/2.0/images/gimp-splash.png now 324 KB instead of 3.2 MB
│ Target file already exists! │
│ /Porteus_modules/x.x/gimp-2.10.8-x~hare/gimp/2.0/images/gimp-splash.png │
├─────────────────────────────────────────────────────────────────────────────┤
│ New : Jan 29 23:10, size 331788 │
│ Existing: Nov 8 23:35, size 3354880 │
├─────────────────────────────────────────────────────────────────────────────┤
│ Overwrite this target? [ Yes ] [ No ] [ Append ] │
_________________________________________________________
The old now outdated original version of the post follows here:
Trying to create GIMP 2.10.8 I get this error:
Code: Select all
gzip: /tmp/txz2xzm6037/usr/man/man1/gimp-console.1.gz: No such file or directory
Creating /Porteus_modules/x/gimp-2.10.8-x86_64-1.xzm
gzip: /tmp/txz2xzm6037/usr/man/man1/gimp-console.1.gz: No such file or directory
I looked into the resulting module:
Code: Select all
root@porteus:/mnt/loop/usr/man/man1# l
total 54
drwxr-xr-x 2 root 140 2019-01-29 20:51 .
drwxr-xr-x 4 root 39 2018-11-08 23:38 ..
-rw-r--r-- 1 root 12663 2018-11-08 23:38 gimp-2.10.1
-rw-r--r-- 1 root 12663 2018-11-08 23:38 gimp-console-2.10.1
lrwxrwxrwx 1 root 22 2019-01-29 20:51 gimp-console.1.gz -> gimp-console-2.10.1.gz
-rw-r--r-- 1 root 12663 2018-11-08 23:38 gimp.1
-rw-r--r-- 1 root 8102 2018-11-08 23:38 gimptool-2.0.1
-rw-r--r-- 1 root 8102 2018-11-08 23:38 gimptool.1
I seriously thought the old txz2xzm issue, with having trouble when a .gz man page is a symlink to another .gz man page was solved ages ago, but it seems I was wrong.
The issue seems part of this code of txz2xzm
Code: Select all
# optimalization procedures, this doesn't hurt
find $TMPDIR/usr{/local/,/share/,/}{man,info} -type l -name "*.gz" 2>/dev/null | xargs -r gunzip -f
find $TMPDIR/usr{/local/,/share/,/}{man,info} -type f -name "*.gz" 2>/dev/null | xargs -r gunzip
cp -a $TMPDIR/usr/share/man $TMPDIR/usr 2>/dev/null; rm -rf $TMPDIR/usr/share/man
rm -f $TMPDIR/{usr,usr/local,var}/man/cat*/*