diff --git a/README b/README deleted file mode 100644 index 1c40a741..00000000 --- a/README +++ /dev/null @@ -1,2 +0,0 @@ -CRUX compat-32 repository - diff --git a/alsa-lib-32/.32bit b/alsa-lib-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/alsa-lib-32/.footprint b/alsa-lib-32/.footprint new file mode 100644 index 00000000..75dae681 --- /dev/null +++ b/alsa-lib-32/.footprint @@ -0,0 +1,16 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/alsa-lib/ +drwxr-xr-x root/root usr/lib32/alsa-lib/smixer/ +-rwxr-xr-x root/root usr/lib32/alsa-lib/smixer/smixer-ac97.la +-rwxr-xr-x root/root usr/lib32/alsa-lib/smixer/smixer-ac97.so +-rwxr-xr-x root/root usr/lib32/alsa-lib/smixer/smixer-hda.la +-rwxr-xr-x root/root usr/lib32/alsa-lib/smixer/smixer-hda.so +-rwxr-xr-x root/root usr/lib32/alsa-lib/smixer/smixer-sbase.la +-rwxr-xr-x root/root usr/lib32/alsa-lib/smixer/smixer-sbase.so +-rwxr-xr-x root/root usr/lib32/libasound.la +lrwxrwxrwx root/root usr/lib32/libasound.so -> libasound.so.2.0.0 +lrwxrwxrwx root/root usr/lib32/libasound.so.2 -> libasound.so.2.0.0 +-rwxr-xr-x root/root usr/lib32/libasound.so.2.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/alsa.pc diff --git a/alsa-lib-32/.md5sum b/alsa-lib-32/.md5sum new file mode 100644 index 00000000..1efdbd6f --- /dev/null +++ b/alsa-lib-32/.md5sum @@ -0,0 +1 @@ +2dfa35d28471d721e592b616beedf965 alsa-lib-1.0.26.tar.bz2 diff --git a/alsa-lib-32/Pkgfile b/alsa-lib-32/Pkgfile new file mode 100644 index 00000000..262039cd --- /dev/null +++ b/alsa-lib-32/Pkgfile @@ -0,0 +1,17 @@ +# Description: ALSA libraries +# URL: http://www.alsa-project.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: alsa-lib + +name=alsa-lib-32 +version=1.0.26 +release=1 +source=(http://crux.nu/files/distfiles/alsa-lib-$version.tar.bz2) + +build() { + cd alsa-lib-$version + ./configure --prefix=/usr --libdir=/usr/lib32 --disable-python + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{bin,include,share} +} diff --git a/atk-32/.32bit b/atk-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/atk-32/.footprint b/atk-32/.footprint new file mode 100644 index 00000000..5418131c --- /dev/null +++ b/atk-32/.footprint @@ -0,0 +1,8 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rwxr-xr-x root/root usr/lib32/libatk-1.0.la +lrwxrwxrwx root/root usr/lib32/libatk-1.0.so -> libatk-1.0.so.0.20409.1 +lrwxrwxrwx root/root usr/lib32/libatk-1.0.so.0 -> libatk-1.0.so.0.20409.1 +-rwxr-xr-x root/root usr/lib32/libatk-1.0.so.0.20409.1 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/atk.pc diff --git a/atk-32/.md5sum b/atk-32/.md5sum new file mode 100644 index 00000000..60d2e26f --- /dev/null +++ b/atk-32/.md5sum @@ -0,0 +1 @@ +2184a140f71d50276669d6eda5cce5db atk-2.4.0.tar.xz diff --git a/atk-32/Pkgfile b/atk-32/Pkgfile new file mode 100644 index 00000000..dbbf067a --- /dev/null +++ b/atk-32/Pkgfile @@ -0,0 +1,17 @@ +# Description: A set of interfaces for accessibility +# URL: http://www.gtk.org/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: glib-32 atk + +name=atk-32 +version=2.4.0 +release=1 +source=(http://download.gnome.org/sources/atk/2.4/atk-$version.tar.xz) + +build () { + cd atk-$version + ./configure --prefix=/usr --libdir=/usr/lib32 + make + make DESTDIR=$PKG install + rm -r $PKG/usr/{include,share} +} diff --git a/bzip2-32/.32bit b/bzip2-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/bzip2-32/.footprint b/bzip2-32/.footprint new file mode 100644 index 00000000..fa96e9a3 --- /dev/null +++ b/bzip2-32/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libbz2.a +lrwxrwxrwx root/root usr/lib32/libbz2.so -> libbz2.so.1.0 +lrwxrwxrwx root/root usr/lib32/libbz2.so.1.0 -> libbz2.so.1.0.6 +-rwxr-xr-x root/root usr/lib32/libbz2.so.1.0.6 diff --git a/bzip2-32/.md5sum b/bzip2-32/.md5sum new file mode 100644 index 00000000..fb5468a6 --- /dev/null +++ b/bzip2-32/.md5sum @@ -0,0 +1,2 @@ +00b516f4704d4a7cb50a1d97e6e8e15b bzip2-1.0.6.tar.gz +21bba891a5e515d69fa6ca6b11eac726 bzip2.patch diff --git a/bzip2-32/Pkgfile b/bzip2-32/Pkgfile new file mode 100644 index 00000000..4c6b1d2a --- /dev/null +++ b/bzip2-32/Pkgfile @@ -0,0 +1,26 @@ +# Description: Very high-quality data compression program +# URL: http://www.bzip.org/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=bzip2-32 +version=1.0.6 +release=1 +source=(http://www.bzip.org/$version/bzip2-$version.tar.gz \ + bzip2.patch) + +build() { + cd bzip2-$version + + patch -Np1 -i $SRC/bzip2.patch + + sed -i -e 's,$(PREFIX)/lib,$(PREFIX)/lib32,g' Makefile{,-libbz2_so} + + make + make PREFIX=$PKG/usr install + + sed -i -e '38s,$(CC) ,$(CC) $(CFLAGS) ,' Makefile-libbz2_so + + make -f Makefile-libbz2_so + make -f Makefile-libbz2_so PREFIX=$PKG/usr install + rm -rf $PKG/usr/{bin,include,man} +} diff --git a/bzip2-32/bzip2.patch b/bzip2-32/bzip2.patch new file mode 100644 index 00000000..f0f93417 --- /dev/null +++ b/bzip2-32/bzip2.patch @@ -0,0 +1,162 @@ +diff -aur bzip2-1.0.6.orig/Makefile bzip2-1.0.6/Makefile +--- bzip2-1.0.6.orig/Makefile 2008-02-14 13:39:18.000000000 +0100 ++++ bzip2-1.0.6/Makefile 2009-06-14 13:49:03.889599030 +0200 +@@ -21,7 +21,7 @@ + LDFLAGS= + + BIGFILES=-D_FILE_OFFSET_BITS=64 +-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) ++CFLAGS+=-fpic -Wall -Winline $(BIGFILES) + + # Where you want it installed when you do 'make install' + PREFIX=/usr/local +@@ -70,43 +70,36 @@ + @cat words3 + + install: bzip2 bzip2recover +- if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi +- if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi +- if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi +- if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi +- if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi +- cp -f bzip2 $(PREFIX)/bin/bzip2 +- cp -f bzip2 $(PREFIX)/bin/bunzip2 +- cp -f bzip2 $(PREFIX)/bin/bzcat +- cp -f bzip2recover $(PREFIX)/bin/bzip2recover +- chmod a+x $(PREFIX)/bin/bzip2 +- chmod a+x $(PREFIX)/bin/bunzip2 +- chmod a+x $(PREFIX)/bin/bzcat +- chmod a+x $(PREFIX)/bin/bzip2recover +- cp -f bzip2.1 $(PREFIX)/man/man1 +- chmod a+r $(PREFIX)/man/man1/bzip2.1 +- cp -f bzlib.h $(PREFIX)/include +- chmod a+r $(PREFIX)/include/bzlib.h +- cp -f libbz2.a $(PREFIX)/lib +- chmod a+r $(PREFIX)/lib/libbz2.a +- cp -f bzgrep $(PREFIX)/bin/bzgrep +- ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep +- ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep +- chmod a+x $(PREFIX)/bin/bzgrep +- cp -f bzmore $(PREFIX)/bin/bzmore +- ln -s -f $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless +- chmod a+x $(PREFIX)/bin/bzmore +- cp -f bzdiff $(PREFIX)/bin/bzdiff +- ln -s -f $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp +- chmod a+x $(PREFIX)/bin/bzdiff +- cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1 +- chmod a+r $(PREFIX)/man/man1/bzgrep.1 +- chmod a+r $(PREFIX)/man/man1/bzmore.1 +- chmod a+r $(PREFIX)/man/man1/bzdiff.1 +- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzegrep.1 +- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1 +- echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1 +- echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1 ++ install -d $(PREFIX)/bin \ ++ $(PREFIX)/lib \ ++ $(PREFIX)/man/man1 \ ++ $(PREFIX)/include ++ install -m 755 bzip2 \ ++ bzip2recover \ ++ bzgrep \ ++ bzmore \ ++ bzdiff \ ++ $(PREFIX)/bin ++ install -m 644 bzlib.h $(PREFIX)/include ++ install -m 644 libbz2.a $(PREFIX)/lib ++ ln -sf bzip2 $(PREFIX)/bin/bunzip2 ++ ln -sf bzip2 $(PREFIX)/bin/bzcat ++ ln -sf bzgrep $(PREFIX)/bin/bzegrep ++ ln -sf bzgrep $(PREFIX)/bin/bzfgrep ++ ln -sf bzmore $(PREFIX)/bin/bzless ++ ln -sf bzdiff $(PREFIX)/bin/bzcmp ++ install -m 644 bzip2.1 \ ++ bzgrep.1 \ ++ bzmore.1 \ ++ bzdiff.1 \ ++ $(PREFIX)/man/man1 ++ ln -sf bzgrep.1 $(PREFIX)/man/man1/bzegrep.1 ++ ln -sf bzgrep.1 $(PREFIX)/man/man1/bzfgrep.1 ++ ln -sf bzmore.1 $(PREFIX)/man/man1/bzless.1 ++ ln -sf bzdiff.1 $(PREFIX)/man/man1/bzcmp.1 ++ ln -sf bzip2.1 $(PREFIX)/man/man1/bunzip2.1 ++ ln -sf bzip2.1 $(PREFIX)/man/man1/bzcat.1 ++ ln -sf bzip2.1 $(PREFIX)/man/man1/bzip2recover.1 + + clean: + rm -f *.o libbz2.a bzip2 bzip2recover \ +diff -aur bzip2-1.0.6.orig/Makefile-libbz2_so bzip2-1.0.6/Makefile-libbz2_so +--- bzip2-1.0.6.orig/Makefile-libbz2_so 2007-12-09 14:00:50.000000000 +0100 ++++ bzip2-1.0.6/Makefile-libbz2_so 2009-06-14 13:48:27.519580669 +0200 +@@ -24,7 +24,7 @@ + SHELL=/bin/sh + CC=gcc + BIGFILES=-D_FILE_OFFSET_BITS=64 +-CFLAGS=-fpic -fPIC -Wall -Winline -O2 -g $(BIGFILES) ++CFLAGS+=-fpic -Wall -Winline $(BIGFILES) + + OBJS= blocksort.o \ + huffman.o \ +@@ -37,11 +37,15 @@ + all: $(OBJS) + $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS) + $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6 +- rm -f libbz2.so.1.0 +- ln -s libbz2.so.1.0.6 libbz2.so.1.0 ++ ++install: ++ install -d $(PREFIX)/lib ++ install -m 755 libbz2.so.1.0.6 $(PREFIX)/lib ++ ln -sf libbz2.so.1.0.6 $(PREFIX)/lib/libbz2.so.1.0 ++ ln -sf libbz2.so.1.0 $(PREFIX)/lib/libbz2.so + + clean: +- rm -f $(OBJS) bzip2.o libbz2.so.1.0.6 libbz2.so.1.0 bzip2-shared ++ rm -f $(OBJS) bzip2.o libbz2.so.1.0.6 bzip2-shared + + blocksort.o: blocksort.c + $(CC) $(CFLAGS) -c blocksort.c +diff -aur bzip2-1.0.6.orig/bzlib_private.h bzip2-1.0.6/bzlib_private.h +--- bzip2-1.0.6.orig/bzlib_private.h 2007-12-09 15:00:46.000000000 +0100 ++++ bzip2-1.0.6/bzlib_private.h 2009-06-14 13:53:28.200579230 +0200 +@@ -128,7 +128,7 @@ + + /*-- Stuff for randomising repetitive blocks. --*/ + +-extern Int32 BZ2_rNums[512]; ++extern const Int32 BZ2_rNums[512]; + + #define BZ_RAND_DECLS \ + Int32 rNToGo; \ +@@ -152,7 +152,7 @@ + + /*-- Stuff for doing CRCs. --*/ + +-extern UInt32 BZ2_crc32Table[256]; ++extern const UInt32 BZ2_crc32Table[256]; + + #define BZ_INITIALISE_CRC(crcVar) \ + { \ +diff -aur bzip2-1.0.6.orig/crctable.c bzip2-1.0.6/crctable.c +--- bzip2-1.0.6.orig/crctable.c 2007-12-09 13:29:49.000000000 +0100 ++++ bzip2-1.0.6/crctable.c 2009-06-14 13:52:33.248830630 +0200 +@@ -28,7 +28,7 @@ + comp.compression FAQ. + --*/ + +-UInt32 BZ2_crc32Table[256] = { ++const UInt32 BZ2_crc32Table[256] = { + + /*-- Ugly, innit? --*/ + +diff -aur bzip2-1.0.6.orig/randtable.c bzip2-1.0.6/randtable.c +--- bzip2-1.0.6.orig/randtable.c 2007-12-09 13:32:55.000000000 +0100 ++++ bzip2-1.0.6/randtable.c 2009-06-14 13:53:38.063580427 +0200 +@@ -23,7 +23,7 @@ + + + /*---------------------------------------------*/ +-Int32 BZ2_rNums[512] = { ++const Int32 BZ2_rNums[512] = { + 619, 720, 127, 481, 931, 816, 813, 233, 566, 247, + 985, 724, 205, 454, 863, 491, 741, 242, 949, 214, + 733, 859, 335, 708, 621, 574, 73, 654, 730, 472, diff --git a/cairo-32/.32bit b/cairo-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/cairo-32/.footprint b/cairo-32/.footprint new file mode 100644 index 00000000..8ba45473 --- /dev/null +++ b/cairo-32/.footprint @@ -0,0 +1,37 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/cairo/ +-rw-r--r-- root/root usr/lib32/cairo/libcairo-trace.a +-rwxr-xr-x root/root usr/lib32/cairo/libcairo-trace.la +lrwxrwxrwx root/root usr/lib32/cairo/libcairo-trace.so -> libcairo-trace.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/cairo/libcairo-trace.so.0 -> libcairo-trace.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/cairo/libcairo-trace.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libcairo-gobject.a +-rwxr-xr-x root/root usr/lib32/libcairo-gobject.la +lrwxrwxrwx root/root usr/lib32/libcairo-gobject.so -> libcairo-gobject.so.2.11200.4 +lrwxrwxrwx root/root usr/lib32/libcairo-gobject.so.2 -> libcairo-gobject.so.2.11200.4 +-rwxr-xr-x root/root usr/lib32/libcairo-gobject.so.2.11200.4 +-rw-r--r-- root/root usr/lib32/libcairo-script-interpreter.a +-rwxr-xr-x root/root usr/lib32/libcairo-script-interpreter.la +lrwxrwxrwx root/root usr/lib32/libcairo-script-interpreter.so -> libcairo-script-interpreter.so.2.11200.4 +lrwxrwxrwx root/root usr/lib32/libcairo-script-interpreter.so.2 -> libcairo-script-interpreter.so.2.11200.4 +-rwxr-xr-x root/root usr/lib32/libcairo-script-interpreter.so.2.11200.4 +-rw-r--r-- root/root usr/lib32/libcairo.a +-rwxr-xr-x root/root usr/lib32/libcairo.la +lrwxrwxrwx root/root usr/lib32/libcairo.so -> libcairo.so.2.11200.4 +lrwxrwxrwx root/root usr/lib32/libcairo.so.2 -> libcairo.so.2.11200.4 +-rwxr-xr-x root/root usr/lib32/libcairo.so.2.11200.4 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-fc.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-ft.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-gobject.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-pdf.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-png.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-ps.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-script.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-svg.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-xcb-shm.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-xcb.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-xlib-xrender.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo-xlib.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/cairo.pc diff --git a/cairo-32/.md5sum b/cairo-32/.md5sum new file mode 100644 index 00000000..36e9c5f1 --- /dev/null +++ b/cairo-32/.md5sum @@ -0,0 +1 @@ +a64bb8774a1e476e5cdd69e635794dfb cairo-1.12.4.tar.xz diff --git a/cairo-32/Pkgfile b/cairo-32/Pkgfile new file mode 100644 index 00000000..25695fca --- /dev/null +++ b/cairo-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: A 2D graphics library with support for multiple output devices +# URL: http://www.cairographics.org/ +# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu +# Depends on: fontconfig-32 libpng-32 xorg-libxrender-32 xorg-libpixman-32 xorg-xcb-util-32 glib-32 cairo + +name=cairo-32 +version=1.12.4 +release=2 +source=(http://cairographics.org/releases/cairo-$version.tar.xz) + +build() { + cd cairo-$version + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --enable-xcb=yes \ + --enable-ps \ + --enable-pdf \ + --disable-gtk-doc + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{bin,include,share} +} diff --git a/cdparanoia-32/.32bit b/cdparanoia-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/cdparanoia-32/.footprint b/cdparanoia-32/.footprint new file mode 100644 index 00000000..5c042542 --- /dev/null +++ b/cdparanoia-32/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libcdda_interface.a +lrwxrwxrwx root/root usr/lib32/libcdda_interface.so -> libcdda_interface.so.0.10.2 +lrwxrwxrwx root/root usr/lib32/libcdda_interface.so.0 -> libcdda_interface.so.0.10.2 +-rw-r--r-- root/root usr/lib32/libcdda_interface.so.0.10.2 +-rw-r--r-- root/root usr/lib32/libcdda_paranoia.a +lrwxrwxrwx root/root usr/lib32/libcdda_paranoia.so -> libcdda_paranoia.so.0.10.2 +lrwxrwxrwx root/root usr/lib32/libcdda_paranoia.so.0 -> libcdda_paranoia.so.0.10.2 +-rw-r--r-- root/root usr/lib32/libcdda_paranoia.so.0.10.2 diff --git a/cdparanoia-32/.md5sum b/cdparanoia-32/.md5sum new file mode 100644 index 00000000..1cd07d6a --- /dev/null +++ b/cdparanoia-32/.md5sum @@ -0,0 +1,3 @@ +aa57d4e1b897fdf12f1e7fbb4747ec43 cdparanoia-10.2-gcc43.patch +af737d5ebac45b7006111fe3c59bced5 cdparanoia-10.2-ldflags.patch +b304bbe8ab63373924a744eac9ebc652 cdparanoia-III-10.2.src.tgz diff --git a/cdparanoia-32/Pkgfile b/cdparanoia-32/Pkgfile new file mode 100644 index 00000000..07c65dca --- /dev/null +++ b/cdparanoia-32/Pkgfile @@ -0,0 +1,29 @@ +# Description: CDDA extraction tool with jitter correction +# URL: http://xiph.org/paranoia/ +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: cdparanoia + +name=cdparanoia-32 +version=10.2 +release=2 +source=(http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$version.src.tgz + cdparanoia-$version-gcc43.patch + cdparanoia-$version-ldflags.patch) + +build() { + cd cdparanoia-III-$version + patch -p 0 -i $SRC/cdparanoia-$version-gcc43.patch + patch -p 1 -i $SRC/cdparanoia-$version-ldflags.patch + autoreconf + + ./configure \ + --prefix=/usr \ + --mandir=$PKG/usr/man \ + --libdir=$PKG/usr/lib32 \ + --host=i686-pc-linux-gnu + + make -j 1 + make prefix=$PKG/usr install + + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} +} diff --git a/cdparanoia-32/cdparanoia-10.2-gcc43.patch b/cdparanoia-32/cdparanoia-10.2-gcc43.patch new file mode 100644 index 00000000..13b34916 --- /dev/null +++ b/cdparanoia-32/cdparanoia-10.2-gcc43.patch @@ -0,0 +1,585 @@ +# http://bugs.gentoo.org/show_bug.cgi?id=238378 +# https://trac.xiph.org/changeset/15338 + +Index: interface/test_interface.c +=================================================================== +--- interface/test_interface.c (revision 15337) ++++ interface/test_interface.c (revision 15338) +@@ -66,9 +66,9 @@ + if(!fd)fd=fdopen(d->cdda_fd,"r"); + + if(beginprivate->last_milliseconds=20; ++ d->private_data->last_milliseconds=20; + else +- d->private->last_milliseconds=sectors; ++ d->private_data->last_milliseconds=sectors; + + #ifdef CDDA_TEST_UNDERRUN + sectors-=1; +Index: interface/cdda_interface.h +=================================================================== +--- interface/cdda_interface.h (revision 15337) ++++ interface/cdda_interface.h (revision 15338) +@@ -84,7 +84,7 @@ + int is_atapi; + int is_mmc; + +- cdda_private_data_t *private; ++ cdda_private_data_t *private_data; + void *reserved; + unsigned char inqbytes[4]; + +Index: interface/interface.c +=================================================================== +--- interface/interface.c (revision 15337) ++++ interface/interface.c (revision 15338) +@@ -39,9 +39,9 @@ + if(d->drive_model)free(d->drive_model); + if(d->cdda_fd!=-1)close(d->cdda_fd); + if(d->ioctl_fd!=-1 && d->ioctl_fd!=d->cdda_fd)close(d->ioctl_fd); +- if(d->private){ +- if(d->private->sg_hd)free(d->private->sg_hd); +- free(d->private); ++ if(d->private_data){ ++ if(d->private_data->sg_hd)free(d->private_data->sg_hd); ++ free(d->private_data); + } + + free(d); +@@ -127,7 +127,7 @@ + } + } + } +- if(ms)*ms=d->private->last_milliseconds; ++ if(ms)*ms=d->private_data->last_milliseconds; + return(sectors); + } + +Index: interface/scsi_interface.c +=================================================================== +--- interface/scsi_interface.c (revision 15337) ++++ interface/scsi_interface.c (revision 15338) +@@ -15,13 +15,13 @@ + static int timed_ioctl(cdrom_drive *d, int fd, int command, void *arg){ + struct timespec tv1; + struct timespec tv2; +- int ret1=clock_gettime(d->private->clock,&tv1); ++ int ret1=clock_gettime(d->private_data->clock,&tv1); + int ret2=ioctl(fd, command,arg); +- int ret3=clock_gettime(d->private->clock,&tv2); ++ int ret3=clock_gettime(d->private_data->clock,&tv2); + if(ret1<0 || ret3<0){ +- d->private->last_milliseconds=-1; ++ d->private_data->last_milliseconds=-1; + }else{ +- d->private->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000. + (tv2.tv_nsec-tv1.tv_nsec)/1000000.; ++ d->private_data->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000. + (tv2.tv_nsec-tv1.tv_nsec)/1000000.; + } + return ret2; + } +@@ -96,7 +96,7 @@ + static void clear_garbage(cdrom_drive *d){ + fd_set fdset; + struct timeval tv; +- struct sg_header *sg_hd=d->private->sg_hd; ++ struct sg_header *sg_hd=d->private_data->sg_hd; + int flag=0; + + /* clear out any possibly preexisting garbage */ +@@ -185,7 +185,7 @@ + struct timespec tv2; + int tret1,tret2; + int status = 0; +- struct sg_header *sg_hd=d->private->sg_hd; ++ struct sg_header *sg_hd=d->private_data->sg_hd; + long writebytes=SG_OFF+cmd_len+in_size; + + /* generic scsi device services */ +@@ -195,7 +195,7 @@ + + memset(sg_hd,0,sizeof(sg_hd)); + memset(sense_buffer,0,SG_MAX_SENSE); +- memcpy(d->private->sg_buffer,cmd,cmd_len+in_size); ++ memcpy(d->private_data->sg_buffer,cmd,cmd_len+in_size); + sg_hd->twelve_byte = cmd_len == 12; + sg_hd->result = 0; + sg_hd->reply_len = SG_OFF + out_size; +@@ -209,7 +209,7 @@ + tell if the command failed. Scared yet? */ + + if(bytecheck && out_size>in_size){ +- memset(d->private->sg_buffer+cmd_len+in_size,bytefill,out_size-in_size); ++ memset(d->private_data->sg_buffer+cmd_len+in_size,bytefill,out_size-in_size); + /* the size does not remove cmd_len due to the way the kernel + driver copies buffers */ + writebytes+=(out_size-in_size); +@@ -243,7 +243,7 @@ + } + + sigprocmask (SIG_BLOCK, &(d->sigset), NULL ); +- tret1=clock_gettime(d->private->clock,&tv1); ++ tret1=clock_gettime(d->private_data->clock,&tv1); + errno=0; + status = write(d->cdda_fd, sg_hd, writebytes ); + +@@ -289,7 +289,7 @@ + } + } + +- tret2=clock_gettime(d->private->clock,&tv2); ++ tret2=clock_gettime(d->private_data->clock,&tv2); + errno=0; + status = read(d->cdda_fd, sg_hd, SG_OFF + out_size); + sigprocmask ( SIG_UNBLOCK, &(d->sigset), NULL ); +@@ -313,7 +313,7 @@ + if(bytecheck && in_size+cmd_lenprivate->sg_buffer[i]!=bytefill){ ++ if(d->private_data->sg_buffer[i]!=bytefill){ + flag=1; + break; + } +@@ -326,9 +326,9 @@ + + errno=0; + if(tret1<0 || tret2<0){ +- d->private->last_milliseconds=-1; ++ d->private_data->last_milliseconds=-1; + }else{ +- d->private->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000 + (tv2.tv_nsec-tv1.tv_nsec)/1000000; ++ d->private_data->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000 + (tv2.tv_nsec-tv1.tv_nsec)/1000000; + } + return(0); + } +@@ -347,7 +347,7 @@ + + memset(&hdr,0,sizeof(hdr)); + memset(sense,0,sizeof(sense)); +- memcpy(d->private->sg_buffer,cmd+cmd_len,in_size); ++ memcpy(d->private_data->sg_buffer,cmd+cmd_len,in_size); + + hdr.cmdp = cmd; + hdr.cmd_len = cmd_len; +@@ -355,7 +355,7 @@ + hdr.mx_sb_len = SG_MAX_SENSE; + hdr.timeout = 50000; + hdr.interface_id = 'S'; +- hdr.dxferp = d->private->sg_buffer; ++ hdr.dxferp = d->private_data->sg_buffer; + hdr.flags = SG_FLAG_DIRECT_IO; /* direct IO if we can get it */ + + /* scary buffer fill hack */ +@@ -400,7 +400,7 @@ + if(bytecheck && in_sizeprivate->sg_buffer[i]!=bytefill){ ++ if(d->private_data->sg_buffer[i]!=bytefill){ + flag=1; + break; + } +@@ -412,7 +412,7 @@ + } + + /* Can't rely on .duration because we can't be certain kernel has HZ set to something useful */ +- /* d->private->last_milliseconds = hdr.duration; */ ++ /* d->private_data->last_milliseconds = hdr.duration; */ + + errno = 0; + return 0; +@@ -445,9 +445,9 @@ + + handle_scsi_cmd(d, cmd, 6, 0, 56, 0,0, sense); + +- key = d->private->sg_buffer[2] & 0xf; +- ASC = d->private->sg_buffer[12]; +- ASCQ = d->private->sg_buffer[13]; ++ key = d->private_data->sg_buffer[2] & 0xf; ++ ASC = d->private_data->sg_buffer[12]; ++ ASCQ = d->private_data->sg_buffer[13]; + + if(key == 2 && ASC == 4 && ASCQ == 1) return 0; + return 1; +@@ -492,7 +492,7 @@ + if (handle_scsi_cmd (d, cmd, 10, 0, size+4,'\377',1,sense)) return(1); + + { +- unsigned char *b=d->private->sg_buffer; ++ unsigned char *b=d->private_data->sg_buffer; + if(b[0])return(1); /* Handles only up to 256 bytes */ + if(b[6])return(1); /* Handles only up to 256 bytes */ + +@@ -604,8 +604,8 @@ + static unsigned int get_orig_sectorsize(cdrom_drive *d){ + if(mode_sense(d,12,0x01))return(-1); + +- d->orgdens = d->private->sg_buffer[4]; +- return(d->orgsize = ((int)(d->private->sg_buffer[10])<<8)+d->private->sg_buffer[11]); ++ d->orgdens = d->private_data->sg_buffer[4]; ++ return(d->orgsize = ((int)(d->private_data->sg_buffer[10])<<8)+d->private_data->sg_buffer[11]); + } + + /* switch CDROM scsi drives to given sector size */ +@@ -664,8 +664,8 @@ + return(-4); + } + +- first=d->private->sg_buffer[2]; +- last=d->private->sg_buffer[3]; ++ first=d->private_data->sg_buffer[2]; ++ last=d->private_data->sg_buffer[3]; + tracks=last-first+1; + + if (last > MAXTRK || first > MAXTRK || last<0 || first<0) { +@@ -683,7 +683,7 @@ + return(-5); + } + { +- scsi_TOC *toc=(scsi_TOC *)(d->private->sg_buffer+4); ++ scsi_TOC *toc=(scsi_TOC *)(d->private_data->sg_buffer+4); + + d->disc_toc[i-first].bFlags=toc->bFlags; + d->disc_toc[i-first].bTrack=i; +@@ -704,7 +704,7 @@ + return(-2); + } + { +- scsi_TOC *toc=(scsi_TOC *)(d->private->sg_buffer+4); ++ scsi_TOC *toc=(scsi_TOC *)(d->private_data->sg_buffer+4); + + d->disc_toc[i-first].bFlags=toc->bFlags; + d->disc_toc[i-first].bTrack=0xAA; +@@ -738,7 +738,7 @@ + } + + /* copy to our structure and convert start sector */ +- tracks = d->private->sg_buffer[1]; ++ tracks = d->private_data->sg_buffer[1]; + if (tracks > MAXTRK) { + cderror(d,"003: CDROM reporting illegal number of tracks\n"); + return(-3); +@@ -754,33 +754,33 @@ + return(-5); + } + +- d->disc_toc[i].bFlags = d->private->sg_buffer[10]; ++ d->disc_toc[i].bFlags = d->private_data->sg_buffer[10]; + d->disc_toc[i].bTrack = i + 1; + + d->disc_toc[i].dwStartSector= d->adjust_ssize * +- (((signed char)(d->private->sg_buffer[2])<<24) | +- (d->private->sg_buffer[3]<<16)| +- (d->private->sg_buffer[4]<<8)| +- (d->private->sg_buffer[5])); ++ (((signed char)(d->private_data->sg_buffer[2])<<24) | ++ (d->private_data->sg_buffer[3]<<16)| ++ (d->private_data->sg_buffer[4]<<8)| ++ (d->private_data->sg_buffer[5])); + } + + d->disc_toc[i].bFlags = 0; + d->disc_toc[i].bTrack = i + 1; +- memcpy (&foo, d->private->sg_buffer+2, 4); +- memcpy (&bar, d->private->sg_buffer+6, 4); ++ memcpy (&foo, d->private_data->sg_buffer+2, 4); ++ memcpy (&bar, d->private_data->sg_buffer+6, 4); + d->disc_toc[i].dwStartSector = d->adjust_ssize * (be32_to_cpu(foo) + + be32_to_cpu(bar)); + + d->disc_toc[i].dwStartSector= d->adjust_ssize * +- ((((signed char)(d->private->sg_buffer[2])<<24) | +- (d->private->sg_buffer[3]<<16)| +- (d->private->sg_buffer[4]<<8)| +- (d->private->sg_buffer[5]))+ ++ ((((signed char)(d->private_data->sg_buffer[2])<<24) | ++ (d->private_data->sg_buffer[3]<<16)| ++ (d->private_data->sg_buffer[4]<<8)| ++ (d->private_data->sg_buffer[5]))+ + +- ((((signed char)(d->private->sg_buffer[6])<<24) | +- (d->private->sg_buffer[7]<<16)| +- (d->private->sg_buffer[8]<<8)| +- (d->private->sg_buffer[9])))); ++ ((((signed char)(d->private_data->sg_buffer[6])<<24) | ++ (d->private_data->sg_buffer[7]<<16)| ++ (d->private_data->sg_buffer[8]<<8)| ++ (d->private_data->sg_buffer[9])))); + + + d->cd_extra = FixupTOC(d,tracks+1); +@@ -817,7 +817,7 @@ + cmd[8] = sectors; + if((ret=handle_scsi_cmd(d,cmd,10,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -836,7 +836,7 @@ + cmd[9] = sectors; + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -854,7 +854,7 @@ + cmd[8] = sectors; + if((ret=handle_scsi_cmd(d,cmd,10,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -872,7 +872,7 @@ + cmd[9] = sectors; + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -890,7 +890,7 @@ + cmd[8] = sectors; + if((ret=handle_scsi_cmd(d,cmd,10,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -908,7 +908,7 @@ + cmd[9] = sectors; + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -922,7 +922,7 @@ + cmd[8] = sectors; + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -936,7 +936,7 @@ + cmd[8] = sectors; + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -950,7 +950,7 @@ + cmd[8] = sectors; + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -964,7 +964,7 @@ + cmd[8] = sectors; + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -978,7 +978,7 @@ + cmd[8] = sectors; + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -992,7 +992,7 @@ + cmd[8] = sectors; + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -1026,7 +1026,7 @@ + + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -1039,7 +1039,7 @@ + + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -1052,7 +1052,7 @@ + + if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense))) + return(ret); +- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW); ++ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW); + return(0); + } + +@@ -1275,7 +1275,7 @@ + static int count_2352_bytes(cdrom_drive *d){ + long i; + for(i=2351;i>=0;i--) +- if(d->private->sg_buffer[i]!=(unsigned char)'\177') ++ if(d->private_data->sg_buffer[i]!=(unsigned char)'\177') + return(((i+3)>>2)<<2); + + return(0); +@@ -1284,7 +1284,7 @@ + static int verify_nonzero(cdrom_drive *d){ + long i,flag=0; + for(i=0;i<2352;i++) +- if(d->private->sg_buffer[i]!=0){ ++ if(d->private_data->sg_buffer[i]!=0){ + flag=1; + break; + } +@@ -1621,7 +1621,7 @@ + d->is_mmc=0; + if(mode_sense(d,22,0x2A)==0){ + +- b=d->private->sg_buffer; ++ b=d->private_data->sg_buffer; + b+=b[3]+4; + + if((b[0]&0x3F)==0x2A){ +@@ -1669,7 +1669,7 @@ + cderror(d,"008: Unable to identify CDROM model\n"); + return(NULL); + } +- return (d->private->sg_buffer); ++ return (d->private_data->sg_buffer); + } + + int scsi_init_drive(cdrom_drive *d){ +@@ -1725,8 +1725,8 @@ + check_cache(d); + + d->error_retry=1; +- d->private->sg_hd=realloc(d->private->sg_hd,d->nsectors*CD_FRAMESIZE_RAW + SG_OFF + 128); +- d->private->sg_buffer=((unsigned char *)d->private->sg_hd)+SG_OFF; ++ d->private_data->sg_hd=realloc(d->private_data->sg_hd,d->nsectors*CD_FRAMESIZE_RAW + SG_OFF + 128); ++ d->private_data->sg_buffer=((unsigned char *)d->private_data->sg_hd)+SG_OFF; + d->report_all=1; + return(0); + } +Index: interface/cooked_interface.c +=================================================================== +--- interface/cooked_interface.c (revision 15337) ++++ interface/cooked_interface.c (revision 15338) +@@ -13,13 +13,13 @@ + static int timed_ioctl(cdrom_drive *d, int fd, int command, void *arg){ + struct timespec tv1; + struct timespec tv2; +- int ret1=clock_gettime(d->private->clock,&tv1); ++ int ret1=clock_gettime(d->private_data->clock,&tv1); + int ret2=ioctl(fd, command,arg); +- int ret3=clock_gettime(d->private->clock,&tv2); ++ int ret3=clock_gettime(d->private_data->clock,&tv2); + if(ret1<0 || ret3<0){ +- d->private->last_milliseconds=-1; ++ d->private_data->last_milliseconds=-1; + }else{ +- d->private->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000. + (tv2.tv_nsec-tv1.tv_nsec)/1000000.; ++ d->private_data->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000. + (tv2.tv_nsec-tv1.tv_nsec)/1000000.; + } + return ret2; + } +Index: interface/scan_devices.c +=================================================================== +--- interface/scan_devices.c (revision 15337) ++++ interface/scan_devices.c (revision 15338) +@@ -264,11 +264,11 @@ + d->interface=COOKED_IOCTL; + d->bigendianp=-1; /* We don't know yet... */ + d->nsectors=-1; +- d->private=calloc(1,sizeof(*d->private)); ++ d->private_data=calloc(1,sizeof(*d->private_data)); + { + /* goddamnit */ + struct timespec tv; +- d->private->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC); ++ d->private_data->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC); + } + idmessage(messagedest,messages,"\t\tCDROM sensed: %s\n",description); + return(d); +@@ -674,15 +674,15 @@ + d->bigendianp=-1; /* We don't know yet... */ + d->nsectors=-1; + d->messagedest = messagedest; +- d->private=calloc(1,sizeof(*d->private)); ++ d->private_data=calloc(1,sizeof(*d->private_data)); + { + /* goddamnit */ + struct timespec tv; +- d->private->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC); ++ d->private_data->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC); + } + if(use_sgio){ + d->interface=SGIO_SCSI; +- d->private->sg_buffer=(unsigned char *)(d->private->sg_hd=malloc(MAX_BIG_BUFF_SIZE)); ++ d->private_data->sg_buffer=(unsigned char *)(d->private_data->sg_hd=malloc(MAX_BIG_BUFF_SIZE)); + g_fd=d->cdda_fd=dup(d->ioctl_fd); + }else{ + version=verify_SG_version(d,messagedest,messages); +@@ -696,8 +696,8 @@ + } + + /* malloc our big buffer for scsi commands */ +- d->private->sg_hd=malloc(MAX_BIG_BUFF_SIZE); +- d->private->sg_buffer=((unsigned char *)d->private->sg_hd)+SG_OFF; ++ d->private_data->sg_hd=malloc(MAX_BIG_BUFF_SIZE); ++ d->private_data->sg_buffer=((unsigned char *)d->private_data->sg_hd)+SG_OFF; + } + + { +@@ -772,9 +772,9 @@ + if(i_fd!=-1)close(i_fd); + if(g_fd!=-1)close(g_fd); + if(d){ +- if(d->private){ +- if(d->private->sg_hd)free(d->private->sg_hd); +- free(d->private); ++ if(d->private_data){ ++ if(d->private_data->sg_hd)free(d->private_data->sg_hd); ++ free(d->private_data); + } + free(d); + } +@@ -821,7 +821,7 @@ + d->interface=TEST_INTERFACE; + d->bigendianp=-1; /* We don't know yet... */ + d->nsectors=-1; +- d->private=calloc(1,sizeof(*d->private)); ++ d->private_data=calloc(1,sizeof(*d->private_data)); + d->drive_model=copystring("File based test interface"); + idmessage(messagedest,messages,"\t\tCDROM sensed: %s\n",d->drive_model); + diff --git a/cdparanoia-32/cdparanoia-10.2-ldflags.patch b/cdparanoia-32/cdparanoia-10.2-ldflags.patch new file mode 100644 index 00000000..fa643cec --- /dev/null +++ b/cdparanoia-32/cdparanoia-10.2-ldflags.patch @@ -0,0 +1,24 @@ +diff -pruN cdparanoia-III-10.2.orig/interface/Makefile.in cdparanoia-III-10.2/interface/Makefile.in +--- cdparanoia-III-10.2.orig/interface/Makefile.in 2011-12-30 16:30:42.292074083 +1100 ++++ cdparanoia-III-10.2/interface/Makefile.in 2011-12-30 16:30:59.983074083 +1100 +@@ -46,7 +46,7 @@ libcdda_interface.a: $(OFILES) + $(RANLIB) libcdda_interface.a + + libcdda_interface.so: $(OFILES) +- $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS) ++ $(CC) -fpic -shared $(LDFLAGS) -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS) + [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so.0 + [ -e libcdda_interface.so ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so + +diff -pruN cdparanoia-III-10.2.orig/paranoia/Makefile.in cdparanoia-III-10.2/paranoia/Makefile.in +--- cdparanoia-III-10.2.orig/paranoia/Makefile.in 2011-12-30 16:30:42.292074083 +1100 ++++ cdparanoia-III-10.2/paranoia/Makefile.in 2011-12-30 16:31:53.520074087 +1100 +@@ -44,7 +44,7 @@ libcdda_paranoia.a: $(OFILES) + $(RANLIB) libcdda_paranoia.a + + libcdda_paranoia.so: $(OFILES) +- $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) -L ../interface -lcdda_interface ++ $(CC) -fpic -shared $(LDFLAGS) -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) -L ../interface -lcdda_interface + [ -e libcdda_paranoia.so.0 ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so.0 + [ -e libcdda_paranoia.so ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so + diff --git a/db-32/.32bit b/db-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/db-32/.footprint b/db-32/.footprint new file mode 100644 index 00000000..94caa578 --- /dev/null +++ b/db-32/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libdb-5.3.a +-rw-r--r-- root/root usr/lib32/libdb-5.3.la +-rwxr-xr-x root/root usr/lib32/libdb-5.3.so +lrwxrwxrwx root/root usr/lib32/libdb-5.so -> libdb-5.3.so +-rw-r--r-- root/root usr/lib32/libdb.a +lrwxrwxrwx root/root usr/lib32/libdb.so -> libdb-5.3.so +-rw-r--r-- root/root usr/lib32/libdb_cxx-5.3.a +-rw-r--r-- root/root usr/lib32/libdb_cxx-5.3.la +-rwxr-xr-x root/root usr/lib32/libdb_cxx-5.3.so +lrwxrwxrwx root/root usr/lib32/libdb_cxx-5.so -> libdb_cxx-5.3.so +-rw-r--r-- root/root usr/lib32/libdb_cxx.a +lrwxrwxrwx root/root usr/lib32/libdb_cxx.so -> libdb_cxx-5.3.so diff --git a/db-32/.md5sum b/db-32/.md5sum new file mode 100644 index 00000000..97e2cc06 --- /dev/null +++ b/db-32/.md5sum @@ -0,0 +1 @@ +3fda0b004acdaa6fa350bfc41a3b95ca db-5.3.21.tar.gz diff --git a/db-32/Pkgfile b/db-32/Pkgfile new file mode 100644 index 00000000..f209637f --- /dev/null +++ b/db-32/Pkgfile @@ -0,0 +1,23 @@ +# Description: Berkeley DB +# URL: http://www.oracle.com/database/berkeley-db/index.html +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=db-32 +version=5.3.21 +release=1 +source=(http://download.oracle.com/berkeley-db/db-$version.tar.gz) + +build() { + cd db-$version/build_unix + ../dist/configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --enable-compat185 \ + --enable-shared \ + --enable-static \ + --enable-cxx + make + make DESTDIR=$PKG install + rm -r $PKG/usr/docs + chmod -R +w $PKG + rm -rf $PKG/usr/{bin,include} +} diff --git a/dbus-32/.32bit b/dbus-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/dbus-32/.footprint b/dbus-32/.footprint new file mode 100644 index 00000000..55bad0a3 --- /dev/null +++ b/dbus-32/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/dbus-1.0/ +drwxr-xr-x root/root usr/lib32/dbus-1.0/include/ +drwxr-xr-x root/root usr/lib32/dbus-1.0/include/dbus/ +-rw-r--r-- root/root usr/lib32/dbus-1.0/include/dbus/dbus-arch-deps.h +drwxr-xr-x root/root usr/lib32/dbus/ +-rwsr-x--- root/messagebus usr/lib32/dbus/dbus-daemon-launch-helper +-rwxr-xr-x root/root usr/lib32/libdbus-1.la +lrwxrwxrwx root/root usr/lib32/libdbus-1.so -> libdbus-1.so.3.7.2 +lrwxrwxrwx root/root usr/lib32/libdbus-1.so.3 -> libdbus-1.so.3.7.2 +-rwxr-xr-x root/root usr/lib32/libdbus-1.so.3.7.2 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/dbus-1.pc diff --git a/dbus-32/.md5sum b/dbus-32/.md5sum new file mode 100644 index 00000000..208cf32b --- /dev/null +++ b/dbus-32/.md5sum @@ -0,0 +1,3 @@ +23bc5ff22fe4f9a208d65fbbfd489ad9 30-dbus.launch +3bf059c7dd5eda5f539a1b7cfe7a14a2 dbus-1.6.8.tar.gz +dd882e45b9397a5dbf8650057ee9a340 rc.dbus diff --git a/dbus-32/30-dbus.launch b/dbus-32/30-dbus.launch new file mode 100755 index 00000000..6d2a7de6 --- /dev/null +++ b/dbus-32/30-dbus.launch @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ -x /usr/bin/dbus-launch ] +then + eval `dbus-launch --sh-syntax --exit-with-session` + export DBUS_SESSION_BUS_ADDRESS + export DBUS_SESSION_BUS_PID +fi diff --git a/dbus-32/Pkgfile b/dbus-32/Pkgfile new file mode 100644 index 00000000..1a7d431d --- /dev/null +++ b/dbus-32/Pkgfile @@ -0,0 +1,32 @@ +# Description: A message bus system +# URL: http://freedesktop.org/wiki/Software/dbus +# Packager: Matt Housh, jaeger at crux dot nu +# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu +# Depends on: expat-32 dbus + +name=dbus-32 +version=1.6.8 +release=1 +source=(http://dbus.freedesktop.org/releases/dbus/dbus-$version.tar.gz \ +rc.dbus 30-dbus.launch) + +build() { + cd dbus-$version + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --with-dbus-daemondir=/usr/sbin \ + --localstatedir=/var \ + --libexecdir=/usr/lib32/dbus \ + --mandir=/usr/man \ + --disable-static \ + --with-dbus-user=messagebus \ + --with-xml=expat \ + --with-system-pid-file=/var/run/dbus/dbus.pid + make + make DESTDIR=$PKG install + install -D -m 0755 $SRC/rc.dbus $PKG/etc/rc.d/dbus + install -D -m 0755 $SRC/30-dbus.launch \ + $PKG/etc/X11/xinit/xinitrc.d/30-dbus.launch + rm -r $PKG/usr/share/doc + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} +} diff --git a/dbus-32/rc.dbus b/dbus-32/rc.dbus new file mode 100644 index 00000000..b3332477 --- /dev/null +++ b/dbus-32/rc.dbus @@ -0,0 +1,28 @@ +#!/bin/sh +# +# /etc/rc.d/dbus: start/stop dbus messagebus daemon +# + +case $1 in + start) + if [ ! -f /var/lib/dbus/machine-id ] + then + /usr/bin/dbus-uuidgen --ensure + fi + /usr/sbin/dbus-daemon --system + ;; + stop) + killall -q /usr/sbin/dbus-daemon + rm -f /var/run/dbus/dbus.pid + ;; + restart) + $0 stop + sleep 2 + $0 start + ;; + *) + echo "Usage: $0 [start|stop|restart]" + ;; +esac + +# End of file diff --git a/expat-32/.32bit b/expat-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/expat-32/.footprint b/expat-32/.footprint new file mode 100644 index 00000000..a8b885da --- /dev/null +++ b/expat-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libexpat.a +-rwxr-xr-x root/root usr/lib32/libexpat.la +lrwxrwxrwx root/root usr/lib32/libexpat.so -> libexpat.so.1.6.0 +lrwxrwxrwx root/root usr/lib32/libexpat.so.1 -> libexpat.so.1.6.0 +-rwxr-xr-x root/root usr/lib32/libexpat.so.1.6.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/expat.pc diff --git a/expat-32/.md5sum b/expat-32/.md5sum new file mode 100644 index 00000000..7107749a --- /dev/null +++ b/expat-32/.md5sum @@ -0,0 +1 @@ +dd7dab7a5fea97d2a6a43f511449b7cd expat-2.1.0.tar.gz diff --git a/expat-32/Pkgfile b/expat-32/Pkgfile new file mode 100644 index 00000000..a407bb6b --- /dev/null +++ b/expat-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: A fast, non-validating, stream-oriented XML parsing library +# URL: http://expat.sourceforge.net/ +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: expat + +name=expat-32 +version=2.1.0 +release=1 +source=(http://download.sourceforge.net/expat/expat-$version.tar.gz) + +build() { + cd expat-$version + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --mandir=/usr/man + make + make INSTALL_ROOT=$PKG install + rm -rf $PKG/usr/{bin,include,man} +} diff --git a/fontconfig-32/.32bit b/fontconfig-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/fontconfig-32/.footprint b/fontconfig-32/.footprint new file mode 100644 index 00000000..5da5c9f4 --- /dev/null +++ b/fontconfig-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libfontconfig.a +-rwxr-xr-x root/root usr/lib32/libfontconfig.la +lrwxrwxrwx root/root usr/lib32/libfontconfig.so -> libfontconfig.so.1.6.2 +lrwxrwxrwx root/root usr/lib32/libfontconfig.so.1 -> libfontconfig.so.1.6.2 +-rwxr-xr-x root/root usr/lib32/libfontconfig.so.1.6.2 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/fontconfig.pc diff --git a/fontconfig-32/.md5sum b/fontconfig-32/.md5sum new file mode 100644 index 00000000..24d66775 --- /dev/null +++ b/fontconfig-32/.md5sum @@ -0,0 +1 @@ +3950e82cf5885b41cba8a2bf466aa6f9 fontconfig-2.10.0.tar.bz2 diff --git a/fontconfig-32/Pkgfile b/fontconfig-32/Pkgfile new file mode 100644 index 00000000..c65971e9 --- /dev/null +++ b/fontconfig-32/Pkgfile @@ -0,0 +1,34 @@ +# Description: A library for configuring and customizing font access +# URL: http://fontconfig.org/wiki/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: freetype-32 expat-32 bzip2-32 fontconfig + +name=fontconfig-32 +version=2.10.0 +release=2 +source=(http://fontconfig.org/release/fontconfig-$version.tar.bz2) + +build() { + cd fontconfig-$version + + sed -e 's|^confdir=.*|confdir=@baseconfigdir@|' -i fontconfig.pc.in + + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --sysconfdir=/etc \ + --mandir=/usr/man \ + --localstatedir=/var \ + --with-xmldir=/etc/fonts \ + --with-templatedir=/etc/fonts/conf.avail + + make + make DESTDIR=$PKG install + + # Enabling autohinting by default + pushd $PKG/etc/fonts/conf.d + ln -sf /etc/fonts/conf.avail/10-autohint.conf + popd + + rm -f $PKG/etc/fonts/conf.d/README + rm -r $PKG/usr/{bin,include,man,share} $PKG/{etc,var} +} diff --git a/fontconfig-32/README b/fontconfig-32/README new file mode 100644 index 00000000..02ee4794 --- /dev/null +++ b/fontconfig-32/README @@ -0,0 +1,16 @@ +POST-INSTALL + + After upgrading fontconfig, always run rejmerge and upgrade + /etc/fonts/fonts.conf and /etc/fonts/fonts.dtd. + + + /etc/fonts/conf.avail ships with configuration snippets that can be + symlinked from /etc/fonts/conf.d to enable them. + It's recommended to use these snippets instead of duplicating XML code + in your /etc/fonts/local.conf. + + For more information on conf.avail/conf.d, please see: + http://cgit.freedesktop.org/fontconfig/plain/conf.d/README + + For more information on fontconfig, please see: + http://www.freedesktop.org/software/fontconfig/fontconfig-user.html diff --git a/freeglut-32/.32bit b/freeglut-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/freeglut-32/.footprint b/freeglut-32/.footprint new file mode 100644 index 00000000..7e3ac2be --- /dev/null +++ b/freeglut-32/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libglut.a +-rwxr-xr-x root/root usr/lib32/libglut.la +lrwxrwxrwx root/root usr/lib32/libglut.so -> libglut.so.3.9.0 +lrwxrwxrwx root/root usr/lib32/libglut.so.3 -> libglut.so.3.9.0 +-rwxr-xr-x root/root usr/lib32/libglut.so.3.9.0 diff --git a/freeglut-32/.md5sum b/freeglut-32/.md5sum new file mode 100644 index 00000000..f00a22df --- /dev/null +++ b/freeglut-32/.md5sum @@ -0,0 +1 @@ +5db8651af306bc403fbfd36934a20e1d freeglut-2.8.0.tar.gz diff --git a/freeglut-32/Pkgfile b/freeglut-32/Pkgfile new file mode 100644 index 00000000..bca63670 --- /dev/null +++ b/freeglut-32/Pkgfile @@ -0,0 +1,21 @@ +# Description: a free alternative to the OpenGL Utility Toolkit (GLUT) library +# URL: http://freeglut.sourceforge.net +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: glu-32 xorg-libxi-32 freeglut + +name=freeglut-32 +version=2.8.0 +release=2 +source=(http://download.sourceforge.net/freeglut/freeglut-$version.tar.gz) + +build() { + cd freeglut-$version + sed -i -e '/^SUBDIRS =/s/progs //' Makefile.in + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --disable-warnings \ + --disable-dependency-tracking + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/freetype-32/.32bit b/freetype-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/freetype-32/.footprint b/freetype-32/.footprint new file mode 100644 index 00000000..5c82d288 --- /dev/null +++ b/freetype-32/.footprint @@ -0,0 +1,11 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/freetype-config-32 +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libfreetype.a +-rwxr-xr-x root/root usr/lib32/libfreetype.la +lrwxrwxrwx root/root usr/lib32/libfreetype.so -> libfreetype.so.6.9.0 +lrwxrwxrwx root/root usr/lib32/libfreetype.so.6 -> libfreetype.so.6.9.0 +-rwxr-xr-x root/root usr/lib32/libfreetype.so.6.9.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/freetype2.pc diff --git a/freetype-32/.md5sum b/freetype-32/.md5sum new file mode 100644 index 00000000..17412101 --- /dev/null +++ b/freetype-32/.md5sum @@ -0,0 +1 @@ +13286702e9390a91661f980608adaff1 freetype-2.4.10.tar.bz2 diff --git a/freetype-32/Pkgfile b/freetype-32/Pkgfile new file mode 100644 index 00000000..2a09c939 --- /dev/null +++ b/freetype-32/Pkgfile @@ -0,0 +1,21 @@ +# Description: A free and portable TrueType font rendering engine +# URL: http://www.freetype.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: zlib-32 freetype + +name=freetype-32 +version=2.4.10 +release=1 +source=(http://download.savannah.gnu.org/releases/freetype/freetype-$version.tar.bz2) + +build() { + cd freetype-$version + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --with-zlib \ + --disable-nls + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,share} + mv $PKG/usr/bin/freetype-config{,-32} +} diff --git a/gdbm-32/.32bit b/gdbm-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/gdbm-32/.footprint b/gdbm-32/.footprint new file mode 100644 index 00000000..c8926f15 --- /dev/null +++ b/gdbm-32/.footprint @@ -0,0 +1,12 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libgdbm.a +-rwxr-xr-x root/root usr/lib32/libgdbm.la +lrwxrwxrwx root/root usr/lib32/libgdbm.so -> libgdbm.so.4.0.0 +lrwxrwxrwx root/root usr/lib32/libgdbm.so.4 -> libgdbm.so.4.0.0 +-rwxr-xr-x root/root usr/lib32/libgdbm.so.4.0.0 +-rw-r--r-- root/root usr/lib32/libgdbm_compat.a +-rwxr-xr-x root/root usr/lib32/libgdbm_compat.la +lrwxrwxrwx root/root usr/lib32/libgdbm_compat.so -> libgdbm_compat.so.4.0.0 +lrwxrwxrwx root/root usr/lib32/libgdbm_compat.so.4 -> libgdbm_compat.so.4.0.0 +-rwxr-xr-x root/root usr/lib32/libgdbm_compat.so.4.0.0 diff --git a/gdbm-32/.md5sum b/gdbm-32/.md5sum new file mode 100644 index 00000000..26dd0f9c --- /dev/null +++ b/gdbm-32/.md5sum @@ -0,0 +1 @@ +88770493c2559dc80b561293e39d3570 gdbm-1.10.tar.gz diff --git a/gdbm-32/Pkgfile b/gdbm-32/Pkgfile new file mode 100644 index 00000000..1d245da8 --- /dev/null +++ b/gdbm-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: GNU database library for C +# URL: http://www.gnu.org/software/gdbm/gdbm.html +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=gdbm-32 +version=1.10 +release=1 +source=(http://ftp.gnu.org/gnu/gdbm/gdbm-$version.tar.gz) + +build() { + export CC="${CC:-gcc} ${CFLAGS}" + + cd gdbm-$version + + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --enable-libgdbm-compat + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{bin,include,man,share} +} diff --git a/gdk-pixbuf-32/.32bit b/gdk-pixbuf-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/gdk-pixbuf-32/.footprint b/gdk-pixbuf-32/.footprint new file mode 100644 index 00000000..bec0c434 --- /dev/null +++ b/gdk-pixbuf-32/.footprint @@ -0,0 +1,54 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gdk-pixbuf-csource-32 +-rwxr-xr-x root/root usr/bin/gdk-pixbuf-pixdata-32 +-rwxr-xr-x root/root usr/bin/gdk-pixbuf-query-loaders-32 +-rwxr-xr-x root/root usr/bin/gdk-pixbuf-register-32 +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/ +drwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/ +-rw-r--r-- root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders.cache +drwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/ +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.la +-rwxr-xr-x root/root usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so +-rwxr-xr-x root/root usr/lib32/libgdk_pixbuf-2.0.la +lrwxrwxrwx root/root usr/lib32/libgdk_pixbuf-2.0.so -> libgdk_pixbuf-2.0.so.0.2600.4 +lrwxrwxrwx root/root usr/lib32/libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.2600.4 +-rwxr-xr-x root/root usr/lib32/libgdk_pixbuf-2.0.so.0.2600.4 +-rwxr-xr-x root/root usr/lib32/libgdk_pixbuf_xlib-2.0.la +lrwxrwxrwx root/root usr/lib32/libgdk_pixbuf_xlib-2.0.so -> libgdk_pixbuf_xlib-2.0.so.0.2600.4 +lrwxrwxrwx root/root usr/lib32/libgdk_pixbuf_xlib-2.0.so.0 -> libgdk_pixbuf_xlib-2.0.so.0.2600.4 +-rwxr-xr-x root/root usr/lib32/libgdk_pixbuf_xlib-2.0.so.0.2600.4 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/gdk-pixbuf-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gdk-pixbuf-xlib-2.0.pc diff --git a/gdk-pixbuf-32/.md5sum b/gdk-pixbuf-32/.md5sum new file mode 100644 index 00000000..f539672d --- /dev/null +++ b/gdk-pixbuf-32/.md5sum @@ -0,0 +1,3 @@ +e634924654bedfdbe58fab059f38ffed gdk-pixbuf-2.26.4.tar.xz +d2ea173e043e15310eb902307adab94f gdk-pixbuf-register.sh +7d6b1f447d5d9d4078d3782b601c9366 gdk-pixbuf.loaders-32 diff --git a/gdk-pixbuf-32/Pkgfile b/gdk-pixbuf-32/Pkgfile new file mode 100644 index 00000000..fd00de02 --- /dev/null +++ b/gdk-pixbuf-32/Pkgfile @@ -0,0 +1,36 @@ +# Description: An image loading library for GTK+ +# URL: http://www.gtk.org/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: glib-32 xorg-libx11-32 libpng-32 libtiff-32 libjpeg-32 gdk-pixbuf + +name=gdk-pixbuf-32 +version=2.26.4 +release=1 +source=(http://download.gnome.org/sources/gdk-pixbuf/${version%.*}/gdk-pixbuf-$version.tar.xz \ + gdk-pixbuf.loaders-32 gdk-pixbuf-register.sh) + +build() { + cd gdk-pixbuf-$version + + ./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --libdir=/usr/lib32 \ + --program-suffix=-32 \ + --without-libjasper \ + --disable-nls \ + --with-x11 + + make + make DESTDIR=$PKG install + + install -m 0644 $SRC/gdk-pixbuf.loaders-32 \ + $PKG/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders.cache + + install -m 0755 $SRC/gdk-pixbuf-register.sh \ + $PKG/usr/bin/gdk-pixbuf-register-32 + + rm -r $PKG/usr/share/gtk-doc + rmdir $PKG/usr/share + rm -rf $PKG/usr/{include,man} +} diff --git a/gdk-pixbuf-32/gdk-pixbuf-register.sh b/gdk-pixbuf-32/gdk-pixbuf-register.sh new file mode 100644 index 00000000..2e1d36cb --- /dev/null +++ b/gdk-pixbuf-32/gdk-pixbuf-register.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# /usr/bin/gtk-register: register gdk-pixbuf loaders +# + +/usr/bin/gdk-pixbuf-query-loaders-32 > /usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders.cache + +# End of file diff --git a/gdk-pixbuf-32/gdk-pixbuf.loaders-32 b/gdk-pixbuf-32/gdk-pixbuf.loaders-32 new file mode 100644 index 00000000..144d7074 --- /dev/null +++ b/gdk-pixbuf-32/gdk-pixbuf.loaders-32 @@ -0,0 +1,125 @@ +# GdkPixbuf Image Loader Modules file +# Automatically generated file, do not edit +# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.26.1 +# +# LoaderDir = /usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders +# +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so" +"tiff" 1 "gdk-pixbuf" "The TIFF image format" "LGPL" +"image/tiff" "" +"tiff" "tif" "" +"MM *" " z " 100 +"II* " " z" 100 +"II* \020 CR\002 " " z zzz z" 0 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so" +"pnm" 4 "gdk-pixbuf" "The PNM/PBM/PGM/PPM image format family" "LGPL" +"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" "" +"pnm" "pbm" "pgm" "ppm" "" +"P1" "" 100 +"P2" "" 100 +"P3" "" 100 +"P4" "" 100 +"P5" "" 100 +"P6" "" 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so" +"tga" 4 "gdk-pixbuf" "The Targa image format" "LGPL" +"image/x-tga" "" +"tga" "targa" "" +" \001\001" "x " 100 +" \001\t" "x " 100 +" \002" "xz " 99 +" \003" "xz " 100 +" \n" "xz " 100 +" \v" "xz " 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.so" +"pcx" 4 "gdk-pixbuf" "The PCX image format" "LGPL" +"image/x-pcx" "" +"pcx" "" +"\n \001" "" 100 +"\n\002\001" "" 100 +"\n\003\001" "" 100 +"\n\004\001" "" 100 +"\n\005\001" "" 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so" +"png" 5 "gdk-pixbuf" "The PNG image format" "LGPL" +"image/png" "" +"png" "" +"\211PNG\r\n\032\n" "" 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so" +"jpeg" 5 "gdk-pixbuf" "The JPEG image format" "LGPL" +"image/jpeg" "" +"jpeg" "jpe" "jpg" "" +"\377\330" "" 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so" +"bmp" 5 "gdk-pixbuf" "The BMP image format" "LGPL" +"image/bmp" "image/x-bmp" "image/x-MS-bmp" "" +"bmp" "" +"BM" "" 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so" +"xpm" 4 "gdk-pixbuf" "The XPM image format" "LGPL" +"image/x-xpixmap" "" +"xpm" "" +"/* XPM */" "" 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.so" +"wbmp" 4 "gdk-pixbuf" "The WBMP image format" "LGPL" +"image/vnd.wap.wbmp" "" +"wbmp" "" +" " "zz" 1 +" `" "z " 1 +" @" "z " 1 +" " "z " 1 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so" +"gif" 4 "gdk-pixbuf" "The GIF image format" "LGPL" +"image/gif" "" +"gif" "" +"GIF8" "" 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.so" +"ras" 4 "gdk-pixbuf" "The Sun raster image format" "LGPL" +"image/x-cmu-raster" "image/x-sun-raster" "" +"ras" "" +"Y\246j\225" "" 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so" +"ico" 5 "gdk-pixbuf" "The ICO image format" "LGPL" +"image/x-icon" "image/x-ico" "image/x-win-bitmap" "" +"ico" "cur" "" +" \001 " "zz znz" 100 +" \002 " "zz znz" 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so" +"xbm" 4 "gdk-pixbuf" "The XBM image format" "LGPL" +"image/x-xbitmap" "" +"xbm" "" +"#define " "" 100 +"/*" "" 50 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so" +"ani" 4 "gdk-pixbuf" "The ANI image format" "LGPL" +"application/x-navi-animation" "" +"ani" "" +"RIFF ACON" " xxxx " 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so" +"qtif" 4 "gdk-pixbuf" "The QTIF image format" "LGPL" +"image/x-quicktime" "image/qtif" "" +"qtif" "qif" "" +"abcdidsc" "xxxx " 100 +"abcdidat" "xxxx " 100 + +"/usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so" +"icns" 4 "gdk-pixbuf" "The ICNS image format" "GPL" +"image/x-icns" "" +"icns" "" +"icns" "" 100 + + diff --git a/glib-32/.32bit b/glib-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/glib-32/.footprint b/glib-32/.footprint new file mode 100644 index 00000000..bd85da9d --- /dev/null +++ b/glib-32/.footprint @@ -0,0 +1,63 @@ +drwxr-xr-x root/root lib32/ +drwxr-xr-x root/root lib32/gio/ +drwxr-xr-x root/root lib32/gio/modules/ +lrwxrwxrwx root/root lib32/libgio-2.0.so.0 -> libgio-2.0.so.0.3200.4 +-rwxr-xr-x root/root lib32/libgio-2.0.so.0.3200.4 +lrwxrwxrwx root/root lib32/libglib-2.0.so.0 -> libglib-2.0.so.0.3200.4 +-rwxr-xr-x root/root lib32/libglib-2.0.so.0.3200.4 +lrwxrwxrwx root/root lib32/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.3200.4 +-rwxr-xr-x root/root lib32/libgmodule-2.0.so.0.3200.4 +lrwxrwxrwx root/root lib32/libgobject-2.0.so.0 -> libgobject-2.0.so.0.3200.4 +-rwxr-xr-x root/root lib32/libgobject-2.0.so.0.3200.4 +lrwxrwxrwx root/root lib32/libgthread-2.0.so.0 -> libgthread-2.0.so.0.3200.4 +-rwxr-xr-x root/root lib32/libgthread-2.0.so.0.3200.4 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/gdbus-2.0/ +drwxr-xr-x root/root usr/lib32/gdbus-2.0/codegen/ +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/__init__.py +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/__init__.pyc +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/__init__.pyo +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/codegen.py +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/codegen.pyc +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/codegen.pyo +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/codegen_docbook.py +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/codegen_docbook.pyc +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/codegen_docbook.pyo +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/codegen_main.py +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/codegen_main.pyc +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/codegen_main.pyo +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/config.py +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/config.pyc +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/config.pyo +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/dbustypes.py +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/dbustypes.pyc +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/dbustypes.pyo +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/parser.py +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/parser.pyc +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/parser.pyo +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/utils.py +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/utils.pyc +-rw-r--r-- root/root usr/lib32/gdbus-2.0/codegen/utils.pyo +drwxr-xr-x root/root usr/lib32/glib-2.0/ +drwxr-xr-x root/root usr/lib32/glib-2.0/include/ +-rw-r--r-- root/root usr/lib32/glib-2.0/include/glibconfig.h +-rwxr-xr-x root/root usr/lib32/libgio-2.0.la +lrwxrwxrwx root/root usr/lib32/libgio-2.0.so -> ../../lib32/libgio-2.0.so.0.3200.4 +-rwxr-xr-x root/root usr/lib32/libglib-2.0.la +lrwxrwxrwx root/root usr/lib32/libglib-2.0.so -> ../../lib32/libglib-2.0.so.0.3200.4 +-rwxr-xr-x root/root usr/lib32/libgmodule-2.0.la +lrwxrwxrwx root/root usr/lib32/libgmodule-2.0.so -> ../../lib32/libgmodule-2.0.so.0.3200.4 +-rwxr-xr-x root/root usr/lib32/libgobject-2.0.la +lrwxrwxrwx root/root usr/lib32/libgobject-2.0.so -> ../../lib32/libgobject-2.0.so.0.3200.4 +-rwxr-xr-x root/root usr/lib32/libgthread-2.0.la +lrwxrwxrwx root/root usr/lib32/libgthread-2.0.so -> ../../lib32/libgthread-2.0.so.0.3200.4 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/gio-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gio-unix-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/glib-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gmodule-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gmodule-export-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gmodule-no-export-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gobject-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gthread-2.0.pc diff --git a/glib-32/.md5sum b/glib-32/.md5sum new file mode 100644 index 00000000..6c6a0fe1 --- /dev/null +++ b/glib-32/.md5sum @@ -0,0 +1 @@ +bf84fefd9c1a5b5a7a38736f4ddd674a glib-2.32.4.tar.xz diff --git a/glib-32/Pkgfile b/glib-32/Pkgfile new file mode 100644 index 00000000..01e53522 --- /dev/null +++ b/glib-32/Pkgfile @@ -0,0 +1,27 @@ +# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality +# URL: http://www.gtk.org/ +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: libpcre-32 libffi-32 python-32 + +name=glib-32 +version=2.32.4 +release=1 +source=(http://download.gnome.org/sources/glib/2.32/glib-$version.tar.xz) + +build() { + cd glib-$version + + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --mandir=/usr/man \ + --with-pcre=system \ + --with-runtime-libdir=../../lib32 \ + --with-gio-module-dir=/lib32/gio/modules + + make + make -j 1 DESTDIR=$PKG install + + rm -rf $PKG/usr/share/{gtk-doc,locale} + rm -rf $PKG/usr/share/bash_completion + rm -rf $PKG/usr/{bin,include,man,share} +} diff --git a/glitz-32/.32bit b/glitz-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/glitz-32/.footprint b/glitz-32/.footprint new file mode 100644 index 00000000..7f15e4ff --- /dev/null +++ b/glitz-32/.footprint @@ -0,0 +1,15 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libglitz-glx.a +-rwxr-xr-x root/root usr/lib32/libglitz-glx.la +lrwxrwxrwx root/root usr/lib32/libglitz-glx.so -> libglitz-glx.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libglitz-glx.so.1 -> libglitz-glx.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libglitz-glx.so.1.0.0 +-rw-r--r-- root/root usr/lib32/libglitz.a +-rwxr-xr-x root/root usr/lib32/libglitz.la +lrwxrwxrwx root/root usr/lib32/libglitz.so -> libglitz.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libglitz.so.1 -> libglitz.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libglitz.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/glitz-glx.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/glitz.pc diff --git a/glitz-32/.md5sum b/glitz-32/.md5sum new file mode 100644 index 00000000..9b9b3421 --- /dev/null +++ b/glitz-32/.md5sum @@ -0,0 +1,2 @@ +9245daa65412a2ab89b3dc12aa8ea8fb glitz-0.5.6-configure.patch.xz +c507f140ecccc06aed8888c958edda4c glitz-0.5.6.tar.gz diff --git a/glitz-32/Pkgfile b/glitz-32/Pkgfile new file mode 100644 index 00000000..dd2dafd2 --- /dev/null +++ b/glitz-32/Pkgfile @@ -0,0 +1,25 @@ +# Description: An OpenGL image compositing library. +# URL: http://www.freedesktop.org/Software/glitz +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: mesa3d-32 glitz + +name=glitz-32 +version=0.5.6 +release=1 +source=(http://cairographics.org/snapshots/glitz-$version.tar.gz + glitz-0.5.6-configure.patch.xz) + +build() { + cd glitz-$version + + xzcat $SRC/glitz-0.5.6-configure.patch.xz | patch -p 1 + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -r $PKG/usr/include +} diff --git a/glitz-32/glitz-0.5.6-configure.patch.xz b/glitz-32/glitz-0.5.6-configure.patch.xz new file mode 100644 index 00000000..e17dd55a Binary files /dev/null and b/glitz-32/glitz-0.5.6-configure.patch.xz differ diff --git a/glu-32/.32bit b/glu-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/glu-32/.footprint b/glu-32/.footprint new file mode 100644 index 00000000..aa319b59 --- /dev/null +++ b/glu-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libGLU.a +-rwxr-xr-x root/root usr/lib32/libGLU.la +lrwxrwxrwx root/root usr/lib32/libGLU.so -> libGLU.so.1.3.1 +lrwxrwxrwx root/root usr/lib32/libGLU.so.1 -> libGLU.so.1.3.1 +-rwxr-xr-x root/root usr/lib32/libGLU.so.1.3.1 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/glu.pc diff --git a/glu-32/.md5sum b/glu-32/.md5sum new file mode 100644 index 00000000..3adee937 --- /dev/null +++ b/glu-32/.md5sum @@ -0,0 +1 @@ +be9249132ff49275461cf92039083030 glu-9.0.0.tar.bz2 diff --git a/glu-32/Pkgfile b/glu-32/Pkgfile new file mode 100644 index 00000000..837b3f68 --- /dev/null +++ b/glu-32/Pkgfile @@ -0,0 +1,18 @@ +# Description: Mesa OpenGL Utility library +# URL: http://www.mesa3d.org +# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu +# Depends on: mesa3d-32, glu + +name=glu-32 +version=9.0.0 +release=1 +source=(ftp://ftp.freedesktop.org/pub/mesa/glu/glu-$version.tar.bz2) + +build() { + cd glu-$version + ./configure --prefix=/usr \ + --libdir=/usr/lib32 + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/gst-plugins-base-32/.32bit b/gst-plugins-base-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/gst-plugins-base-32/.footprint b/gst-plugins-base-32/.footprint new file mode 100644 index 00000000..291b4a69 --- /dev/null +++ b/gst-plugins-base-32/.footprint @@ -0,0 +1,143 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/gstreamer-0.10/ +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstadder.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstadder.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstalsa.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstalsa.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstapp.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstapp.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstaudioconvert.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstaudioconvert.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstaudiorate.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstaudiorate.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstaudioresample.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstaudioresample.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstaudiotestsrc.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstaudiotestsrc.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstcdparanoia.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstcdparanoia.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstdecodebin.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstdecodebin.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstdecodebin2.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstdecodebin2.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstencodebin.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstencodebin.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstffmpegcolorspace.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstffmpegcolorspace.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstgdp.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstgdp.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstgio.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstgio.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstlibvisual.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstlibvisual.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstogg.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstogg.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstpango.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstpango.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstplaybin.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstplaybin.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstsubparse.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstsubparse.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgsttcp.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgsttcp.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgsttheora.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgsttheora.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgsttypefindfunctions.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgsttypefindfunctions.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvideo4linux.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvideo4linux.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvideorate.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvideorate.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvideoscale.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvideoscale.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvideotestsrc.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvideotestsrc.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvolume.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvolume.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvorbis.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstvorbis.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstximagesink.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstximagesink.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstxvimagesink.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstxvimagesink.so +-rwxr-xr-x root/root usr/lib32/libgstapp-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstapp-0.10.so -> libgstapp-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstapp-0.10.so.0 -> libgstapp-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstapp-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstaudio-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstaudio-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstaudio-0.10.so -> libgstaudio-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstaudio-0.10.so.0 -> libgstaudio-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstaudio-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstcdda-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstcdda-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstcdda-0.10.so -> libgstcdda-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstcdda-0.10.so.0 -> libgstcdda-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstcdda-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstfft-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstfft-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstfft-0.10.so -> libgstfft-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstfft-0.10.so.0 -> libgstfft-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstfft-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstinterfaces-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstinterfaces-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstinterfaces-0.10.so -> libgstinterfaces-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstinterfaces-0.10.so.0 -> libgstinterfaces-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstinterfaces-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstnetbuffer-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstnetbuffer-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstnetbuffer-0.10.so -> libgstnetbuffer-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstnetbuffer-0.10.so.0 -> libgstnetbuffer-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstnetbuffer-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstpbutils-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstpbutils-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstpbutils-0.10.so -> libgstpbutils-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstpbutils-0.10.so.0 -> libgstpbutils-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstpbutils-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstriff-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstriff-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstriff-0.10.so -> libgstriff-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstriff-0.10.so.0 -> libgstriff-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstriff-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstrtp-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstrtp-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstrtp-0.10.so -> libgstrtp-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstrtp-0.10.so.0 -> libgstrtp-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstrtp-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstrtsp-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstrtsp-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstrtsp-0.10.so -> libgstrtsp-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstrtsp-0.10.so.0 -> libgstrtsp-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstrtsp-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstsdp-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstsdp-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstsdp-0.10.so -> libgstsdp-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstsdp-0.10.so.0 -> libgstsdp-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstsdp-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgsttag-0.10.a +-rwxr-xr-x root/root usr/lib32/libgsttag-0.10.la +lrwxrwxrwx root/root usr/lib32/libgsttag-0.10.so -> libgsttag-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgsttag-0.10.so.0 -> libgsttag-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgsttag-0.10.so.0.25.0 +-rw-r--r-- root/root usr/lib32/libgstvideo-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstvideo-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstvideo-0.10.so -> libgstvideo-0.10.so.0.25.0 +lrwxrwxrwx root/root usr/lib32/libgstvideo-0.10.so.0 -> libgstvideo-0.10.so.0.25.0 +-rwxr-xr-x root/root usr/lib32/libgstvideo-0.10.so.0.25.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-app-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-audio-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-cdda-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-fft-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-floatcast-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-interfaces-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-netbuffer-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-pbutils-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-plugins-base-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-riff-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-rtp-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-rtsp-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-sdp-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-tag-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-video-0.10.pc diff --git a/gst-plugins-base-32/.md5sum b/gst-plugins-base-32/.md5sum new file mode 100644 index 00000000..f123a348 --- /dev/null +++ b/gst-plugins-base-32/.md5sum @@ -0,0 +1 @@ +3d2337841b132fe996e5eb2396ac9438 gst-plugins-base-0.10.36.tar.xz diff --git a/gst-plugins-base-32/Pkgfile b/gst-plugins-base-32/Pkgfile new file mode 100644 index 00000000..09e38fc2 --- /dev/null +++ b/gst-plugins-base-32/Pkgfile @@ -0,0 +1,31 @@ +# Description: An essential exemplary set of plugins for gstreamer. +# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-base.html +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Matt Housh, jaeger at morpheus dot net +# Depends on: alsa-lib-32 cdparanoia-32 gstreamer-32 libtheora-32 libvisual-32 orc-32 pango-32 util-linux-ng-32 xorg-libxv-32 gst-plugins-base + +name=gst-plugins-base-32 +version=0.10.36 +release=1 +source=(http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$version.tar.xz) + +build() { + cd gst-plugins-base-$version + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --mandir=/usr/man \ + --enable-orc \ + --disable-debug \ + --disable-nls \ + --disable-dependency-tracking \ + --disable-valgrind \ + --disable-examples + + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share/gtk-doc + + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} +} diff --git a/gstreamer-32/.32bit b/gstreamer-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/gstreamer-32/.footprint b/gstreamer-32/.footprint new file mode 100644 index 00000000..c541db73 --- /dev/null +++ b/gstreamer-32/.footprint @@ -0,0 +1,45 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/gstreamer-0.10/ +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/gst-plugin-scanner +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstcoreelements.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstcoreelements.so +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstcoreindexers.la +-rwxr-xr-x root/root usr/lib32/gstreamer-0.10/libgstcoreindexers.so +-rw-r--r-- root/root usr/lib32/libgstbase-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstbase-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstbase-0.10.so -> libgstbase-0.10.so.0.30.0 +lrwxrwxrwx root/root usr/lib32/libgstbase-0.10.so.0 -> libgstbase-0.10.so.0.30.0 +-rwxr-xr-x root/root usr/lib32/libgstbase-0.10.so.0.30.0 +-rw-r--r-- root/root usr/lib32/libgstcheck-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstcheck-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstcheck-0.10.so -> libgstcheck-0.10.so.0.30.0 +lrwxrwxrwx root/root usr/lib32/libgstcheck-0.10.so.0 -> libgstcheck-0.10.so.0.30.0 +-rwxr-xr-x root/root usr/lib32/libgstcheck-0.10.so.0.30.0 +-rw-r--r-- root/root usr/lib32/libgstcontroller-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstcontroller-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstcontroller-0.10.so -> libgstcontroller-0.10.so.0.30.0 +lrwxrwxrwx root/root usr/lib32/libgstcontroller-0.10.so.0 -> libgstcontroller-0.10.so.0.30.0 +-rwxr-xr-x root/root usr/lib32/libgstcontroller-0.10.so.0.30.0 +-rw-r--r-- root/root usr/lib32/libgstdataprotocol-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstdataprotocol-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstdataprotocol-0.10.so -> libgstdataprotocol-0.10.so.0.30.0 +lrwxrwxrwx root/root usr/lib32/libgstdataprotocol-0.10.so.0 -> libgstdataprotocol-0.10.so.0.30.0 +-rwxr-xr-x root/root usr/lib32/libgstdataprotocol-0.10.so.0.30.0 +-rw-r--r-- root/root usr/lib32/libgstnet-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstnet-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstnet-0.10.so -> libgstnet-0.10.so.0.30.0 +lrwxrwxrwx root/root usr/lib32/libgstnet-0.10.so.0 -> libgstnet-0.10.so.0.30.0 +-rwxr-xr-x root/root usr/lib32/libgstnet-0.10.so.0.30.0 +-rw-r--r-- root/root usr/lib32/libgstreamer-0.10.a +-rwxr-xr-x root/root usr/lib32/libgstreamer-0.10.la +lrwxrwxrwx root/root usr/lib32/libgstreamer-0.10.so -> libgstreamer-0.10.so.0.30.0 +lrwxrwxrwx root/root usr/lib32/libgstreamer-0.10.so.0 -> libgstreamer-0.10.so.0.30.0 +-rwxr-xr-x root/root usr/lib32/libgstreamer-0.10.so.0.30.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-base-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-check-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-controller-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-dataprotocol-0.10.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gstreamer-net-0.10.pc diff --git a/gstreamer-32/.md5sum b/gstreamer-32/.md5sum new file mode 100644 index 00000000..42f5d9a2 --- /dev/null +++ b/gstreamer-32/.md5sum @@ -0,0 +1 @@ +15389c73e091b1dda915279c388b9cb2 gstreamer-0.10.36.tar.xz diff --git a/gstreamer-32/Pkgfile b/gstreamer-32/Pkgfile new file mode 100644 index 00000000..79bf0ca1 --- /dev/null +++ b/gstreamer-32/Pkgfile @@ -0,0 +1,31 @@ +# Description: Gstreamer is a library that allows the construction of graphs of media-handling components. +# URL: http://gstreamer.freedesktop.org/ +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Matt Housh, jaeger at morpheus dot net +# Depends on: glib-32 libxml2-32 python-32 gstreamer + +name=gstreamer-32 +version=0.10.36 +release=1 +source=(http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$version.tar.xz) + +build() { + cd gstreamer-$version + + ./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --libdir=/usr/lib32 \ + --libexecdir=/usr/lib32 \ + --disable-debug \ + --disable-nls \ + --disable-dependency-tracking \ + --disable-valgrind \ + --disable-examples + + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share/gtk-doc + + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} +} diff --git a/gtk-32/.32bit b/gtk-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/gtk-32/.footprint b/gtk-32/.footprint new file mode 100644 index 00000000..fc531bf5 --- /dev/null +++ b/gtk-32/.footprint @@ -0,0 +1,69 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gtk-builder-convert-32 +-rwxr-xr-x root/root usr/bin/gtk-query-immodules-2.0-32 +-rwxr-xr-x root/root usr/bin/gtk-register-32 +-rwxr-xr-x root/root usr/bin/gtk-update-icon-cache-32 +drwxr-xr-x root/root usr/etc/ +drwxr-xr-x root/root usr/etc/gtk-2.0/ +-rw-r--r-- root/root usr/etc/gtk-2.0/gtk.immodules-32 +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/gtk-2.0/ +drwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/ +drwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/engines/ +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so +drwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/ +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-cedilla.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-cedilla.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-multipress.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-multipress.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-thai.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-thai.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so +drwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/printbackends/ +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so +drwxr-xr-x root/root usr/lib32/gtk-2.0/include/ +-rw-r--r-- root/root usr/lib32/gtk-2.0/include/gdkconfig.h +drwxr-xr-x root/root usr/lib32/gtk-2.0/modules/ +-rwxr-xr-x root/root usr/lib32/gtk-2.0/modules/libferret.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/modules/libferret.so +-rwxr-xr-x root/root usr/lib32/gtk-2.0/modules/libgail.la +-rwxr-xr-x root/root usr/lib32/gtk-2.0/modules/libgail.so +-rwxr-xr-x root/root usr/lib32/libgailutil.la +lrwxrwxrwx root/root usr/lib32/libgailutil.so -> libgailutil.so.18.0.1 +lrwxrwxrwx root/root usr/lib32/libgailutil.so.18 -> libgailutil.so.18.0.1 +-rwxr-xr-x root/root usr/lib32/libgailutil.so.18.0.1 +-rw-r--r-- root/root usr/lib32/libgdk-x11-2.0.la +lrwxrwxrwx root/root usr/lib32/libgdk-x11-2.0.so -> libgdk-x11-2.0.so.0.2400.13 +lrwxrwxrwx root/root usr/lib32/libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.2400.13 +-rwxr-xr-x root/root usr/lib32/libgdk-x11-2.0.so.0.2400.13 +-rw-r--r-- root/root usr/lib32/libgtk-x11-2.0.la +lrwxrwxrwx root/root usr/lib32/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.2400.13 +lrwxrwxrwx root/root usr/lib32/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.2400.13 +-rwxr-xr-x root/root usr/lib32/libgtk-x11-2.0.so.0.2400.13 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/gail.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gdk-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gdk-x11-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gtk+-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gtk+-unix-print-2.0.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gtk+-x11-2.0.pc diff --git a/gtk-32/.md5sum b/gtk-32/.md5sum new file mode 100644 index 00000000..9aaaeada --- /dev/null +++ b/gtk-32/.md5sum @@ -0,0 +1,4 @@ +e949406751df51e1e40e85628005a069 gtk+-2.24.13.tar.xz +df16be5e725670790d9be46103ffe511 gtk-register-32.sh +732fb171af21e8b22600cab81fc919e0 gtk.immodules-32 +27527cc6d9bbd00f59874922f87ab433 gtk.immodules-32.patch diff --git a/gtk-32/Pkgfile b/gtk-32/Pkgfile new file mode 100644 index 00000000..6922d70e --- /dev/null +++ b/gtk-32/Pkgfile @@ -0,0 +1,33 @@ +# Description: A multi-platform toolkit for creating graphical user interfaces +# URL: http://www.gtk.org/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: atk-32 hicolor-icon-theme gdk-pixbuf-32 pango-32 xorg-libsm-32 xorg-libxcursor-32 xorg-libxinerama-32 xorg-libxrandr-32 xorg-libxcomposite-32 gtk + +name=gtk-32 +version=2.24.13 +release=1 +source=(http://download.gnome.org/sources/gtk+/${version%.*}/gtk+-$version.tar.xz \ + gtk.immodules-32 gtk-register-32.sh gtk.immodules-32.patch) + +build() { + cd gtk+-$version + patch -p1 -i $SRC/gtk.immodules-32.patch + + ./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --libdir=/usr/lib32 \ + --program-suffix=-32 \ + --disable-cups + + make + make DESTDIR=$PKG install + + install -d $PKG/usr/etc/gtk-2.0 + install -m 0644 $SRC/gtk.immodules-32 $PKG/usr/etc/gtk-2.0/ + rm $PKG/usr/bin/gtk-demo-32 + + install -m 0755 $SRC/gtk-register-32.sh $PKG/usr/bin/gtk-register-32 + rm -rf $PKG/usr/{include,man,share} + rm $PKG/usr/etc/gtk-2.0/im-multipress.conf +} diff --git a/gtk-32/gtk-register-32.sh b/gtk-32/gtk-register-32.sh new file mode 100644 index 00000000..76d3e899 --- /dev/null +++ b/gtk-32/gtk-register-32.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# /usr/bin/gtk-register: register input modules +# + +/usr/bin/gtk-query-immodules-2.0-32 > /usr/etc/gtk-2.0/gtk.immodules-32 + +# End of file diff --git a/gtk-32/gtk.immodules-32 b/gtk-32/gtk.immodules-32 new file mode 100644 index 00000000..6903a4b4 --- /dev/null +++ b/gtk-32/gtk.immodules-32 @@ -0,0 +1,39 @@ +# GTK+ Input Method Modules file +# Automatically generated file, do not edit +# Created by /usr/bin/gtk-query-immodules-2.0-32 from gtk+-2.24.11 +# +# ModulesPath = /root/.gtk-2.0/2.10.0/x86_64-unknown-linux-gnu/immodules:/root/.gtk-2.0/2.10.0/immodules:/root/.gtk-2.0/x86_64-unknown-linux-gnu/immodules:/root/.gtk-2.0/immodules:/usr/lib32/gtk-2.0/2.10.0/x86_64-unknown-linux-gnu/immodules:/usr/lib32/gtk-2.0/2.10.0/immodules:/usr/lib32/gtk-2.0/x86_64-unknown-linux-gnu/immodules:/usr/lib32/gtk-2.0/immodules +# +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.so" +"am_et" "Amharic (EZ+)" "gtk20" "/usr/share/locale" "am" + +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.so" +"ipa" "IPA" "gtk20" "/usr/share/locale" "" + +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so" +"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh" + +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.so" +"viqr" "Vietnamese (VIQR)" "gtk20" "/usr/share/locale" "vi" + +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.so" +"inuktitut" "Inuktitut (Transliterated)" "gtk20" "/usr/share/locale" "iu" + +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-thai.so" +"thai" "Thai-Lao" "gtk20" "/usr/share/locale" "lo:th" + +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-cedilla.so" +"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa" + +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-multipress.so" +"multipress" "Multipress" "gtk20" "" "" + +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so" +"cyrillic_translit" "Cyrillic (Transliterated)" "gtk20" "/usr/share/locale" "" + +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.so" +"ti_er" "Tigrigna-Eritrean (EZ+)" "gtk20" "/usr/share/locale" "ti" + +"/usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.so" +"ti_et" "Tigrigna-Ethiopian (EZ+)" "gtk20" "/usr/share/locale" "ti" + diff --git a/gtk-32/gtk.immodules-32.patch b/gtk-32/gtk.immodules-32.patch new file mode 100644 index 00000000..7594c1ce --- /dev/null +++ b/gtk-32/gtk.immodules-32.patch @@ -0,0 +1,12 @@ +diff -urN gtk+-2.24.8.orig/gtk/gtkrc.c gtk+-2.24.8/gtk/gtkrc.c +--- gtk+-2.24.8.orig/gtk/gtkrc.c 2011-11-10 11:38:03.000000000 -0600 ++++ gtk+-2.24.8/gtk/gtkrc.c 2011-12-16 10:04:07.947129223 -0600 +@@ -450,7 +450,7 @@ + if (im_module_file) + result = g_strdup (im_module_file); + else +- result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtk.immodules", NULL); ++ result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtk.immodules-32", NULL); + } + + return result; diff --git a/libdrm-32/.32bit b/libdrm-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libdrm-32/.footprint b/libdrm-32/.footprint new file mode 100644 index 00000000..9a2ae086 --- /dev/null +++ b/libdrm-32/.footprint @@ -0,0 +1,28 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rwxr-xr-x root/root usr/lib32/libdrm.la +lrwxrwxrwx root/root usr/lib32/libdrm.so -> libdrm.so.2.4.0 +lrwxrwxrwx root/root usr/lib32/libdrm.so.2 -> libdrm.so.2.4.0 +-rwxr-xr-x root/root usr/lib32/libdrm.so.2.4.0 +-rwxr-xr-x root/root usr/lib32/libdrm_intel.la +lrwxrwxrwx root/root usr/lib32/libdrm_intel.so -> libdrm_intel.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libdrm_intel.so.1 -> libdrm_intel.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libdrm_intel.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libdrm_nouveau.la +lrwxrwxrwx root/root usr/lib32/libdrm_nouveau.so -> libdrm_nouveau.so.2.0.0 +lrwxrwxrwx root/root usr/lib32/libdrm_nouveau.so.2 -> libdrm_nouveau.so.2.0.0 +-rwxr-xr-x root/root usr/lib32/libdrm_nouveau.so.2.0.0 +-rwxr-xr-x root/root usr/lib32/libdrm_radeon.la +lrwxrwxrwx root/root usr/lib32/libdrm_radeon.so -> libdrm_radeon.so.1.0.1 +lrwxrwxrwx root/root usr/lib32/libdrm_radeon.so.1 -> libdrm_radeon.so.1.0.1 +-rwxr-xr-x root/root usr/lib32/libdrm_radeon.so.1.0.1 +-rwxr-xr-x root/root usr/lib32/libkms.la +lrwxrwxrwx root/root usr/lib32/libkms.so -> libkms.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libkms.so.1 -> libkms.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libkms.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/libdrm.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/libdrm_intel.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/libdrm_nouveau.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/libdrm_radeon.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/libkms.pc diff --git a/libdrm-32/.md5sum b/libdrm-32/.md5sum new file mode 100644 index 00000000..a551e30c --- /dev/null +++ b/libdrm-32/.md5sum @@ -0,0 +1 @@ +626a3dc44a40ef37565b61732b688567 libdrm-2.4.40.tar.bz2 diff --git a/libdrm-32/Pkgfile b/libdrm-32/Pkgfile new file mode 100644 index 00000000..c61ff6dd --- /dev/null +++ b/libdrm-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: Userspace interface to kernel DRM services +# URL: http://dri.freedesktop.org/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: libpthread-stubs-32 xorg-libpciaccess-32 libdrm + +name=libdrm-32 +version=2.4.40 +release=1 +source=(http://dri.freedesktop.org/libdrm/libdrm-$version.tar.bz2) + +build() { + cd libdrm-$version + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --mandir=/usr/man \ + --enable-udev + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/libffi-32/.32bit b/libffi-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libffi-32/.footprint b/libffi-32/.footprint new file mode 100644 index 00000000..60ea2cab --- /dev/null +++ b/libffi-32/.footprint @@ -0,0 +1,13 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/libffi-3.0.11/ +drwxr-xr-x root/root usr/lib32/libffi-3.0.11/include/ +-rw-r--r-- root/root usr/lib32/libffi-3.0.11/include/ffi.h +-rw-r--r-- root/root usr/lib32/libffi-3.0.11/include/ffitarget.h +-rw-r--r-- root/root usr/lib32/libffi.a +-rwxr-xr-x root/root usr/lib32/libffi.la +lrwxrwxrwx root/root usr/lib32/libffi.so -> libffi.so.6.0.0 +lrwxrwxrwx root/root usr/lib32/libffi.so.6 -> libffi.so.6.0.0 +-rwxr-xr-x root/root usr/lib32/libffi.so.6.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/libffi.pc diff --git a/libffi-32/.md5sum b/libffi-32/.md5sum new file mode 100644 index 00000000..18af8437 --- /dev/null +++ b/libffi-32/.md5sum @@ -0,0 +1 @@ +f69b9693227d976835b4857b1ba7d0e3 libffi-3.0.11.tar.gz diff --git a/libffi-32/Pkgfile b/libffi-32/Pkgfile new file mode 100644 index 00000000..d98b3cf3 --- /dev/null +++ b/libffi-32/Pkgfile @@ -0,0 +1,17 @@ +# Description: Portable Foreign Function Interface Library +# URL: http://sourceware.org/libffi/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=libffi-32 +version=3.0.11 +release=1 +source=(ftp://sourceware.org/pub/libffi/libffi-$version.tar.gz) + +build() { + cd libffi-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 --mandir=/usr/man + make + make DESTDIR=$PKG install + rm -r $PKG/usr/{man,share} +} diff --git a/libjpeg-32/.32bit b/libjpeg-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libjpeg-32/.footprint b/libjpeg-32/.footprint new file mode 100644 index 00000000..9027714b --- /dev/null +++ b/libjpeg-32/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libjpeg.a +-rwxr-xr-x root/root usr/lib32/libjpeg.la +lrwxrwxrwx root/root usr/lib32/libjpeg.so -> libjpeg.so.8.4.0 +lrwxrwxrwx root/root usr/lib32/libjpeg.so.8 -> libjpeg.so.8.4.0 +-rwxr-xr-x root/root usr/lib32/libjpeg.so.8.4.0 diff --git a/libjpeg-32/.md5sum b/libjpeg-32/.md5sum new file mode 100644 index 00000000..07e883dc --- /dev/null +++ b/libjpeg-32/.md5sum @@ -0,0 +1 @@ +52654eb3b2e60c35731ea8fc87f1bd29 jpegsrc.v8d.tar.gz diff --git a/libjpeg-32/Pkgfile b/libjpeg-32/Pkgfile new file mode 100644 index 00000000..1a01ce30 --- /dev/null +++ b/libjpeg-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: Library of JPEG support functions. +# URL: http://www.ijg.org/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: libjpeg + +name=libjpeg-32 +version=8d +release=1 +source=(http://www.ijg.org/files/jpegsrc.v$version.tar.gz) + +build() { + cd jpeg-$version + ./configure --prefix=/usr --mandir=/usr/man \ + --enable-shared --enable-static \ + --libdir=/usr/lib32 + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{bin,include,man} +} diff --git a/libogg-32/.32bit b/libogg-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libogg-32/.footprint b/libogg-32/.footprint new file mode 100644 index 00000000..c18c8e83 --- /dev/null +++ b/libogg-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libogg.a +-rwxr-xr-x root/root usr/lib32/libogg.la +lrwxrwxrwx root/root usr/lib32/libogg.so -> libogg.so.0.8.0 +lrwxrwxrwx root/root usr/lib32/libogg.so.0 -> libogg.so.0.8.0 +-rwxr-xr-x root/root usr/lib32/libogg.so.0.8.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/ogg.pc diff --git a/libogg-32/.md5sum b/libogg-32/.md5sum new file mode 100644 index 00000000..a0e563b0 --- /dev/null +++ b/libogg-32/.md5sum @@ -0,0 +1 @@ +84a35715170f2cd4c77a4448772b95d5 libogg-1.3.0.tar.xz diff --git a/libogg-32/Pkgfile b/libogg-32/Pkgfile new file mode 100644 index 00000000..503ca061 --- /dev/null +++ b/libogg-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: Ogg bitstream and framing library +# URL: http://www.xiph.org/ogg/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: libogg + +name=libogg-32 +version=1.3.0 +release=1 +source=(http://downloads.xiph.org/releases/ogg/libogg-$version.tar.xz) + +build() { + cd libogg-$version + ./configure --prefix=/usr --libdir=/usr/lib32 + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/share/doc + + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} +} diff --git a/libpcre-32/.32bit b/libpcre-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libpcre-32/.footprint b/libpcre-32/.footprint new file mode 100644 index 00000000..60165e0b --- /dev/null +++ b/libpcre-32/.footprint @@ -0,0 +1,22 @@ +drwxr-xr-x root/root lib32/ +lrwxrwxrwx root/root lib32/libpcre.so.1 -> libpcre.so.1.0.1 +-rwxr-xr-x root/root lib32/libpcre.so.1.0.1 +lrwxrwxrwx root/root lib32/libpcrecpp.so.0 -> libpcrecpp.so.0.0.0 +-rwxr-xr-x root/root lib32/libpcrecpp.so.0.0.0 +lrwxrwxrwx root/root lib32/libpcreposix.so.0 -> libpcreposix.so.0.0.1 +-rwxr-xr-x root/root lib32/libpcreposix.so.0.0.1 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libpcre.a +-rwxr-xr-x root/root usr/lib32/libpcre.la +lrwxrwxrwx root/root usr/lib32/libpcre.so -> ../../lib32/libpcre.so.1.0.1 +-rw-r--r-- root/root usr/lib32/libpcrecpp.a +-rwxr-xr-x root/root usr/lib32/libpcrecpp.la +lrwxrwxrwx root/root usr/lib32/libpcrecpp.so -> ../../lib32/libpcrecpp.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libpcreposix.a +-rwxr-xr-x root/root usr/lib32/libpcreposix.la +lrwxrwxrwx root/root usr/lib32/libpcreposix.so -> ../../lib32/libpcreposix.so.0.0.1 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/libpcre.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/libpcrecpp.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/libpcreposix.pc diff --git a/libpcre-32/.md5sum b/libpcre-32/.md5sum new file mode 100644 index 00000000..d68d6838 --- /dev/null +++ b/libpcre-32/.md5sum @@ -0,0 +1 @@ +1c9a276af932b5599157f96e945391f0 pcre-8.31.tar.bz2 diff --git a/libpcre-32/Pkgfile b/libpcre-32/Pkgfile new file mode 100644 index 00000000..bfdcb00d --- /dev/null +++ b/libpcre-32/Pkgfile @@ -0,0 +1,31 @@ +# Description: Perl Compatible Regular Expressions +# URL: http://www.pcre.org +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=libpcre-32 +version=8.31 +release=1 +source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$version.tar.bz2) + +build() { + cd pcre-$version + + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --mandir=/usr/man \ + --enable-utf8 \ + --enable-unicode-properties \ + --enable-jit + make + make DESTDIR=$PKG install + + install -d $PKG/lib32 + local lib + for lib in libpcre libpcrecpp libpcreposix ; do + mv $PKG/usr/lib32/${lib}.so* $PKG/lib32 + ln -sf ../../lib32/$(readlink $PKG/lib32/${lib}.so) $PKG/usr/lib32/${lib}.so + rm $PKG/lib32/${lib}.so + done + + rm -r $PKG/usr/{bin,include,man,share} +} diff --git a/libpng-32/.32bit b/libpng-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libpng-32/.footprint b/libpng-32/.footprint new file mode 100644 index 00000000..14b81ecc --- /dev/null +++ b/libpng-32/.footprint @@ -0,0 +1,13 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +lrwxrwxrwx root/root usr/lib32/libpng.a -> libpng15.a +lrwxrwxrwx root/root usr/lib32/libpng.la -> libpng15.la +lrwxrwxrwx root/root usr/lib32/libpng.so -> libpng15.so +-rw-r--r-- root/root usr/lib32/libpng15.a +-rwxr-xr-x root/root usr/lib32/libpng15.la +lrwxrwxrwx root/root usr/lib32/libpng15.so -> libpng15.so.15.13.0 +lrwxrwxrwx root/root usr/lib32/libpng15.so.15 -> libpng15.so.15.13.0 +-rwxr-xr-x root/root usr/lib32/libpng15.so.15.13.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +lrwxrwxrwx root/root usr/lib32/pkgconfig/libpng.pc -> libpng15.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/libpng15.pc diff --git a/libpng-32/.md5sum b/libpng-32/.md5sum new file mode 100644 index 00000000..81eb4471 --- /dev/null +++ b/libpng-32/.md5sum @@ -0,0 +1,2 @@ +7f2924b1fe0cca9080e18b8720443716 libpng-1.5.12-apng.patch.gz +0b607a685da977f1bfc96e1c47055183 libpng-1.5.13.tar.xz diff --git a/libpng-32/Pkgfile b/libpng-32/Pkgfile new file mode 100644 index 00000000..0652bad3 --- /dev/null +++ b/libpng-32/Pkgfile @@ -0,0 +1,21 @@ +# Description: Library of PNG support functions. +# URL: http://www.libpng.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: zlib-32 libpng + +name=libpng-32 +version=1.5.13 +release=1 +source=(http://download.sourceforge.net/libpng/libpng-$version.tar.xz \ + http://downloads.sourceforge.net/project/libpng-apng/libpng15/1.5.12/libpng-1.5.12-apng.patch.gz) + +build() { + cd libpng-$version + + zcat $SRC/libpng-1.5.12-apng.patch.gz | patch -p1 + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{bin,include,man} +} diff --git a/libpthread-stubs-32/.32bit b/libpthread-stubs-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libpthread-stubs-32/.footprint b/libpthread-stubs-32/.footprint new file mode 100644 index 00000000..91c5c797 --- /dev/null +++ b/libpthread-stubs-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libpthread-stubs.a +-rwxr-xr-x root/root usr/lib32/libpthread-stubs.la +lrwxrwxrwx root/root usr/lib32/libpthread-stubs.so -> libpthread-stubs.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libpthread-stubs.so.0 -> libpthread-stubs.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libpthread-stubs.so.0.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/pthread-stubs.pc diff --git a/libpthread-stubs-32/.md5sum b/libpthread-stubs-32/.md5sum new file mode 100644 index 00000000..30ad225d --- /dev/null +++ b/libpthread-stubs-32/.md5sum @@ -0,0 +1 @@ +2ba9ce2d46da0a2a1090384ece3387ff libpthread-stubs-0.2.tar.bz2 diff --git a/libpthread-stubs-32/Pkgfile b/libpthread-stubs-32/Pkgfile new file mode 100644 index 00000000..799e4f1b --- /dev/null +++ b/libpthread-stubs-32/Pkgfile @@ -0,0 +1,17 @@ +# Description: pthread dummy implementation +# URL: http://xcb.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu + +name=libpthread-stubs-32 +version=0.2 +release=1 +source=(http://xcb.freedesktop.org/dist/libpthread-stubs-$version.tar.bz2) + +build() { + cd libpthread-stubs-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install +} diff --git a/libsdl-32/.32bit b/libsdl-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libsdl-32/.footprint b/libsdl-32/.footprint new file mode 100644 index 00000000..57485010 --- /dev/null +++ b/libsdl-32/.footprint @@ -0,0 +1,50 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/sdl-config-32 +drwxr-xr-x root/root usr/include32/ +drwxr-xr-x root/root usr/include32/SDL/ +-rw-r--r-- root/root usr/include32/SDL/SDL.h +-rw-r--r-- root/root usr/include32/SDL/SDL_active.h +-rw-r--r-- root/root usr/include32/SDL/SDL_audio.h +-rw-r--r-- root/root usr/include32/SDL/SDL_byteorder.h +-rw-r--r-- root/root usr/include32/SDL/SDL_cdrom.h +-rw-r--r-- root/root usr/include32/SDL/SDL_config.h +-rw-r--r-- root/root usr/include32/SDL/SDL_cpuinfo.h +-rw-r--r-- root/root usr/include32/SDL/SDL_endian.h +-rw-r--r-- root/root usr/include32/SDL/SDL_error.h +-rw-r--r-- root/root usr/include32/SDL/SDL_events.h +-rw-r--r-- root/root usr/include32/SDL/SDL_getenv.h +-rw-r--r-- root/root usr/include32/SDL/SDL_joystick.h +-rw-r--r-- root/root usr/include32/SDL/SDL_keyboard.h +-rw-r--r-- root/root usr/include32/SDL/SDL_keysym.h +-rw-r--r-- root/root usr/include32/SDL/SDL_loadso.h +-rw-r--r-- root/root usr/include32/SDL/SDL_main.h +-rw-r--r-- root/root usr/include32/SDL/SDL_mouse.h +-rw-r--r-- root/root usr/include32/SDL/SDL_mutex.h +-rw-r--r-- root/root usr/include32/SDL/SDL_name.h +-rw-r--r-- root/root usr/include32/SDL/SDL_opengl.h +-rw-r--r-- root/root usr/include32/SDL/SDL_platform.h +-rw-r--r-- root/root usr/include32/SDL/SDL_quit.h +-rw-r--r-- root/root usr/include32/SDL/SDL_rwops.h +-rw-r--r-- root/root usr/include32/SDL/SDL_stdinc.h +-rw-r--r-- root/root usr/include32/SDL/SDL_syswm.h +-rw-r--r-- root/root usr/include32/SDL/SDL_thread.h +-rw-r--r-- root/root usr/include32/SDL/SDL_timer.h +-rw-r--r-- root/root usr/include32/SDL/SDL_types.h +-rw-r--r-- root/root usr/include32/SDL/SDL_version.h +-rw-r--r-- root/root usr/include32/SDL/SDL_video.h +-rw-r--r-- root/root usr/include32/SDL/begin_code.h +-rw-r--r-- root/root usr/include32/SDL/close_code.h +drwxr-xr-x root/root usr/lib32/ +lrwxrwxrwx root/root usr/lib32/libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.4 +-rwxr-xr-x root/root usr/lib32/libSDL-1.2.so.0.11.4 +-rw-r--r-- root/root usr/lib32/libSDL.a +-rwxr-xr-x root/root usr/lib32/libSDL.la +lrwxrwxrwx root/root usr/lib32/libSDL.so -> libSDL-1.2.so.0.11.4 +-rw-r--r-- root/root usr/lib32/libSDLmain.a +-rwxr-xr-x root/root usr/lib32/libSDLmain.la +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/sdl.pc +drwxr-xr-x root/root usr/share32/ +drwxr-xr-x root/root usr/share32/aclocal/ +-rw-r--r-- root/root usr/share32/aclocal/sdl.m4 diff --git a/libsdl-32/.md5sum b/libsdl-32/.md5sum new file mode 100644 index 00000000..8857a079 --- /dev/null +++ b/libsdl-32/.md5sum @@ -0,0 +1 @@ +9d96df8417572a2afb781a7c4c811a85 SDL-1.2.15.tar.gz diff --git a/libsdl-32/Pkgfile b/libsdl-32/Pkgfile new file mode 100644 index 00000000..e1820db7 --- /dev/null +++ b/libsdl-32/Pkgfile @@ -0,0 +1,29 @@ +# Description: SDL, Simple DirectMedia Layer +# URL: http://www.libsdl.org +# Maintainer: Jose V Beneyto, sepen at crux dot nu +# Packager: sten, nick dot steeves at shaw dot ca +# Depends on: alsa-lib-32 mesa3d-32 glib-32 libsdl + +name=libsdl-32 +version=1.2.15 +release=1 +source=(http://www.libsdl.org/release/SDL-$version.tar.gz) + +build() { + cd SDL-$version + + ./configure --prefix=/usr \ + --mandir=/usr/man \ + --libdir=/usr/lib32 \ + --includedir=/usr/include32 \ + --datarootdir=/usr/share32 \ + --program-suffix=-32 \ + --enable-alsa + + make + make DESTDIR=$PKG install + rm -r $PKG/usr/man + + # --program-suffix=-32 is being ignored + mv $PKG/usr/bin/sdl-config $PKG/usr/bin/sdl-config-32 +} diff --git a/libtheora-32/.32bit b/libtheora-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libtheora-32/.footprint b/libtheora-32/.footprint new file mode 100644 index 00000000..e13e3085 --- /dev/null +++ b/libtheora-32/.footprint @@ -0,0 +1,21 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libtheora.a +-rwxr-xr-x root/root usr/lib32/libtheora.la +lrwxrwxrwx root/root usr/lib32/libtheora.so -> libtheora.so.0.3.10 +lrwxrwxrwx root/root usr/lib32/libtheora.so.0 -> libtheora.so.0.3.10 +-rwxr-xr-x root/root usr/lib32/libtheora.so.0.3.10 +-rw-r--r-- root/root usr/lib32/libtheoradec.a +-rwxr-xr-x root/root usr/lib32/libtheoradec.la +lrwxrwxrwx root/root usr/lib32/libtheoradec.so -> libtheoradec.so.1.1.4 +lrwxrwxrwx root/root usr/lib32/libtheoradec.so.1 -> libtheoradec.so.1.1.4 +-rwxr-xr-x root/root usr/lib32/libtheoradec.so.1.1.4 +-rw-r--r-- root/root usr/lib32/libtheoraenc.a +-rwxr-xr-x root/root usr/lib32/libtheoraenc.la +lrwxrwxrwx root/root usr/lib32/libtheoraenc.so -> libtheoraenc.so.1.1.2 +lrwxrwxrwx root/root usr/lib32/libtheoraenc.so.1 -> libtheoraenc.so.1.1.2 +-rwxr-xr-x root/root usr/lib32/libtheoraenc.so.1.1.2 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/theora.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/theoradec.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/theoraenc.pc diff --git a/libtheora-32/.md5sum b/libtheora-32/.md5sum new file mode 100644 index 00000000..e3523451 --- /dev/null +++ b/libtheora-32/.md5sum @@ -0,0 +1 @@ +9eeabf1ad65b7f41533854a59f7a716d libtheora-1.1.1.tar.xz diff --git a/libtheora-32/Pkgfile b/libtheora-32/Pkgfile new file mode 100644 index 00000000..e14455b9 --- /dev/null +++ b/libtheora-32/Pkgfile @@ -0,0 +1,28 @@ +# Description: A free and open video compression format from the Xiph.org Foundation. +# URL: http://www.theora.org/ +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Matt Housh, jaeger at crux dot nu +# Depends on: libvorbis-32 libtheora + +name=libtheora-32 +version=1.1.1 +release=1 +source=(http://downloads.xiph.org/releases/theora/libtheora-$version.tar.xz) + +build() { + cd libtheora-$version + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --mandir=/usr/man \ + --disable-examples \ + --host=i686-pc-linux-gnu + + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share/doc + rmdir $PKG/usr/share + + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} +} diff --git a/libtiff-32/.32bit b/libtiff-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libtiff-32/.footprint b/libtiff-32/.footprint new file mode 100644 index 00000000..1e759880 --- /dev/null +++ b/libtiff-32/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libtiff.a +-rwxr-xr-x root/root usr/lib32/libtiff.la +lrwxrwxrwx root/root usr/lib32/libtiff.so -> libtiff.so.5.2.0 +lrwxrwxrwx root/root usr/lib32/libtiff.so.5 -> libtiff.so.5.2.0 +-rwxr-xr-x root/root usr/lib32/libtiff.so.5.2.0 +-rw-r--r-- root/root usr/lib32/libtiffxx.a +-rwxr-xr-x root/root usr/lib32/libtiffxx.la +lrwxrwxrwx root/root usr/lib32/libtiffxx.so -> libtiffxx.so.5.2.0 +lrwxrwxrwx root/root usr/lib32/libtiffxx.so.5 -> libtiffxx.so.5.2.0 +-rwxr-xr-x root/root usr/lib32/libtiffxx.so.5.2.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/libtiff-4.pc diff --git a/libtiff-32/.md5sum b/libtiff-32/.md5sum new file mode 100644 index 00000000..10672dad --- /dev/null +++ b/libtiff-32/.md5sum @@ -0,0 +1 @@ +051c1068e6a0627f461948c365290410 tiff-4.0.3.tar.gz diff --git a/libtiff-32/Pkgfile b/libtiff-32/Pkgfile new file mode 100644 index 00000000..6f054220 --- /dev/null +++ b/libtiff-32/Pkgfile @@ -0,0 +1,17 @@ +# Description: Library for manipulation of TIFF (Tag Image File Format) images +# URL: http://libtiff.maptools.org/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: libjpeg-32 zlib-32 libtiff + +name=libtiff-32 +version=4.0.3 +release=1 +source=(http://download.osgeo.org/libtiff/tiff-$version.tar.gz) + +build() { + cd tiff-$version + ./configure --prefix=/usr --libdir=/usr/lib32 --mandir=/usr/man + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{bin,include,share,man} +} diff --git a/libuninameslist-32/.32bit b/libuninameslist-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libuninameslist-32/.footprint b/libuninameslist-32/.footprint new file mode 100644 index 00000000..00712796 --- /dev/null +++ b/libuninameslist-32/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rwxr-xr-x root/root usr/lib32/libuninameslist-fr.la +lrwxrwxrwx root/root usr/lib32/libuninameslist-fr.so -> libuninameslist-fr.so.0.0.2 +lrwxrwxrwx root/root usr/lib32/libuninameslist-fr.so.0 -> libuninameslist-fr.so.0.0.2 +-rwxr-xr-x root/root usr/lib32/libuninameslist-fr.so.0.0.2 +-rwxr-xr-x root/root usr/lib32/libuninameslist.la +lrwxrwxrwx root/root usr/lib32/libuninameslist.so -> libuninameslist.so.0.0.2 +lrwxrwxrwx root/root usr/lib32/libuninameslist.so.0 -> libuninameslist.so.0.0.2 +-rwxr-xr-x root/root usr/lib32/libuninameslist.so.0.0.2 diff --git a/libuninameslist-32/.md5sum b/libuninameslist-32/.md5sum new file mode 100644 index 00000000..0cf97713 --- /dev/null +++ b/libuninameslist-32/.md5sum @@ -0,0 +1 @@ +14f47d50fb0e05c5029298847437feab libuninameslist-20091231.tar.bz2 diff --git a/libuninameslist-32/Pkgfile b/libuninameslist-32/Pkgfile new file mode 100644 index 00000000..1c155d32 --- /dev/null +++ b/libuninameslist-32/Pkgfile @@ -0,0 +1,23 @@ +# Description: Unicode annotation data library. +# URL: http://libuninameslist.sourceforge.net/ +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Younes Hafri, ycrux at club-internet dot fr +# Depends on: libuninameslist + +name=libuninameslist-32 +version=20091231 +release=1 +source=(http://downloads.sourceforge.net/project/libuninameslist/libuninameslist%20sources/Unicode_5.2-20091231/libuninameslist-$version.tar.bz2) + +build() { + cd libuninameslist + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --disable-static + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/libvisual-32/.32bit b/libvisual-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libvisual-32/.footprint b/libvisual-32/.footprint new file mode 100644 index 00000000..f8817ff8 --- /dev/null +++ b/libvisual-32/.footprint @@ -0,0 +1,8 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rwxr-xr-x root/root usr/lib32/libvisual-0.4.la +lrwxrwxrwx root/root usr/lib32/libvisual-0.4.so -> libvisual-0.4.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libvisual-0.4.so.0 -> libvisual-0.4.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libvisual-0.4.so.0.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/libvisual-0.4.pc diff --git a/libvisual-32/.md5sum b/libvisual-32/.md5sum new file mode 100644 index 00000000..0cae3529 --- /dev/null +++ b/libvisual-32/.md5sum @@ -0,0 +1 @@ +d0f987abd0845e725743605fd39ef73f libvisual-0.4.0.tar.bz2 diff --git a/libvisual-32/Pkgfile b/libvisual-32/Pkgfile new file mode 100644 index 00000000..f23fa643 --- /dev/null +++ b/libvisual-32/Pkgfile @@ -0,0 +1,25 @@ +# Description: An abstraction library that comes between applications and audio visualisation plugins. +# URL: http://sourceforge.net/apps/mediawiki/libvisual/ +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: sten, nick dot steeves at shaw dot ca +# Depends on: libvisual + +name=libvisual-32 +version=0.4.0 +release=1 +source=(http://downloads.sourceforge.net/project/libvisual/libvisual/libvisual-$version/libvisual-$version.tar.bz2) + +build() { + cd libvisual-$version + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --enable-extra-optimization + + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share + + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} +} diff --git a/libvorbis-32/.32bit b/libvorbis-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libvorbis-32/.footprint b/libvorbis-32/.footprint new file mode 100644 index 00000000..85b81473 --- /dev/null +++ b/libvorbis-32/.footprint @@ -0,0 +1,21 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libvorbis.a +-rwxr-xr-x root/root usr/lib32/libvorbis.la +lrwxrwxrwx root/root usr/lib32/libvorbis.so -> libvorbis.so.0.4.6 +lrwxrwxrwx root/root usr/lib32/libvorbis.so.0 -> libvorbis.so.0.4.6 +-rwxr-xr-x root/root usr/lib32/libvorbis.so.0.4.6 +-rw-r--r-- root/root usr/lib32/libvorbisenc.a +-rwxr-xr-x root/root usr/lib32/libvorbisenc.la +lrwxrwxrwx root/root usr/lib32/libvorbisenc.so -> libvorbisenc.so.2.0.9 +lrwxrwxrwx root/root usr/lib32/libvorbisenc.so.2 -> libvorbisenc.so.2.0.9 +-rwxr-xr-x root/root usr/lib32/libvorbisenc.so.2.0.9 +-rw-r--r-- root/root usr/lib32/libvorbisfile.a +-rwxr-xr-x root/root usr/lib32/libvorbisfile.la +lrwxrwxrwx root/root usr/lib32/libvorbisfile.so -> libvorbisfile.so.3.3.5 +lrwxrwxrwx root/root usr/lib32/libvorbisfile.so.3 -> libvorbisfile.so.3.3.5 +-rwxr-xr-x root/root usr/lib32/libvorbisfile.so.3.3.5 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/vorbis.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/vorbisenc.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/vorbisfile.pc diff --git a/libvorbis-32/.md5sum b/libvorbis-32/.md5sum new file mode 100644 index 00000000..11b62ad0 --- /dev/null +++ b/libvorbis-32/.md5sum @@ -0,0 +1 @@ +71b649d3e08e63ece16649df906ce8b9 libvorbis-1.3.3.tar.xz diff --git a/libvorbis-32/Pkgfile b/libvorbis-32/Pkgfile new file mode 100644 index 00000000..9b6973c6 --- /dev/null +++ b/libvorbis-32/Pkgfile @@ -0,0 +1,18 @@ +# Description: Vorbis codec library +# URL: http://www.xiph.org/ogg/vorbis/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: libogg-32 libvorbis + +name=libvorbis-32 +version=1.3.3 +release=1 +source=(http://downloads.xiph.org/releases/vorbis/libvorbis-$version.tar.xz) + +build() { + cd libvorbis-$version + ./configure --prefix=/usr --libdir=/usr/lib32 + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/share/doc + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} +} diff --git a/libvorbis-32/libvorbis.diff b/libvorbis-32/libvorbis.diff new file mode 100644 index 00000000..938a9ca8 --- /dev/null +++ b/libvorbis-32/libvorbis.diff @@ -0,0 +1,24 @@ +# Stolen from Mozilla, with minor adjustments. +# Author: Timothy B. Terriberry + +diff --git a/media/libvorbis/lib/floor1.c b/media/libvorbis/lib/floor1.c +--- a/media/libvorbis/lib/floor1.c ++++ b/media/libvorbis/lib/floor1.c +@@ -162,16 +162,17 @@ static vorbis_info_floor *floor1_unpack + + /* read the post list */ + info->mult=oggpack_read(opb,2)+1; /* only 1,2,3,4 legal now */ + rangebits=oggpack_read(opb,4); + if(rangebits<0)goto err_out; + + for(j=0,k=0;jpartitions;j++){ + count+=info->class_dim[info->partitionclass[j]]; ++ if(count>VIF_POSIT) goto err_out; + for(;kpostlist[k+2]=oggpack_read(opb,rangebits); + if(t<0 || t>=(1<postlist[0]=0; + info->postlist[1]=1< libxml2.so.2.9.0 +lrwxrwxrwx root/root usr/lib32/libxml2.so.2 -> libxml2.so.2.9.0 +-rwxr-xr-x root/root usr/lib32/libxml2.so.2.9.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/libxml-2.0.pc +-rw-r--r-- root/root usr/lib32/xml2Conf.sh diff --git a/libxml2-32/.md5sum b/libxml2-32/.md5sum new file mode 100644 index 00000000..07cc6d63 --- /dev/null +++ b/libxml2-32/.md5sum @@ -0,0 +1 @@ +5b9bebf4f5d2200ae2c4efe8fa6103f7 libxml2-2.9.0.tar.gz diff --git a/libxml2-32/Pkgfile b/libxml2-32/Pkgfile new file mode 100644 index 00000000..430cefa0 --- /dev/null +++ b/libxml2-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: XML library version 2 +# URL: http://xmlsoft.org/ +# Maintainer: Juergen Daubert, jue at crux dot nu +# Packager: Daniel Mueller, daniel at danm dot de +# Depends on: zlib-32, xz-32, libxml2 + +name=libxml2-32 +version=2.9.0 +release=1 +source=(ftp://xmlsoft.org/libxml2/libxml2-$version.tar.gz) + +build () { + cd libxml2-$version + + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --mandir=/usr/man \ + --without-python + make + make DESTDIR=$PKG install + rm -r $PKG/usr/{bin,include,man,share} +} diff --git a/libxml2-python-32/.32bit b/libxml2-python-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libxml2-python-32/.footprint b/libxml2-python-32/.footprint new file mode 100644 index 00000000..5ca3c0c7 --- /dev/null +++ b/libxml2-python-32/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/python2.7/ +drwxr-xr-x root/root usr/lib32/python2.7/site-packages/ +-rw-r--r-- root/root usr/lib32/python2.7/site-packages/drv_libxml2.py +-rw-r--r-- root/root usr/lib32/python2.7/site-packages/libxml2.py +-rwxr-xr-x root/root usr/lib32/python2.7/site-packages/libxml2mod.so diff --git a/libxml2-python-32/.md5sum b/libxml2-python-32/.md5sum new file mode 100644 index 00000000..0a6e14e8 --- /dev/null +++ b/libxml2-python-32/.md5sum @@ -0,0 +1,2 @@ +5b9bebf4f5d2200ae2c4efe8fa6103f7 libxml2-2.9.0.tar.gz +43c5851bbce0093cd2bcef9d9ee9d847 libxml2-python-config.patch diff --git a/libxml2-python-32/Pkgfile b/libxml2-python-32/Pkgfile new file mode 100644 index 00000000..5a622621 --- /dev/null +++ b/libxml2-python-32/Pkgfile @@ -0,0 +1,26 @@ +# Description: Python bindings for the XML library version 2 +# URL: http://xmlsoft.org/ +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: python-32 libxml2-32 libxml2-python + +name=libxml2-python-32 +version=2.9.0 +release=1 +source=(ftp://xmlsoft.org/libxml2/libxml2-$version.tar.gz \ + libxml2-python-config.patch) + +build () { + cd libxml2-$version + + patch -p1 -i $SRC/libxml2-python-config.patch + + ./configure --prefix=/usr --libdir=/usr/lib32 + cd python + sed -i -e 's|PYTHON_INCLUDES = /usr/include/python2.7|PYTHON_INCLUDES = /usr/include32/python2.7|' Makefile + make + make DESTDIR=$PKG install + + rm $PKG/usr/lib32/python2.7/site-packages/libxml2mod.{a,la} + rm -r $PKG/usr/share +} + diff --git a/libxml2-python-32/libxml2-python-config.patch b/libxml2-python-32/libxml2-python-config.patch new file mode 100644 index 00000000..f88c9d04 --- /dev/null +++ b/libxml2-python-32/libxml2-python-config.patch @@ -0,0 +1,21 @@ +diff -Nru libxml2-2.9.0.orig/python/Makefile.in libxml2-2.9.0/python/Makefile.in +--- libxml2-2.9.0.orig/python/Makefile.in 2012-09-14 10:22:28.919971395 +0200 ++++ libxml2-2.9.0/python/Makefile.in 2012-09-14 10:23:40.717353028 +0200 +@@ -82,7 +82,7 @@ + LTLIBRARIES = $(python_LTLIBRARIES) + am__DEPENDENCIES_1 = + @WITH_PYTHON_TRUE@libxml2mod_la_DEPENDENCIES = \ +-@WITH_PYTHON_TRUE@ $(top_builddir)/libxml2.la \ ++@WITH_PYTHON_TRUE@ $(libdir)/libxml2.la \ + @WITH_PYTHON_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + @WITH_PYTHON_TRUE@ $(am__DEPENDENCIES_1) + am__libxml2mod_la_SOURCES_DIST = libxml.c libxml_wrap.h libxml2-py.h \ +@@ -416,7 +416,7 @@ + + @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la + @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c libxml_wrap.h libxml2-py.h libxml2-py.c types.c +-@WITH_PYTHON_TRUE@libxml2mod_la_LIBADD = $(top_builddir)/libxml2.la $(CYGWIN_EXTRA_PYTHON_LIBADD) $(WIN32_EXTRA_PYTHON_LIBADD) $(PYTHON_LIBS) -lpython$(PYTHON_VERSION) ++@WITH_PYTHON_TRUE@libxml2mod_la_LIBADD = $(libdir)/libxml2.la $(CYGWIN_EXTRA_PYTHON_LIBADD) $(WIN32_EXTRA_PYTHON_LIBADD) $(PYTHON_LIBS) -lpython$(PYTHON_VERSION) + @WITH_PYTHON_TRUE@libxml2mod_la_LDFLAGS = $(CYGWIN_EXTRA_LDFLAGS) $(WIN32_EXTRA_LDFLAGS) -module -avoid-version + @WITH_PYTHON_TRUE@BUILT_SOURCES = libxml2-export.c libxml2-py.h libxml2-py.c + @WITH_PYTHON_TRUE@dist_python_DATA = \ diff --git a/libxslt-32/.32bit b/libxslt-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libxslt-32/.footprint b/libxslt-32/.footprint new file mode 100644 index 00000000..04e25cef --- /dev/null +++ b/libxslt-32/.footprint @@ -0,0 +1,17 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libexslt.a +-rwxr-xr-x root/root usr/lib32/libexslt.la +lrwxrwxrwx root/root usr/lib32/libexslt.so -> libexslt.so.0.8.16 +lrwxrwxrwx root/root usr/lib32/libexslt.so.0 -> libexslt.so.0.8.16 +-rwxr-xr-x root/root usr/lib32/libexslt.so.0.8.16 +drwxr-xr-x root/root usr/lib32/libxslt-plugins/ +-rw-r--r-- root/root usr/lib32/libxslt.a +-rwxr-xr-x root/root usr/lib32/libxslt.la +lrwxrwxrwx root/root usr/lib32/libxslt.so -> libxslt.so.1.1.27 +lrwxrwxrwx root/root usr/lib32/libxslt.so.1 -> libxslt.so.1.1.27 +-rwxr-xr-x root/root usr/lib32/libxslt.so.1.1.27 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/libexslt.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/libxslt.pc +-rw-r--r-- root/root usr/lib32/xsltConf.sh diff --git a/libxslt-32/.md5sum b/libxslt-32/.md5sum new file mode 100644 index 00000000..86326554 --- /dev/null +++ b/libxslt-32/.md5sum @@ -0,0 +1 @@ +4d01ff464b9ea7236925a1adf147c7f8 libxslt-1.1.27.tar.gz diff --git a/libxslt-32/Pkgfile b/libxslt-32/Pkgfile new file mode 100644 index 00000000..e7ca837f --- /dev/null +++ b/libxslt-32/Pkgfile @@ -0,0 +1,28 @@ +# Description: XSL Transformations library +# URL: http://xmlsoft.org/XSLT/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: libxml2-32 libxslt + +name=libxslt-32 +version=1.1.27 +release=1 +source=(ftp://xmlsoft.org/libxml2/libxslt-$version.tar.gz) + +build() { + cd libxslt-$version + sed -i -e 's/libgcrypt-config/&-32/g' configure + ./configure --prefix=/usr --mandir=/usr/man \ + --libdir=/usr/lib32 \ + --without-python + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/doc $PKG/usr/share + # move manpages + if [ -e $PKG/usr/man/man4/libxslt.4 ] + then + (cd $PKG/usr/man + mkdir man3 + mv man4/libxslt.4 man3/libxslt.3) + fi + rm -rf $PKG/usr/{bin,include,man} +} diff --git a/mesa-demos-32/.32bit b/mesa-demos-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/mesa-demos-32/.footprint b/mesa-demos-32/.footprint new file mode 100644 index 00000000..58d712ea --- /dev/null +++ b/mesa-demos-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/glxgears-32 +-rwxr-xr-x root/root usr/bin/glxinfo-32 diff --git a/mesa-demos-32/.md5sum b/mesa-demos-32/.md5sum new file mode 100644 index 00000000..5ce2eed2 --- /dev/null +++ b/mesa-demos-32/.md5sum @@ -0,0 +1 @@ +320c2a4b6edc6faba35d9cb1e2a30bf4 mesa-demos-8.0.1.tar.bz2 diff --git a/mesa-demos-32/Pkgfile b/mesa-demos-32/Pkgfile new file mode 100644 index 00000000..b30bf4eb --- /dev/null +++ b/mesa-demos-32/Pkgfile @@ -0,0 +1,21 @@ +# Description: Mesa 3D demos +# URL: http://www.mesa3d.org +# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu +# Depends on: glew mesa3d + +name=mesa-demos-32 +version=8.0.1 +release=1 +source=(ftp://ftp.freedesktop.org/pub/mesa/demos/$version/mesa-demos-$version.tar.bz2) + +build() { + cd mesa-demos-$version + + ./configure --prefix=/usr + + make -C src/xdemos/ glxinfo glxgears + + install -d $PKG/usr/bin + install -m 0755 src/xdemos/glxgears $PKG/usr/bin/glxgears-32 + install -m 0755 src/xdemos/glxinfo $PKG/usr/bin/glxinfo-32 +} diff --git a/mesa3d-32/.32bit b/mesa3d-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/mesa3d-32/.footprint b/mesa3d-32/.footprint new file mode 100644 index 00000000..bb5f1424 --- /dev/null +++ b/mesa3d-32/.footprint @@ -0,0 +1,38 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/dri/ +-rwxr-xr-x root/root usr/lib32/dri/i915_dri.la +-rwxr-xr-x root/root usr/lib32/dri/i915_dri.so +-rwxr-xr-x root/root usr/lib32/dri/i965_dri.la +-rwxr-xr-x root/root usr/lib32/dri/i965_dri.so +-rwxr-xr-x root/root usr/lib32/dri/nouveau_dri.so +-rwxr-xr-x root/root usr/lib32/dri/nouveau_vieux_dri.la +-rwxr-xr-x root/root usr/lib32/dri/nouveau_vieux_dri.so +-rwxr-xr-x root/root usr/lib32/dri/r200_dri.la +-rwxr-xr-x root/root usr/lib32/dri/r200_dri.so +-rwxr-xr-x root/root usr/lib32/dri/r600_dri.so +-rwxr-xr-x root/root usr/lib32/dri/radeon_dri.la +-rwxr-xr-x root/root usr/lib32/dri/radeon_dri.so +-rwxr-xr-x root/root usr/lib32/dri/swrast_dri.la +-rwxr-xr-x root/root usr/lib32/dri/swrast_dri.so +-rwxr-xr-x root/root usr/lib32/dri/vmwgfx_dri.so +-rwxr-xr-x root/root usr/lib32/libEGL.la +lrwxrwxrwx root/root usr/lib32/libEGL.so -> libEGL.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libEGL.so.1 -> libEGL.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libEGL.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libGL.la +lrwxrwxrwx root/root usr/lib32/libGL.so -> libGL.so.1.2.0 +lrwxrwxrwx root/root usr/lib32/libGL.so.1 -> libGL.so.1.2.0 +-rwxr-xr-x root/root usr/lib32/libGL.so.1.2.0 +-rwxr-xr-x root/root usr/lib32/libdricore9.0.0.la +lrwxrwxrwx root/root usr/lib32/libdricore9.0.0.so -> libdricore9.0.0.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libdricore9.0.0.so.1 -> libdricore9.0.0.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libdricore9.0.0.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libglapi.la +lrwxrwxrwx root/root usr/lib32/libglapi.so -> libglapi.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libglapi.so.0 -> libglapi.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libglapi.so.0.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/dri.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/egl.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/gl.pc diff --git a/mesa3d-32/.md5sum b/mesa3d-32/.md5sum new file mode 100644 index 00000000..1469d73c --- /dev/null +++ b/mesa3d-32/.md5sum @@ -0,0 +1 @@ +60e557ce407be3732711da484ab3db6c MesaLib-9.0.tar.bz2 diff --git a/mesa3d-32/Makefile b/mesa3d-32/Makefile new file mode 100644 index 00000000..443ecabc --- /dev/null +++ b/mesa3d-32/Makefile @@ -0,0 +1,77 @@ +# progs/xdemos/Makefile + +TOP = ../.. +include $(TOP)/configs/current + + +INCDIR = $(TOP)/include + +LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) + +# Add X11 and pthread libs to satisfy GNU gold. +APP_LIB_DEPS += -lX11 -lpthread + +LIBS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L$(libdir) $(APP_LIB_DEPS) + +PROGS = \ + glxgears \ + glxinfo + +# Don't build these by default because of extra library dependencies +EXTRA_PROGS = \ + shape \ + yuvrect_client \ + xdemo + + + +##### RULES ##### + +.o: $(LIB_DEP) + $(APP_CC) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@ + +.c.o: + $(APP_CC) -I$(INCDIR) $(X11_INCLUDES) $(CFLAGS) $< -c -o $@ + + +##### TARGETS ##### + +default: $(PROGS) + +$(PROGS): $(PROGS:%=%.o) + +extra: $(EXTRA_PROGS) + + +clean: + -rm -f $(PROGS) $(EXTRA_PROGS) + -rm -f *.o *~ + + +# special cases +pbutil.o: pbutil.h +pbinfo.o: pbutil.h +pbinfo: pbinfo.o pbutil.o + $(APP_CC) $(CFLAGS) $(LDFLAGS) pbinfo.o pbutil.o $(LIBS) -o $@ + +pbdemo.o: pbutil.h +pbdemo: pbdemo.o pbutil.o + $(APP_CC) $(CFLAGS) $(LDFLAGS) pbdemo.o pbutil.o $(LIBS) -o $@ + +glxgears_fbconfig.o: pbutil.h +glxgears_fbconfig: glxgears_fbconfig.o pbutil.o + $(APP_CC) $(CFLAGS) $(LDFLAGS) glxgears_fbconfig.o pbutil.o $(LIBS) -o $@ + +xuserotfont.o: xuserotfont.h +xrotfontdemo.o: xuserotfont.h +xrotfontdemo: xrotfontdemo.o xuserotfont.o + $(APP_CC) $(CFLAGS) $(LDFLAGS) xrotfontdemo.o xuserotfont.o $(LIBS) -o $@ + +ipc.o: ipc.h +corender.o: ipc.h +corender: corender.o ipc.o + $(APP_CC) $(CFLAGS) $(LDFLAGS) corender.o ipc.o $(LIBS) -o $@ + +yuvrect_client: yuvrect_client.o + $(APP_CC) $(CFLAGS) $< $(LDFLAGS) $(LIBS) -l$(GLU_LIB) -o $@ + diff --git a/mesa3d-32/Pkgfile b/mesa3d-32/Pkgfile new file mode 100644 index 00000000..74f0c967 --- /dev/null +++ b/mesa3d-32/Pkgfile @@ -0,0 +1,24 @@ +# Description: Mesa 3D Graphics Library +# URL: http://www.mesa3d.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: libdrm-32 xorg-makedepend xorg-glproto-32 xorg-xextproto-32 xorg-dri2proto-32 xorg-libx11-32 xorg-xf86vidmodeproto-32 xorg-libxext-32 xorg-libxxf86vm-32 xorg-libxt-32 xorg-libxdamage-32 xorg-libpciaccess-32 expat-32 talloc-32 mesa3d + +name=mesa3d-32 +version=9.0 +release=1 +source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2) + +build() { + cd Mesa-$version + + autoreconf --install --symlink + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --with-dri-drivers=i915,i965,r200,radeon,swrast,nouveau \ + --with-gallium-drivers=i915,r600,svga,nouveau \ + --host=i686-pc-linux-gnu + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{bin,etc,include} +} diff --git a/mesa3d-32/glxgears.c b/mesa3d-32/glxgears.c new file mode 100644 index 00000000..92c75caa --- /dev/null +++ b/mesa3d-32/glxgears.c @@ -0,0 +1,787 @@ +/* + * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +/* + * This is a port of the infamous "gears" demo to straight GLX (i.e. no GLUT) + * Port by Brian Paul 23 March 2001 + * + * See usage() below for command line options. + */ + + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifndef GLX_MESA_swap_control +#define GLX_MESA_swap_control 1 +typedef int (*PFNGLXGETSWAPINTERVALMESAPROC)(void); +#endif + + +#define BENCHMARK + +#ifdef BENCHMARK + +/* XXX this probably isn't very portable */ + +#include +#include + +/* return current time (in seconds) */ +static double +current_time(void) +{ + struct timeval tv; +#ifdef __VMS + (void) gettimeofday(&tv, NULL ); +#else + struct timezone tz; + (void) gettimeofday(&tv, &tz); +#endif + return (double) tv.tv_sec + tv.tv_usec / 1000000.0; +} + +#else /*BENCHMARK*/ + +/* dummy */ +static double +current_time(void) +{ + /* update this function for other platforms! */ + static double t = 0.0; + static int warn = 1; + if (warn) { + fprintf(stderr, "Warning: current_time() not implemented!!\n"); + warn = 0; + } + return t += 1.0; +} + +#endif /*BENCHMARK*/ + + + +#ifndef M_PI +#define M_PI 3.14159265 +#endif + + +/** Event handler results: */ +#define NOP 0 +#define EXIT 1 +#define DRAW 2 + +static GLfloat view_rotx = 20.0, view_roty = 30.0, view_rotz = 0.0; +static GLint gear1, gear2, gear3; +static GLfloat angle = 0.0; + +static GLboolean fullscreen = GL_FALSE; /* Create a single fullscreen window */ +static GLboolean stereo = GL_FALSE; /* Enable stereo. */ +static GLboolean animate = GL_TRUE; /* Animation */ +static GLfloat eyesep = 5.0; /* Eye separation. */ +static GLfloat fix_point = 40.0; /* Fixation point distance. */ +static GLfloat left, right, asp; /* Stereo frustum params. */ + + +/* + * + * Draw a gear wheel. You'll probably want to call this function when + * building a display list since we do a lot of trig here. + * + * Input: inner_radius - radius of hole at center + * outer_radius - radius at center of teeth + * width - width of gear + * teeth - number of teeth + * tooth_depth - depth of tooth + */ +static void +gear(GLfloat inner_radius, GLfloat outer_radius, GLfloat width, + GLint teeth, GLfloat tooth_depth) +{ + GLint i; + GLfloat r0, r1, r2; + GLfloat angle, da; + GLfloat u, v, len; + + r0 = inner_radius; + r1 = outer_radius - tooth_depth / 2.0; + r2 = outer_radius + tooth_depth / 2.0; + + da = 2.0 * M_PI / teeth / 4.0; + + glShadeModel(GL_FLAT); + + glNormal3f(0.0, 0.0, 1.0); + + /* draw front face */ + glBegin(GL_QUAD_STRIP); + for (i = 0; i <= teeth; i++) { + angle = i * 2.0 * M_PI / teeth; + glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); + glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5); + if (i < teeth) { + glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); + glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), + width * 0.5); + } + } + glEnd(); + + /* draw front sides of teeth */ + glBegin(GL_QUADS); + da = 2.0 * M_PI / teeth / 4.0; + for (i = 0; i < teeth; i++) { + angle = i * 2.0 * M_PI / teeth; + + glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5); + glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), width * 0.5); + glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), + width * 0.5); + glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), + width * 0.5); + } + glEnd(); + + glNormal3f(0.0, 0.0, -1.0); + + /* draw back face */ + glBegin(GL_QUAD_STRIP); + for (i = 0; i <= teeth; i++) { + angle = i * 2.0 * M_PI / teeth; + glVertex3f(r1 * cos(angle), r1 * sin(angle), -width * 0.5); + glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5); + if (i < teeth) { + glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), + -width * 0.5); + glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5); + } + } + glEnd(); + + /* draw back sides of teeth */ + glBegin(GL_QUADS); + da = 2.0 * M_PI / teeth / 4.0; + for (i = 0; i < teeth; i++) { + angle = i * 2.0 * M_PI / teeth; + + glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), + -width * 0.5); + glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), + -width * 0.5); + glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), -width * 0.5); + glVertex3f(r1 * cos(angle), r1 * sin(angle), -width * 0.5); + } + glEnd(); + + /* draw outward faces of teeth */ + glBegin(GL_QUAD_STRIP); + for (i = 0; i < teeth; i++) { + angle = i * 2.0 * M_PI / teeth; + + glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5); + glVertex3f(r1 * cos(angle), r1 * sin(angle), -width * 0.5); + u = r2 * cos(angle + da) - r1 * cos(angle); + v = r2 * sin(angle + da) - r1 * sin(angle); + len = sqrt(u * u + v * v); + u /= len; + v /= len; + glNormal3f(v, -u, 0.0); + glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), width * 0.5); + glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), -width * 0.5); + glNormal3f(cos(angle), sin(angle), 0.0); + glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), + width * 0.5); + glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), + -width * 0.5); + u = r1 * cos(angle + 3 * da) - r2 * cos(angle + 2 * da); + v = r1 * sin(angle + 3 * da) - r2 * sin(angle + 2 * da); + glNormal3f(v, -u, 0.0); + glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), + width * 0.5); + glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), + -width * 0.5); + glNormal3f(cos(angle), sin(angle), 0.0); + } + + glVertex3f(r1 * cos(0), r1 * sin(0), width * 0.5); + glVertex3f(r1 * cos(0), r1 * sin(0), -width * 0.5); + + glEnd(); + + glShadeModel(GL_SMOOTH); + + /* draw inside radius cylinder */ + glBegin(GL_QUAD_STRIP); + for (i = 0; i <= teeth; i++) { + angle = i * 2.0 * M_PI / teeth; + glNormal3f(-cos(angle), -sin(angle), 0.0); + glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5); + glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); + } + glEnd(); +} + + +static void +draw(void) +{ + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + + glPushMatrix(); + glRotatef(view_rotx, 1.0, 0.0, 0.0); + glRotatef(view_roty, 0.0, 1.0, 0.0); + glRotatef(view_rotz, 0.0, 0.0, 1.0); + + glPushMatrix(); + glTranslatef(-3.0, -2.0, 0.0); + glRotatef(angle, 0.0, 0.0, 1.0); + glCallList(gear1); + glPopMatrix(); + + glPushMatrix(); + glTranslatef(3.1, -2.0, 0.0); + glRotatef(-2.0 * angle - 9.0, 0.0, 0.0, 1.0); + glCallList(gear2); + glPopMatrix(); + + glPushMatrix(); + glTranslatef(-3.1, 4.2, 0.0); + glRotatef(-2.0 * angle - 25.0, 0.0, 0.0, 1.0); + glCallList(gear3); + glPopMatrix(); + + glPopMatrix(); +} + + +static void +draw_gears(void) +{ + if (stereo) { + /* First left eye. */ + glDrawBuffer(GL_BACK_LEFT); + + glMatrixMode(GL_PROJECTION); + glLoadIdentity(); + glFrustum(left, right, -asp, asp, 5.0, 60.0); + + glMatrixMode(GL_MODELVIEW); + + glPushMatrix(); + glTranslated(+0.5 * eyesep, 0.0, 0.0); + draw(); + glPopMatrix(); + + /* Then right eye. */ + glDrawBuffer(GL_BACK_RIGHT); + + glMatrixMode(GL_PROJECTION); + glLoadIdentity(); + glFrustum(-right, -left, -asp, asp, 5.0, 60.0); + + glMatrixMode(GL_MODELVIEW); + + glPushMatrix(); + glTranslated(-0.5 * eyesep, 0.0, 0.0); + draw(); + glPopMatrix(); + } + else { + draw(); + } +} + + +/** Draw single frame, do SwapBuffers, compute FPS */ +static void +draw_frame(Display *dpy, Window win) +{ + static int frames = 0; + static double tRot0 = -1.0, tRate0 = -1.0; + double dt, t = current_time(); + + if (tRot0 < 0.0) + tRot0 = t; + dt = t - tRot0; + tRot0 = t; + + if (animate) { + /* advance rotation for next frame */ + angle += 70.0 * dt; /* 70 degrees per second */ + if (angle > 3600.0) + angle -= 3600.0; + } + + draw_gears(); + glXSwapBuffers(dpy, win); + + frames++; + + if (tRate0 < 0.0) + tRate0 = t; + if (t - tRate0 >= 5.0) { + GLfloat seconds = t - tRate0; + GLfloat fps = frames / seconds; + printf("%d frames in %3.1f seconds = %6.3f FPS\n", frames, seconds, + fps); + tRate0 = t; + frames = 0; + } +} + + +/* new window size or exposure */ +static void +reshape(int width, int height) +{ + glViewport(0, 0, (GLint) width, (GLint) height); + + if (stereo) { + GLfloat w; + + asp = (GLfloat) height / (GLfloat) width; + w = fix_point * (1.0 / 5.0); + + left = -5.0 * ((w - 0.5 * eyesep) / fix_point); + right = 5.0 * ((w + 0.5 * eyesep) / fix_point); + } + else { + GLfloat h = (GLfloat) height / (GLfloat) width; + + glMatrixMode(GL_PROJECTION); + glLoadIdentity(); + glFrustum(-1.0, 1.0, -h, h, 5.0, 60.0); + } + + glMatrixMode(GL_MODELVIEW); + glLoadIdentity(); + glTranslatef(0.0, 0.0, -40.0); +} + + + +static void +init(void) +{ + static GLfloat pos[4] = { 5.0, 5.0, 10.0, 0.0 }; + static GLfloat red[4] = { 0.8, 0.1, 0.0, 1.0 }; + static GLfloat green[4] = { 0.0, 0.8, 0.2, 1.0 }; + static GLfloat blue[4] = { 0.2, 0.2, 1.0, 1.0 }; + + glLightfv(GL_LIGHT0, GL_POSITION, pos); + glEnable(GL_CULL_FACE); + glEnable(GL_LIGHTING); + glEnable(GL_LIGHT0); + glEnable(GL_DEPTH_TEST); + + /* make the gears */ + gear1 = glGenLists(1); + glNewList(gear1, GL_COMPILE); + glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, red); + gear(1.0, 4.0, 1.0, 20, 0.7); + glEndList(); + + gear2 = glGenLists(1); + glNewList(gear2, GL_COMPILE); + glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, green); + gear(0.5, 2.0, 2.0, 10, 0.7); + glEndList(); + + gear3 = glGenLists(1); + glNewList(gear3, GL_COMPILE); + glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, blue); + gear(1.3, 2.0, 0.5, 10, 0.7); + glEndList(); + + glEnable(GL_NORMALIZE); +} + + +/** + * Remove window border/decorations. + */ +static void +no_border( Display *dpy, Window w) +{ + static const unsigned MWM_HINTS_DECORATIONS = (1 << 1); + static const int PROP_MOTIF_WM_HINTS_ELEMENTS = 5; + + typedef struct + { + unsigned long flags; + unsigned long functions; + unsigned long decorations; + long inputMode; + unsigned long status; + } PropMotifWmHints; + + PropMotifWmHints motif_hints; + Atom prop, proptype; + unsigned long flags = 0; + + /* setup the property */ + motif_hints.flags = MWM_HINTS_DECORATIONS; + motif_hints.decorations = flags; + + /* get the atom for the property */ + prop = XInternAtom( dpy, "_MOTIF_WM_HINTS", True ); + if (!prop) { + /* something went wrong! */ + return; + } + + /* not sure this is correct, seems to work, XA_WM_HINTS didn't work */ + proptype = prop; + + XChangeProperty( dpy, w, /* display, window */ + prop, proptype, /* property, type */ + 32, /* format: 32-bit datums */ + PropModeReplace, /* mode */ + (unsigned char *) &motif_hints, /* data */ + PROP_MOTIF_WM_HINTS_ELEMENTS /* nelements */ + ); +} + + +/* + * Create an RGB, double-buffered window. + * Return the window and context handles. + */ +static void +make_window( Display *dpy, const char *name, + int x, int y, int width, int height, + Window *winRet, GLXContext *ctxRet) +{ + int attribs[] = { GLX_RGBA, + GLX_RED_SIZE, 1, + GLX_GREEN_SIZE, 1, + GLX_BLUE_SIZE, 1, + GLX_DOUBLEBUFFER, + GLX_DEPTH_SIZE, 1, + None }; + int stereoAttribs[] = { GLX_RGBA, + GLX_RED_SIZE, 1, + GLX_GREEN_SIZE, 1, + GLX_BLUE_SIZE, 1, + GLX_DOUBLEBUFFER, + GLX_DEPTH_SIZE, 1, + GLX_STEREO, + None }; + int scrnum; + XSetWindowAttributes attr; + unsigned long mask; + Window root; + Window win; + GLXContext ctx; + XVisualInfo *visinfo; + + scrnum = DefaultScreen( dpy ); + root = RootWindow( dpy, scrnum ); + + if (fullscreen) { + x = 0; y = 0; + width = DisplayWidth( dpy, scrnum ); + height = DisplayHeight( dpy, scrnum ); + } + + if (stereo) + visinfo = glXChooseVisual( dpy, scrnum, stereoAttribs ); + else + visinfo = glXChooseVisual( dpy, scrnum, attribs ); + if (!visinfo) { + if (stereo) { + printf("Error: couldn't get an RGB, " + "Double-buffered, Stereo visual\n"); + } else + printf("Error: couldn't get an RGB, Double-buffered visual\n"); + exit(1); + } + + /* window attributes */ + attr.background_pixel = 0; + attr.border_pixel = 0; + attr.colormap = XCreateColormap( dpy, root, visinfo->visual, AllocNone); + attr.event_mask = StructureNotifyMask | ExposureMask | KeyPressMask; + /* XXX this is a bad way to get a borderless window! */ + mask = CWBackPixel | CWBorderPixel | CWColormap | CWEventMask; + + win = XCreateWindow( dpy, root, x, y, width, height, + 0, visinfo->depth, InputOutput, + visinfo->visual, mask, &attr ); + + if (fullscreen) + no_border(dpy, win); + + /* set hints and properties */ + { + XSizeHints sizehints; + sizehints.x = x; + sizehints.y = y; + sizehints.width = width; + sizehints.height = height; + sizehints.flags = USSize | USPosition; + XSetNormalHints(dpy, win, &sizehints); + XSetStandardProperties(dpy, win, name, name, + None, (char **)NULL, 0, &sizehints); + } + + ctx = glXCreateContext( dpy, visinfo, NULL, True ); + if (!ctx) { + printf("Error: glXCreateContext failed\n"); + exit(1); + } + + XFree(visinfo); + + *winRet = win; + *ctxRet = ctx; +} + + +/** + * Determine whether or not a GLX extension is supported. + */ +static int +is_glx_extension_supported(Display *dpy, const char *query) +{ + const int scrnum = DefaultScreen(dpy); + const char *glx_extensions = NULL; + const size_t len = strlen(query); + const char *ptr; + + if (glx_extensions == NULL) { + glx_extensions = glXQueryExtensionsString(dpy, scrnum); + } + + ptr = strstr(glx_extensions, query); + return ((ptr != NULL) && ((ptr[len] == ' ') || (ptr[len] == '\0'))); +} + + +/** + * Attempt to determine whether or not the display is synched to vblank. + */ +static void +query_vsync(Display *dpy, GLXDrawable drawable) +{ + int interval = 0; + +#if defined(GLX_EXT_swap_control) + if (is_glx_extension_supported(dpy, "GLX_EXT_swap_control")) { + unsigned int tmp = -1; + glXQueryDrawable(dpy, drawable, GLX_SWAP_INTERVAL_EXT, &tmp); + interval = tmp; + } else +#endif + if (is_glx_extension_supported(dpy, "GLX_MESA_swap_control")) { + PFNGLXGETSWAPINTERVALMESAPROC pglXGetSwapIntervalMESA = + (PFNGLXGETSWAPINTERVALMESAPROC) + glXGetProcAddressARB((const GLubyte *) "glXGetSwapIntervalMESA"); + + interval = (*pglXGetSwapIntervalMESA)(); + } else if (is_glx_extension_supported(dpy, "GLX_SGI_swap_control")) { + /* The default swap interval with this extension is 1. Assume that it + * is set to the default. + * + * Many Mesa-based drivers default to 0, but all of these drivers also + * export GLX_MESA_swap_control. In that case, this branch will never + * be taken, and the correct result should be reported. + */ + interval = 1; + } + + + if (interval > 0) { + printf("Running synchronized to the vertical refresh. The framerate should be\n"); + if (interval == 1) { + printf("approximately the same as the monitor refresh rate.\n"); + } else if (interval > 1) { + printf("approximately 1/%d the monitor refresh rate.\n", + interval); + } + } +} + +/** + * Handle one X event. + * \return NOP, EXIT or DRAW + */ +static int +handle_event(Display *dpy, Window win, XEvent *event) +{ + (void) dpy; + (void) win; + + switch (event->type) { + case Expose: + return DRAW; + case ConfigureNotify: + reshape(event->xconfigure.width, event->xconfigure.height); + break; + case KeyPress: + { + char buffer[10]; + int r, code; + code = XLookupKeysym(&event->xkey, 0); + if (code == XK_Left) { + view_roty += 5.0; + } + else if (code == XK_Right) { + view_roty -= 5.0; + } + else if (code == XK_Up) { + view_rotx += 5.0; + } + else if (code == XK_Down) { + view_rotx -= 5.0; + } + else { + r = XLookupString(&event->xkey, buffer, sizeof(buffer), + NULL, NULL); + if (buffer[0] == 27) { + /* escape */ + return EXIT; + } + else if (buffer[0] == 'a' || buffer[0] == 'A') { + animate = !animate; + } + } + return DRAW; + } + } + return NOP; +} + + +static void +event_loop(Display *dpy, Window win) +{ + while (1) { + int op; + while (!animate || XPending(dpy) > 0) { + XEvent event; + XNextEvent(dpy, &event); + op = handle_event(dpy, win, &event); + if (op == EXIT) + return; + else if (op == DRAW) + break; + } + + draw_frame(dpy, win); + } +} + + +static void +usage(void) +{ + printf("Usage:\n"); + printf(" -display set the display to run on\n"); + printf(" -stereo run in stereo mode\n"); + printf(" -fullscreen run in fullscreen mode\n"); + printf(" -info display OpenGL renderer info\n"); + printf(" -geometry WxH+X+Y window geometry\n"); +} + + +int +main(int argc, char *argv[]) +{ + unsigned int winWidth = 300, winHeight = 300; + int x = 0, y = 0; + Display *dpy; + Window win; + GLXContext ctx; + char *dpyName = NULL; + GLboolean printInfo = GL_FALSE; + int i; + + for (i = 1; i < argc; i++) { + if (strcmp(argv[i], "-display") == 0) { + dpyName = argv[i+1]; + i++; + } + else if (strcmp(argv[i], "-info") == 0) { + printInfo = GL_TRUE; + } + else if (strcmp(argv[i], "-stereo") == 0) { + stereo = GL_TRUE; + } + else if (strcmp(argv[i], "-fullscreen") == 0) { + fullscreen = GL_TRUE; + } + else if (i < argc-1 && strcmp(argv[i], "-geometry") == 0) { + XParseGeometry(argv[i+1], &x, &y, &winWidth, &winHeight); + i++; + } + else { + usage(); + return -1; + } + } + + dpy = XOpenDisplay(dpyName); + if (!dpy) { + printf("Error: couldn't open display %s\n", + dpyName ? dpyName : getenv("DISPLAY")); + return -1; + } + + make_window(dpy, "glxgears", x, y, winWidth, winHeight, &win, &ctx); + XMapWindow(dpy, win); + glXMakeCurrent(dpy, win, ctx); + query_vsync(dpy, win); + + if (printInfo) { + printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER)); + printf("GL_VERSION = %s\n", (char *) glGetString(GL_VERSION)); + printf("GL_VENDOR = %s\n", (char *) glGetString(GL_VENDOR)); + printf("GL_EXTENSIONS = %s\n", (char *) glGetString(GL_EXTENSIONS)); + } + + init(); + + /* Set initial projection/viewing transformation. + * We can't be sure we'll get a ConfigureNotify event when the window + * first appears. + */ + reshape(winWidth, winHeight); + + event_loop(dpy, win); + + glDeleteLists(gear1, 1); + glDeleteLists(gear2, 1); + glDeleteLists(gear3, 1); + glXMakeCurrent(dpy, None, NULL); + glXDestroyContext(dpy, ctx); + XDestroyWindow(dpy, win); + XCloseDisplay(dpy); + + return 0; +} diff --git a/mesa3d-32/glxinfo.c b/mesa3d-32/glxinfo.c new file mode 100644 index 00000000..332f5c2f --- /dev/null +++ b/mesa3d-32/glxinfo.c @@ -0,0 +1,1195 @@ +/* + * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + + +/* + * This program is a work-alike of the IRIX glxinfo program. + * Command line options: + * -t print wide table + * -v print verbose information + * -display DisplayName specify the X display to interogate + * -b only print ID of "best" visual on screen 0 + * -i use indirect rendering connection only + * -l print interesting OpenGL limits (added 5 Sep 2002) + * + * Brian Paul 26 January 2000 + */ + +#define GLX_GLXEXT_PROTOTYPES + +#include +#include +#include +#include +#include +#include +#include + + +#ifndef GLX_NONE_EXT +#define GLX_NONE_EXT 0x8000 +#endif + +#ifndef GLX_TRANSPARENT_RGB +#define GLX_TRANSPARENT_RGB 0x8008 +#endif + +#ifndef GLX_RGBA_BIT +#define GLX_RGBA_BIT 0x00000001 +#endif + +#ifndef GLX_COLOR_INDEX_BIT +#define GLX_COLOR_INDEX_BIT 0x00000002 +#endif + +typedef enum +{ + Normal, + Wide, + Verbose +} InfoMode; + + +struct visual_attribs +{ + /* X visual attribs */ + int id; + int klass; + int depth; + int redMask, greenMask, blueMask; + int colormapSize; + int bitsPerRGB; + + /* GL visual attribs */ + int supportsGL; + int transparentType; + int transparentRedValue; + int transparentGreenValue; + int transparentBlueValue; + int transparentAlphaValue; + int transparentIndexValue; + int bufferSize; + int level; + int render_type; + int doubleBuffer; + int stereo; + int auxBuffers; + int redSize, greenSize, blueSize, alphaSize; + int depthSize; + int stencilSize; + int accumRedSize, accumGreenSize, accumBlueSize, accumAlphaSize; + int numSamples, numMultisample; + int visualCaveat; +}; + + +/* + * Print a list of extensions, with word-wrapping. + */ +static void +print_extension_list(const char *ext) +{ + const char *indentString = " "; + const int indent = 4; + const int max = 79; + int width, i, j; + + if (!ext || !ext[0]) + return; + + width = indent; + printf("%s", indentString); + i = j = 0; + while (1) { + if (ext[j] == ' ' || ext[j] == 0) { + /* found end of an extension name */ + const int len = j - i; + if (width + len > max) { + /* start a new line */ + printf("\n"); + width = indent; + printf("%s", indentString); + } + /* print the extension name between ext[i] and ext[j] */ + while (i < j) { + printf("%c", ext[i]); + i++; + } + /* either we're all done, or we'll continue with next extension */ + width += len + 1; + if (ext[j] == 0) { + break; + } + else { + i++; + j++; + if (ext[j] == 0) + break; + printf(", "); + width += 2; + } + } + j++; + } + printf("\n"); +} + + +static void +print_display_info(Display *dpy) +{ + printf("name of display: %s\n", DisplayString(dpy)); +} + + +/** + * Print interesting limits for vertex/fragment programs. + */ +static void +print_program_limits(GLenum target) +{ +#if defined(GL_ARB_vertex_program) || defined(GL_ARB_fragment_program) + struct token_name { + GLenum token; + const char *name; + }; + static const struct token_name common_limits[] = { + { GL_MAX_PROGRAM_INSTRUCTIONS_ARB, "GL_MAX_PROGRAM_INSTRUCTIONS_ARB" }, + { GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB, "GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB" }, + { GL_MAX_PROGRAM_TEMPORARIES_ARB, "GL_MAX_PROGRAM_TEMPORARIES_ARB" }, + { GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB, "GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB" }, + { GL_MAX_PROGRAM_PARAMETERS_ARB, "GL_MAX_PROGRAM_PARAMETERS_ARB" }, + { GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB, "GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB" }, + { GL_MAX_PROGRAM_ATTRIBS_ARB, "GL_MAX_PROGRAM_ATTRIBS_ARB" }, + { GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB, "GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB" }, + { GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB, "GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB" }, + { GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB, "GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB" }, + { GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB, "GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB" }, + { GL_MAX_PROGRAM_ENV_PARAMETERS_ARB, "GL_MAX_PROGRAM_ENV_PARAMETERS_ARB" }, + { (GLenum) 0, NULL } + }; + static const struct token_name fragment_limits[] = { + { GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB, "GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB" }, + { GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB, "GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB" }, + { GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB, "GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB" }, + { GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB, "GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB" }, + { GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB, "GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB" }, + { GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB, "GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB" }, + { (GLenum) 0, NULL } + }; + + PFNGLGETPROGRAMIVARBPROC GetProgramivARB_func = (PFNGLGETPROGRAMIVARBPROC) + glXGetProcAddressARB((GLubyte *) "glGetProgramivARB"); + + GLint max[1]; + int i; + + if (target == GL_VERTEX_PROGRAM_ARB) { + printf(" GL_VERTEX_PROGRAM_ARB:\n"); + } + else if (target == GL_FRAGMENT_PROGRAM_ARB) { + printf(" GL_FRAGMENT_PROGRAM_ARB:\n"); + } + else { + return; /* something's wrong */ + } + + for (i = 0; common_limits[i].token; i++) { + GetProgramivARB_func(target, common_limits[i].token, max); + if (glGetError() == GL_NO_ERROR) { + printf(" %s = %d\n", common_limits[i].name, max[0]); + } + } + if (target == GL_FRAGMENT_PROGRAM_ARB) { + for (i = 0; fragment_limits[i].token; i++) { + GetProgramivARB_func(target, fragment_limits[i].token, max); + if (glGetError() == GL_NO_ERROR) { + printf(" %s = %d\n", fragment_limits[i].name, max[0]); + } + } + } +#endif /* GL_ARB_vertex_program / GL_ARB_fragment_program */ +} + + +/** + * Print interesting limits for vertex/fragment shaders. + */ +static void +print_shader_limits(GLenum target) +{ + struct token_name { + GLenum token; + const char *name; + }; +#if defined(GL_ARB_vertex_shader) + static const struct token_name vertex_limits[] = { + { GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB, "GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB" }, + { GL_MAX_VARYING_FLOATS_ARB, "GL_MAX_VARYING_FLOATS_ARB" }, + { GL_MAX_VERTEX_ATTRIBS_ARB, "GL_MAX_VERTEX_ATTRIBS_ARB" }, + { GL_MAX_TEXTURE_IMAGE_UNITS_ARB, "GL_MAX_TEXTURE_IMAGE_UNITS_ARB" }, + { GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB" }, + { GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB" }, + { GL_MAX_TEXTURE_COORDS_ARB, "GL_MAX_TEXTURE_COORDS_ARB" }, + { (GLenum) 0, NULL } + }; +#endif +#if defined(GL_ARB_fragment_shader) + static const struct token_name fragment_limits[] = { + { GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB, "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB" }, + { GL_MAX_TEXTURE_COORDS_ARB, "GL_MAX_TEXTURE_COORDS_ARB" }, + { GL_MAX_TEXTURE_IMAGE_UNITS_ARB, "GL_MAX_TEXTURE_IMAGE_UNITS_ARB" }, + { (GLenum) 0, NULL } + }; +#endif + GLint max[1]; + int i; + +#if defined(GL_ARB_vertex_shader) + if (target == GL_VERTEX_SHADER_ARB) { + printf(" GL_VERTEX_SHADER_ARB:\n"); + for (i = 0; vertex_limits[i].token; i++) { + glGetIntegerv(vertex_limits[i].token, max); + if (glGetError() == GL_NO_ERROR) { + printf(" %s = %d\n", vertex_limits[i].name, max[0]); + } + } + } +#endif +#if defined(GL_ARB_fragment_shader) + if (target == GL_FRAGMENT_SHADER_ARB) { + printf(" GL_FRAGMENT_SHADER_ARB:\n"); + for (i = 0; fragment_limits[i].token; i++) { + glGetIntegerv(fragment_limits[i].token, max); + if (glGetError() == GL_NO_ERROR) { + printf(" %s = %d\n", fragment_limits[i].name, max[0]); + } + } + } +#endif +} + + +/** + * Print interesting OpenGL implementation limits. + */ +static void +print_limits(const char *extensions) +{ + struct token_name { + GLuint count; + GLenum token; + const char *name; + }; + static const struct token_name limits[] = { + { 1, GL_MAX_ATTRIB_STACK_DEPTH, "GL_MAX_ATTRIB_STACK_DEPTH" }, + { 1, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH, "GL_MAX_CLIENT_ATTRIB_STACK_DEPTH" }, + { 1, GL_MAX_CLIP_PLANES, "GL_MAX_CLIP_PLANES" }, + { 1, GL_MAX_COLOR_MATRIX_STACK_DEPTH, "GL_MAX_COLOR_MATRIX_STACK_DEPTH" }, + { 1, GL_MAX_ELEMENTS_VERTICES, "GL_MAX_ELEMENTS_VERTICES" }, + { 1, GL_MAX_ELEMENTS_INDICES, "GL_MAX_ELEMENTS_INDICES" }, + { 1, GL_MAX_EVAL_ORDER, "GL_MAX_EVAL_ORDER" }, + { 1, GL_MAX_LIGHTS, "GL_MAX_LIGHTS" }, + { 1, GL_MAX_LIST_NESTING, "GL_MAX_LIST_NESTING" }, + { 1, GL_MAX_MODELVIEW_STACK_DEPTH, "GL_MAX_MODELVIEW_STACK_DEPTH" }, + { 1, GL_MAX_NAME_STACK_DEPTH, "GL_MAX_NAME_STACK_DEPTH" }, + { 1, GL_MAX_PIXEL_MAP_TABLE, "GL_MAX_PIXEL_MAP_TABLE" }, + { 1, GL_MAX_PROJECTION_STACK_DEPTH, "GL_MAX_PROJECTION_STACK_DEPTH" }, + { 1, GL_MAX_TEXTURE_STACK_DEPTH, "GL_MAX_TEXTURE_STACK_DEPTH" }, + { 1, GL_MAX_TEXTURE_SIZE, "GL_MAX_TEXTURE_SIZE" }, + { 1, GL_MAX_3D_TEXTURE_SIZE, "GL_MAX_3D_TEXTURE_SIZE" }, + { 2, GL_MAX_VIEWPORT_DIMS, "GL_MAX_VIEWPORT_DIMS" }, + { 2, GL_ALIASED_LINE_WIDTH_RANGE, "GL_ALIASED_LINE_WIDTH_RANGE" }, + { 2, GL_SMOOTH_LINE_WIDTH_RANGE, "GL_SMOOTH_LINE_WIDTH_RANGE" }, + { 2, GL_ALIASED_POINT_SIZE_RANGE, "GL_ALIASED_POINT_SIZE_RANGE" }, + { 2, GL_SMOOTH_POINT_SIZE_RANGE, "GL_SMOOTH_POINT_SIZE_RANGE" }, +#if defined(GL_ARB_texture_cube_map) + { 1, GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB, "GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB" }, +#endif +#if defined(GLX_NV_texture_rectangle) + { 1, GL_MAX_RECTANGLE_TEXTURE_SIZE_NV, "GL_MAX_RECTANGLE_TEXTURE_SIZE_NV" }, +#endif +#if defined(GL_ARB_texture_compression) + { 1, GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB, "GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB" }, +#endif +#if defined(GL_ARB_multitexture) + { 1, GL_MAX_TEXTURE_UNITS_ARB, "GL_MAX_TEXTURE_UNITS_ARB" }, +#endif +#if defined(GL_EXT_texture_lod_bias) + { 1, GL_MAX_TEXTURE_LOD_BIAS_EXT, "GL_MAX_TEXTURE_LOD_BIAS_EXT" }, +#endif +#if defined(GL_EXT_texture_filter_anisotropic) + { 1, GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT" }, +#endif +#if defined(GL_ARB_draw_buffers) + { 1, GL_MAX_DRAW_BUFFERS_ARB, "GL_MAX_DRAW_BUFFERS_ARB" }, +#endif + { 0, (GLenum) 0, NULL } + }; + GLint i, max[2]; + + printf("OpenGL limits:\n"); + for (i = 0; limits[i].count; i++) { + glGetIntegerv(limits[i].token, max); + if (glGetError() == GL_NO_ERROR) { + if (limits[i].count == 1) + printf(" %s = %d\n", limits[i].name, max[0]); + else /* XXX fix if we ever query something with more than 2 values */ + printf(" %s = %d, %d\n", limits[i].name, max[0], max[1]); + } + } + + /* these don't fit into the above mechanism, unfortunately */ + glGetConvolutionParameteriv(GL_CONVOLUTION_2D, GL_MAX_CONVOLUTION_WIDTH, max); + glGetConvolutionParameteriv(GL_CONVOLUTION_2D, GL_MAX_CONVOLUTION_HEIGHT, max+1); + if (glGetError() == GL_NONE) { + printf(" GL_MAX_CONVOLUTION_WIDTH/HEIGHT = %d, %d\n", max[0], max[1]); + } + +#if defined(GL_ARB_vertex_program) + if (strstr(extensions, "GL_ARB_vertex_program")) { + print_program_limits(GL_VERTEX_PROGRAM_ARB); + } +#endif +#if defined(GL_ARB_fragment_program) + if (strstr(extensions, "GL_ARB_fragment_program")) { + print_program_limits(GL_FRAGMENT_PROGRAM_ARB); + } +#endif +#if defined(GL_ARB_vertex_shader) + if (strstr(extensions, "GL_ARB_vertex_shader")) { + print_shader_limits(GL_VERTEX_SHADER_ARB); + } +#endif +#if defined(GL_ARB_fragment_shader) + if (strstr(extensions, "GL_ARB_fragment_shader")) { + print_shader_limits(GL_FRAGMENT_SHADER_ARB); + } +#endif +} + + +static void +print_screen_info(Display *dpy, int scrnum, Bool allowDirect, GLboolean limits) +{ + Window win; + int attribSingle[] = { + GLX_RGBA, + GLX_RED_SIZE, 1, + GLX_GREEN_SIZE, 1, + GLX_BLUE_SIZE, 1, + None }; + int attribDouble[] = { + GLX_RGBA, + GLX_RED_SIZE, 1, + GLX_GREEN_SIZE, 1, + GLX_BLUE_SIZE, 1, + GLX_DOUBLEBUFFER, + None }; + + XSetWindowAttributes attr; + unsigned long mask; + Window root; + GLXContext ctx = NULL; + XVisualInfo *visinfo; + int width = 100, height = 100; + + root = RootWindow(dpy, scrnum); + + /* + * Find a basic GLX visual. We'll then create a rendering context and + * query various info strings. + */ + visinfo = glXChooseVisual(dpy, scrnum, attribSingle); + if (!visinfo) + visinfo = glXChooseVisual(dpy, scrnum, attribDouble); + + if (visinfo) + ctx = glXCreateContext( dpy, visinfo, NULL, allowDirect ); + +#ifdef GLX_VERSION_1_3 + /* Try glXChooseFBConfig() if glXChooseVisual didn't work. + * XXX when would that happen? + */ + if (!visinfo) { + int fbAttribSingle[] = { + GLX_RENDER_TYPE, GLX_RGBA_BIT, + GLX_RED_SIZE, 1, + GLX_GREEN_SIZE, 1, + GLX_BLUE_SIZE, 1, + GLX_DOUBLEBUFFER, GL_FALSE, + None }; + int fbAttribDouble[] = { + GLX_RENDER_TYPE, GLX_RGBA_BIT, + GLX_RED_SIZE, 1, + GLX_GREEN_SIZE, 1, + GLX_BLUE_SIZE, 1, + GLX_DOUBLEBUFFER, GL_TRUE, + None }; + GLXFBConfig *configs = NULL; + int nConfigs; + + configs = glXChooseFBConfig(dpy, scrnum, fbAttribSingle, &nConfigs); + if (!configs) + configs = glXChooseFBConfig(dpy, scrnum, fbAttribDouble, &nConfigs); + + if (configs) { + visinfo = glXGetVisualFromFBConfig(dpy, configs[0]); + ctx = glXCreateNewContext(dpy, configs[0], GLX_RGBA_TYPE, NULL, allowDirect); + XFree(configs); + } + } +#endif + + if (!visinfo) { + fprintf(stderr, "Error: couldn't find RGB GLX visual or fbconfig\n"); + return; + } + + if (!ctx) { + fprintf(stderr, "Error: glXCreateContext failed\n"); + XFree(visinfo); + return; + } + + attr.background_pixel = 0; + attr.border_pixel = 0; + attr.colormap = XCreateColormap(dpy, root, visinfo->visual, AllocNone); + attr.event_mask = StructureNotifyMask | ExposureMask; + mask = CWBackPixel | CWBorderPixel | CWColormap | CWEventMask; + win = XCreateWindow(dpy, root, 0, 0, width, height, + 0, visinfo->depth, InputOutput, + visinfo->visual, mask, &attr); + + if (glXMakeCurrent(dpy, win, ctx)) { + const char *serverVendor = glXQueryServerString(dpy, scrnum, GLX_VENDOR); + const char *serverVersion = glXQueryServerString(dpy, scrnum, GLX_VERSION); + const char *serverExtensions = glXQueryServerString(dpy, scrnum, GLX_EXTENSIONS); + const char *clientVendor = glXGetClientString(dpy, GLX_VENDOR); + const char *clientVersion = glXGetClientString(dpy, GLX_VERSION); + const char *clientExtensions = glXGetClientString(dpy, GLX_EXTENSIONS); + const char *glxExtensions = glXQueryExtensionsString(dpy, scrnum); + const char *glVendor = (const char *) glGetString(GL_VENDOR); + const char *glRenderer = (const char *) glGetString(GL_RENDERER); + const char *glVersion = (const char *) glGetString(GL_VERSION); + const char *glExtensions = (const char *) glGetString(GL_EXTENSIONS); + int glxVersionMajor; + int glxVersionMinor; + char *displayName = NULL; + char *colon = NULL, *period = NULL; + + if (! glXQueryVersion( dpy, & glxVersionMajor, & glxVersionMinor )) { + fprintf(stderr, "Error: glXQueryVersion failed\n"); + exit(1); + } + + /* Strip the screen number from the display name, if present. */ + if (!(displayName = (char *) malloc(strlen(DisplayString(dpy)) + 1))) { + fprintf(stderr, "Error: malloc() failed\n"); + exit(1); + } + strcpy(displayName, DisplayString(dpy)); + colon = strrchr(displayName, ':'); + if (colon) { + period = strchr(colon, '.'); + if (period) + *period = '\0'; + } + printf("display: %s screen: %d\n", displayName, scrnum); + free(displayName); + printf("direct rendering: "); + if (glXIsDirect(dpy, ctx)) { + printf("Yes\n"); + } else { + if (!allowDirect) { + printf("No (-i specified)\n"); + } else if (getenv("LIBGL_ALWAYS_INDIRECT")) { + printf("No (LIBGL_ALWAYS_INDIRECT set)\n"); + } else { + printf("No (If you want to find out why, try setting " + "LIBGL_DEBUG=verbose)\n"); + } + } + printf("server glx vendor string: %s\n", serverVendor); + printf("server glx version string: %s\n", serverVersion); + printf("server glx extensions:\n"); + print_extension_list(serverExtensions); + printf("client glx vendor string: %s\n", clientVendor); + printf("client glx version string: %s\n", clientVersion); + printf("client glx extensions:\n"); + print_extension_list(clientExtensions); + printf("GLX version: %u.%u\n", glxVersionMajor, glxVersionMinor); + printf("GLX extensions:\n"); + print_extension_list(glxExtensions); + printf("OpenGL vendor string: %s\n", glVendor); + printf("OpenGL renderer string: %s\n", glRenderer); + printf("OpenGL version string: %s\n", glVersion); +#ifdef GL_VERSION_2_0 + if (glVersion[0] >= '2' && glVersion[1] == '.') { + char *v = (char *) glGetString(GL_SHADING_LANGUAGE_VERSION); + printf("OpenGL shading language version string: %s\n", v); + } +#endif + + printf("OpenGL extensions:\n"); + print_extension_list(glExtensions); + if (limits) + print_limits(glExtensions); + } + else { + fprintf(stderr, "Error: glXMakeCurrent failed\n"); + } + + glXDestroyContext(dpy, ctx); + XFree(visinfo); + XDestroyWindow(dpy, win); +} + + +static const char * +visual_class_name(int cls) +{ + switch (cls) { + case StaticColor: + return "StaticColor"; + case PseudoColor: + return "PseudoColor"; + case StaticGray: + return "StaticGray"; + case GrayScale: + return "GrayScale"; + case TrueColor: + return "TrueColor"; + case DirectColor: + return "DirectColor"; + default: + return ""; + } +} + + +static const char * +visual_class_abbrev(int cls) +{ + switch (cls) { + case StaticColor: + return "sc"; + case PseudoColor: + return "pc"; + case StaticGray: + return "sg"; + case GrayScale: + return "gs"; + case TrueColor: + return "tc"; + case DirectColor: + return "dc"; + default: + return ""; + } +} + +static const char * +visual_render_type_name(int type) +{ + switch (type) { + case GLX_RGBA_BIT: + return "rgba"; + case GLX_COLOR_INDEX_BIT: + return "ci"; + case GLX_RGBA_BIT | GLX_COLOR_INDEX_BIT: + return "rgba|ci"; + default: + return ""; + } +} + +static GLboolean +get_visual_attribs(Display *dpy, XVisualInfo *vInfo, + struct visual_attribs *attribs) +{ + const char *ext = glXQueryExtensionsString(dpy, vInfo->screen); + int rgba; + + memset(attribs, 0, sizeof(struct visual_attribs)); + + attribs->id = vInfo->visualid; +#if defined(__cplusplus) || defined(c_plusplus) + attribs->klass = vInfo->c_class; +#else + attribs->klass = vInfo->class; +#endif + attribs->depth = vInfo->depth; + attribs->redMask = vInfo->red_mask; + attribs->greenMask = vInfo->green_mask; + attribs->blueMask = vInfo->blue_mask; + attribs->colormapSize = vInfo->colormap_size; + attribs->bitsPerRGB = vInfo->bits_per_rgb; + + if (glXGetConfig(dpy, vInfo, GLX_USE_GL, &attribs->supportsGL) != 0 || + !attribs->supportsGL) + return GL_FALSE; + glXGetConfig(dpy, vInfo, GLX_BUFFER_SIZE, &attribs->bufferSize); + glXGetConfig(dpy, vInfo, GLX_LEVEL, &attribs->level); + glXGetConfig(dpy, vInfo, GLX_RGBA, &rgba); + if (rgba) + attribs->render_type = GLX_RGBA_BIT; + else + attribs->render_type = GLX_COLOR_INDEX_BIT; + + glXGetConfig(dpy, vInfo, GLX_DOUBLEBUFFER, &attribs->doubleBuffer); + glXGetConfig(dpy, vInfo, GLX_STEREO, &attribs->stereo); + glXGetConfig(dpy, vInfo, GLX_AUX_BUFFERS, &attribs->auxBuffers); + glXGetConfig(dpy, vInfo, GLX_RED_SIZE, &attribs->redSize); + glXGetConfig(dpy, vInfo, GLX_GREEN_SIZE, &attribs->greenSize); + glXGetConfig(dpy, vInfo, GLX_BLUE_SIZE, &attribs->blueSize); + glXGetConfig(dpy, vInfo, GLX_ALPHA_SIZE, &attribs->alphaSize); + glXGetConfig(dpy, vInfo, GLX_DEPTH_SIZE, &attribs->depthSize); + glXGetConfig(dpy, vInfo, GLX_STENCIL_SIZE, &attribs->stencilSize); + glXGetConfig(dpy, vInfo, GLX_ACCUM_RED_SIZE, &attribs->accumRedSize); + glXGetConfig(dpy, vInfo, GLX_ACCUM_GREEN_SIZE, &attribs->accumGreenSize); + glXGetConfig(dpy, vInfo, GLX_ACCUM_BLUE_SIZE, &attribs->accumBlueSize); + glXGetConfig(dpy, vInfo, GLX_ACCUM_ALPHA_SIZE, &attribs->accumAlphaSize); + + /* get transparent pixel stuff */ + glXGetConfig(dpy, vInfo,GLX_TRANSPARENT_TYPE, &attribs->transparentType); + if (attribs->transparentType == GLX_TRANSPARENT_RGB) { + glXGetConfig(dpy, vInfo, GLX_TRANSPARENT_RED_VALUE, &attribs->transparentRedValue); + glXGetConfig(dpy, vInfo, GLX_TRANSPARENT_GREEN_VALUE, &attribs->transparentGreenValue); + glXGetConfig(dpy, vInfo, GLX_TRANSPARENT_BLUE_VALUE, &attribs->transparentBlueValue); + glXGetConfig(dpy, vInfo, GLX_TRANSPARENT_ALPHA_VALUE, &attribs->transparentAlphaValue); + } + else if (attribs->transparentType == GLX_TRANSPARENT_INDEX) { + glXGetConfig(dpy, vInfo, GLX_TRANSPARENT_INDEX_VALUE, &attribs->transparentIndexValue); + } + + /* multisample attribs */ +#ifdef GLX_ARB_multisample + if (ext && strstr(ext, "GLX_ARB_multisample")) { + glXGetConfig(dpy, vInfo, GLX_SAMPLE_BUFFERS_ARB, &attribs->numMultisample); + glXGetConfig(dpy, vInfo, GLX_SAMPLES_ARB, &attribs->numSamples); + } +#endif + else { + attribs->numSamples = 0; + attribs->numMultisample = 0; + } + +#if defined(GLX_EXT_visual_rating) + if (ext && strstr(ext, "GLX_EXT_visual_rating")) { + glXGetConfig(dpy, vInfo, GLX_VISUAL_CAVEAT_EXT, &attribs->visualCaveat); + } + else { + attribs->visualCaveat = GLX_NONE_EXT; + } +#else + attribs->visualCaveat = 0; +#endif + + return GL_TRUE; +} + +#ifdef GLX_VERSION_1_3 + +static int +glx_token_to_visual_class(int visual_type) +{ + switch (visual_type) { + case GLX_TRUE_COLOR: + return TrueColor; + case GLX_DIRECT_COLOR: + return DirectColor; + case GLX_PSEUDO_COLOR: + return PseudoColor; + case GLX_STATIC_COLOR: + return StaticColor; + case GLX_GRAY_SCALE: + return GrayScale; + case GLX_STATIC_GRAY: + return StaticGray; + case GLX_NONE: + default: + return None; + } +} + +static GLboolean +get_fbconfig_attribs(Display *dpy, GLXFBConfig fbconfig, + struct visual_attribs *attribs) +{ + int visual_type; + + memset(attribs, 0, sizeof(struct visual_attribs)); + + glXGetFBConfigAttrib(dpy, fbconfig, GLX_FBCONFIG_ID, &attribs->id); + +#if 0 + attribs->depth = vInfo->depth; + attribs->redMask = vInfo->red_mask; + attribs->greenMask = vInfo->green_mask; + attribs->blueMask = vInfo->blue_mask; + attribs->colormapSize = vInfo->colormap_size; + attribs->bitsPerRGB = vInfo->bits_per_rgb; +#endif + + glXGetFBConfigAttrib(dpy, fbconfig, GLX_X_VISUAL_TYPE, &visual_type); + attribs->klass = glx_token_to_visual_class(visual_type); + + glXGetFBConfigAttrib(dpy, fbconfig, GLX_BUFFER_SIZE, &attribs->bufferSize); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_LEVEL, &attribs->level); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_RENDER_TYPE, &attribs->render_type); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_DOUBLEBUFFER, &attribs->doubleBuffer); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_STEREO, &attribs->stereo); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_AUX_BUFFERS, &attribs->auxBuffers); + + glXGetFBConfigAttrib(dpy, fbconfig, GLX_RED_SIZE, &attribs->redSize); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_GREEN_SIZE, &attribs->greenSize); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_BLUE_SIZE, &attribs->blueSize); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_ALPHA_SIZE, &attribs->alphaSize); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_DEPTH_SIZE, &attribs->depthSize); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_STENCIL_SIZE, &attribs->stencilSize); + + glXGetFBConfigAttrib(dpy, fbconfig, GLX_ACCUM_RED_SIZE, &attribs->accumRedSize); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_ACCUM_GREEN_SIZE, &attribs->accumGreenSize); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_ACCUM_BLUE_SIZE, &attribs->accumBlueSize); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_ACCUM_ALPHA_SIZE, &attribs->accumAlphaSize); + + /* get transparent pixel stuff */ + glXGetFBConfigAttrib(dpy, fbconfig,GLX_TRANSPARENT_TYPE, &attribs->transparentType); + if (attribs->transparentType == GLX_TRANSPARENT_RGB) { + glXGetFBConfigAttrib(dpy, fbconfig, GLX_TRANSPARENT_RED_VALUE, &attribs->transparentRedValue); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_TRANSPARENT_GREEN_VALUE, &attribs->transparentGreenValue); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_TRANSPARENT_BLUE_VALUE, &attribs->transparentBlueValue); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_TRANSPARENT_ALPHA_VALUE, &attribs->transparentAlphaValue); + } + else if (attribs->transparentType == GLX_TRANSPARENT_INDEX) { + glXGetFBConfigAttrib(dpy, fbconfig, GLX_TRANSPARENT_INDEX_VALUE, &attribs->transparentIndexValue); + } + + glXGetFBConfigAttrib(dpy, fbconfig, GLX_SAMPLE_BUFFERS, &attribs->numMultisample); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_SAMPLES, &attribs->numSamples); + glXGetFBConfigAttrib(dpy, fbconfig, GLX_CONFIG_CAVEAT, &attribs->visualCaveat); + + return GL_TRUE; +} + +#endif + + + +static void +print_visual_attribs_verbose(const struct visual_attribs *attribs) +{ + printf("Visual ID: %x depth=%d class=%s\n", + attribs->id, attribs->depth, visual_class_name(attribs->klass)); + printf(" bufferSize=%d level=%d renderType=%s doubleBuffer=%d stereo=%d\n", + attribs->bufferSize, attribs->level, + visual_render_type_name(attribs->render_type), + attribs->doubleBuffer, attribs->stereo); + printf(" rgba: redSize=%d greenSize=%d blueSize=%d alphaSize=%d\n", + attribs->redSize, attribs->greenSize, + attribs->blueSize, attribs->alphaSize); + printf(" auxBuffers=%d depthSize=%d stencilSize=%d\n", + attribs->auxBuffers, attribs->depthSize, attribs->stencilSize); + printf(" accum: redSize=%d greenSize=%d blueSize=%d alphaSize=%d\n", + attribs->accumRedSize, attribs->accumGreenSize, + attribs->accumBlueSize, attribs->accumAlphaSize); + printf(" multiSample=%d multiSampleBuffers=%d\n", + attribs->numSamples, attribs->numMultisample); +#ifdef GLX_EXT_visual_rating + if (attribs->visualCaveat == GLX_NONE_EXT || attribs->visualCaveat == 0) + printf(" visualCaveat=None\n"); + else if (attribs->visualCaveat == GLX_SLOW_VISUAL_EXT) + printf(" visualCaveat=Slow\n"); + else if (attribs->visualCaveat == GLX_NON_CONFORMANT_VISUAL_EXT) + printf(" visualCaveat=Nonconformant\n"); +#endif + if (attribs->transparentType == GLX_NONE) { + printf(" Opaque.\n"); + } + else if (attribs->transparentType == GLX_TRANSPARENT_RGB) { + printf(" Transparent RGB: Red=%d Green=%d Blue=%d Alpha=%d\n",attribs->transparentRedValue,attribs->transparentGreenValue,attribs->transparentBlueValue,attribs->transparentAlphaValue); + } + else if (attribs->transparentType == GLX_TRANSPARENT_INDEX) { + printf(" Transparent index=%d\n",attribs->transparentIndexValue); + } +} + + +static void +print_visual_attribs_short_header(void) +{ + printf(" visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav\n"); + printf(" id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat\n"); + printf("----------------------------------------------------------------------\n"); +} + + +static void +print_visual_attribs_short(const struct visual_attribs *attribs) +{ + char *caveat = NULL; +#ifdef GLX_EXT_visual_rating + if (attribs->visualCaveat == GLX_NONE_EXT || attribs->visualCaveat == 0) + caveat = "None"; + else if (attribs->visualCaveat == GLX_SLOW_VISUAL_EXT) + caveat = "Slow"; + else if (attribs->visualCaveat == GLX_NON_CONFORMANT_VISUAL_EXT) + caveat = "Ncon"; + else + caveat = "None"; +#else + caveat = "None"; +#endif + + printf("0x%02x %2d %2s %2d %2d %2d %c%c %c %c %2d %2d %2d %2d %2d %2d %2d", + attribs->id, + attribs->depth, + visual_class_abbrev(attribs->klass), + attribs->transparentType != GLX_NONE, + attribs->bufferSize, + attribs->level, + (attribs->render_type & GLX_RGBA_BIT) ? 'r' : ' ', + (attribs->render_type & GLX_COLOR_INDEX_BIT) ? 'c' : ' ', + attribs->doubleBuffer ? 'y' : '.', + attribs->stereo ? 'y' : '.', + attribs->redSize, attribs->greenSize, + attribs->blueSize, attribs->alphaSize, + attribs->auxBuffers, + attribs->depthSize, + attribs->stencilSize + ); + + printf(" %2d %2d %2d %2d %2d %1d %s\n", + attribs->accumRedSize, attribs->accumGreenSize, + attribs->accumBlueSize, attribs->accumAlphaSize, + attribs->numSamples, attribs->numMultisample, + caveat + ); +} + + +static void +print_visual_attribs_long_header(void) +{ + printf("Vis Vis Visual Trans buff lev render DB ste r g b a aux dep ste accum buffers MS MS\n"); + printf(" ID Depth Type parent size el type reo sz sz sz sz buf th ncl r g b a num bufs\n"); + printf("----------------------------------------------------------------------------------------------------\n"); +} + + +static void +print_visual_attribs_long(const struct visual_attribs *attribs) +{ + printf("0x%2x %2d %-11s %2d %2d %2d %4s %3d %3d %3d %3d %3d %3d", + attribs->id, + attribs->depth, + visual_class_name(attribs->klass), + attribs->transparentType != GLX_NONE, + attribs->bufferSize, + attribs->level, + visual_render_type_name(attribs->render_type), + attribs->doubleBuffer, + attribs->stereo, + attribs->redSize, attribs->greenSize, + attribs->blueSize, attribs->alphaSize + ); + + printf(" %3d %4d %2d %3d %3d %3d %3d %2d %2d\n", + attribs->auxBuffers, + attribs->depthSize, + attribs->stencilSize, + attribs->accumRedSize, attribs->accumGreenSize, + attribs->accumBlueSize, attribs->accumAlphaSize, + attribs->numSamples, attribs->numMultisample + ); +} + + +static void +print_visual_info(Display *dpy, int scrnum, InfoMode mode) +{ + XVisualInfo theTemplate; + XVisualInfo *visuals; + int numVisuals, numGlxVisuals; + long mask; + int i; + struct visual_attribs attribs; + + /* get list of all visuals on this screen */ + theTemplate.screen = scrnum; + mask = VisualScreenMask; + visuals = XGetVisualInfo(dpy, mask, &theTemplate, &numVisuals); + + numGlxVisuals = 0; + for (i = 0; i < numVisuals; i++) { + if (get_visual_attribs(dpy, &visuals[i], &attribs)) + numGlxVisuals++; + } + + if (numGlxVisuals == 0) + return; + + printf("%d GLX Visuals\n", numGlxVisuals); + + if (mode == Normal) + print_visual_attribs_short_header(); + else if (mode == Wide) + print_visual_attribs_long_header(); + + for (i = 0; i < numVisuals; i++) { + if (!get_visual_attribs(dpy, &visuals[i], &attribs)) + continue; + + if (mode == Verbose) + print_visual_attribs_verbose(&attribs); + else if (mode == Normal) + print_visual_attribs_short(&attribs); + else if (mode == Wide) + print_visual_attribs_long(&attribs); + } + printf("\n"); + + XFree(visuals); +} + +#ifdef GLX_VERSION_1_3 + +static void +print_fbconfig_info(Display *dpy, int scrnum, InfoMode mode) +{ + int numFBConfigs = 0; + struct visual_attribs attribs; + GLXFBConfig *fbconfigs; + int i; + + /* get list of all fbconfigs on this screen */ + fbconfigs = glXGetFBConfigs(dpy, scrnum, &numFBConfigs); + + if (numFBConfigs == 0) { + XFree(fbconfigs); + return; + } + + printf("%d GLXFBConfigs:\n", numFBConfigs); + if (mode == Normal) + print_visual_attribs_short_header(); + else if (mode == Wide) + print_visual_attribs_long_header(); + + for (i = 0; i < numFBConfigs; i++) { + get_fbconfig_attribs(dpy, fbconfigs[i], &attribs); + + if (mode == Verbose) + print_visual_attribs_verbose(&attribs); + else if (mode == Normal) + print_visual_attribs_short(&attribs); + else if (mode == Wide) + print_visual_attribs_long(&attribs); + } + printf("\n"); + + XFree(fbconfigs); +} + +#endif + +/* + * Stand-alone Mesa doesn't really implement the GLX protocol so it + * doesn't really know the GLX attributes associated with an X visual. + * The first time a visual is presented to Mesa's pseudo-GLX it + * attaches ancilliary buffers to it (like depth and stencil). + * But that usually only works if glXChooseVisual is used. + * This function calls glXChooseVisual() to sort of "prime the pump" + * for Mesa's GLX so that the visuals that get reported actually + * reflect what applications will see. + * This has no effect when using true GLX. + */ +static void +mesa_hack(Display *dpy, int scrnum) +{ + static int attribs[] = { + GLX_RGBA, + GLX_RED_SIZE, 1, + GLX_GREEN_SIZE, 1, + GLX_BLUE_SIZE, 1, + GLX_DEPTH_SIZE, 1, + GLX_STENCIL_SIZE, 1, + GLX_ACCUM_RED_SIZE, 1, + GLX_ACCUM_GREEN_SIZE, 1, + GLX_ACCUM_BLUE_SIZE, 1, + GLX_ACCUM_ALPHA_SIZE, 1, + GLX_DOUBLEBUFFER, + None + }; + XVisualInfo *visinfo; + + visinfo = glXChooseVisual(dpy, scrnum, attribs); + if (visinfo) + XFree(visinfo); +} + + +/* + * Examine all visuals to find the so-called best one. + * We prefer deepest RGBA buffer with depth, stencil and accum + * that has no caveats. + */ +static int +find_best_visual(Display *dpy, int scrnum) +{ + XVisualInfo theTemplate; + XVisualInfo *visuals; + int numVisuals; + long mask; + int i; + struct visual_attribs bestVis; + + /* get list of all visuals on this screen */ + theTemplate.screen = scrnum; + mask = VisualScreenMask; + visuals = XGetVisualInfo(dpy, mask, &theTemplate, &numVisuals); + + /* init bestVis with first visual info */ + get_visual_attribs(dpy, &visuals[0], &bestVis); + + /* try to find a "better" visual */ + for (i = 1; i < numVisuals; i++) { + struct visual_attribs vis; + + get_visual_attribs(dpy, &visuals[i], &vis); + + /* always skip visuals with caveats */ + if (vis.visualCaveat != GLX_NONE_EXT) + continue; + + /* see if this vis is better than bestVis */ + if ((!bestVis.supportsGL && vis.supportsGL) || + (bestVis.visualCaveat != GLX_NONE_EXT) || + (!(bestVis.render_type & GLX_RGBA_BIT) && (vis.render_type & GLX_RGBA_BIT)) || + (!bestVis.doubleBuffer && vis.doubleBuffer) || + (bestVis.redSize < vis.redSize) || + (bestVis.greenSize < vis.greenSize) || + (bestVis.blueSize < vis.blueSize) || + (bestVis.alphaSize < vis.alphaSize) || + (bestVis.depthSize < vis.depthSize) || + (bestVis.stencilSize < vis.stencilSize) || + (bestVis.accumRedSize < vis.accumRedSize)) { + /* found a better visual */ + bestVis = vis; + } + } + + XFree(visuals); + + return bestVis.id; +} + + +static void +usage(void) +{ + printf("Usage: glxinfo [-v] [-t] [-h] [-i] [-b] [-display ]\n"); + printf("\t-v: Print visuals info in verbose form.\n"); + printf("\t-t: Print verbose table.\n"); + printf("\t-display : Print GLX visuals on specified server.\n"); + printf("\t-h: This information.\n"); + printf("\t-i: Force an indirect rendering context.\n"); + printf("\t-b: Find the 'best' visual and print its number.\n"); + printf("\t-l: Print interesting OpenGL limits.\n"); +} + + +int +main(int argc, char *argv[]) +{ + char *displayName = NULL; + Display *dpy; + int numScreens, scrnum; + InfoMode mode = Normal; + GLboolean findBest = GL_FALSE; + GLboolean limits = GL_FALSE; + Bool allowDirect = True; + int i; + + for (i = 1; i < argc; i++) { + if (strcmp(argv[i], "-display") == 0 && i + 1 < argc) { + displayName = argv[i + 1]; + i++; + } + else if (strcmp(argv[i], "-t") == 0) { + mode = Wide; + } + else if (strcmp(argv[i], "-v") == 0) { + mode = Verbose; + } + else if (strcmp(argv[i], "-b") == 0) { + findBest = GL_TRUE; + } + else if (strcmp(argv[i], "-i") == 0) { + allowDirect = False; + } + else if (strcmp(argv[i], "-l") == 0) { + limits = GL_TRUE; + } + else if (strcmp(argv[i], "-h") == 0) { + usage(); + return 0; + } + else { + printf("Unknown option `%s'\n", argv[i]); + usage(); + return 0; + } + } + + dpy = XOpenDisplay(displayName); + if (!dpy) { + fprintf(stderr, "Error: unable to open display %s\n", XDisplayName(displayName)); + return -1; + } + + if (findBest) { + int b; + mesa_hack(dpy, 0); + b = find_best_visual(dpy, 0); + printf("%d\n", b); + } + else { + numScreens = ScreenCount(dpy); + print_display_info(dpy); + for (scrnum = 0; scrnum < numScreens; scrnum++) { + mesa_hack(dpy, scrnum); + print_screen_info(dpy, scrnum, allowDirect, limits); + printf("\n"); + print_visual_info(dpy, scrnum, mode); +#ifdef GLX_VERSION_1_3 + print_fbconfig_info(dpy, scrnum, mode); +#endif + if (scrnum + 1 < numScreens) + printf("\n\n"); + } + } + + XCloseDisplay(dpy); + + return 0; +} diff --git a/mpg123-32/.32bit b/mpg123-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/mpg123-32/.footprint b/mpg123-32/.footprint new file mode 100644 index 00000000..48d2d99b --- /dev/null +++ b/mpg123-32/.footprint @@ -0,0 +1,8 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rwxr-xr-x root/root usr/lib32/libmpg123.la +lrwxrwxrwx root/root usr/lib32/libmpg123.so -> libmpg123.so.0.36.6 +lrwxrwxrwx root/root usr/lib32/libmpg123.so.0 -> libmpg123.so.0.36.6 +-rwxr-xr-x root/root usr/lib32/libmpg123.so.0.36.6 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/libmpg123.pc diff --git a/mpg123-32/.md5sum b/mpg123-32/.md5sum new file mode 100644 index 00000000..d29194a1 --- /dev/null +++ b/mpg123-32/.md5sum @@ -0,0 +1 @@ +a72d0c60a1d7dbec7cfe966bc11672bf mpg123-1.14.4.tar.bz2 diff --git a/mpg123-32/Pkgfile b/mpg123-32/Pkgfile new file mode 100644 index 00000000..08c6e55e --- /dev/null +++ b/mpg123-32/Pkgfile @@ -0,0 +1,24 @@ +# Description: Commandline MP3 player +# URL: http://www.mpg123.de +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: libtool alsa-lib-32 mpg123 + +name=mpg123-32 +version=1.14.4 +release=1 +source=(http://www.mpg123.de/download/mpg123-$version.tar.bz2) + +build() { + cd mpg123-$version + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --host=i686-pc-linux-gnu \ + --mandir=/usr/man \ + --with-module-suffix=.so \ + --with-audio=alsa,oss,dummy \ + --with-default-audio=alsa + make + make DESTDIR=$PKG install + + rm -rf $PKG/{etc,var} $PKG/usr/{doc,bin,etc,include,man,sbin,share} +} diff --git a/ncurses-32/.32bit b/ncurses-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/ncurses-32/.footprint b/ncurses-32/.footprint new file mode 100644 index 00000000..9877ec12 --- /dev/null +++ b/ncurses-32/.footprint @@ -0,0 +1,40 @@ +drwxr-xr-x root/root lib32/ +lrwxrwxrwx root/root lib32/libncurses.so.5 -> libncurses.so.5.9 +-rwxr-xr-x root/root lib32/libncurses.so.5.9 +lrwxrwxrwx root/root lib32/libncursesw.so.5 -> libncursesw.so.5.9 +-rwxr-xr-x root/root lib32/libncursesw.so.5.9 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +lrwxrwxrwx root/root usr/lib32/libcurses.a -> libncurses.a +lrwxrwxrwx root/root usr/lib32/libcurses.so -> libncurses.so +lrwxrwxrwx root/root usr/lib32/libcursesw.so -> libncursesw.so +-rw-r--r-- root/root usr/lib32/libform.a +lrwxrwxrwx root/root usr/lib32/libform.so -> libform.so.5 +lrwxrwxrwx root/root usr/lib32/libform.so.5 -> libform.so.5.9 +-rwxr-xr-x root/root usr/lib32/libform.so.5.9 +-rw-r--r-- root/root usr/lib32/libformw.a +lrwxrwxrwx root/root usr/lib32/libformw.so -> libformw.so.5 +lrwxrwxrwx root/root usr/lib32/libformw.so.5 -> libformw.so.5.9 +-rwxr-xr-x root/root usr/lib32/libformw.so.5.9 +-rw-r--r-- root/root usr/lib32/libmenu.a +lrwxrwxrwx root/root usr/lib32/libmenu.so -> libmenu.so.5 +lrwxrwxrwx root/root usr/lib32/libmenu.so.5 -> libmenu.so.5.9 +-rwxr-xr-x root/root usr/lib32/libmenu.so.5.9 +-rw-r--r-- root/root usr/lib32/libmenuw.a +lrwxrwxrwx root/root usr/lib32/libmenuw.so -> libmenuw.so.5 +lrwxrwxrwx root/root usr/lib32/libmenuw.so.5 -> libmenuw.so.5.9 +-rwxr-xr-x root/root usr/lib32/libmenuw.so.5.9 +-rw-r--r-- root/root usr/lib32/libncurses++.a +-rw-r--r-- root/root usr/lib32/libncurses++w.a +-rw-r--r-- root/root usr/lib32/libncurses.a +lrwxrwxrwx root/root usr/lib32/libncurses.so -> ../../lib32/libncurses.so.5.9 +-rw-r--r-- root/root usr/lib32/libncursesw.a +lrwxrwxrwx root/root usr/lib32/libncursesw.so -> ../../lib32/libncursesw.so.5.9 +-rw-r--r-- root/root usr/lib32/libpanel.a +lrwxrwxrwx root/root usr/lib32/libpanel.so -> libpanel.so.5 +lrwxrwxrwx root/root usr/lib32/libpanel.so.5 -> libpanel.so.5.9 +-rwxr-xr-x root/root usr/lib32/libpanel.so.5.9 +-rw-r--r-- root/root usr/lib32/libpanelw.a +lrwxrwxrwx root/root usr/lib32/libpanelw.so -> libpanelw.so.5 +lrwxrwxrwx root/root usr/lib32/libpanelw.so.5 -> libpanelw.so.5.9 +-rwxr-xr-x root/root usr/lib32/libpanelw.so.5.9 diff --git a/ncurses-32/.md5sum b/ncurses-32/.md5sum new file mode 100644 index 00000000..5341ee21 --- /dev/null +++ b/ncurses-32/.md5sum @@ -0,0 +1 @@ +8cb9c412e5f2d96bc6f459aa8c6282a1 ncurses-5.9.tar.gz diff --git a/ncurses-32/Pkgfile b/ncurses-32/Pkgfile new file mode 100644 index 00000000..9268112a --- /dev/null +++ b/ncurses-32/Pkgfile @@ -0,0 +1,41 @@ +# Description: A System V Release 4.0 curses emulation library +# URL: http://www.gnu.org/software/ncurses/ncurses.html +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=ncurses-32 +version=5.9 +release=1 +source=(http://ftp.gnu.org/gnu/ncurses/ncurses-$version.tar.gz) + +build() { + cd ncurses-$version + + local OPTIONS="\ +--with-install-prefix=$PKG \ +--prefix=/usr \ +--libdir=/usr/lib32 \ +--with-normal \ +--with-shared \ +--without-debug \ +--without-ada \ +--without-tests +" + + ./configure $OPTIONS + make + make install + make distclean + + ./configure $OPTIONS --enable-widec + make + make install + + mkdir $PKG/lib32 + + for i in w ''; do + mv $PKG/usr/lib32/libncurses$i.so.* $PKG/lib32 + ln -sf libncurses$i.so $PKG/usr/lib32/libcurses$i.so + ln -sf ../../lib32/libncurses$i.so.$version $PKG/usr/lib32/libncurses$i.so + done + rm -rf $PKG/usr/{bin,include,share,man} +} diff --git a/nvidia-32/.32bit b/nvidia-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/nvidia-32/.footprint b/nvidia-32/.footprint new file mode 100644 index 00000000..28d8b388 --- /dev/null +++ b/nvidia-32/.footprint @@ -0,0 +1,22 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rwxr-xr-x root/root usr/lib32/libGL.so.310.19 +lrwxrwxrwx root/root usr/lib32/libGL_so_1_2_nvidia -> libGL.so.310.19 +-rwxr-xr-x root/root usr/lib32/libOpenCL.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libcuda.so.310.19 +lrwxrwxrwx root/root usr/lib32/libnvcuvid.so -> libnvcuvid.so.310.19 +lrwxrwxrwx root/root usr/lib32/libnvcuvid.so.1 -> libnvcuvid.so.310.19 +-rwxr-xr-x root/root usr/lib32/libnvcuvid.so.310.19 +-rwxr-xr-x root/root usr/lib32/libnvidia-cfg.so.310.19 +-rwxr-xr-x root/root usr/lib32/libnvidia-compiler.so.310.19 +-rwxr-xr-x root/root usr/lib32/libnvidia-encode.so.310.19 +-rwxr-xr-x root/root usr/lib32/libnvidia-glcore.so.310.19 +-rwxr-xr-x root/root usr/lib32/libnvidia-ml.so.310.19 +-rwxr-xr-x root/root usr/lib32/libnvidia-opencl.so.310.19 +-rwxr-xr-x root/root usr/lib32/libnvidia-tls.so.310.19 +drwxr-xr-x root/root usr/lib32/tls/ +-rwxr-xr-x root/root usr/lib32/tls/libnvidia-tls.so.310.19 +drwxr-xr-x root/root usr/lib32/vdpau/ +lrwxrwxrwx root/root usr/lib32/vdpau/libvdpau_nvidia.so -> libvdpau_nvidia.so.310.19 +lrwxrwxrwx root/root usr/lib32/vdpau/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.310.19 +-rwxr-xr-x root/root usr/lib32/vdpau/libvdpau_nvidia.so.310.19 diff --git a/nvidia-32/.md5sum b/nvidia-32/.md5sum new file mode 100644 index 00000000..a4131afc --- /dev/null +++ b/nvidia-32/.md5sum @@ -0,0 +1,2 @@ +2adbdd38540b3a8955714760e05f575d NVIDIA-Linux-x86-310.19.run +b93581b01ae8cb4e0f45ef4cc8108390 nvidia-makefile.patch diff --git a/nvidia-32/Pkgfile b/nvidia-32/Pkgfile new file mode 100644 index 00000000..330c32c9 --- /dev/null +++ b/nvidia-32/Pkgfile @@ -0,0 +1,43 @@ +# Description: nVIDIA Linux Display Driver +# URL: http://www.nvidia.com/ +# Packager: Matt Housh, jaeger at morpheus dot net +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: gl-select xorg-libxv-32 xorg-libxvmc-32 nvidia + +name=nvidia-32 +version=310.19 +release=1 +source=(ftp://download.nvidia.com/XFree86/Linux-x86/$version/NVIDIA-Linux-x86-$version.run \ + nvidia-makefile.patch) + +build() { + sh NVIDIA-Linux-x86-$version.run --extract-only + cd NVIDIA-Linux-x86-$version + + # libraries + install -d $PKG/usr/lib32/{tls,vdpau} + install -m 0755 libGL.so.$version $PKG/usr/lib32 + install -m 0755 libOpenCL.so.1.0.0 $PKG/usr/lib32 + install -m 0755 libcuda.so.$version $PKG/usr/lib32 + install -m 0755 libnvidia-cfg.so.$version $PKG/usr/lib32 + install -m 0755 libnvidia-compiler.so.$version $PKG/usr/lib32 + install -m 0755 libnvidia-encode.so.$version $PKG/usr/lib32 + install -m 0755 libnvidia-glcore.so.$version $PKG/usr/lib32 + install -m 0755 libnvidia-ml.so.$version $PKG/usr/lib32 + install -m 0755 libnvidia-opencl.so.$version $PKG/usr/lib32 + install -m 0755 libnvidia-tls.so.$version $PKG/usr/lib32 + install -m 0755 libnvcuvid.so.$version $PKG/usr/lib32 + install -m 0755 tls/libnvidia-tls.so.$version $PKG/usr/lib32/tls + install -m 0755 libvdpau_nvidia.so.$version $PKG/usr/lib32/vdpau + + ln -s libvdpau_nvidia.so.$version $PKG/usr/lib32/vdpau/libvdpau_nvidia.so.1 + ln -s libvdpau_nvidia.so.$version $PKG/usr/lib32/vdpau/libvdpau_nvidia.so + + ln -s libnvcuvid.so.$version $PKG/usr/lib32/libnvcuvid.so.1 + ln -s libnvcuvid.so.$version $PKG/usr/lib32/libnvcuvid.so + + # additional symlinks required by gl-select + ln -s libGL.so.$version $PKG/usr/lib32/libGL_so_1_2_nvidia + + rm -rf $PKG/usr/{man,share} $PKG/lib +} diff --git a/nvidia-32/README b/nvidia-32/README new file mode 100644 index 00000000..719bfc40 --- /dev/null +++ b/nvidia-32/README @@ -0,0 +1,44 @@ + +README for nvidia 1xx.xx + + + +*** NOTE for nvidia with udev *** + +If using udev, add your user to the "video" group to be able to +use the nvidia devices required for 3d to function properly. + + +*** NOTE for users of legacy hardware *** + +Before installing this port, take a look at the Legacy GPU list on +nvidia's site: http://www.nvidia.com/object/IO_32667.html + +If your hardware is supported by either the 1.0-96xx or 1.0-71xx +driver series, install the corresponding port instead of this one. + + + +POST-INSTALL + +Use opt/gl-select from ports to select the correct gl/glx +libraries and extensions like so: + + # gl-select use nvidia + + +POST-REMOVE + +Use opt/gl-select from ports to revert to the xorg gl/glx libraries +and extensions like so: + + # gl-select use xorg + + +When UPGRADING/DOWNGRADING the nvidia port (where the version changes), +use gl-select to revert to xorg and then re-select nvidia in order to +refresh the libGLcore and libGL symlinks, like so: + + # prt-get update nvidia + # gl-select use xorg; gl-select use nvidia + diff --git a/nvidia-32/nvidia-makefile.patch b/nvidia-32/nvidia-makefile.patch new file mode 100644 index 00000000..b334e5bd --- /dev/null +++ b/nvidia-32/nvidia-makefile.patch @@ -0,0 +1,39 @@ +--- Makefile.kbuild.orig 2012-11-16 21:37:14.691678587 -0600 ++++ Makefile.kbuild 2012-11-16 21:37:39.731679795 -0600 +@@ -223,10 +223,10 @@ + .PHONY: suser-sanity-check rmmod-sanity-check build-sanity-checks + + suser-sanity-check: +- @if ! $(CONFTEST) suser_sanity_check; then exit 1; fi ++ #@if ! $(CONFTEST) suser_sanity_check; then exit 1; fi + + rmmod-sanity-check: +- @if ! $(CONFTEST) rmmod_sanity_check; then exit 1; fi ++ #@if ! $(CONFTEST) rmmod_sanity_check; then exit 1; fi + + build-sanity-checks: + @if ! $(CONFTEST) cc_version_check full_output; then exit 1; fi +@@ -256,9 +256,9 @@ + # + + module-install: suser-sanity-check module +- @mkdir -p $(MODULE_ROOT)/video; \ +- install -m 0664 -o root -g root $(MODULE_OBJECT) $(MODULE_ROOT)/video; \ +- PATH="$(PATH):/bin:/sbin" depmod -a ++ #@mkdir -p $(MODULE_ROOT)/video; \ ++ #install -m 0664 -o root -g root $(MODULE_OBJECT) $(MODULE_ROOT)/video; \ ++ #PATH="$(PATH):/bin:/sbin" depmod -a + + # + # This target builds, then installs, then creates device nodes and inserts +@@ -266,8 +266,8 @@ + # + + package-install: module-install rmmod-sanity-check +- @PATH="$(PATH):/bin:/sbin" modprobe $(MODULE_NAME) && \ +- echo "$(MODULE_OBJECT) installed successfully."; ++ #@PATH="$(PATH):/bin:/sbin" modprobe $(MODULE_NAME) && \ ++ #echo "$(MODULE_OBJECT) installed successfully."; + + # + # Build an object file suitable for further processing by the installer diff --git a/openssl-32/.32bit b/openssl-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/openssl-32/.footprint b/openssl-32/.footprint new file mode 100644 index 00000000..544a1ef2 --- /dev/null +++ b/openssl-32/.footprint @@ -0,0 +1,25 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/engines/ +-rwxr-xr-x root/root usr/lib32/engines/lib4758cca.so +-rwxr-xr-x root/root usr/lib32/engines/libaep.so +-rwxr-xr-x root/root usr/lib32/engines/libatalla.so +-rwxr-xr-x root/root usr/lib32/engines/libcapi.so +-rwxr-xr-x root/root usr/lib32/engines/libchil.so +-rwxr-xr-x root/root usr/lib32/engines/libcswift.so +-rwxr-xr-x root/root usr/lib32/engines/libgmp.so +-rwxr-xr-x root/root usr/lib32/engines/libgost.so +-rwxr-xr-x root/root usr/lib32/engines/libnuron.so +-rwxr-xr-x root/root usr/lib32/engines/libpadlock.so +-rwxr-xr-x root/root usr/lib32/engines/libsureware.so +-rwxr-xr-x root/root usr/lib32/engines/libubsec.so +-rw-r--r-- root/root usr/lib32/libcrypto.a +lrwxrwxrwx root/root usr/lib32/libcrypto.so -> libcrypto.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libcrypto.so.1.0.0 +-rw-r--r-- root/root usr/lib32/libssl.a +lrwxrwxrwx root/root usr/lib32/libssl.so -> libssl.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libssl.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/libcrypto.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/libssl.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/openssl.pc diff --git a/openssl-32/.md5sum b/openssl-32/.md5sum new file mode 100644 index 00000000..eba79b68 --- /dev/null +++ b/openssl-32/.md5sum @@ -0,0 +1,3 @@ +9d0df57845af8acd1027a7df5c18d017 mksslcert.sh +ae412727c8c15b67880aef7bd2999b2e openssl-1.0.1c.tar.gz +bcc6cecf10603a07b9a2261c75aff1c6 openssl-32.patch diff --git a/openssl-32/Pkgfile b/openssl-32/Pkgfile new file mode 100644 index 00000000..9fe0f461 --- /dev/null +++ b/openssl-32/Pkgfile @@ -0,0 +1,23 @@ +# Description: Secure Sockets Layer and Transport Layer Security tools +# URL: http://www.openssl.org/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=openssl-32 +version=1.0.1c +release=1 +source=(http://www.openssl.org/source/openssl-$version.tar.gz \ + mksslcert.sh $name.patch) + +build() { + export MAKEFLAGS="${MAKEFLAGS} -j1" + cd openssl-$version + patch -p1 -i $SRC/$name.patch + ./Configure linux-x86_64-32 --prefix=/usr --libdir=/usr/lib32 --openssldir=/etc/ssl shared + sed -i "s|-O3|$CFLAGS|" Makefile + make + make INSTALL_PREFIX=$PKG LIBDIR=lib32 MANDIR=/usr/man MANSUFFIX=ssl install + find $PKG -name "*fips*" -delete + chmod -R +w $PKG + install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert + rm -rf $PKG/usr/{bin,include,man} $PKG/etc +} diff --git a/openssl-32/mksslcert.sh b/openssl-32/mksslcert.sh new file mode 100755 index 00000000..9cca3fb8 --- /dev/null +++ b/openssl-32/mksslcert.sh @@ -0,0 +1,47 @@ +#!/bin/sh +# +# mksslcert +# +# creates self-signed openssl certificates based on +# the local hostname or the given one +# Fallback to localhost if not set. +# +# Jürgen Daubert, jue at jue dot li + + +print_help() { + echo "usage: ${0##*/} [hostname]" + echo " key full path to openssl private key" + echo " cert full path to openssl certificate" + echo " hostname host name of certificate" +} + +main() { + if [ ! "$1" -o ! "$2" ]; then + print_help + exit 1 + fi + + KEY=$1 + CRT=$2 + FQDN=$(hostname -f) || FQDN=localhost + if [ ! -z "$3" ]; then + FQDN="$3" + fi + INFO=".\n.\n.\n.\n.\n$FQDN\nroot@$FQDN" + OPTS="req -new -nodes -x509 -days 365 -newkey rsa:1024" + + echo -e $INFO | openssl $OPTS -out $CRT -keyout $KEY 2> /dev/null + + if [ $? -ne 0 ]; then + echo "Error: creating of certificate failed" + exit 1 + else + echo "SSL certificate $CRT with key $KEY for host $FQDN created" + chmod 0600 $CRT $KEY + fi +} + +main "$@" + +# End of file diff --git a/openssl-32/openssl-32.patch b/openssl-32/openssl-32.patch new file mode 100644 index 00000000..9946c9bb --- /dev/null +++ b/openssl-32/openssl-32.patch @@ -0,0 +1,11 @@ +diff -urN openssl-1.0.1c.orig/Configure openssl-1.0.1c/Configure +--- openssl-1.0.1c.orig/Configure 2012-03-14 17:20:40.000000000 -0500 ++++ openssl-1.0.1c/Configure 2012-08-19 11:07:01.922325500 -0500 +@@ -359,6 +359,7 @@ + "linux-ia64-ecc","ecc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "linux-ia64-icc","icc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "linux-x86_64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", ++"linux-x86_64-32", "gcc:-m32 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC:-m32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "linux64-s390x", "gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL:${s390x_asm}:64:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", + #### So called "highgprs" target for z/Architecture CPUs + # "Highgprs" is kernel feature first implemented in Linux 2.6.32, see diff --git a/orc-32/.32bit b/orc-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/orc-32/.footprint b/orc-32/.footprint new file mode 100644 index 00000000..131e2ebf --- /dev/null +++ b/orc-32/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/liborc-0.4.a +-rwxr-xr-x root/root usr/lib32/liborc-0.4.la +lrwxrwxrwx root/root usr/lib32/liborc-0.4.so -> liborc-0.4.so.0.16.0 +lrwxrwxrwx root/root usr/lib32/liborc-0.4.so.0 -> liborc-0.4.so.0.16.0 +-rwxr-xr-x root/root usr/lib32/liborc-0.4.so.0.16.0 +-rw-r--r-- root/root usr/lib32/liborc-test-0.4.a +-rwxr-xr-x root/root usr/lib32/liborc-test-0.4.la +lrwxrwxrwx root/root usr/lib32/liborc-test-0.4.so -> liborc-test-0.4.so.0.16.0 +lrwxrwxrwx root/root usr/lib32/liborc-test-0.4.so.0 -> liborc-test-0.4.so.0.16.0 +-rwxr-xr-x root/root usr/lib32/liborc-test-0.4.so.0.16.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/orc-0.4.pc diff --git a/orc-32/.md5sum b/orc-32/.md5sum new file mode 100644 index 00000000..8fd1ff5f --- /dev/null +++ b/orc-32/.md5sum @@ -0,0 +1 @@ +e482932e544c847761449b106ecbc483 orc-0.4.16.tar.gz diff --git a/orc-32/Pkgfile b/orc-32/Pkgfile new file mode 100644 index 00000000..2deb9559 --- /dev/null +++ b/orc-32/Pkgfile @@ -0,0 +1,23 @@ +# Description: The Oil Runtime Compiler. +# URL: http://code.entropywave.com/projects/orc/ +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Syl, syl at clyl dot net +# Depends on: orc + +name=orc-32 +version=0.4.16 +release=1 +source=(http://code.entropywave.com/download/orc/orc-$version.tar.gz) + +build() { + cd orc-$version + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} +} diff --git a/pango-32/.32bit b/pango-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/pango-32/.footprint b/pango-32/.footprint new file mode 100644 index 00000000..d0c99c7d --- /dev/null +++ b/pango-32/.footprint @@ -0,0 +1,61 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pango-querymodules-32 +-rwxr-xr-x root/root usr/bin/pango-view-32 +drwxr-xr-x root/root usr/etc/ +drwxr-xr-x root/root usr/etc/pango/ +-rw-r--r-- root/root usr/etc/pango/pango.modules-32 +drwxr-xr-x root/root usr/lib32/ +-rwxr-xr-x root/root usr/lib32/libpango-1.0.la +lrwxrwxrwx root/root usr/lib32/libpango-1.0.so -> libpango-1.0.so.0.3000.1 +lrwxrwxrwx root/root usr/lib32/libpango-1.0.so.0 -> libpango-1.0.so.0.3000.1 +-rwxr-xr-x root/root usr/lib32/libpango-1.0.so.0.3000.1 +-rwxr-xr-x root/root usr/lib32/libpangocairo-1.0.la +lrwxrwxrwx root/root usr/lib32/libpangocairo-1.0.so -> libpangocairo-1.0.so.0.3000.1 +lrwxrwxrwx root/root usr/lib32/libpangocairo-1.0.so.0 -> libpangocairo-1.0.so.0.3000.1 +-rwxr-xr-x root/root usr/lib32/libpangocairo-1.0.so.0.3000.1 +-rw-r--r-- root/root usr/lib32/libpangoft2-1.0.la +lrwxrwxrwx root/root usr/lib32/libpangoft2-1.0.so -> libpangoft2-1.0.so.0.3000.1 +lrwxrwxrwx root/root usr/lib32/libpangoft2-1.0.so.0 -> libpangoft2-1.0.so.0.3000.1 +-rwxr-xr-x root/root usr/lib32/libpangoft2-1.0.so.0.3000.1 +-rw-r--r-- root/root usr/lib32/libpangox-1.0.la +lrwxrwxrwx root/root usr/lib32/libpangox-1.0.so -> libpangox-1.0.so.0.3000.1 +lrwxrwxrwx root/root usr/lib32/libpangox-1.0.so.0 -> libpangox-1.0.so.0.3000.1 +-rwxr-xr-x root/root usr/lib32/libpangox-1.0.so.0.3000.1 +-rw-r--r-- root/root usr/lib32/libpangoxft-1.0.la +lrwxrwxrwx root/root usr/lib32/libpangoxft-1.0.so -> libpangoxft-1.0.so.0.3000.1 +lrwxrwxrwx root/root usr/lib32/libpangoxft-1.0.so.0 -> libpangoxft-1.0.so.0.3000.1 +-rwxr-xr-x root/root usr/lib32/libpangoxft-1.0.so.0.3000.1 +drwxr-xr-x root/root usr/lib32/pango/ +drwxr-xr-x root/root usr/lib32/pango/1.6.0/ +drwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/ +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-arabic-fc.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-arabic-fc.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-arabic-lang.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-arabic-lang.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-basic-fc.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-basic-fc.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-basic-x.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-basic-x.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-hangul-fc.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-hangul-fc.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-hebrew-fc.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-hebrew-fc.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-indic-fc.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-indic-fc.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-indic-lang.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-indic-lang.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-khmer-fc.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-khmer-fc.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-syriac-fc.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-syriac-fc.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-thai-fc.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-thai-fc.so +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-tibetan-fc.la +-rwxr-xr-x root/root usr/lib32/pango/1.6.0/modules/pango-tibetan-fc.so +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/pango.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/pangocairo.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/pangoft2.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/pangox.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/pangoxft.pc diff --git a/pango-32/.md5sum b/pango-32/.md5sum new file mode 100644 index 00000000..7da9c774 --- /dev/null +++ b/pango-32/.md5sum @@ -0,0 +1,3 @@ +ec3c1f236ee9bd4a982a5f46fcaff7b9 pango-1.30.1.tar.xz +0a85450009aa475a9ec6639ffbf10ca6 pango.modules-32 +3889aca2070de12bba355eb867c515dd pango.modules-32.patch diff --git a/pango-32/Pkgfile b/pango-32/Pkgfile new file mode 100644 index 00000000..497688f8 --- /dev/null +++ b/pango-32/Pkgfile @@ -0,0 +1,31 @@ +# Description: A library for layout and rendering of text +# URL: http://www.gtk.org/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: cairo-32 glib-32 xorg-libsm-32 xorg-libxext-32 xorg-libxft-32 pango + +name=pango-32 +version=1.30.1 +release=1 +source=(http://download.gnome.org/sources/pango/${version%.*}/pango-$version.tar.xz + pango.modules-32 pango.modules-32.patch) + +build() { + cd pango-$version + + patch -p1 -i $SRC/pango.modules-32.patch + + ./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --libdir=/usr/lib32 \ + --program-suffix=-32 + + make + make DESTDIR=$PKG install + + install -D -m 644 $SRC/pango.modules-32 \ + $PKG/usr/etc/pango/pango.modules-32 + + rm -r $PKG/usr/{include,man,share} + rm $PKG/usr/etc/pango/pangox.aliases +} diff --git a/pango-32/pango-register.sh b/pango-32/pango-register.sh new file mode 100755 index 00000000..902c50fb --- /dev/null +++ b/pango-32/pango-register.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# /usr/bin/pango-register: register input modules +# + +/usr/bin/pango-querymodules-32 > /usr/etc/pango/pango.modules-32 + +# End of file diff --git a/pango-32/pango.modules-32 b/pango-32/pango.modules-32 new file mode 100644 index 00000000..58ce21fb --- /dev/null +++ b/pango-32/pango.modules-32 @@ -0,0 +1,35 @@ +# Pango Modules file +# Automatically generated file, do not edit +# +# ModulesPath = /usr/lib32/pango/1.6.0/modules +# +/usr/lib32/pango/1.6.0/modules/pango-tibetan-fc.so TibetanScriptEngineFc PangoEngineShape PangoRenderFc tibetan:* +/usr/lib32/pango/1.6.0/modules/pango-arabic-lang.so ArabicScriptEngineLang PangoEngineLang PangoRenderNone arabic:* +/usr/lib32/pango/1.6.0/modules/pango-hangul-fc.so HangulScriptEngineFc PangoEngineShape PangoRenderFc hangul:* +/usr/lib32/pango/1.6.0/modules/pango-arabic-fc.so ArabicScriptEngineFc PangoEngineShape PangoRenderFc arabic:* nko:* +/usr/lib32/pango/1.6.0/modules/pango-thai-fc.so ThaiScriptEngineFc PangoEngineShape PangoRenderFc thai:* lao:* +/usr/lib32/pango/1.6.0/modules/pango-indic-lang.so devaIndicScriptEngineLang PangoEngineLang PangoRenderNone devanagari:* +/usr/lib32/pango/1.6.0/modules/pango-indic-lang.so bengIndicScriptEngineLang PangoEngineLang PangoRenderNone bengali:* +/usr/lib32/pango/1.6.0/modules/pango-indic-lang.so guruIndicScriptEngineLang PangoEngineLang PangoRenderNone gurmukhi:* +/usr/lib32/pango/1.6.0/modules/pango-indic-lang.so gujrIndicScriptEngineLang PangoEngineLang PangoRenderNone gujarati:* +/usr/lib32/pango/1.6.0/modules/pango-indic-lang.so oryaIndicScriptEngineLang PangoEngineLang PangoRenderNone oriya:* +/usr/lib32/pango/1.6.0/modules/pango-indic-lang.so tamlIndicScriptEngineLang PangoEngineLang PangoRenderNone tamil:* +/usr/lib32/pango/1.6.0/modules/pango-indic-lang.so teluIndicScriptEngineLang PangoEngineLang PangoRenderNone telugu:* +/usr/lib32/pango/1.6.0/modules/pango-indic-lang.so kndaIndicScriptEngineLang PangoEngineLang PangoRenderNone kannada:* +/usr/lib32/pango/1.6.0/modules/pango-indic-lang.so mlymIndicScriptEngineLang PangoEngineLang PangoRenderNone malayalam:* +/usr/lib32/pango/1.6.0/modules/pango-indic-lang.so sinhIndicScriptEngineLang PangoEngineLang PangoRenderNone sinhala:* +/usr/lib32/pango/1.6.0/modules/pango-indic-fc.so devaScriptEngineFc PangoEngineShape PangoRenderFc devanagari:* +/usr/lib32/pango/1.6.0/modules/pango-indic-fc.so bengScriptEngineFc PangoEngineShape PangoRenderFc bengali:* +/usr/lib32/pango/1.6.0/modules/pango-indic-fc.so guruScriptEngineFc PangoEngineShape PangoRenderFc gurmukhi:* +/usr/lib32/pango/1.6.0/modules/pango-indic-fc.so gujrScriptEngineFc PangoEngineShape PangoRenderFc gujarati:* +/usr/lib32/pango/1.6.0/modules/pango-indic-fc.so oryaScriptEngineFc PangoEngineShape PangoRenderFc oriya:* +/usr/lib32/pango/1.6.0/modules/pango-indic-fc.so tamlScriptEngineFc PangoEngineShape PangoRenderFc tamil:* +/usr/lib32/pango/1.6.0/modules/pango-indic-fc.so teluScriptEngineFc PangoEngineShape PangoRenderFc telugu:* +/usr/lib32/pango/1.6.0/modules/pango-indic-fc.so kndaScriptEngineFc PangoEngineShape PangoRenderFc kannada:* +/usr/lib32/pango/1.6.0/modules/pango-indic-fc.so mlymScriptEngineFc PangoEngineShape PangoRenderFc malayalam:* +/usr/lib32/pango/1.6.0/modules/pango-indic-fc.so sinhScriptEngineFc PangoEngineShape PangoRenderFc sinhala:* +/usr/lib32/pango/1.6.0/modules/pango-hebrew-fc.so HebrewScriptEngineFc PangoEngineShape PangoRenderFc hebrew:* +/usr/lib32/pango/1.6.0/modules/pango-basic-fc.so BasicScriptEngineFc PangoEngineShape PangoRenderFc latin:* cyrillic:* greek:* armenian:* georgian:* runic:* ogham:* bopomofo:* cherokee:* coptic:* deseret:* ethiopic:* gothic:* han:* hiragana:* katakana:* old-italic:* canadian-aboriginal:* yi:* braille:* cypriot:* limbu:* osmanya:* shavian:* linear-b:* ugaritic:* glagolitic:* cuneiform:* phoenician:* common: +/usr/lib32/pango/1.6.0/modules/pango-basic-x.so BasicScriptEngineX PangoEngineShape PangoRenderX common: +/usr/lib32/pango/1.6.0/modules/pango-syriac-fc.so SyriacScriptEngineFc PangoEngineShape PangoRenderFc syriac:* +/usr/lib32/pango/1.6.0/modules/pango-khmer-fc.so KhmerScriptEngineFc PangoEngineShape PangoRenderFc khmer:* diff --git a/pango-32/pango.modules-32.patch b/pango-32/pango.modules-32.patch new file mode 100644 index 00000000..fd20b240 --- /dev/null +++ b/pango-32/pango.modules-32.patch @@ -0,0 +1,21 @@ +diff -urN pango-1.26.2.orig/pango/modules.c pango-1.26.2/pango/modules.c +--- pango-1.26.2.orig/pango/modules.c 2009-11-23 00:30:39.000000000 -0600 ++++ pango-1.26.2/pango/modules.c 2011-12-16 09:57:12.249116902 -0600 +@@ -509,7 +509,7 @@ + + if (!file_str) + file_str = g_build_filename (pango_get_sysconf_subdirectory (), +- "pango.modules", ++ "pango.modules-32", + NULL); + + files = pango_split_file_list (file_str); +@@ -620,7 +620,7 @@ + if (!no_module_warning) + { + gchar *filename = g_build_filename (pango_get_sysconf_subdirectory (), +- "pango.modules", ++ "pango.modules-32", + NULL); + g_critical ("No modules found:\n" + "No builtin or dynamically loaded modules were found.\n" diff --git a/python-32/.32bit b/python-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/python-32/.footprint b/python-32/.footprint new file mode 100644 index 00000000..49743b43 --- /dev/null +++ b/python-32/.footprint @@ -0,0 +1,91 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/python2.7/ +-rw-r--r-- root/root usr/include/python2.7/pyconfig-32.h +drwxr-xr-x root/root usr/lib32/ +lrwxrwxrwx root/root usr/lib32/libpython2.7.so -> libpython2.7.so.1.0 +-r-xr-xr-x root/root usr/lib32/libpython2.7.so.1.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/python-2.7.pc +lrwxrwxrwx root/root usr/lib32/pkgconfig/python.pc -> python2.pc +lrwxrwxrwx root/root usr/lib32/pkgconfig/python2.pc -> python-2.7.pc +lrwxrwxrwx root/root usr/lib32/python -> python2.7 +drwxr-xr-x root/root usr/lib32/python2.7/ +drwxr-xr-x root/root usr/lib32/python2.7/config/ +-rw-r--r-- root/root usr/lib32/python2.7/config/Makefile +-rw-r--r-- root/root usr/lib32/python2.7/config/Setup +-rw-r--r-- root/root usr/lib32/python2.7/config/Setup.config +-rw-r--r-- root/root usr/lib32/python2.7/config/Setup.local +-rw-r--r-- root/root usr/lib32/python2.7/config/config.c +-rw-r--r-- root/root usr/lib32/python2.7/config/config.c.in +-rwxr-xr-x root/root usr/lib32/python2.7/config/install-sh +-rw-r--r-- root/root usr/lib32/python2.7/config/libpython2.7.a +lrwxrwxrwx root/root usr/lib32/python2.7/config/libpython2.7.so -> /usr/lib32/libpython2.7.so +-rwxr-xr-x root/root usr/lib32/python2.7/config/makesetup +-rw-r--r-- root/root usr/lib32/python2.7/config/python.o +drwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/ +-rw-r--r-- root/root usr/lib32/python2.7/lib-dynload/Python-2.7.3-py2.7.egg-info +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_bisect.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_codecs_cn.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_codecs_hk.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_codecs_iso2022.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_codecs_jp.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_codecs_kr.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_codecs_tw.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_collections.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_csv.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_ctypes.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_ctypes_test.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_curses.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_curses_panel.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_elementtree.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_functools.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_hashlib.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_heapq.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_hotshot.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_io.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_json.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_locale.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_lsprof.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_multibytecodec.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_multiprocessing.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_random.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_socket.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_sqlite3.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_ssl.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_struct.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_testcapi.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/array.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/audioop.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/binascii.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/bz2.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/cPickle.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/cStringIO.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/cmath.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/crypt.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/datetime.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/dl.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/fcntl.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/future_builtins.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/gdbm.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/grp.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/imageop.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/itertools.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/linuxaudiodev.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/math.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/mmap.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/nis.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/operator.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/ossaudiodev.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/parser.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/pyexpat.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/readline.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/resource.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/select.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/spwd.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/strop.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/syslog.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/termios.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/time.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/unicodedata.so +-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/zlib.so diff --git a/python-32/.md5sum b/python-32/.md5sum new file mode 100644 index 00000000..d0fe0cc7 --- /dev/null +++ b/python-32/.md5sum @@ -0,0 +1 @@ +62c4c1699170078c469f79ddfed21bc0 Python-2.7.3.tar.xz diff --git a/python-32/Pkgfile b/python-32/Pkgfile new file mode 100644 index 00000000..f4114875 --- /dev/null +++ b/python-32/Pkgfile @@ -0,0 +1,34 @@ +# Description: Python interpreter, version 2.7 +# URL: http://www.python.org +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: db-32 gdbm-32 openssl-32 bzip2-32 zlib-32 sqlite3-32 python + +name=python-32 +version=2.7.3 +release=3 +source=(http://www.python.org/ftp/python/$version/Python-$version.tar.xz) + +build () { + cd Python-$version + + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --mandir=/usr/man \ + --enable-shared \ + --with-threads \ + --enable-ipv6 \ + --with-dbmliborder=gdbm + + make EXTRA_CFLAGS="$CFLAGS" + make -j1 DESTDIR=$PKG install + + ln -sf python2.7 $PKG/usr/bin/python + ln -s python2.7 $PKG/usr/lib32/python + ln -s python2.7 $PKG/usr/include/python + ln -s /usr/lib32/libpython2.7.so $PKG/usr/lib32/python2.7/config/libpython2.7.so + + mv $PKG/usr/include/python2.7/pyconfig.h $PKG/ + rm -rf $PKG/usr/{bin,include,lib,man} + install -d $PKG/usr/include/python2.7 + mv $PKG/pyconfig.h $PKG/usr/include/python2.7/pyconfig-32.h +} diff --git a/readline-32/.32bit b/readline-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/readline-32/.footprint b/readline-32/.footprint new file mode 100644 index 00000000..1fa6414d --- /dev/null +++ b/readline-32/.footprint @@ -0,0 +1,11 @@ +drwxr-xr-x root/root lib32/ +lrwxrwxrwx root/root lib32/libhistory.so.6 -> libhistory.so.6.2 +-r-xr-xr-x root/root lib32/libhistory.so.6.2 +lrwxrwxrwx root/root lib32/libreadline.so.6 -> libreadline.so.6.2 +-r-xr-xr-x root/root lib32/libreadline.so.6.2 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libhistory.a +lrwxrwxrwx root/root usr/lib32/libhistory.so -> ../../lib32/libhistory.so.6.2 +-rw-r--r-- root/root usr/lib32/libreadline.a +lrwxrwxrwx root/root usr/lib32/libreadline.so -> ../../lib32/libreadline.so.6.2 diff --git a/readline-32/.md5sum b/readline-32/.md5sum new file mode 100644 index 00000000..de57e791 --- /dev/null +++ b/readline-32/.md5sum @@ -0,0 +1,3 @@ +553cf04fdeec54dca12062864c3ffba3 inputrc +9ff8505cf10d93f723f35d3bcbbc3dbb readline-6.2.4.patch.gz +67948acb2ca081f23359d0256e9a271c readline-6.2.tar.gz diff --git a/readline-32/Pkgfile b/readline-32/Pkgfile new file mode 100644 index 00000000..5ded5bf9 --- /dev/null +++ b/readline-32/Pkgfile @@ -0,0 +1,31 @@ +# Description: Lets users edit command lines as they are typed in +# URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: ncurses-32 + +name=readline-32 +version=6.2.4 +release=1 +source=(http://ftp.gnu.org/gnu/readline/readline-${version::3}.tar.gz \ + readline-$version.patch.gz inputrc) + +build() { + cd readline-${version::3} + + gunzip -c $SRC/readline-$version.patch.gz | patch -p0 + + # Don't use rpath for linking the shared libs + sed -i '117s/-Wl,-rpath,$(libdir)//' support/shobj-conf + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + make SHLIB_LIBS=-lncurses + make DESTDIR=$PKG install + + install -d $PKG/lib32 + mv $PKG/usr/lib32/lib*.so.* $PKG/lib32 + ln -sf ../../lib32/libhistory.so.${version::3} $PKG/usr/lib32/libhistory.so + ln -sf ../../lib32/libreadline.so.${version::3} $PKG/usr/lib32/libreadline.so + + install -D -m 644 $SRC/inputrc $PKG/etc/inputrc + rm -r $PKG/usr/{bin,man,include,share} $PKG/etc +} diff --git a/readline-32/inputrc b/readline-32/inputrc new file mode 100644 index 00000000..7640ae4c --- /dev/null +++ b/readline-32/inputrc @@ -0,0 +1,26 @@ +# +# /etc/inputrc - global inputrc for readline(3) +# + +set input-meta on +set output-meta on +set convert-meta off + +"\e[1~": beginning-of-line +"\e[2~": yank +"\e[3~": delete-char +"\e[4~": end-of-line +"\e[5~": beginning-of-history +"\e[6~": end-of-history + +"\ep": history-search-backward +"\en": history-search-forward + +$if term=xterm +"\e[7~": beginning-of-line +"\e[8~": end-of-line +"\e[H": beginning-of-line +"\e[F": end-of-line +$endif + +# End of file diff --git a/readline-32/readline-6.2.4.patch.gz b/readline-32/readline-6.2.4.patch.gz new file mode 100644 index 00000000..a4c31cc3 Binary files /dev/null and b/readline-32/readline-6.2.4.patch.gz differ diff --git a/sqlite3-32/.32bit b/sqlite3-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/sqlite3-32/.footprint b/sqlite3-32/.footprint new file mode 100644 index 00000000..05c4f2c9 --- /dev/null +++ b/sqlite3-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libsqlite3.a +-rwxr-xr-x root/root usr/lib32/libsqlite3.la +lrwxrwxrwx root/root usr/lib32/libsqlite3.so -> libsqlite3.so.0.8.6 +lrwxrwxrwx root/root usr/lib32/libsqlite3.so.0 -> libsqlite3.so.0.8.6 +-rwxr-xr-x root/root usr/lib32/libsqlite3.so.0.8.6 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/sqlite3.pc diff --git a/sqlite3-32/.md5sum b/sqlite3-32/.md5sum new file mode 100644 index 00000000..61d923c2 --- /dev/null +++ b/sqlite3-32/.md5sum @@ -0,0 +1 @@ +4cf3fd434bbb6e50777019ff3507bfa5 sqlite-autoconf-3071401.tar.gz diff --git a/sqlite3-32/Pkgfile b/sqlite3-32/Pkgfile new file mode 100644 index 00000000..591ab953 --- /dev/null +++ b/sqlite3-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: SQL database engine +# URL: http://www.sqlite.org/ +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: ncurses-32 readline-32 sqlite3 + +name=sqlite3-32 +version=3.7.14.1 +release=1 +_version=$(printf "%i%.2i%.2i%.2i" ${version//./ }) + +source=(http://www.sqlite.org/sqlite-autoconf-${_version}.tar.gz) + +build () { + cd sqlite-autoconf-${_version} + CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY $CFLAGS" \ + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{bin,include,man} +} diff --git a/talloc-32/.32bit b/talloc-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/talloc-32/.footprint b/talloc-32/.footprint new file mode 100644 index 00000000..910b4f13 --- /dev/null +++ b/talloc-32/.footprint @@ -0,0 +1,16 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +lrwxrwxrwx root/root usr/lib32/libpytalloc-util.so -> libpytalloc-util.so.2.0.7 +lrwxrwxrwx root/root usr/lib32/libpytalloc-util.so.2 -> libpytalloc-util.so.2.0.7 +-rw-r--r-- root/root usr/lib32/libpytalloc-util.so.2.0.7 +-rw-r--r-- root/root usr/lib32/libtalloc-compat1-2.0.7.so +lrwxrwxrwx root/root usr/lib32/libtalloc.so -> libtalloc.so.2.0.7 +lrwxrwxrwx root/root usr/lib32/libtalloc.so.1 -> libtalloc-compat1-2.0.7.so +lrwxrwxrwx root/root usr/lib32/libtalloc.so.2 -> libtalloc.so.2.0.7 +-rw-r--r-- root/root usr/lib32/libtalloc.so.2.0.7 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/pytalloc-util.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/talloc.pc +drwxr-xr-x root/root usr/lib32/python2.7/ +drwxr-xr-x root/root usr/lib32/python2.7/site-packages/ +-rw-r--r-- root/root usr/lib32/python2.7/site-packages/talloc.so diff --git a/talloc-32/.md5sum b/talloc-32/.md5sum new file mode 100644 index 00000000..7bec615c --- /dev/null +++ b/talloc-32/.md5sum @@ -0,0 +1,2 @@ +dbfb3146f4cc47054e13b8a2988299f9 talloc-2.0.7.tar.gz +f13ecbd75403227ebd4959238401fba2 talloc.3 diff --git a/talloc-32/Pkgfile b/talloc-32/Pkgfile new file mode 100644 index 00000000..1fb831c4 --- /dev/null +++ b/talloc-32/Pkgfile @@ -0,0 +1,33 @@ +# Description: Hierarchical, reference counted memory pool system with destructors +# URL: http://talloc.samba.org/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: python-32 talloc + +name=talloc-32 +version=2.0.7 +release=2 +source=(ftp://ftp.samba.org/pub/talloc/talloc-$version.tar.gz + talloc.3) + +build() { + cd talloc-$version + + ./configure --prefix=/usr \ + --mandir=/usr/man \ + --libdir=/usr/lib32 \ + --enable-talloc-compat1 + + # Don't depend on xsltproc or docbook.sourceforge.net being available + cp $SRC/talloc.3 . + touch talloc.3 talloc.3.html + + make + make install DESTDIR=$PKG + + mv $PKG/usr/lib/* $PKG/usr/lib32/ + rmdir $PKG/usr/lib + + install -d $PKG/usr/man/man3 + install -m 644 talloc.3 $PKG/usr/man/man3 + rm -rf $PKG/usr/{include,man} +} diff --git a/talloc-32/talloc.3 b/talloc-32/talloc.3 new file mode 100644 index 00000000..26aaae94 --- /dev/null +++ b/talloc-32/talloc.3 @@ -0,0 +1,688 @@ +'\" t +.\" Title: talloc +.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] +.\" Generator: DocBook XSL Stylesheets v1.75.2 +.\" Date: 09/11/2010 +.\" Manual: [FIXME: manual] +.\" Source: [FIXME: source] +.\" Language: English +.\" +.TH "TALLOC" "3" "09/11/2010" "[FIXME: source]" "[FIXME: manual]" +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +talloc \- hierarchical reference counted memory pool system with destructors +.SH "SYNOPSIS" +.sp +.nf +#include +.fi +.SH "DESCRIPTION" +.PP +If you are used to talloc from Samba3 then please read this carefully, as talloc has changed a lot\&. +.PP +The new talloc is a hierarchical, reference counted memory pool system with destructors\&. Quite a mouthful really, but not too bad once you get used to it\&. +.PP +Perhaps the biggest change from Samba3 is that there is no distinction between a "talloc context" and a "talloc pointer"\&. Any pointer returned from talloc() is itself a valid talloc context\&. This means you can do this: +.sp +.if n \{\ +.RS 4 +.\} +.nf + struct foo *X = talloc(mem_ctx, struct foo); + X\->name = talloc_strdup(X, "foo"); + +.fi +.if n \{\ +.RE +.\} +.PP +and the pointer +X\->name +would be a "child" of the talloc context +X +which is itself a child of +mem_ctx\&. So if you do +talloc_free(mem_ctx) +then it is all destroyed, whereas if you do +talloc_free(X) +then just +X +and +X\->name +are destroyed, and if you do +talloc_free(X\->name) +then just the name element of +X +is destroyed\&. +.PP +If you think about this, then what this effectively gives you is an n\-ary tree, where you can free any part of the tree with talloc_free()\&. +.PP +If you find this confusing, then I suggest you run the +testsuite +program to watch talloc in action\&. You may also like to add your own tests to +testsuite\&.c +to clarify how some particular situation is handled\&. +.SH "TALLOC API" +.PP +The following is a complete guide to the talloc API\&. Read it all at least twice\&. +.SS "(type *)talloc(const void *ctx, type);" +.PP +The talloc() macro is the core of the talloc library\&. It takes a memory +\fIctx\fR +and a +\fItype\fR, and returns a pointer to a new area of memory of the given +\fItype\fR\&. +.PP +The returned pointer is itself a talloc context, so you can use it as the +\fIctx\fR +argument to more calls to talloc() if you wish\&. +.PP +The returned pointer is a "child" of the supplied context\&. This means that if you talloc_free() the +\fIctx\fR +then the new child disappears as well\&. Alternatively you can free just the child\&. +.PP +The +\fIctx\fR +argument to talloc() can be NULL, in which case a new top level context is created\&. +.SS "void *talloc_size(const void *ctx, size_t size);" +.PP +The function talloc_size() should be used when you don\'t have a convenient type to pass to talloc()\&. Unlike talloc(), it is not type safe (as it returns a void *), so you are on your own for type checking\&. +.SS "(typeof(ptr)) talloc_ptrtype(const void *ctx, ptr);" +.PP +The talloc_ptrtype() macro should be used when you have a pointer and want to allocate memory to point at with this pointer\&. When compiling with gcc >= 3 it is typesafe\&. Note this is a wrapper of talloc_size() and talloc_get_name() will return the current location in the source file\&. and not the type\&. +.SS "int talloc_free(void *ptr);" +.PP +The talloc_free() function frees a piece of talloc memory, and all its children\&. You can call talloc_free() on any pointer returned by talloc()\&. +.PP +The return value of talloc_free() indicates success or failure, with 0 returned for success and \-1 for failure\&. The only possible failure condition is if +\fIptr\fR +had a destructor attached to it and the destructor returned \-1\&. See +\(lqtalloc_set_destructor()\(rq +for details on destructors\&. +.PP +If this pointer has an additional parent when talloc_free() is called then the memory is not actually released, but instead the most recently established parent is destroyed\&. See +\(lqtalloc_reference()\(rq +for details on establishing additional parents\&. +.PP +For more control on which parent is removed, see +\(lqtalloc_unlink()\(rq\&. +.PP +talloc_free() operates recursively on its children\&. +.PP +From the 2\&.0 version of talloc, as a special case, talloc_free() is refused on pointers that have more than one parent, as talloc would have no way of knowing which parent should be removed\&. To free a pointer that has more than one parent please use talloc_unlink()\&. +.PP +To help you find problems in your code caused by this behaviour, if you do try and free a pointer with more than one parent then the talloc logging function will be called to give output like this: +.PP + +.sp +.if n \{\ +.RS 4 +.\} +.nf + ERROR: talloc_free with references at some_dir/source/foo\&.c:123 + reference at some_dir/source/other\&.c:325 + reference at some_dir/source/third\&.c:121 + +.fi +.if n \{\ +.RE +.\} +.PP +Please see the documentation for talloc_set_log_fn() and talloc_set_log_stderr() for more information on talloc logging functions\&. +.SS "void *talloc_reference(const void *ctx, const void *ptr);" +.PP +The talloc_reference() function makes +\fIctx\fR +an additional parent of +\fIptr\fR\&. +.PP +The return value of talloc_reference() is always the original pointer +\fIptr\fR, unless talloc ran out of memory in creating the reference in which case it will return NULL (each additional reference consumes around 48 bytes of memory on intel x86 platforms)\&. +.PP +If +\fIptr\fR +is NULL, then the function is a no\-op, and simply returns NULL\&. +.PP +After creating a reference you can free it in one of the following ways: +.PP + +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +you can talloc_free() any parent of the original pointer\&. That will reduce the number of parents of this pointer by 1, and will cause this pointer to be freed if it runs out of parents\&. +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +you can talloc_free() the pointer itself\&. That will destroy the most recently established parent to the pointer and leave the pointer as a child of its current parent\&. +.RE +.sp +.RE +.PP +For more control on which parent to remove, see +\(lqtalloc_unlink()\(rq\&. +.SS "int talloc_unlink(const void *ctx, const void *ptr);" +.PP +The talloc_unlink() function removes a specific parent from +\fIptr\fR\&. The +\fIctx\fR +passed must either be a context used in talloc_reference() with this pointer, or must be a direct parent of ptr\&. +.PP +Note that if the parent has already been removed using talloc_free() then this function will fail and will return \-1\&. Likewise, if +\fIptr\fR +is NULL, then the function will make no modifications and return \-1\&. +.PP +Usually you can just use talloc_free() instead of talloc_unlink(), but sometimes it is useful to have the additional control on which parent is removed\&. +.SS "void talloc_set_destructor(const void *ptr, int (*destructor)(void *));" +.PP +The function talloc_set_destructor() sets the +\fIdestructor\fR +for the pointer +\fIptr\fR\&. A +\fIdestructor\fR +is a function that is called when the memory used by a pointer is about to be released\&. The destructor receives +\fIptr\fR +as an argument, and should return 0 for success and \-1 for failure\&. +.PP +The +\fIdestructor\fR +can do anything it wants to, including freeing other pieces of memory\&. A common use for destructors is to clean up operating system resources (such as open file descriptors) contained in the structure the destructor is placed on\&. +.PP +You can only place one destructor on a pointer\&. If you need more than one destructor then you can create a zero\-length child of the pointer and place an additional destructor on that\&. +.PP +To remove a destructor call talloc_set_destructor() with NULL for the destructor\&. +.PP +If your destructor attempts to talloc_free() the pointer that it is the destructor for then talloc_free() will return \-1 and the free will be ignored\&. This would be a pointless operation anyway, as the destructor is only called when the memory is just about to go away\&. +.SS "int talloc_increase_ref_count(const void *\fIptr\fR);" +.PP +The talloc_increase_ref_count(\fIptr\fR) function is exactly equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_reference(NULL, ptr); +.fi +.if n \{\ +.RE +.\} +.PP +You can use either syntax, depending on which you think is clearer in your code\&. +.PP +It returns 0 on success and \-1 on failure\&. +.SS "size_t talloc_reference_count(const void *\fIptr\fR);" +.PP +Return the number of references to the pointer\&. +.SS "void talloc_set_name(const void *ptr, const char *fmt, \&.\&.\&.);" +.PP +Each talloc pointer has a "name"\&. The name is used principally for debugging purposes, although it is also possible to set and get the name on a pointer in as a way of "marking" pointers in your code\&. +.PP +The main use for names on pointer is for "talloc reports"\&. See +\(lqtalloc_report_depth_cb()\(rq, +\(lqtalloc_report_depth_file()\(rq, +\(lqtalloc_report()\(rq +\(lqtalloc_report()\(rq +and +\(lqtalloc_report_full()\(rq +for details\&. Also see +\(lqtalloc_enable_leak_report()\(rq +and +\(lqtalloc_enable_leak_report_full()\(rq\&. +.PP +The talloc_set_name() function allocates memory as a child of the pointer\&. It is logically equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_set_name_const(ptr, talloc_asprintf(ptr, fmt, \&.\&.\&.)); +.fi +.if n \{\ +.RE +.\} +.PP +Note that multiple calls to talloc_set_name() will allocate more memory without releasing the name\&. All of the memory is released when the ptr is freed using talloc_free()\&. +.SS "void talloc_set_name_const(const void *\fIptr\fR, const char *\fIname\fR);" +.PP +The function talloc_set_name_const() is just like talloc_set_name(), but it takes a string constant, and is much faster\&. It is extensively used by the "auto naming" macros, such as talloc_p()\&. +.PP +This function does not allocate any memory\&. It just copies the supplied pointer into the internal representation of the talloc ptr\&. This means you must not pass a +\fIname\fR +pointer to memory that will disappear before +\fIptr\fR +is freed with talloc_free()\&. +.SS "void *talloc_named(const void *\fIctx\fR, size_t \fIsize\fR, const char *\fIfmt\fR, \&.\&.\&.);" +.PP +The talloc_named() function creates a named talloc pointer\&. It is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +ptr = talloc_size(ctx, size); +talloc_set_name(ptr, fmt, \&.\&.\&.\&.); +.fi +.if n \{\ +.RE +.\} +.SS "void *talloc_named_const(const void *\fIctx\fR, size_t \fIsize\fR, const char *\fIname\fR);" +.PP +This is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +ptr = talloc_size(ctx, size); +talloc_set_name_const(ptr, name); +.fi +.if n \{\ +.RE +.\} +.SS "const char *talloc_get_name(const void *\fIptr\fR);" +.PP +This returns the current name for the given talloc pointer, +\fIptr\fR\&. See +\(lqtalloc_set_name()\(rq +for details\&. +.SS "void *talloc_init(const char *\fIfmt\fR, \&.\&.\&.);" +.PP +This function creates a zero length named talloc context as a top level context\&. It is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_named(NULL, 0, fmt, \&.\&.\&.); +.fi +.if n \{\ +.RE +.\} +.SS "void *talloc_new(void *\fIctx\fR);" +.PP +This is a utility macro that creates a new memory context hanging off an exiting context, automatically naming it "talloc_new: __location__" where __location__ is the source line it is called from\&. It is particularly useful for creating a new temporary working context\&. +.SS "(\fItype\fR *)talloc_realloc(const void *\fIctx\fR, void *\fIptr\fR, \fItype\fR, \fIcount\fR);" +.PP +The talloc_realloc() macro changes the size of a talloc pointer\&. It has the following equivalences: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_realloc(ctx, NULL, type, 1) ==> talloc(ctx, type); +talloc_realloc(ctx, ptr, type, 0) ==> talloc_free(ptr); +.fi +.if n \{\ +.RE +.\} +.PP +The +\fIctx\fR +argument is only used if +\fIptr\fR +is not NULL, otherwise it is ignored\&. +.PP +talloc_realloc() returns the new pointer, or NULL on failure\&. The call will fail either due to a lack of memory, or because the pointer has more than one parent (see +\(lqtalloc_reference()\(rq)\&. +.SS "void *talloc_realloc_size(const void *ctx, void *ptr, size_t size);" +.PP +the talloc_realloc_size() function is useful when the type is not known so the type\-safe talloc_realloc() cannot be used\&. +.SS "TYPE *talloc_steal(const void *\fInew_ctx\fR, const TYPE *\fIptr\fR);" +.PP +The talloc_steal() function changes the parent context of a talloc pointer\&. It is typically used when the context that the pointer is currently a child of is going to be freed and you wish to keep the memory for a longer time\&. +.PP +The talloc_steal() function returns the pointer that you pass it\&. It does not have any failure modes\&. +.PP +It is possible to produce loops in the parent/child relationship if you are not careful with talloc_steal()\&. No guarantees are provided as to your sanity or the safety of your data if you do this\&. +.PP +Note that if you try and call talloc_steal() on a pointer that has more than one parent then the result is ambiguous\&. Talloc will choose to remove the parent that is currently indicated by talloc_parent() and replace it with the chosen parent\&. You will also get a message like this via the talloc logging functions: +.PP + +.sp +.if n \{\ +.RS 4 +.\} +.nf + WARNING: talloc_steal with references at some_dir/source/foo\&.c:123 + reference at some_dir/source/other\&.c:325 + reference at some_dir/source/third\&.c:121 + +.fi +.if n \{\ +.RE +.\} +.PP +To unambiguously change the parent of a pointer please see the function +\(lqtalloc_reparent()\(rq\&. See the talloc_set_log_fn() documentation for more information on talloc logging\&. +.SS "TYPE *talloc_reparent(const void *\fIold_parent\fR, const void *\fInew_parent\fR, const TYPE *\fIptr\fR);" +.PP +The talloc_reparent() function changes the parent context of a talloc pointer\&. It is typically used when the context that the pointer is currently a child of is going to be freed and you wish to keep the memory for a longer time\&. +.PP +The talloc_reparent() function returns the pointer that you pass it\&. It does not have any failure modes\&. +.PP +The difference between talloc_reparent() and talloc_steal() is that talloc_reparent() can specify which parent you wish to change\&. This is useful when a pointer has multiple parents via references\&. +.SS "TYPE *talloc_move(const void *\fInew_ctx\fR, TYPE **\fIptr\fR);" +.PP +The talloc_move() function is a wrapper around talloc_steal() which zeros the source pointer after the move\&. This avoids a potential source of bugs where a programmer leaves a pointer in two structures, and uses the pointer from the old structure after it has been moved to a new one\&. +.SS "size_t talloc_total_size(const void *\fIptr\fR);" +.PP +The talloc_total_size() function returns the total size in bytes used by this pointer and all child pointers\&. Mostly useful for debugging\&. +.PP +Passing NULL is allowed, but it will only give a meaningful result if talloc_enable_leak_report() or talloc_enable_leak_report_full() has been called\&. +.SS "size_t talloc_total_blocks(const void *\fIptr\fR);" +.PP +The talloc_total_blocks() function returns the total memory block count used by this pointer and all child pointers\&. Mostly useful for debugging\&. +.PP +Passing NULL is allowed, but it will only give a meaningful result if talloc_enable_leak_report() or talloc_enable_leak_report_full() has been called\&. +.SS "void talloc_report(const void *ptr, FILE *f);" +.PP +The talloc_report() function prints a summary report of all memory used by +\fIptr\fR\&. One line of report is printed for each immediate child of ptr, showing the total memory and number of blocks used by that child\&. +.PP +You can pass NULL for the pointer, in which case a report is printed for the top level memory context, but only if talloc_enable_leak_report() or talloc_enable_leak_report_full() has been called\&. +.SS "void talloc_report_full(const void *\fIptr\fR, FILE *\fIf\fR);" +.PP +This provides a more detailed report than talloc_report()\&. It will recursively print the entire tree of memory referenced by the pointer\&. References in the tree are shown by giving the name of the pointer that is referenced\&. +.PP +You can pass NULL for the pointer, in which case a report is printed for the top level memory context, but only if talloc_enable_leak_report() or talloc_enable_leak_report_full() has been called\&. +.SS "" +.HP \w'void\ talloc_report_depth_cb('u +.BI "void talloc_report_depth_cb(" "const\ void\ *ptr" ", " "int\ depth" ", " "int\ max_depth" ", " "void\ (*callback)(const\ void\ *ptr,\ int\ depth,\ int\ max_depth,\ int\ is_ref,\ void\ *priv)" ", " "void\ *priv" ");" +.PP +This provides a more flexible reports than talloc_report()\&. It will recursively call the callback for the entire tree of memory referenced by the pointer\&. References in the tree are passed with +\fIis_ref = 1\fR +and the pointer that is referenced\&. +.PP +You can pass NULL for the pointer, in which case a report is printed for the top level memory context, but only if talloc_enable_leak_report() or talloc_enable_leak_report_full() has been called\&. +.PP +The recursion is stopped when depth >= max_depth\&. max_depth = \-1 means only stop at leaf nodes\&. +.SS "" +.HP \w'void\ talloc_report_depth_file('u +.BI "void talloc_report_depth_file(" "const\ void\ *ptr" ", " "int\ depth" ", " "int\ max_depth" ", " "FILE\ *f" ");" +.PP +This provides a more flexible reports than talloc_report()\&. It will let you specify the depth and max_depth\&. +.SS "void talloc_enable_leak_report(void);" +.PP +This enables calling of talloc_report(NULL, stderr) when the program exits\&. In Samba4 this is enabled by using the \-\-leak\-report command line option\&. +.PP +For it to be useful, this function must be called before any other talloc function as it establishes a "null context" that acts as the top of the tree\&. If you don\'t call this function first then passing NULL to talloc_report() or talloc_report_full() won\'t give you the full tree printout\&. +.PP +Here is a typical talloc report: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc report on \'null_context\' (total 267 bytes in 15 blocks) +libcli/auth/spnego_parse\&.c:55 contains 31 bytes in 2 blocks +libcli/auth/spnego_parse\&.c:55 contains 31 bytes in 2 blocks +iconv(UTF8,CP850) contains 42 bytes in 2 blocks +libcli/auth/spnego_parse\&.c:55 contains 31 bytes in 2 blocks +iconv(CP850,UTF8) contains 42 bytes in 2 blocks +iconv(UTF8,UTF\-16LE) contains 45 bytes in 2 blocks +iconv(UTF\-16LE,UTF8) contains 45 bytes in 2 blocks + +.fi +.if n \{\ +.RE +.\} +.SS "void talloc_enable_leak_report_full(void);" +.PP +This enables calling of talloc_report_full(NULL, stderr) when the program exits\&. In Samba4 this is enabled by using the \-\-leak\-report\-full command line option\&. +.PP +For it to be useful, this function must be called before any other talloc function as it establishes a "null context" that acts as the top of the tree\&. If you don\'t call this function first then passing NULL to talloc_report() or talloc_report_full() won\'t give you the full tree printout\&. +.PP +Here is a typical full report: +.sp +.if n \{\ +.RS 4 +.\} +.nf +full talloc report on \'root\' (total 18 bytes in 8 blocks) +p1 contains 18 bytes in 7 blocks (ref 0) + r1 contains 13 bytes in 2 blocks (ref 0) + reference to: p2 + p2 contains 1 bytes in 1 blocks (ref 1) + x3 contains 1 bytes in 1 blocks (ref 0) + x2 contains 1 bytes in 1 blocks (ref 0) + x1 contains 1 bytes in 1 blocks (ref 0) + +.fi +.if n \{\ +.RE +.\} +.SS "(\fItype\fR *)talloc_zero(const void *\fIctx\fR, \fItype\fR);" +.PP +The talloc_zero() macro is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +ptr = talloc(ctx, type); +if (ptr) memset(ptr, 0, sizeof(type)); +.fi +.if n \{\ +.RE +.\} +.SS "void *talloc_zero_size(const void *\fIctx\fR, size_t \fIsize\fR)" +.PP +The talloc_zero_size() function is useful when you don\'t have a known type\&. +.SS "void *talloc_memdup(const void *\fIctx\fR, const void *\fIp\fR, size_t size);" +.PP +The talloc_memdup() function is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +ptr = talloc_size(ctx, size); +if (ptr) memcpy(ptr, p, size); +.fi +.if n \{\ +.RE +.\} +.SS "char *talloc_strdup(const void *\fIctx\fR, const char *\fIp\fR);" +.PP +The talloc_strdup() function is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +ptr = talloc_size(ctx, strlen(p)+1); +if (ptr) memcpy(ptr, p, strlen(p)+1); +.fi +.if n \{\ +.RE +.\} +.PP +This function sets the name of the new pointer to the passed string\&. This is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_set_name_const(ptr, ptr) +.fi +.if n \{\ +.RE +.\} +.SS "char *talloc_strndup(const void *\fIt\fR, const char *\fIp\fR, size_t \fIn\fR);" +.PP +The talloc_strndup() function is the talloc equivalent of the C library function strndup(3)\&. +.PP +This function sets the name of the new pointer to the passed string\&. This is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_set_name_const(ptr, ptr) +.fi +.if n \{\ +.RE +.\} +.SS "char *talloc_append_string(const void *\fIt\fR, char *\fIorig\fR, const char *\fIappend\fR);" +.PP +The talloc_append_string() function appends the given formatted string to the given string\&. +.PP +This function sets the name of the new pointer to the new string\&. This is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_set_name_const(ptr, ptr) +.fi +.if n \{\ +.RE +.\} +.SS "char *talloc_vasprintf(const void *\fIt\fR, const char *\fIfmt\fR, va_list \fIap\fR);" +.PP +The talloc_vasprintf() function is the talloc equivalent of the C library function vasprintf(3)\&. +.PP +This function sets the name of the new pointer to the new string\&. This is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_set_name_const(ptr, ptr) +.fi +.if n \{\ +.RE +.\} +.SS "char *talloc_asprintf(const void *\fIt\fR, const char *\fIfmt\fR, \&.\&.\&.);" +.PP +The talloc_asprintf() function is the talloc equivalent of the C library function asprintf(3)\&. +.PP +This function sets the name of the new pointer to the passed string\&. This is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_set_name_const(ptr, ptr) +.fi +.if n \{\ +.RE +.\} +.SS "char *talloc_asprintf_append(char *s, const char *fmt, \&.\&.\&.);" +.PP +The talloc_asprintf_append() function appends the given formatted string to the given string\&. +.PP +This function sets the name of the new pointer to the new string\&. This is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_set_name_const(ptr, ptr) +.fi +.if n \{\ +.RE +.\} +.SS "(type *)talloc_array(const void *ctx, type, uint_t count);" +.PP +The talloc_array() macro is equivalent to: +.sp +.if n \{\ +.RS 4 +.\} +.nf +(type *)talloc_size(ctx, sizeof(type) * count); +.fi +.if n \{\ +.RE +.\} +.PP +except that it provides integer overflow protection for the multiply, returning NULL if the multiply overflows\&. +.SS "void *talloc_array_size(const void *ctx, size_t size, uint_t count);" +.PP +The talloc_array_size() function is useful when the type is not known\&. It operates in the same way as talloc_array(), but takes a size instead of a type\&. +.SS "(typeof(ptr)) talloc_array_ptrtype(const void *ctx, ptr, uint_t count);" +.PP +The talloc_ptrtype() macro should be used when you have a pointer to an array and want to allocate memory of an array to point at with this pointer\&. When compiling with gcc >= 3 it is typesafe\&. Note this is a wrapper of talloc_array_size() and talloc_get_name() will return the current location in the source file\&. and not the type\&. +.SS "void *talloc_realloc_fn(const void *ctx, void *ptr, size_t size)" +.PP +This is a non\-macro version of talloc_realloc(), which is useful as libraries sometimes want a realloc function pointer\&. A realloc(3) implementation encapsulates the functionality of malloc(3), free(3) and realloc(3) in one call, which is why it is useful to be able to pass around a single function pointer\&. +.SS "void *talloc_autofree_context(void);" +.PP +This is a handy utility function that returns a talloc context which will be automatically freed on program exit\&. This can be used to reduce the noise in memory leak reports\&. +.SS "void *talloc_check_name(const void *ptr, const char *name);" +.PP +This function checks if a pointer has the specified +\fIname\fR\&. If it does then the pointer is returned\&. It it doesn\'t then NULL is returned\&. +.SS "(type *)talloc_get_type(const void *ptr, type);" +.PP +This macro allows you to do type checking on talloc pointers\&. It is particularly useful for void* private pointers\&. It is equivalent to this: +.sp +.if n \{\ +.RS 4 +.\} +.nf +(type *)talloc_check_name(ptr, #type) +.fi +.if n \{\ +.RE +.\} +.SS "talloc_set_type(const void *ptr, type);" +.PP +This macro allows you to force the name of a pointer to be a particular +\fItype\fR\&. This can be used in conjunction with talloc_get_type() to do type checking on void* pointers\&. +.PP +It is equivalent to this: +.sp +.if n \{\ +.RS 4 +.\} +.nf +talloc_set_name_const(ptr, #type) +.fi +.if n \{\ +.RE +.\} +.SS "talloc_set_log_fn(void (*log_fn)(const char *message));" +.PP +This function sets a logging function that talloc will use for warnings and errors\&. By default talloc will not print any warnings or errors\&. +.SS "talloc_set_log_stderr(void);" +.PP +This sets the talloc log function to write log messages to stderr +.SH "PERFORMANCE" +.PP +All the additional features of talloc(3) over malloc(3) do come at a price\&. We have a simple performance test in Samba4 that measures talloc() versus malloc() performance, and it seems that talloc() is about 10% slower than malloc() on my x86 Debian Linux box\&. For Samba, the great reduction in code complexity that we get by using talloc makes this worthwhile, especially as the total overhead of talloc/malloc in Samba is already quite small\&. +.SH "SEE ALSO" +.PP +malloc(3), strndup(3), vasprintf(3), asprintf(3), +\m[blue]\fB\%http://talloc.samba.org/\fR\m[] +.SH "COPYRIGHT/LICENSE" +.PP +Copyright (C) Andrew Tridgell 2004 +.PP +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version\&. +.PP +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\&. See the GNU General Public License for more details\&. +.PP +You should have received a copy of the GNU General Public License along with this program; if not, see http://www\&.gnu\&.org/licenses/\&. diff --git a/util-linux-32/.32bit b/util-linux-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/util-linux-32/.footprint b/util-linux-32/.footprint new file mode 100644 index 00000000..ef233a4d --- /dev/null +++ b/util-linux-32/.footprint @@ -0,0 +1,21 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libblkid.a +-rwxr-xr-x root/root usr/lib32/libblkid.la +lrwxrwxrwx root/root usr/lib32/libblkid.so -> libblkid.so.1.1.0 +lrwxrwxrwx root/root usr/lib32/libblkid.so.1 -> libblkid.so.1.1.0 +-rwxr-xr-x root/root usr/lib32/libblkid.so.1.1.0 +-rw-r--r-- root/root usr/lib32/libmount.a +-rwxr-xr-x root/root usr/lib32/libmount.la +lrwxrwxrwx root/root usr/lib32/libmount.so -> libmount.so.1.1.0 +lrwxrwxrwx root/root usr/lib32/libmount.so.1 -> libmount.so.1.1.0 +-rwxr-xr-x root/root usr/lib32/libmount.so.1.1.0 +-rw-r--r-- root/root usr/lib32/libuuid.a +-rwxr-xr-x root/root usr/lib32/libuuid.la +lrwxrwxrwx root/root usr/lib32/libuuid.so -> libuuid.so.1.3.0 +lrwxrwxrwx root/root usr/lib32/libuuid.so.1 -> libuuid.so.1.3.0 +-rwxr-xr-x root/root usr/lib32/libuuid.so.1.3.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/blkid.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/mount.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/uuid.pc diff --git a/util-linux-32/.md5sum b/util-linux-32/.md5sum new file mode 100644 index 00000000..cb8de634 --- /dev/null +++ b/util-linux-32/.md5sum @@ -0,0 +1 @@ +730cf9932531ed09b53a04ca30fcb4c9 util-linux-2.22.1.tar.xz diff --git a/util-linux-32/Pkgfile b/util-linux-32/Pkgfile new file mode 100644 index 00000000..e26c6a31 --- /dev/null +++ b/util-linux-32/Pkgfile @@ -0,0 +1,31 @@ +# Description: Miscellaneous system utilities +# URL: http://userweb.kernel.org/~kzak/util-linux/ +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: ncurses-32 zlib-32 + +name=util-linux-32 +version=2.22.1 +release=1 +source=(http://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/util-linux-$version.tar.xz) + +build() { + cd util-linux-$version + + ./configure --prefix=/usr \ + --mandir=/usr/man \ + --libdir=/usr/lib32 \ + --disable-{nls,wall} \ + --disable-{login,su,sulogin,runuser} \ + --enable-{write,raw,kill} + make + make DESTDIR=$PKG install + + install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}} + touch $PKG/etc/adjtime + + rm -r $PKG/usr/share + rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix} + rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8 + + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} $PKG/{bin,sbin} +} diff --git a/xorg-compositeproto-32/.32bit b/xorg-compositeproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-compositeproto-32/.footprint b/xorg-compositeproto-32/.footprint new file mode 100644 index 00000000..f71ab689 --- /dev/null +++ b/xorg-compositeproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/compositeproto.pc diff --git a/xorg-compositeproto-32/.md5sum b/xorg-compositeproto-32/.md5sum new file mode 100644 index 00000000..0841b708 --- /dev/null +++ b/xorg-compositeproto-32/.md5sum @@ -0,0 +1 @@ +98482f65ba1e74a08bf5b056a4031ef0 compositeproto-0.4.2.tar.bz2 diff --git a/xorg-compositeproto-32/Pkgfile b/xorg-compositeproto-32/Pkgfile new file mode 100644 index 00000000..aa1b7147 --- /dev/null +++ b/xorg-compositeproto-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: xorg proto compositeproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-compositeproto + +name=xorg-compositeproto-32 +version=0.4.2 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/compositeproto-$version.tar.bz2) + +build() { + cd compositeproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/{include,share} +} diff --git a/xorg-damageproto-32/.32bit b/xorg-damageproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-damageproto-32/.footprint b/xorg-damageproto-32/.footprint new file mode 100644 index 00000000..297b5ce1 --- /dev/null +++ b/xorg-damageproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/damageproto.pc diff --git a/xorg-damageproto-32/.md5sum b/xorg-damageproto-32/.md5sum new file mode 100644 index 00000000..41269383 --- /dev/null +++ b/xorg-damageproto-32/.md5sum @@ -0,0 +1 @@ +998e5904764b82642cc63d97b4ba9e95 damageproto-1.2.1.tar.bz2 diff --git a/xorg-damageproto-32/Pkgfile b/xorg-damageproto-32/Pkgfile new file mode 100644 index 00000000..fb6deb96 --- /dev/null +++ b/xorg-damageproto-32/Pkgfile @@ -0,0 +1,21 @@ +# Description: xorg proto damageproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-damageproto + +name=xorg-damageproto-32 +version=1.2.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/damageproto-$version.tar.bz2) + +build() { + cd damageproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/share + rm -rf $PKG/usr/include +} diff --git a/xorg-dri2proto-32/.32bit b/xorg-dri2proto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-dri2proto-32/.footprint b/xorg-dri2proto-32/.footprint new file mode 100644 index 00000000..67d0e146 --- /dev/null +++ b/xorg-dri2proto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/dri2proto.pc diff --git a/xorg-dri2proto-32/.md5sum b/xorg-dri2proto-32/.md5sum new file mode 100644 index 00000000..9856f494 --- /dev/null +++ b/xorg-dri2proto-32/.md5sum @@ -0,0 +1 @@ +b2721d5d24c04d9980a0c6540cb5396a dri2proto-2.8.tar.bz2 diff --git a/xorg-dri2proto-32/Pkgfile b/xorg-dri2proto-32/Pkgfile new file mode 100644 index 00000000..d3c82f6d --- /dev/null +++ b/xorg-dri2proto-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: X DRI2 protocol headers +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-dri2proto + +name=xorg-dri2proto-32 +version=2.8 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/dri2proto-$version.tar.bz2) + +build() { + cd dri2proto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -f $PKG/usr/share/doc/dri2proto/dri2proto.txt + rmdir $PKG/usr/share/{doc/dri2proto,doc,} + rm -rf $PKG/usr/include +} diff --git a/xorg-fixesproto-32/.32bit b/xorg-fixesproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-fixesproto-32/.footprint b/xorg-fixesproto-32/.footprint new file mode 100644 index 00000000..0662d5f7 --- /dev/null +++ b/xorg-fixesproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/fixesproto.pc diff --git a/xorg-fixesproto-32/.md5sum b/xorg-fixesproto-32/.md5sum new file mode 100644 index 00000000..116318dd --- /dev/null +++ b/xorg-fixesproto-32/.md5sum @@ -0,0 +1 @@ +e7431ab84d37b2678af71e29355e101d fixesproto-5.0.tar.bz2 diff --git a/xorg-fixesproto-32/Pkgfile b/xorg-fixesproto-32/Pkgfile new file mode 100644 index 00000000..f1aceec0 --- /dev/null +++ b/xorg-fixesproto-32/Pkgfile @@ -0,0 +1,21 @@ +# Description: xorg proto fixesproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-fixesproto + +name=xorg-fixesproto-32 +version=5.0 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/fixesproto-$version.tar.bz2) + +build() { + cd fixesproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/share + rm -rf $PKG/usr/include +} diff --git a/xorg-glproto-32/.32bit b/xorg-glproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-glproto-32/.footprint b/xorg-glproto-32/.footprint new file mode 100644 index 00000000..5aa5c304 --- /dev/null +++ b/xorg-glproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/glproto.pc diff --git a/xorg-glproto-32/.md5sum b/xorg-glproto-32/.md5sum new file mode 100644 index 00000000..5908f10d --- /dev/null +++ b/xorg-glproto-32/.md5sum @@ -0,0 +1 @@ +3847963c1b88fd04a030b932b0aece07 glproto-1.4.16.tar.bz2 diff --git a/xorg-glproto-32/Pkgfile b/xorg-glproto-32/Pkgfile new file mode 100644 index 00000000..00880358 --- /dev/null +++ b/xorg-glproto-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg proto glproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-glproto + +name=xorg-glproto-32 +version=1.4.16 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/glproto-$version.tar.bz2) + +build() { + cd glproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-inputproto-32/.32bit b/xorg-inputproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-inputproto-32/.footprint b/xorg-inputproto-32/.footprint new file mode 100644 index 00000000..5516d533 --- /dev/null +++ b/xorg-inputproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/inputproto.pc diff --git a/xorg-inputproto-32/.md5sum b/xorg-inputproto-32/.md5sum new file mode 100644 index 00000000..0dea4783 --- /dev/null +++ b/xorg-inputproto-32/.md5sum @@ -0,0 +1 @@ +13c8aedaf98a92e282b7e456c0a5bed9 inputproto-2.2.tar.bz2 diff --git a/xorg-inputproto-32/Pkgfile b/xorg-inputproto-32/Pkgfile new file mode 100644 index 00000000..3d57c88e --- /dev/null +++ b/xorg-inputproto-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: xorg proto inputproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-inputproto + +name=xorg-inputproto-32 +version=2.2 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/inputproto-$version.tar.bz2) + +build() { + cd inputproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/share/doc + rm -r $PKG/usr/include + rmdir $PKG/usr/share +} diff --git a/xorg-kbproto-32/.32bit b/xorg-kbproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-kbproto-32/.footprint b/xorg-kbproto-32/.footprint new file mode 100644 index 00000000..d73c682a --- /dev/null +++ b/xorg-kbproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/kbproto.pc diff --git a/xorg-kbproto-32/.md5sum b/xorg-kbproto-32/.md5sum new file mode 100644 index 00000000..f7ed473a --- /dev/null +++ b/xorg-kbproto-32/.md5sum @@ -0,0 +1 @@ +677ea8523eec6caca86121ad2dca0b71 kbproto-1.0.6.tar.bz2 diff --git a/xorg-kbproto-32/Pkgfile b/xorg-kbproto-32/Pkgfile new file mode 100644 index 00000000..46461de2 --- /dev/null +++ b/xorg-kbproto-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg proto kbproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-kbproto + +name=xorg-kbproto-32 +version=1.0.6 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/kbproto-$version.tar.bz2) + +build() { + cd kbproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,share} +} diff --git a/xorg-libice-32/.32bit b/xorg-libice-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libice-32/.footprint b/xorg-libice-32/.footprint new file mode 100644 index 00000000..ca70295e --- /dev/null +++ b/xorg-libice-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libICE.a +-rwxr-xr-x root/root usr/lib32/libICE.la +lrwxrwxrwx root/root usr/lib32/libICE.so -> libICE.so.6.3.0 +lrwxrwxrwx root/root usr/lib32/libICE.so.6 -> libICE.so.6.3.0 +-rwxr-xr-x root/root usr/lib32/libICE.so.6.3.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/ice.pc diff --git a/xorg-libice-32/.md5sum b/xorg-libice-32/.md5sum new file mode 100644 index 00000000..0d68bcfa --- /dev/null +++ b/xorg-libice-32/.md5sum @@ -0,0 +1 @@ +471b5ca9f5562ac0d6eac7a0bf650738 libICE-1.0.8.tar.bz2 diff --git a/xorg-libice-32/Pkgfile b/xorg-libice-32/Pkgfile new file mode 100644 index 00000000..39d8ddc6 --- /dev/null +++ b/xorg-libice-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: xorg lib libICE +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xproto-32, xorg-xtrans-32 xorg-libice + +name=xorg-libice-32 +version=1.0.8 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libICE-$version.tar.bz2) + +build() { + cd libICE-$version + + ./configure --prefix=/usr --disable-docs --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/libICE/ice.xml + find $PKG/usr/share -type d -delete + rm -rf $PKG/usr/include +} diff --git a/xorg-libpciaccess-32/.32bit b/xorg-libpciaccess-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libpciaccess-32/.footprint b/xorg-libpciaccess-32/.footprint new file mode 100644 index 00000000..7c690c8f --- /dev/null +++ b/xorg-libpciaccess-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libpciaccess.a +-rwxr-xr-x root/root usr/lib32/libpciaccess.la +lrwxrwxrwx root/root usr/lib32/libpciaccess.so -> libpciaccess.so.0.11.1 +lrwxrwxrwx root/root usr/lib32/libpciaccess.so.0 -> libpciaccess.so.0.11.1 +-rwxr-xr-x root/root usr/lib32/libpciaccess.so.0.11.1 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/pciaccess.pc diff --git a/xorg-libpciaccess-32/.md5sum b/xorg-libpciaccess-32/.md5sum new file mode 100644 index 00000000..ba229a2d --- /dev/null +++ b/xorg-libpciaccess-32/.md5sum @@ -0,0 +1 @@ +399a419ac6a54f0fc07c69c9bdf452dc libpciaccess-0.13.1.tar.bz2 diff --git a/xorg-libpciaccess-32/Pkgfile b/xorg-libpciaccess-32/Pkgfile new file mode 100644 index 00000000..56d2285b --- /dev/null +++ b/xorg-libpciaccess-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: Generic PCI access library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libpciaccess + +name=xorg-libpciaccess-32 +version=0.13.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libpciaccess-$version.tar.bz2) + +build() { + cd libpciaccess-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-libpixman-32/.32bit b/xorg-libpixman-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libpixman-32/.footprint b/xorg-libpixman-32/.footprint new file mode 100644 index 00000000..888ac4b2 --- /dev/null +++ b/xorg-libpixman-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libpixman-1.a +-rwxr-xr-x root/root usr/lib32/libpixman-1.la +lrwxrwxrwx root/root usr/lib32/libpixman-1.so -> libpixman-1.so.0.26.2 +lrwxrwxrwx root/root usr/lib32/libpixman-1.so.0 -> libpixman-1.so.0.26.2 +-rwxr-xr-x root/root usr/lib32/libpixman-1.so.0.26.2 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/pixman-1.pc diff --git a/xorg-libpixman-32/.md5sum b/xorg-libpixman-32/.md5sum new file mode 100644 index 00000000..85550330 --- /dev/null +++ b/xorg-libpixman-32/.md5sum @@ -0,0 +1 @@ +6b3e4c5300adb893a2baa9631c23efb2 pixman-0.26.2.tar.bz2 diff --git a/xorg-libpixman-32/Pkgfile b/xorg-libpixman-32/Pkgfile new file mode 100644 index 00000000..017568d0 --- /dev/null +++ b/xorg-libpixman-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: Pixel manipulation library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libpixman + +name=xorg-libpixman-32 +version=0.26.2 +release=2 +source=(http://xorg.freedesktop.org/releases/individual/lib/pixman-$version.tar.bz2) + +build() { + cd pixman-$version + + # don't build test programs + sed -i -e 's|^SUBDIRS *=.*|SUBDIRS = pixman|' Makefile.in + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-libsm-32/.32bit b/xorg-libsm-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libsm-32/.footprint b/xorg-libsm-32/.footprint new file mode 100644 index 00000000..caefb0d8 --- /dev/null +++ b/xorg-libsm-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libSM.a +-rwxr-xr-x root/root usr/lib32/libSM.la +lrwxrwxrwx root/root usr/lib32/libSM.so -> libSM.so.6.0.1 +lrwxrwxrwx root/root usr/lib32/libSM.so.6 -> libSM.so.6.0.1 +-rwxr-xr-x root/root usr/lib32/libSM.so.6.0.1 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/sm.pc diff --git a/xorg-libsm-32/.md5sum b/xorg-libsm-32/.md5sum new file mode 100644 index 00000000..f3bf9bb5 --- /dev/null +++ b/xorg-libsm-32/.md5sum @@ -0,0 +1 @@ +766de9d1e1ecf8bf74cebe2111d8e2bd libSM-1.2.1.tar.bz2 diff --git a/xorg-libsm-32/Pkgfile b/xorg-libsm-32/Pkgfile new file mode 100644 index 00000000..bbf82d82 --- /dev/null +++ b/xorg-libsm-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: X Session Management client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libice-32, xorg-xproto-32, xorg-xtrans-32 xorg-libsm + +name=xorg-libsm-32 +version=1.2.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libSM-$version.tar.bz2) + +build() { + cd libSM-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/libSM/{SMlib,xsmp}.xml + find $PKG/usr/share -type d -delete + rm -rf $PKG/usr/include +} diff --git a/xorg-libx11-32/.32bit b/xorg-libx11-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libx11-32/.footprint b/xorg-libx11-32/.footprint new file mode 100644 index 00000000..5974d42a --- /dev/null +++ b/xorg-libx11-32/.footprint @@ -0,0 +1,17 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/X11/ +-rw-r--r-- root/root usr/lib32/X11/Xcms.txt +-rw-r--r-- root/root usr/lib32/libX11-xcb.a +-rwxr-xr-x root/root usr/lib32/libX11-xcb.la +lrwxrwxrwx root/root usr/lib32/libX11-xcb.so -> libX11-xcb.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libX11-xcb.so.1 -> libX11-xcb.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libX11-xcb.so.1.0.0 +-rw-r--r-- root/root usr/lib32/libX11.a +-rwxr-xr-x root/root usr/lib32/libX11.la +lrwxrwxrwx root/root usr/lib32/libX11.so -> libX11.so.6.3.0 +lrwxrwxrwx root/root usr/lib32/libX11.so.6 -> libX11.so.6.3.0 +-rwxr-xr-x root/root usr/lib32/libX11.so.6.3.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/x11-xcb.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/x11.pc diff --git a/xorg-libx11-32/.md5sum b/xorg-libx11-32/.md5sum new file mode 100644 index 00000000..d33cef59 --- /dev/null +++ b/xorg-libx11-32/.md5sum @@ -0,0 +1 @@ +78b4b3bab4acbdf0abcfca30a8c70cc6 libX11-1.5.0.tar.bz2 diff --git a/xorg-libx11-32/Pkgfile b/xorg-libx11-32/Pkgfile new file mode 100644 index 00000000..66ad1ad3 --- /dev/null +++ b/xorg-libx11-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: X client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libxcb-32 xorg-xf86bigfontproto-32 xorg-xextproto-32 xorg-xtrans-32 xorg-kbproto-32 xorg-inputproto-32 xorg-libx11 + +name=xorg-libx11-32 +version=1.5.0 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libX11-$version.tar.bz2) + +build() { + cd libX11-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/{include,man,share} +} diff --git a/xorg-libxau-32/.32bit b/xorg-libxau-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxau-32/.footprint b/xorg-libxau-32/.footprint new file mode 100644 index 00000000..d57ce38f --- /dev/null +++ b/xorg-libxau-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXau.a +-rwxr-xr-x root/root usr/lib32/libXau.la +lrwxrwxrwx root/root usr/lib32/libXau.so -> libXau.so.6.0.0 +lrwxrwxrwx root/root usr/lib32/libXau.so.6 -> libXau.so.6.0.0 +-rwxr-xr-x root/root usr/lib32/libXau.so.6.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xau.pc diff --git a/xorg-libxau-32/.md5sum b/xorg-libxau-32/.md5sum new file mode 100644 index 00000000..8c7cff2c --- /dev/null +++ b/xorg-libxau-32/.md5sum @@ -0,0 +1 @@ +2d241521df40d27034413436d1a1465c libXau-1.0.7.tar.bz2 diff --git a/xorg-libxau-32/Pkgfile b/xorg-libxau-32/Pkgfile new file mode 100644 index 00000000..64379667 --- /dev/null +++ b/xorg-libxau-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: X Authorization routines +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xproto-32 xorg-libxau + +name=xorg-libxau-32 +version=1.0.7 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXau-$version.tar.bz2) + +build() { + cd libXau-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/xorg-libxcb-32/.32bit b/xorg-libxcb-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxcb-32/.footprint b/xorg-libxcb-32/.footprint new file mode 100644 index 00000000..5f8bc851 --- /dev/null +++ b/xorg-libxcb-32/.footprint @@ -0,0 +1,135 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libxcb-composite.a +-rwxr-xr-x root/root usr/lib32/libxcb-composite.la +lrwxrwxrwx root/root usr/lib32/libxcb-composite.so -> libxcb-composite.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-composite.so.0 -> libxcb-composite.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-composite.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-damage.a +-rwxr-xr-x root/root usr/lib32/libxcb-damage.la +lrwxrwxrwx root/root usr/lib32/libxcb-damage.so -> libxcb-damage.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-damage.so.0 -> libxcb-damage.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-damage.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-dpms.a +-rwxr-xr-x root/root usr/lib32/libxcb-dpms.la +lrwxrwxrwx root/root usr/lib32/libxcb-dpms.so -> libxcb-dpms.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-dpms.so.0 -> libxcb-dpms.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-dpms.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-dri2.a +-rwxr-xr-x root/root usr/lib32/libxcb-dri2.la +lrwxrwxrwx root/root usr/lib32/libxcb-dri2.so -> libxcb-dri2.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-dri2.so.0 -> libxcb-dri2.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-dri2.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-glx.a +-rwxr-xr-x root/root usr/lib32/libxcb-glx.la +lrwxrwxrwx root/root usr/lib32/libxcb-glx.so -> libxcb-glx.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-glx.so.0 -> libxcb-glx.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-glx.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-randr.a +-rwxr-xr-x root/root usr/lib32/libxcb-randr.la +lrwxrwxrwx root/root usr/lib32/libxcb-randr.so -> libxcb-randr.so.0.1.0 +lrwxrwxrwx root/root usr/lib32/libxcb-randr.so.0 -> libxcb-randr.so.0.1.0 +-rwxr-xr-x root/root usr/lib32/libxcb-randr.so.0.1.0 +-rw-r--r-- root/root usr/lib32/libxcb-record.a +-rwxr-xr-x root/root usr/lib32/libxcb-record.la +lrwxrwxrwx root/root usr/lib32/libxcb-record.so -> libxcb-record.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-record.so.0 -> libxcb-record.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-record.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-render.a +-rwxr-xr-x root/root usr/lib32/libxcb-render.la +lrwxrwxrwx root/root usr/lib32/libxcb-render.so -> libxcb-render.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-render.so.0 -> libxcb-render.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-render.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-res.a +-rwxr-xr-x root/root usr/lib32/libxcb-res.la +lrwxrwxrwx root/root usr/lib32/libxcb-res.so -> libxcb-res.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-res.so.0 -> libxcb-res.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-res.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-screensaver.a +-rwxr-xr-x root/root usr/lib32/libxcb-screensaver.la +lrwxrwxrwx root/root usr/lib32/libxcb-screensaver.so -> libxcb-screensaver.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-screensaver.so.0 -> libxcb-screensaver.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-screensaver.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-shape.a +-rwxr-xr-x root/root usr/lib32/libxcb-shape.la +lrwxrwxrwx root/root usr/lib32/libxcb-shape.so -> libxcb-shape.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-shape.so.0 -> libxcb-shape.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-shape.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-shm.a +-rwxr-xr-x root/root usr/lib32/libxcb-shm.la +lrwxrwxrwx root/root usr/lib32/libxcb-shm.so -> libxcb-shm.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-shm.so.0 -> libxcb-shm.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-shm.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-sync.a +-rwxr-xr-x root/root usr/lib32/libxcb-sync.la +lrwxrwxrwx root/root usr/lib32/libxcb-sync.so -> libxcb-sync.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-sync.so.0 -> libxcb-sync.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-sync.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-xevie.a +-rwxr-xr-x root/root usr/lib32/libxcb-xevie.la +lrwxrwxrwx root/root usr/lib32/libxcb-xevie.so -> libxcb-xevie.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-xevie.so.0 -> libxcb-xevie.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-xevie.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-xf86dri.a +-rwxr-xr-x root/root usr/lib32/libxcb-xf86dri.la +lrwxrwxrwx root/root usr/lib32/libxcb-xf86dri.so -> libxcb-xf86dri.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-xf86dri.so.0 -> libxcb-xf86dri.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-xf86dri.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-xfixes.a +-rwxr-xr-x root/root usr/lib32/libxcb-xfixes.la +lrwxrwxrwx root/root usr/lib32/libxcb-xfixes.so -> libxcb-xfixes.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-xfixes.so.0 -> libxcb-xfixes.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-xfixes.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-xinerama.a +-rwxr-xr-x root/root usr/lib32/libxcb-xinerama.la +lrwxrwxrwx root/root usr/lib32/libxcb-xinerama.so -> libxcb-xinerama.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-xinerama.so.0 -> libxcb-xinerama.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-xinerama.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-xprint.a +-rwxr-xr-x root/root usr/lib32/libxcb-xprint.la +lrwxrwxrwx root/root usr/lib32/libxcb-xprint.so -> libxcb-xprint.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-xprint.so.0 -> libxcb-xprint.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-xprint.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-xtest.a +-rwxr-xr-x root/root usr/lib32/libxcb-xtest.la +lrwxrwxrwx root/root usr/lib32/libxcb-xtest.so -> libxcb-xtest.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-xtest.so.0 -> libxcb-xtest.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-xtest.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-xv.a +-rwxr-xr-x root/root usr/lib32/libxcb-xv.la +lrwxrwxrwx root/root usr/lib32/libxcb-xv.so -> libxcb-xv.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-xv.so.0 -> libxcb-xv.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-xv.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb-xvmc.a +-rwxr-xr-x root/root usr/lib32/libxcb-xvmc.la +lrwxrwxrwx root/root usr/lib32/libxcb-xvmc.so -> libxcb-xvmc.so.0.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-xvmc.so.0 -> libxcb-xvmc.so.0.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-xvmc.so.0.0.0 +-rw-r--r-- root/root usr/lib32/libxcb.a +-rwxr-xr-x root/root usr/lib32/libxcb.la +lrwxrwxrwx root/root usr/lib32/libxcb.so -> libxcb.so.1.1.0 +lrwxrwxrwx root/root usr/lib32/libxcb.so.1 -> libxcb.so.1.1.0 +-rwxr-xr-x root/root usr/lib32/libxcb.so.1.1.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-composite.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-damage.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-dpms.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-dri2.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-glx.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-randr.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-record.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-render.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-res.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-screensaver.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-shape.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-shm.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-sync.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-xevie.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-xf86dri.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-xfixes.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-xinerama.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-xprint.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-xtest.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-xv.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-xvmc.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb.pc diff --git a/xorg-libxcb-32/.md5sum b/xorg-libxcb-32/.md5sum new file mode 100644 index 00000000..c678665c --- /dev/null +++ b/xorg-libxcb-32/.md5sum @@ -0,0 +1 @@ +2b05856e9d1cb37836aae7406f2f4ce2 libxcb-1.9.tar.bz2 diff --git a/xorg-libxcb-32/Pkgfile b/xorg-libxcb-32/Pkgfile new file mode 100644 index 00000000..310f4679 --- /dev/null +++ b/xorg-libxcb-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: XCB library +# URL: http://xcb.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xcb-proto-32 xorg-libxdmcp-32 xorg-libxau-32 libxslt-32 libpthread-stubs-32 xorg-libxcb + +name=xorg-libxcb-32 +version=1.9 +release=1 +source=(http://xcb.freedesktop.org/dist/libxcb-$version.tar.bz2) + +build() { + cd libxcb-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/{include,share} +} diff --git a/xorg-libxcomposite-32/.32bit b/xorg-libxcomposite-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxcomposite-32/.footprint b/xorg-libxcomposite-32/.footprint new file mode 100644 index 00000000..1598ee8d --- /dev/null +++ b/xorg-libxcomposite-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXcomposite.a +-rwxr-xr-x root/root usr/lib32/libXcomposite.la +lrwxrwxrwx root/root usr/lib32/libXcomposite.so -> libXcomposite.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libXcomposite.so.1 -> libXcomposite.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libXcomposite.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xcomposite.pc diff --git a/xorg-libxcomposite-32/.md5sum b/xorg-libxcomposite-32/.md5sum new file mode 100644 index 00000000..dc573f47 --- /dev/null +++ b/xorg-libxcomposite-32/.md5sum @@ -0,0 +1 @@ +a60e0b5c276d0aa9e2d3b982c98f61c8 libXcomposite-0.4.3.tar.bz2 diff --git a/xorg-libxcomposite-32/Pkgfile b/xorg-libxcomposite-32/Pkgfile new file mode 100644 index 00000000..9c69e31e --- /dev/null +++ b/xorg-libxcomposite-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: X Composite extension client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-fixesproto-32 xorg-libxfixes-32 xorg-libxext-32 xorg-compositeproto-32 xorg-libxcomposite + +name=xorg-libxcomposite-32 +version=0.4.3 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXcomposite-$version.tar.bz2) + +build() { + cd libXcomposite-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/xorg-libxcursor-32/.32bit b/xorg-libxcursor-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxcursor-32/.footprint b/xorg-libxcursor-32/.footprint new file mode 100644 index 00000000..35c4d0db --- /dev/null +++ b/xorg-libxcursor-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXcursor.a +-rwxr-xr-x root/root usr/lib32/libXcursor.la +lrwxrwxrwx root/root usr/lib32/libXcursor.so -> libXcursor.so.1.0.2 +lrwxrwxrwx root/root usr/lib32/libXcursor.so.1 -> libXcursor.so.1.0.2 +-rwxr-xr-x root/root usr/lib32/libXcursor.so.1.0.2 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xcursor.pc diff --git a/xorg-libxcursor-32/.md5sum b/xorg-libxcursor-32/.md5sum new file mode 100644 index 00000000..162ea3f0 --- /dev/null +++ b/xorg-libxcursor-32/.md5sum @@ -0,0 +1 @@ +52efa81b7f26c8eda13510a2fba98eea libXcursor-1.1.13.tar.bz2 diff --git a/xorg-libxcursor-32/Pkgfile b/xorg-libxcursor-32/Pkgfile new file mode 100644 index 00000000..b455af97 --- /dev/null +++ b/xorg-libxcursor-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg lib libXcursor +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libxrender-32 xorg-libxfixes-32 xorg-libx11-32 xorg-fixesproto-32 xorg-libxcursor + +name=xorg-libxcursor-32 +version=1.1.13 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXcursor-$version.tar.bz2) + +build() { + cd libXcursor-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/xorg-libxdamage-32/.32bit b/xorg-libxdamage-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxdamage-32/.footprint b/xorg-libxdamage-32/.footprint new file mode 100644 index 00000000..999615be --- /dev/null +++ b/xorg-libxdamage-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXdamage.a +-rwxr-xr-x root/root usr/lib32/libXdamage.la +lrwxrwxrwx root/root usr/lib32/libXdamage.so -> libXdamage.so.1.1.0 +lrwxrwxrwx root/root usr/lib32/libXdamage.so.1 -> libXdamage.so.1.1.0 +-rwxr-xr-x root/root usr/lib32/libXdamage.so.1.1.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xdamage.pc diff --git a/xorg-libxdamage-32/.md5sum b/xorg-libxdamage-32/.md5sum new file mode 100644 index 00000000..efdd647f --- /dev/null +++ b/xorg-libxdamage-32/.md5sum @@ -0,0 +1 @@ +44774e1a065158b52f1a0da5100cebec libXdamage-1.1.3.tar.bz2 diff --git a/xorg-libxdamage-32/Pkgfile b/xorg-libxdamage-32/Pkgfile new file mode 100644 index 00000000..e2912941 --- /dev/null +++ b/xorg-libxdamage-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: X Damage extension client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-fixesproto-32 xorg-libxfixes-32 xorg-xextproto-32 xorg-damageproto-32 xorg-libxdamage + +name=xorg-libxdamage-32 +version=1.1.3 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXdamage-$version.tar.bz2) + +build() { + cd libXdamage-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-libxdmcp-32/.32bit b/xorg-libxdmcp-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxdmcp-32/.footprint b/xorg-libxdmcp-32/.footprint new file mode 100644 index 00000000..0a0ee762 --- /dev/null +++ b/xorg-libxdmcp-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXdmcp.a +-rwxr-xr-x root/root usr/lib32/libXdmcp.la +lrwxrwxrwx root/root usr/lib32/libXdmcp.so -> libXdmcp.so.6.0.0 +lrwxrwxrwx root/root usr/lib32/libXdmcp.so.6 -> libXdmcp.so.6.0.0 +-rwxr-xr-x root/root usr/lib32/libXdmcp.so.6.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xdmcp.pc diff --git a/xorg-libxdmcp-32/.md5sum b/xorg-libxdmcp-32/.md5sum new file mode 100644 index 00000000..c86429cf --- /dev/null +++ b/xorg-libxdmcp-32/.md5sum @@ -0,0 +1 @@ +b94af6cef211cf3ee256f7e81f70fcd9 libXdmcp-1.1.1.tar.bz2 diff --git a/xorg-libxdmcp-32/Pkgfile b/xorg-libxdmcp-32/Pkgfile new file mode 100644 index 00000000..ab288347 --- /dev/null +++ b/xorg-libxdmcp-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: xorg lib libXdmcp +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xproto-32 xorg-libxdmcp + +name=xorg-libxdmcp-32 +version=1.1.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-$version.tar.bz2) + +build() { + cd libXdmcp-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/libXdmcp/xdmcp.xml + find $PKG/usr/share -type d -delete + rm -rf $PKG/usr/include +} diff --git a/xorg-libxext-32/.32bit b/xorg-libxext-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxext-32/.footprint b/xorg-libxext-32/.footprint new file mode 100644 index 00000000..bc540124 --- /dev/null +++ b/xorg-libxext-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXext.a +-rwxr-xr-x root/root usr/lib32/libXext.la +lrwxrwxrwx root/root usr/lib32/libXext.so -> libXext.so.6.4.0 +lrwxrwxrwx root/root usr/lib32/libXext.so.6 -> libXext.so.6.4.0 +-rwxr-xr-x root/root usr/lib32/libXext.so.6.4.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xext.pc diff --git a/xorg-libxext-32/.md5sum b/xorg-libxext-32/.md5sum new file mode 100644 index 00000000..d295377f --- /dev/null +++ b/xorg-libxext-32/.md5sum @@ -0,0 +1 @@ +71251a22bc47068d60a95f50ed2ec3cf libXext-1.3.1.tar.bz2 diff --git a/xorg-libxext-32/Pkgfile b/xorg-libxext-32/Pkgfile new file mode 100644 index 00000000..6beb00bc --- /dev/null +++ b/xorg-libxext-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: Common X extensions client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xproto-32 xorg-libx11-32 xorg-xextproto-32 xorg-libxau-32 xorg-libxext + +name=xorg-libxext-32 +version=1.3.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXext-$version.tar.bz2) + +build() { + cd libXext-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/{include,man,share} +} diff --git a/xorg-libxfixes-32/.32bit b/xorg-libxfixes-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxfixes-32/.footprint b/xorg-libxfixes-32/.footprint new file mode 100644 index 00000000..30fb5d2e --- /dev/null +++ b/xorg-libxfixes-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXfixes.a +-rwxr-xr-x root/root usr/lib32/libXfixes.la +lrwxrwxrwx root/root usr/lib32/libXfixes.so -> libXfixes.so.3.1.0 +lrwxrwxrwx root/root usr/lib32/libXfixes.so.3 -> libXfixes.so.3.1.0 +-rwxr-xr-x root/root usr/lib32/libXfixes.so.3.1.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xfixes.pc diff --git a/xorg-libxfixes-32/.md5sum b/xorg-libxfixes-32/.md5sum new file mode 100644 index 00000000..ee14a92c --- /dev/null +++ b/xorg-libxfixes-32/.md5sum @@ -0,0 +1 @@ +678071bd7f9f7467e2fc712d81022318 libXfixes-5.0.tar.bz2 diff --git a/xorg-libxfixes-32/Pkgfile b/xorg-libxfixes-32/Pkgfile new file mode 100644 index 00000000..d73269bf --- /dev/null +++ b/xorg-libxfixes-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: X Fixes extension client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-xproto-32 xorg-fixesproto-32 xorg-xextproto-32 xorg-libxfixes + +name=xorg-libxfixes-32 +version=5.0 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXfixes-$version.tar.bz2) + +build() { + cd libXfixes-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/xorg-libxft-32/.32bit b/xorg-libxft-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxft-32/.footprint b/xorg-libxft-32/.footprint new file mode 100644 index 00000000..82921d5d --- /dev/null +++ b/xorg-libxft-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXft.a +-rwxr-xr-x root/root usr/lib32/libXft.la +lrwxrwxrwx root/root usr/lib32/libXft.so -> libXft.so.2.3.1 +lrwxrwxrwx root/root usr/lib32/libXft.so.2 -> libXft.so.2.3.1 +-rwxr-xr-x root/root usr/lib32/libXft.so.2.3.1 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xft.pc diff --git a/xorg-libxft-32/.md5sum b/xorg-libxft-32/.md5sum new file mode 100644 index 00000000..3152182e --- /dev/null +++ b/xorg-libxft-32/.md5sum @@ -0,0 +1 @@ +78d64dece560c9e8699199f3faa521c0 libXft-2.3.1.tar.bz2 diff --git a/xorg-libxft-32/Pkgfile b/xorg-libxft-32/Pkgfile new file mode 100644 index 00000000..59119e47 --- /dev/null +++ b/xorg-libxft-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: X font rendering client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libxrender-32 freetype-32 fontconfig-32 xorg-libxft + +name=xorg-libxft-32 +version=2.3.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXft-$version.tar.bz2) + +build() { + cd libXft-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/xorg-libxi-32/.32bit b/xorg-libxi-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxi-32/.footprint b/xorg-libxi-32/.footprint new file mode 100644 index 00000000..2913de9e --- /dev/null +++ b/xorg-libxi-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXi.a +-rwxr-xr-x root/root usr/lib32/libXi.la +lrwxrwxrwx root/root usr/lib32/libXi.so -> libXi.so.6.1.0 +lrwxrwxrwx root/root usr/lib32/libXi.so.6 -> libXi.so.6.1.0 +-rwxr-xr-x root/root usr/lib32/libXi.so.6.1.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xi.pc diff --git a/xorg-libxi-32/.md5sum b/xorg-libxi-32/.md5sum new file mode 100644 index 00000000..2215b199 --- /dev/null +++ b/xorg-libxi-32/.md5sum @@ -0,0 +1 @@ +78ee882e1ff3b192cf54070bdb19938e libXi-1.6.1.tar.bz2 diff --git a/xorg-libxi-32/Pkgfile b/xorg-libxi-32/Pkgfile new file mode 100644 index 00000000..58f453df --- /dev/null +++ b/xorg-libxi-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: X Input client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xproto-32 xorg-libx11-32 xorg-xextproto-32 xorg-libxext-32 xorg-inputproto xorg-libxi + +name=xorg-libxi-32 +version=1.6.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXi-$version.tar.bz2) + +build() { + cd libXi-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/{include,man,share} +} diff --git a/xorg-libxinerama-32/.32bit b/xorg-libxinerama-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxinerama-32/.footprint b/xorg-libxinerama-32/.footprint new file mode 100644 index 00000000..fac31828 --- /dev/null +++ b/xorg-libxinerama-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXinerama.a +-rwxr-xr-x root/root usr/lib32/libXinerama.la +lrwxrwxrwx root/root usr/lib32/libXinerama.so -> libXinerama.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libXinerama.so.1 -> libXinerama.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libXinerama.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xinerama.pc diff --git a/xorg-libxinerama-32/.md5sum b/xorg-libxinerama-32/.md5sum new file mode 100644 index 00000000..039298b5 --- /dev/null +++ b/xorg-libxinerama-32/.md5sum @@ -0,0 +1 @@ +cb45d6672c93a608f003b6404f1dd462 libXinerama-1.1.2.tar.bz2 diff --git a/xorg-libxinerama-32/Pkgfile b/xorg-libxinerama-32/Pkgfile new file mode 100644 index 00000000..0cc2586d --- /dev/null +++ b/xorg-libxinerama-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: X Xinerama client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-xextproto-32 xorg-libxext-32 xorg-xineramaproto-32 xorg-libxinerama + +name=xorg-libxinerama-32 +version=1.1.2 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXinerama-$version.tar.bz2) + +build() { + cd libXinerama-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/xorg-libxkbfile-32/.32bit b/xorg-libxkbfile-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxkbfile-32/.footprint b/xorg-libxkbfile-32/.footprint new file mode 100644 index 00000000..2d9587a6 --- /dev/null +++ b/xorg-libxkbfile-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libxkbfile.a +-rwxr-xr-x root/root usr/lib32/libxkbfile.la +lrwxrwxrwx root/root usr/lib32/libxkbfile.so -> libxkbfile.so.1.0.2 +lrwxrwxrwx root/root usr/lib32/libxkbfile.so.1 -> libxkbfile.so.1.0.2 +-rwxr-xr-x root/root usr/lib32/libxkbfile.so.1.0.2 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xkbfile.pc diff --git a/xorg-libxkbfile-32/.md5sum b/xorg-libxkbfile-32/.md5sum new file mode 100644 index 00000000..4045a723 --- /dev/null +++ b/xorg-libxkbfile-32/.md5sum @@ -0,0 +1 @@ +19e6533ae64abba0773816a23f2b9507 libxkbfile-1.0.8.tar.bz2 diff --git a/xorg-libxkbfile-32/Pkgfile b/xorg-libxkbfile-32/Pkgfile new file mode 100644 index 00000000..7b0766fa --- /dev/null +++ b/xorg-libxkbfile-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg lib libxkbfile +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-kbproto-32 xorg-libxkbfile + +name=xorg-libxkbfile-32 +version=1.0.8 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libxkbfile-$version.tar.bz2) + +build() { + cd libxkbfile-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-libxkbui-32/.32bit b/xorg-libxkbui-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxkbui-32/.footprint b/xorg-libxkbui-32/.footprint new file mode 100644 index 00000000..11e62d85 --- /dev/null +++ b/xorg-libxkbui-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libxkbui.a +-rwxr-xr-x root/root usr/lib32/libxkbui.la +lrwxrwxrwx root/root usr/lib32/libxkbui.so -> libxkbui.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libxkbui.so.1 -> libxkbui.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libxkbui.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xkbui.pc diff --git a/xorg-libxkbui-32/.md5sum b/xorg-libxkbui-32/.md5sum new file mode 100644 index 00000000..e182fbb5 --- /dev/null +++ b/xorg-libxkbui-32/.md5sum @@ -0,0 +1 @@ +1143e456f7429e18e88f2eadb2f2b6b1 libxkbui-1.0.2.tar.bz2 diff --git a/xorg-libxkbui-32/Pkgfile b/xorg-libxkbui-32/Pkgfile new file mode 100644 index 00000000..65cd251c --- /dev/null +++ b/xorg-libxkbui-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg lib libxkbui +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-libxt-32 xorg-libxkbfile-32 xorg-libxkbui + +name=xorg-libxkbui-32 +version=1.0.2 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libxkbui-$version.tar.bz2) + +build() { + cd libxkbui-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-libxmu-32/.32bit b/xorg-libxmu-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxmu-32/.footprint b/xorg-libxmu-32/.footprint new file mode 100644 index 00000000..d74e8bec --- /dev/null +++ b/xorg-libxmu-32/.footprint @@ -0,0 +1,15 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXmu.a +-rwxr-xr-x root/root usr/lib32/libXmu.la +lrwxrwxrwx root/root usr/lib32/libXmu.so -> libXmu.so.6.2.0 +lrwxrwxrwx root/root usr/lib32/libXmu.so.6 -> libXmu.so.6.2.0 +-rwxr-xr-x root/root usr/lib32/libXmu.so.6.2.0 +-rw-r--r-- root/root usr/lib32/libXmuu.a +-rwxr-xr-x root/root usr/lib32/libXmuu.la +lrwxrwxrwx root/root usr/lib32/libXmuu.so -> libXmuu.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libXmuu.so.1 -> libXmuu.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libXmuu.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xmu.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xmuu.pc diff --git a/xorg-libxmu-32/.md5sum b/xorg-libxmu-32/.md5sum new file mode 100644 index 00000000..6ec90bc3 --- /dev/null +++ b/xorg-libxmu-32/.md5sum @@ -0,0 +1 @@ +a4efff8de85bd45dd3da124285d10c00 libXmu-1.1.1.tar.bz2 diff --git a/xorg-libxmu-32/Pkgfile b/xorg-libxmu-32/Pkgfile new file mode 100644 index 00000000..12a7a2e6 --- /dev/null +++ b/xorg-libxmu-32/Pkgfile @@ -0,0 +1,23 @@ +# Description: xorg lib libXmu +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libxt-32 xorg-xextproto-32 xorg-libxext-32 xorg-libx11-32 xorg-libxmu + +name=xorg-libxmu-32 +version=1.1.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXmu-$version.tar.bz2) + +build() { + cd libXmu-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/libXmu/{Xmu.xml,xlogo.svg} + find $PKG/usr/share -type d -delete + + rm -r $PKG/usr/include +} diff --git a/xorg-libxrandr-32/.32bit b/xorg-libxrandr-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxrandr-32/.footprint b/xorg-libxrandr-32/.footprint new file mode 100644 index 00000000..6138efc7 --- /dev/null +++ b/xorg-libxrandr-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXrandr.a +-rwxr-xr-x root/root usr/lib32/libXrandr.la +lrwxrwxrwx root/root usr/lib32/libXrandr.so -> libXrandr.so.2.2.0 +lrwxrwxrwx root/root usr/lib32/libXrandr.so.2 -> libXrandr.so.2.2.0 +-rwxr-xr-x root/root usr/lib32/libXrandr.so.2.2.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xrandr.pc diff --git a/xorg-libxrandr-32/.md5sum b/xorg-libxrandr-32/.md5sum new file mode 100644 index 00000000..a3b3674f --- /dev/null +++ b/xorg-libxrandr-32/.md5sum @@ -0,0 +1 @@ +0c843636124cc1494e3d87df16957672 libXrandr-1.4.0.tar.bz2 diff --git a/xorg-libxrandr-32/Pkgfile b/xorg-libxrandr-32/Pkgfile new file mode 100644 index 00000000..62c4a20d --- /dev/null +++ b/xorg-libxrandr-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: X Resize and Rotate extension client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-randrproto-32 xorg-xextproto-32 xorg-libxext-32 xorg-libxrender-32 xorg-renderproto-32 xorg-libxrandr + +name=xorg-libxrandr-32 +version=1.4.0 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXrandr-$version.tar.bz2) + +build() { + cd libXrandr-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/xorg-libxrender-32/.32bit b/xorg-libxrender-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxrender-32/.footprint b/xorg-libxrender-32/.footprint new file mode 100644 index 00000000..2766386f --- /dev/null +++ b/xorg-libxrender-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXrender.a +-rwxr-xr-x root/root usr/lib32/libXrender.la +lrwxrwxrwx root/root usr/lib32/libXrender.so -> libXrender.so.1.3.0 +lrwxrwxrwx root/root usr/lib32/libXrender.so.1 -> libXrender.so.1.3.0 +-rwxr-xr-x root/root usr/lib32/libXrender.so.1.3.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xrender.pc diff --git a/xorg-libxrender-32/.md5sum b/xorg-libxrender-32/.md5sum new file mode 100644 index 00000000..50c42af5 --- /dev/null +++ b/xorg-libxrender-32/.md5sum @@ -0,0 +1 @@ +ee62f4c7f0f16ced4da63308963ccad2 libXrender-0.9.7.tar.bz2 diff --git a/xorg-libxrender-32/Pkgfile b/xorg-libxrender-32/Pkgfile new file mode 100644 index 00000000..5a1fc4d1 --- /dev/null +++ b/xorg-libxrender-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: X Render extension client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-renderproto-32 xorg-libxrender + +name=xorg-libxrender-32 +version=0.9.7 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXrender-$version.tar.bz2) + +build() { + cd libXrender-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/{include,share} +} diff --git a/xorg-libxt-32/.32bit b/xorg-libxt-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxt-32/.footprint b/xorg-libxt-32/.footprint new file mode 100644 index 00000000..94a75f2d --- /dev/null +++ b/xorg-libxt-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXt.a +-rwxr-xr-x root/root usr/lib32/libXt.la +lrwxrwxrwx root/root usr/lib32/libXt.so -> libXt.so.6.0.0 +lrwxrwxrwx root/root usr/lib32/libXt.so.6 -> libXt.so.6.0.0 +-rwxr-xr-x root/root usr/lib32/libXt.so.6.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xt.pc diff --git a/xorg-libxt-32/.md5sum b/xorg-libxt-32/.md5sum new file mode 100644 index 00000000..aca00d41 --- /dev/null +++ b/xorg-libxt-32/.md5sum @@ -0,0 +1 @@ +a6f137ae100e74ebe3b71eb4a38c40b3 libXt-1.1.3.tar.bz2 diff --git a/xorg-libxt-32/Pkgfile b/xorg-libxt-32/Pkgfile new file mode 100644 index 00000000..fc54488a --- /dev/null +++ b/xorg-libxt-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg lib libXt +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libsm-32 xorg-libx11-32 xorg-xproto-32 xorg-kbproto-32 xorg-libxt + +name=xorg-libxt-32 +version=1.1.3 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXt-$version.tar.bz2) + +build() { + cd libXt-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man,share} +} diff --git a/xorg-libxtst-32/.32bit b/xorg-libxtst-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxtst-32/.footprint b/xorg-libxtst-32/.footprint new file mode 100644 index 00000000..e1829518 --- /dev/null +++ b/xorg-libxtst-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXtst.a +-rwxr-xr-x root/root usr/lib32/libXtst.la +lrwxrwxrwx root/root usr/lib32/libXtst.so -> libXtst.so.6.1.0 +lrwxrwxrwx root/root usr/lib32/libXtst.so.6 -> libXtst.so.6.1.0 +-rwxr-xr-x root/root usr/lib32/libXtst.so.6.1.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xtst.pc diff --git a/xorg-libxtst-32/.md5sum b/xorg-libxtst-32/.md5sum new file mode 100644 index 00000000..c5dab62b --- /dev/null +++ b/xorg-libxtst-32/.md5sum @@ -0,0 +1 @@ +e8abc5c00c666f551cf26aa53819d592 libXtst-1.2.1.tar.bz2 diff --git a/xorg-libxtst-32/Pkgfile b/xorg-libxtst-32/Pkgfile new file mode 100644 index 00000000..0eb2c49e --- /dev/null +++ b/xorg-libxtst-32/Pkgfile @@ -0,0 +1,23 @@ +# Description: xorg lib libXtst +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-libxext-32 xorg-libxi-32 xorg-recordproto-32 xorg-libxtst + +name=xorg-libxtst-32 +version=1.2.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXtst-$version.tar.bz2) + +build() { + cd libXtst-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/libXtst/{record,xtest}lib.xml + find $PKG/usr/share -type d -delete + + rm -r $PKG/usr/include $PKG/usr/man +} diff --git a/xorg-libxv-32/.32bit b/xorg-libxv-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxv-32/.footprint b/xorg-libxv-32/.footprint new file mode 100644 index 00000000..9bb8f2b9 --- /dev/null +++ b/xorg-libxv-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXv.a +-rwxr-xr-x root/root usr/lib32/libXv.la +lrwxrwxrwx root/root usr/lib32/libXv.so -> libXv.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libXv.so.1 -> libXv.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libXv.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xv.pc diff --git a/xorg-libxv-32/.md5sum b/xorg-libxv-32/.md5sum new file mode 100644 index 00000000..255fbeb3 --- /dev/null +++ b/xorg-libxv-32/.md5sum @@ -0,0 +1 @@ +5e1ac203ccd3ce3e89755ed1fbe75b0b libXv-1.0.7.tar.bz2 diff --git a/xorg-libxv-32/Pkgfile b/xorg-libxv-32/Pkgfile new file mode 100644 index 00000000..e06aef6c --- /dev/null +++ b/xorg-libxv-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: X Video extension client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-libxext-32 xorg-videoproto-32 xorg-libxv + +name=xorg-libxv-32 +version=1.0.7 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXv-$version.tar.bz2) + +build() { + cd libXv-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/xorg-libxvmc-32/.32bit b/xorg-libxvmc-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxvmc-32/.footprint b/xorg-libxvmc-32/.footprint new file mode 100644 index 00000000..57ebd280 --- /dev/null +++ b/xorg-libxvmc-32/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXvMC.a +-rwxr-xr-x root/root usr/lib32/libXvMC.la +lrwxrwxrwx root/root usr/lib32/libXvMC.so -> libXvMC.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libXvMC.so.1 -> libXvMC.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libXvMC.so.1.0.0 +-rw-r--r-- root/root usr/lib32/libXvMCW.a +-rwxr-xr-x root/root usr/lib32/libXvMCW.la +lrwxrwxrwx root/root usr/lib32/libXvMCW.so -> libXvMCW.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libXvMCW.so.1 -> libXvMCW.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libXvMCW.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xvmc.pc diff --git a/xorg-libxvmc-32/.md5sum b/xorg-libxvmc-32/.md5sum new file mode 100644 index 00000000..5798f6ab --- /dev/null +++ b/xorg-libxvmc-32/.md5sum @@ -0,0 +1 @@ +3340c99ff556ea2457b4be47f5cb96fa libXvMC-1.0.7.tar.bz2 diff --git a/xorg-libxvmc-32/Pkgfile b/xorg-libxvmc-32/Pkgfile new file mode 100644 index 00000000..610e22c3 --- /dev/null +++ b/xorg-libxvmc-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: X Video Motion Compensation extension client library +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libx11-32 xorg-libxext-32 xorg-libxv-32 xorg-libxvmc + +name=xorg-libxvmc-32 +version=1.0.7 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXvMC-$version.tar.bz2) + +build() { + cd libXvMC-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/{include,share} +} diff --git a/xorg-libxxf86dga-32/.32bit b/xorg-libxxf86dga-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxxf86dga-32/.footprint b/xorg-libxxf86dga-32/.footprint new file mode 100644 index 00000000..5b5c8d2e --- /dev/null +++ b/xorg-libxxf86dga-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXxf86dga.a +-rwxr-xr-x root/root usr/lib32/libXxf86dga.la +lrwxrwxrwx root/root usr/lib32/libXxf86dga.so -> libXxf86dga.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libXxf86dga.so.1 -> libXxf86dga.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libXxf86dga.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xxf86dga.pc diff --git a/xorg-libxxf86dga-32/.md5sum b/xorg-libxxf86dga-32/.md5sum new file mode 100644 index 00000000..838d8304 --- /dev/null +++ b/xorg-libxxf86dga-32/.md5sum @@ -0,0 +1 @@ +b7f38465c46e7145782d37dbb9da8c09 libXxf86dga-1.1.3.tar.bz2 diff --git a/xorg-libxxf86dga-32/Pkgfile b/xorg-libxxf86dga-32/Pkgfile new file mode 100644 index 00000000..438548da --- /dev/null +++ b/xorg-libxxf86dga-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg lib libXxf86dga +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xproto-32 xorg-libx11-32 xorg-libxext-32 xorg-xf86dgaproto-32 xorg-libxxf86dga + +name=xorg-libxxf86dga-32 +version=1.1.3 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXxf86dga-$version.tar.bz2) + +build() { + cd libXxf86dga-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/xorg-libxxf86vm-32/.32bit b/xorg-libxxf86vm-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-libxxf86vm-32/.footprint b/xorg-libxxf86vm-32/.footprint new file mode 100644 index 00000000..9207effe --- /dev/null +++ b/xorg-libxxf86vm-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libXxf86vm.a +-rwxr-xr-x root/root usr/lib32/libXxf86vm.la +lrwxrwxrwx root/root usr/lib32/libXxf86vm.so -> libXxf86vm.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libXxf86vm.so.1 -> libXxf86vm.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libXxf86vm.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xxf86vm.pc diff --git a/xorg-libxxf86vm-32/.md5sum b/xorg-libxxf86vm-32/.md5sum new file mode 100644 index 00000000..976c87c1 --- /dev/null +++ b/xorg-libxxf86vm-32/.md5sum @@ -0,0 +1 @@ +ffd93bcedd8b2b5aeabf184e7b91f326 libXxf86vm-1.1.2.tar.bz2 diff --git a/xorg-libxxf86vm-32/Pkgfile b/xorg-libxxf86vm-32/Pkgfile new file mode 100644 index 00000000..9cb5d470 --- /dev/null +++ b/xorg-libxxf86vm-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg lib libXxf86vm +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xproto-32 xorg-libx11-32 xorg-libxext-32 xorg-xf86vidmodeproto-32 xorg-libxxf86vm + +name=xorg-libxxf86vm-32 +version=1.1.2 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/libXxf86vm-$version.tar.bz2) + +build() { + cd libXxf86vm-$version + + ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{include,man} +} diff --git a/xorg-randrproto-32/.32bit b/xorg-randrproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-randrproto-32/.footprint b/xorg-randrproto-32/.footprint new file mode 100644 index 00000000..109bc2b7 --- /dev/null +++ b/xorg-randrproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/randrproto.pc diff --git a/xorg-randrproto-32/.md5sum b/xorg-randrproto-32/.md5sum new file mode 100644 index 00000000..5379fb86 --- /dev/null +++ b/xorg-randrproto-32/.md5sum @@ -0,0 +1 @@ +ce4d0b05675968e4c83e003cc809660d randrproto-1.4.0.tar.bz2 diff --git a/xorg-randrproto-32/Pkgfile b/xorg-randrproto-32/Pkgfile new file mode 100644 index 00000000..b2fb7a69 --- /dev/null +++ b/xorg-randrproto-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: xorg proto randrproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-randrproto + +name=xorg-randrproto-32 +version=1.4.0 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/randrproto-$version.tar.bz2) + +build() { + cd randrproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -r $PKG/usr/{include,share} +} diff --git a/xorg-recordproto-32/.32bit b/xorg-recordproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-recordproto-32/.footprint b/xorg-recordproto-32/.footprint new file mode 100644 index 00000000..acdef199 --- /dev/null +++ b/xorg-recordproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/recordproto.pc diff --git a/xorg-recordproto-32/.md5sum b/xorg-recordproto-32/.md5sum new file mode 100644 index 00000000..4b40be53 --- /dev/null +++ b/xorg-recordproto-32/.md5sum @@ -0,0 +1 @@ +1b4e5dede5ea51906f1530ca1e21d216 recordproto-1.14.2.tar.bz2 diff --git a/xorg-recordproto-32/Pkgfile b/xorg-recordproto-32/Pkgfile new file mode 100644 index 00000000..c30a71f9 --- /dev/null +++ b/xorg-recordproto-32/Pkgfile @@ -0,0 +1,23 @@ +# Description: xorg proto recordproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-recordproto + +name=xorg-recordproto-32 +version=1.14.2 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/recordproto-$version.tar.bz2) + +build() { + cd recordproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/recordproto/record.xml + find $PKG/usr/share -type d -delete + + rm -r $PKG/usr/include +} diff --git a/xorg-renderproto-32/.footprint b/xorg-renderproto-32/.footprint new file mode 100644 index 00000000..6dedd6bf --- /dev/null +++ b/xorg-renderproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/renderproto.pc diff --git a/xorg-renderproto-32/.md5sum b/xorg-renderproto-32/.md5sum new file mode 100644 index 00000000..2add817c --- /dev/null +++ b/xorg-renderproto-32/.md5sum @@ -0,0 +1 @@ +a914ccc1de66ddeb4b611c6b0686e274 renderproto-0.11.1.tar.bz2 diff --git a/xorg-renderproto-32/Pkgfile b/xorg-renderproto-32/Pkgfile new file mode 100644 index 00000000..84bbd9ac --- /dev/null +++ b/xorg-renderproto-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: xorg proto renderproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-renderproto + +name=xorg-renderproto-32 +version=0.11.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/renderproto-$version.tar.bz2) + +build() { + cd renderproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/{include,share} +} diff --git a/xorg-videoproto-32/.32bit b/xorg-videoproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-videoproto-32/.footprint b/xorg-videoproto-32/.footprint new file mode 100644 index 00000000..5d119f1c --- /dev/null +++ b/xorg-videoproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/videoproto.pc diff --git a/xorg-videoproto-32/.md5sum b/xorg-videoproto-32/.md5sum new file mode 100644 index 00000000..3a0e8b1d --- /dev/null +++ b/xorg-videoproto-32/.md5sum @@ -0,0 +1 @@ +c3b348c6e2031b72b11ae63fc7f805c2 videoproto-2.3.1.tar.bz2 diff --git a/xorg-videoproto-32/Pkgfile b/xorg-videoproto-32/Pkgfile new file mode 100644 index 00000000..f1214054 --- /dev/null +++ b/xorg-videoproto-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: xorg proto videoproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-videoproto + +name=xorg-videoproto-32 +version=2.3.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/videoproto-$version.tar.bz2) + +build() { + cd videoproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/videoproto/xv-protocol-v2.txt + rmdir $PKG/usr/share/{doc/videoproto,doc,} + rm -rf $PKG/usr/include +} diff --git a/xorg-xcb-proto-32/.32bit b/xorg-xcb-proto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-xcb-proto-32/.footprint b/xorg-xcb-proto-32/.footprint new file mode 100644 index 00000000..ced61b18 --- /dev/null +++ b/xorg-xcb-proto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-proto.pc diff --git a/xorg-xcb-proto-32/.md5sum b/xorg-xcb-proto-32/.md5sum new file mode 100644 index 00000000..6498fa54 --- /dev/null +++ b/xorg-xcb-proto-32/.md5sum @@ -0,0 +1 @@ +a5de3432cc6e43cc6a27f241dbb991b1 xcb-proto-1.8.tar.bz2 diff --git a/xorg-xcb-proto-32/Pkgfile b/xorg-xcb-proto-32/Pkgfile new file mode 100644 index 00000000..03f47f31 --- /dev/null +++ b/xorg-xcb-proto-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: XCB X protocol descriptions +# URL: http://xcb.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: python-32 xorg-xcb-proto + +name=xorg-xcb-proto-32 +version=1.8 +release=1 +source=(http://xcb.freedesktop.org/dist/xcb-proto-$version.tar.bz2) + +build() { + cd xcb-proto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/{lib,share} +} diff --git a/xorg-xcb-util-32/.32bit b/xorg-xcb-util-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-xcb-util-32/.footprint b/xorg-xcb-util-32/.footprint new file mode 100644 index 00000000..5d29c115 --- /dev/null +++ b/xorg-xcb-util-32/.footprint @@ -0,0 +1,12 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libxcb-util.a +-rwxr-xr-x root/root usr/lib32/libxcb-util.la +lrwxrwxrwx root/root usr/lib32/libxcb-util.so -> libxcb-util.so.1.0.0 +lrwxrwxrwx root/root usr/lib32/libxcb-util.so.1 -> libxcb-util.so.1.0.0 +-rwxr-xr-x root/root usr/lib32/libxcb-util.so.1.0.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-atom.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-aux.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-event.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/xcb-util.pc diff --git a/xorg-xcb-util-32/.md5sum b/xorg-xcb-util-32/.md5sum new file mode 100644 index 00000000..bbace732 --- /dev/null +++ b/xorg-xcb-util-32/.md5sum @@ -0,0 +1 @@ +01dcc7a16d5020530552712710646ea2 xcb-util-0.3.9.tar.bz2 diff --git a/xorg-xcb-util-32/Pkgfile b/xorg-xcb-util-32/Pkgfile new file mode 100644 index 00000000..5b023fa0 --- /dev/null +++ b/xorg-xcb-util-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: XCB utilities library +# URL: http://xcb.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-libxcb-32 xorg-xcb-util + +name=xorg-xcb-util-32 +version=0.3.9 +release=2 +source=(http://www.x.org/releases/individual/xcb/xcb-util-$version.tar.bz2) + +build() { + cd xcb-util-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-xextproto-32/.32bit b/xorg-xextproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-xextproto-32/.footprint b/xorg-xextproto-32/.footprint new file mode 100644 index 00000000..46280417 --- /dev/null +++ b/xorg-xextproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xextproto.pc diff --git a/xorg-xextproto-32/.md5sum b/xorg-xextproto-32/.md5sum new file mode 100644 index 00000000..4b94460d --- /dev/null +++ b/xorg-xextproto-32/.md5sum @@ -0,0 +1 @@ +eaac343af094e6b608cf15cfba0f77c5 xextproto-7.2.1.tar.bz2 diff --git a/xorg-xextproto-32/Pkgfile b/xorg-xextproto-32/Pkgfile new file mode 100644 index 00000000..b375654a --- /dev/null +++ b/xorg-xextproto-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: xorg proto xextproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xextproto + +name=xorg-xextproto-32 +version=7.2.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/xextproto-$version.tar.bz2) + +build() { + cd xextproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/xextproto/*.xml + rmdir $PKG/usr/share/{doc/xextproto,doc,} + rm -rf $PKG/usr/include +} diff --git a/xorg-xf86bigfontproto-32/.32bit b/xorg-xf86bigfontproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-xf86bigfontproto-32/.footprint b/xorg-xf86bigfontproto-32/.footprint new file mode 100644 index 00000000..5a2e5567 --- /dev/null +++ b/xorg-xf86bigfontproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xf86bigfontproto.pc diff --git a/xorg-xf86bigfontproto-32/.md5sum b/xorg-xf86bigfontproto-32/.md5sum new file mode 100644 index 00000000..c513e2db --- /dev/null +++ b/xorg-xf86bigfontproto-32/.md5sum @@ -0,0 +1 @@ +120e226ede5a4687b25dd357cc9b8efe xf86bigfontproto-1.2.0.tar.bz2 diff --git a/xorg-xf86bigfontproto-32/Pkgfile b/xorg-xf86bigfontproto-32/Pkgfile new file mode 100644 index 00000000..7c2ed55c --- /dev/null +++ b/xorg-xf86bigfontproto-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg proto xf86bigfontproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xf86bigfontproto + +name=xorg-xf86bigfontproto-32 +version=1.2.0 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/xf86bigfontproto-$version.tar.bz2) + +build() { + cd xf86bigfontproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-xf86dgaproto-32/.32bit b/xorg-xf86dgaproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-xf86dgaproto-32/.footprint b/xorg-xf86dgaproto-32/.footprint new file mode 100644 index 00000000..204379d3 --- /dev/null +++ b/xorg-xf86dgaproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xf86dgaproto.pc diff --git a/xorg-xf86dgaproto-32/.md5sum b/xorg-xf86dgaproto-32/.md5sum new file mode 100644 index 00000000..1033ba44 --- /dev/null +++ b/xorg-xf86dgaproto-32/.md5sum @@ -0,0 +1 @@ +a036dc2fcbf052ec10621fd48b68dbb1 xf86dgaproto-2.1.tar.bz2 diff --git a/xorg-xf86dgaproto-32/Pkgfile b/xorg-xf86dgaproto-32/Pkgfile new file mode 100644 index 00000000..370dd080 --- /dev/null +++ b/xorg-xf86dgaproto-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg proto xf86dgaproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xf86dgaproto + +name=xorg-xf86dgaproto-32 +version=2.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/xf86dgaproto-$version.tar.bz2) + +build() { + cd xf86dgaproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-xf86vidmodeproto-32/.32bit b/xorg-xf86vidmodeproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-xf86vidmodeproto-32/.footprint b/xorg-xf86vidmodeproto-32/.footprint new file mode 100644 index 00000000..93e2cad5 --- /dev/null +++ b/xorg-xf86vidmodeproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xf86vidmodeproto.pc diff --git a/xorg-xf86vidmodeproto-32/.md5sum b/xorg-xf86vidmodeproto-32/.md5sum new file mode 100644 index 00000000..d0d45f96 --- /dev/null +++ b/xorg-xf86vidmodeproto-32/.md5sum @@ -0,0 +1 @@ +e793ecefeaecfeabd1aed6a01095174e xf86vidmodeproto-2.3.1.tar.bz2 diff --git a/xorg-xf86vidmodeproto-32/Pkgfile b/xorg-xf86vidmodeproto-32/Pkgfile new file mode 100644 index 00000000..4a73c7e6 --- /dev/null +++ b/xorg-xf86vidmodeproto-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg proto xf86vidmodeproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xf86vidmodeproto + +name=xorg-xf86vidmodeproto-32 +version=2.3.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/xf86vidmodeproto-$version.tar.bz2) + +build() { + cd xf86vidmodeproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-xineramaproto-32/.32bit b/xorg-xineramaproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-xineramaproto-32/.footprint b/xorg-xineramaproto-32/.footprint new file mode 100644 index 00000000..c92206bc --- /dev/null +++ b/xorg-xineramaproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xineramaproto.pc diff --git a/xorg-xineramaproto-32/.md5sum b/xorg-xineramaproto-32/.md5sum new file mode 100644 index 00000000..1f627b19 --- /dev/null +++ b/xorg-xineramaproto-32/.md5sum @@ -0,0 +1 @@ +9959fe0bfb22a0e7260433b8d199590a xineramaproto-1.2.1.tar.bz2 diff --git a/xorg-xineramaproto-32/Pkgfile b/xorg-xineramaproto-32/Pkgfile new file mode 100644 index 00000000..0168bceb --- /dev/null +++ b/xorg-xineramaproto-32/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg proto xineramaproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xineramaproto + +name=xorg-xineramaproto-32 +version=1.2.1 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/xineramaproto-$version.tar.bz2) + +build() { + cd xineramaproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/include +} diff --git a/xorg-xproto-32/.32bit b/xorg-xproto-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-xproto-32/.footprint b/xorg-xproto-32/.footprint new file mode 100644 index 00000000..8bd63f58 --- /dev/null +++ b/xorg-xproto-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xproto.pc diff --git a/xorg-xproto-32/.md5sum b/xorg-xproto-32/.md5sum new file mode 100644 index 00000000..6bb0a86d --- /dev/null +++ b/xorg-xproto-32/.md5sum @@ -0,0 +1 @@ +d4d241a4849167e4e694fe73371c328c xproto-7.0.23.tar.bz2 diff --git a/xorg-xproto-32/Pkgfile b/xorg-xproto-32/Pkgfile new file mode 100644 index 00000000..f5611926 --- /dev/null +++ b/xorg-xproto-32/Pkgfile @@ -0,0 +1,22 @@ +# Description: xorg proto xproto +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xproto + +name=xorg-xproto-32 +version=7.0.23 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/proto/xproto-$version.tar.bz2) + +build() { + cd xproto-$version + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/xproto/{encoding,glossary,keysyms,sect1-9,x11protocol}.xml + find $PKG/usr/share -type d -delete + rm -rf $PKG/usr/include +} diff --git a/xorg-xtrans-32/.32bit b/xorg-xtrans-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xorg-xtrans-32/.footprint b/xorg-xtrans-32/.footprint new file mode 100644 index 00000000..b39cb2c7 --- /dev/null +++ b/xorg-xtrans-32/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/xtrans.pc diff --git a/xorg-xtrans-32/.md5sum b/xorg-xtrans-32/.md5sum new file mode 100644 index 00000000..bcc01bc8 --- /dev/null +++ b/xorg-xtrans-32/.md5sum @@ -0,0 +1 @@ +84c66908cf003ad8c272b0eecbdbaee3 xtrans-1.2.7.tar.bz2 diff --git a/xorg-xtrans-32/Pkgfile b/xorg-xtrans-32/Pkgfile new file mode 100644 index 00000000..b4f12336 --- /dev/null +++ b/xorg-xtrans-32/Pkgfile @@ -0,0 +1,24 @@ +# Description: xorg lib xtrans +# URL: http://xorg.freedesktop.org +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: xorg-xtrans + +name=xorg-xtrans-32 +version=1.2.7 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/lib/xtrans-$version.tar.bz2) + +build() { + cd xtrans-$version + + sed -i -e 's,$(datadir)/pkgconfig,$(libdir)/pkgconfig,' Makefile.in + + ./configure --prefix=/usr --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/xtrans/xtrans.xml + rmdir $PKG/usr/share/doc/{xtrans,} + rm -rf $PKG/usr/{include,share} +} diff --git a/xz-32/.32bit b/xz-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/xz-32/.footprint b/xz-32/.footprint new file mode 100644 index 00000000..c22f671f --- /dev/null +++ b/xz-32/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/liblzma.a +-rwxr-xr-x root/root usr/lib32/liblzma.la +lrwxrwxrwx root/root usr/lib32/liblzma.so -> liblzma.so.5.0.4 +lrwxrwxrwx root/root usr/lib32/liblzma.so.0 -> liblzma.so.5.0.4 +lrwxrwxrwx root/root usr/lib32/liblzma.so.5 -> liblzma.so.5.0.4 +-rwxr-xr-x root/root usr/lib32/liblzma.so.5.0.4 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/liblzma.pc diff --git a/xz-32/.md5sum b/xz-32/.md5sum new file mode 100644 index 00000000..75cd1d80 --- /dev/null +++ b/xz-32/.md5sum @@ -0,0 +1 @@ +741cd3a5f64b23b7bac56ec5b2258715 xz-5.0.4.tar.bz2 diff --git a/xz-32/Pkgfile b/xz-32/Pkgfile new file mode 100644 index 00000000..51a3a2d6 --- /dev/null +++ b/xz-32/Pkgfile @@ -0,0 +1,21 @@ +# Description: Compression utility using the lzma algorithm, successor of lzma-utils +# URL: http://tukaani.org/xz/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=xz-32 +version=5.0.4 +release=1 +source=(http://tukaani.org/xz/xz-$version.tar.bz2) + +build() { +cd xz-$version + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --disable-nls + make + make DESTDIR=$PKG install + + ln -s liblzma.so.$version $PKG/usr/lib32/liblzma.so.0 + + rm -r $PKG/usr/{bin,include,share} +} diff --git a/zlib-32/.32bit b/zlib-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/zlib-32/.footprint b/zlib-32/.footprint new file mode 100644 index 00000000..51ddbfec --- /dev/null +++ b/zlib-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root lib32/ +lrwxrwxrwx root/root lib32/libz.so.1 -> libz.so.1.2.7 +-rwxr-xr-x root/root lib32/libz.so.1.2.7 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libz.a +lrwxrwxrwx root/root usr/lib32/libz.so -> ../../lib32/libz.so.1.2.7 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/zlib.pc diff --git a/zlib-32/.md5sum b/zlib-32/.md5sum new file mode 100644 index 00000000..71abee40 --- /dev/null +++ b/zlib-32/.md5sum @@ -0,0 +1 @@ +2ab442d169156f34c379c968f3f482dd zlib-1.2.7.tar.bz2 diff --git a/zlib-32/Pkgfile b/zlib-32/Pkgfile new file mode 100644 index 00000000..5b7cdded --- /dev/null +++ b/zlib-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: A compression/decompression Library +# URL: http://www.zlib.net/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=zlib-32 +version=1.2.7 +release=2 +source=(http://www.zlib.net/zlib-$version.tar.bz2) + +build() { + cd zlib-$version + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --sharedlibdir=/lib32 + make + make DESTDIR=$PKG mandir=/usr/man install + ln -sf ../../lib32/libz.so.$version $PKG/usr/lib32/libz.so + rm $PKG/lib32/libz.so + rm -rf $PKG/usr/{include,man} +}