# gimp210/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This package builds a distro version of upstream "gimp" 2.10.X. #--------------------------------------------------------------------- 2. This "build" procedure compiles and installs the GIMP's standard "mng" plugin. However, the "mng" plugin only allows the GIMP to write "mng" files. The plugin doesn't provide "read" support. #--------------------------------------------------------------------- 3. Suggested preference setting: -> Edit -> Preferences -> Window Management -> Window Manager Hints -> Hint for the toolbox -> Normal window #--------------------------------------------------------------------- 4. Two added plug-ins and/or scripts [out of many]: bimp: File -> Batch Image Manipulation changefont: -> Filters -> Generic -> Change Font in all Text Layers #--------------------------------------------------------------------- [buildtimes] 00.10 hours (or 005.83 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.16 hours (or 009.38 minutes) - HP EliteBook 8560w 32GB RAM 00.21 hours (or 012.65 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.33 hours (or 019.65 minutes) - ThinkPad W530 i7 4x2 32GB RAM using a 64-bit kernel and 32-bit distro #--------------------------------------------------------------------- [settings] build = default compiler = clang exepack = yes fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING nls = disabled nowerror = yes tmpsize = 571M setpaths = \ brotli gettext gimp210 gtkcore \ json-glib lcms2 libbabl libgegl04 \ libheif libjxl libpng libraw \ openexr openjpeg openssl python2 \ libgtkhtml3 webkit2gtk3 libmypaint #--------------------------------------------------------------------- [depends] aalib alsa brotli bzip2 cpan-xml-parser curl fontconfig freetype2 gawk gettext gexiv2 glib20 grep gtkcore gvfs harfbuzz intltool isocodes jpeg lcms2 libart libbabl libexif libgegl04 libglibnet libgtkhtml3 libheif libjxl libmng # See notes near start of this file libmypaint libpng libraw librsvg libspiro libwebp libwmf libxml2 libxslt mypaint-brushes openexr openjpeg openssl pango pcre2 perl:strict # ":strict" may not be needed here pkgconf poppler pycairo pygtk2 python sed sendmail shared-mime tiff webkit2gtk3 xorg xzutils zlib #--------------------------------------------------------------------- [configure] ETCDIR=$PKGDIR_PROD/etc MANBASE=$PKGDIR_PROD/man mkdir -p $ETCDIR $MANBASE bash ./configure \ --prefix=$PKGDIR_PROD \ --host=$LACARCHHOST \ --disable-debug \ --disable-dependency-tracking \ --disable-gtk-doc \ --disable-nls \ \ --enable-gimp-remote \ --enable-python \ --enable-shared=yes \ --enable-static=no \ --enable-webkit \ \ --mandir=$MANBASE \ --sysconfdir=$ETCDIR \ \ --without-dbus \ --without-gnomevfs \ --without-hal #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin EXTDIR=$PKGDIR_SPECIAL/external-addons SHADIR=$PKGDIR_PROD/share/gimp/2.0 BRUSH_DIR=$SHADIR/brushes PLUGIN_DIR=$PKGDIR_PROD/lib/gimp/2.0/plug-ins SCRIPT_DIR=$SHADIR/scripts mkdir -p $BRUSH_DIR $PLUGIN_DIR $SCRIPT_DIR #--------------------------------------------------------------------- DIR=$SHADIR mkdir -p $DIR/patterns/Legacy tar jxf $PKGDIR_SPECIAL/gimp-data-extras-2.0.4.tar.bz2 pushd gimp-data-extras-2.0.4/ rm `find brushes/ -name Makefile\*` cp -a brushes/* $BRUSH_DIR/ cp -p patterns/Legacy/*.pat $DIR/patterns/Legacy/ cp -p scripts/*.scm $SCRIPT_DIR/ popd #--------------------------------------------------------------------- pushd $PLUGIN_DIR tar zxf $EXTDIR/more-plug-ins.tar.gz chmod 755 `find . -name changefont` popd #--------------------------------------------------------------------- BASE=gimp-plugin-bimp-2.6 tar zxf $EXTDIR/$BASE.tar.gz pushd $BASE make -j4 && make install popd rm -fr $BASE #--------------------------------------------------------------------- BASE=ocfoundry-master rm -fr $BASE tar zxf $EXTDIR/$BASE.tgz pushd $BASE mv `find . -name \*.scm` $SCRIPT_DIR/ popd rm -fr $BASE #--------------------------------------------------------------------- # This one is too slow. if [ 0 == 1 ]; then BASE=gimp-refocus-it rm -fr $BASE tar jxf $EXTDIR/$BASE.tar.bz2 pushd $BASE autoreconf -fi ./configure --prefix=$PKGDIR_PROD smpmake make install popd rm -fr $BASE fi #--------------------------------------------------------------------- cd $BINDIR mv gimp-2.10 gimp-2.10.bin sed -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ -e "s|__META_PRODTREE__|$PRODTREE|g" \ < $PKGDIR_SPECIAL/gimp-2.10.in \ > gimp-2.10 chmod 755 gimp-2.10 ln -s gimp gimp210 ln -s gimptool-2.* gimptool #--------------------------------------------------------------------- GRCDIR=$PKGDIR_PROD/etc/gimp/2.0 mkdir -p $GRCDIR cd $PKGDIR_SPECIAL cp -p sessionrc tags.xml $SHADIR/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/gimp url_home = http://www.gimp.org/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ xsoft/gimp.html url_tarball = http://download.gimp.org/pub/gimp/\ v2.10/gimp-2.10.38.tar.bz2 #--------------------------------------------------------------------- [history] 180826 Replaced "gimp208" with "gimp210" 180826 Updated from 2.8.22 to 2.10.6 180902 Added package "gvfs" to fix "Open Location" in "gimp210" 181109 Updated to 2.10.8 190407 Updated to 2.10.10 190718 Updated to 2.10.12 210125 Updated to 2.10.22 210329 Updated to 2.10.24 210906 Updated to 2.10.26 210915 Updated to 2.10.28 211220 Updated to 2.10.30 220616 Updated to 2.10.32 230225 Updated to 2.10.34 240120 Updated to 2.10.36 240503 Updated to 2.10.38 250624 Wrapper now converts ".avif" to ".png" 260315 Added numerous GIMP-2 plug-ins and/or scripts