diff --git a/.gitignore b/.gitignore index 3f5134b..ea6497b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,37 @@ -SOURCES/gtk+-2.24.32.tar.xz +gtk+-2.21.5.tar.bz2 +/gtk+-2.21.6.tar.bz2 +/gtk+-2.21.7.tar.bz2 +/gtk+-2.21.8.tar.bz2 +/gtk+-2.22.0.tar.bz2 +/gtk+-2.23.2.tar.bz2 +/gtk+-2.23.90.tar.bz2 +/gtk+-2.24.0.tar.bz2 +/gtk+-2.24.1.tar.bz2 +/gtk+-2.24.3.tar.bz2 +/gtk+-2.24.4.tar.bz2 +/gtk+-2.24.5.tar.xz +/gtk+-2.24.6.tar.xz +/gtk+-2.24.7.tar.xz +/gtk+-2.24.8.tar.xz +/gtk+-2.24.10.tar.bz2 +/gtk+-2.24.11.tar.bz2 +/gtk+-2.24.13.tar.xz +/gtk+-2.24.14.tar.xz +/gtk+-2.24.15.tar.xz +/gtk+-2.24.16.tar.xz +/gtk+-2.24.17.tar.bz2 +/gtk+-2.24.18.tar.bz2 +/gtk+-2.24.19.tar.bz2 +/gtk+-2.24.20.tar.bz2 +/gtk+-2.24.21.tar.xz +/gtk+-2.24.22.tar.bz2 +/gtk+-2.24.23.tar.xz +/gtk+-2.24.24.tar.xz +/gtk+-2.24.25.tar.xz +/gtk+-2.24.26.tar.bz2 +/gtk+-2.24.27.tar.bz2 +/gtk+-2.24.28.tar.bz2 +/gtk+-2.24.29.tar.xz +/gtk+-2.24.30.tar.xz +/gtk+-2.24.31.tar.xz /gtk+-2.24.32.tar.xz diff --git a/update-gdk-pixbuf-loaders b/update-gdk-pixbuf-loaders new file mode 100644 index 0000000..4cb3045 --- /dev/null +++ b/update-gdk-pixbuf-loaders @@ -0,0 +1,48 @@ +#! /bin/sh + +if test $# != 1; then + echo usage: update-gdk-pixbuf-loaders host_triplet 1>&2 + exit 1 +fi + +umask 022 +# Deriving /etc/gtk-2.0/$host location +# +# autoconf changes linux to linux-gnu +case "$1" in + *linux) host="$1-gnu" + ;; + *) host=$1 + ;; +esac + +# autoconf uses powerpc not ppc +host=`echo $host | sed "s/^ppc/powerpc/"` +# autoconf uses ibm-linux not redhat-linux (s390x) +host=`echo $host | sed "s/^s390\(x\)*-redhat/s390\1-ibm/"` + +# We have had problems in the past with build systems +# changing host from i386 to i686 and appending/dropping +# the -gnu suffix, so try to match up the $host we got +# with whats actually there. +if [ ! -d /etc/gtk-2.0/$host ]; then + case "$host" in + i?86*) + for d in $(ls -d /etc/gtk-2.0/i?86*); do + host=$(basename $d) + break + done + ;; + esac +fi + +FILE=/etc/gtk-2.0/$host/gdk-pixbuf.loaders + +case "$host" in + alpha*|ia64*|powerpc64*|s390x*|x86_64*|aarch64*) + /usr/bin/gdk-pixbuf-query-loaders-64 > $FILE + ;; + *) + /usr/bin/gdk-pixbuf-query-loaders-32 > $FILE + ;; +esac diff --git a/update-gtk-immodules b/update-gtk-immodules old mode 100755 new mode 100644