import sources

This commit is contained in:
Adam Samalik 2023-06-21 13:01:24 +02:00
parent 1815909821
commit d831990580
3 changed files with 84 additions and 1 deletions

37
.gitignore vendored
View File

@ -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

48
update-gdk-pixbuf-loaders Normal file
View File

@ -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

0
update-gtk-immodules Executable file → Normal file
View File