Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage3
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-25 21:14:09 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-25 21:14:09 +0100
commitb4cf5d6e1197c8076b94131ef2495c6d5c6fb89a (patch)
treeb1503402e30c8ef9bd9089bdbf614e70da8baf00 /i486-stage3
parent2d2dc3a222e422e49082e0031ac53118c1957a7e (diff)
building most unproblematic packages in stage3
Diffstat (limited to 'i486-stage3')
-rw-r--r--i486-stage3/fakeroot/DESCR4
-rw-r--r--i486-stage3/gettext/DESCR4
-rw-r--r--i486-stage3/git/DESCR23
-rw-r--r--i486-stage3/kmod/DESCR3
-rw-r--r--i486-stage3/libidn2/DESCR3
-rw-r--r--i486-stage3/libpsl/DESCR11
-rw-r--r--i486-stage3/libxml2/DESCR2
-rw-r--r--i486-stage3/openssl/DESCR5
-rw-r--r--i486-stage3/python/DESCR16
9 files changed, 71 insertions, 0 deletions
diff --git a/i486-stage3/fakeroot/DESCR b/i486-stage3/fakeroot/DESCR
new file mode 100644
index 0000000..ef8246d
--- /dev/null
+++ b/i486-stage3/fakeroot/DESCR
@@ -0,0 +1,4 @@
+# disable makedepends and take out po4a
+sed -i "/makedepends=/s/po4a//" PKGBUILD
+sed -i 's@\(cd doc\)@#\1@g' PKGBUILD
+sed -i 's@\(po4a\)@#\1@g' PKGBUILD
diff --git a/i486-stage3/gettext/DESCR b/i486-stage3/gettext/DESCR
new file mode 100644
index 0000000..a6a9ab3
--- /dev/null
+++ b/i486-stage3/gettext/DESCR
@@ -0,0 +1,4 @@
+# remove dependency on glib2 (which needs meson to build) and use
+# supplied one
+sed -i "/depends=/s/'glib2'//" PKGBUILD
+sed -i "s@./configure@./configure --with-included-glib@" PKGBUILD
diff --git a/i486-stage3/git/DESCR b/i486-stage3/git/DESCR
new file mode 100644
index 0000000..e95d538
--- /dev/null
+++ b/i486-stage3/git/DESCR
@@ -0,0 +1,23 @@
+# no python2
+sed -i "/makedepends=/s/'python2'//" PKGBUILD
+
+# no Gnome integration
+sed -i "/makedepends=/s/'libgnome-keyring'//" PKGBUILD
+sed -i "s@\(make -C contrib/credential/gnome-keyring\)@#\1@" PKGBUILD
+
+# no Emacs
+sed -i "/makedepends=/s/'emacs'//" PKGBUILD
+sed -i "s@\(make -C contrib/emacs prefix=/usr\)@#\1@" PKGBUILD
+
+# no documentation
+sed -i "/makedepends=/s/'xmlto'//" PKGBUILD
+sed -i "/makedepends=/s/'asciidoc'//" PKGBUILD
+sed -i "s/all doc/all/g" PKGBUILD
+sed -i "s/install install-doc/install/g" PKGBUILD
+
+# git-credential-libsecret.c:29:10: fatal error: glib.h: No such file or directory
+# include <glib.h>
+sed -i "s@\(make -C contrib/credential/libsecret\)@#\1@" PKGBUILD
+sed -i "/# gnome credentials helper/,/make -C contrib\/credential\/libsecret clean/s/\(.*\)/#\1/g" PKGBUILD
+
+# not configured with configure? weird..
diff --git a/i486-stage3/kmod/DESCR b/i486-stage3/kmod/DESCR
new file mode 100644
index 0000000..8a94b92
--- /dev/null
+++ b/i486-stage3/kmod/DESCR
@@ -0,0 +1,3 @@
+# don't build documentation
+sed -i "/depends=/s/gtk-doc//" PKGBUILD
+sed -i "s/--enable-gtk-doc/--disable-gtk-doc/" PKGBUILD
diff --git a/i486-stage3/libidn2/DESCR b/i486-stage3/libidn2/DESCR
new file mode 100644
index 0000000..e4157fa
--- /dev/null
+++ b/i486-stage3/libidn2/DESCR
@@ -0,0 +1,3 @@
+# remove dependency on gtk-doc and ruby-ronn
+sed -i "/makedepends=/s/'gtk-doc'//" PKGBUILD
+sed -i "/makedepends=/s/'ruby-ronn'//" PKGBUILD
diff --git a/i486-stage3/libpsl/DESCR b/i486-stage3/libpsl/DESCR
new file mode 100644
index 0000000..e80b78f
--- /dev/null
+++ b/i486-stage3/libpsl/DESCR
@@ -0,0 +1,11 @@
+# remove dependency python
+sed -i "/makedepends=/s/'python'//" PKGBUILD
+
+# no documentation
+sed -i "/makedepends=/s/'gtk-doc'//" PKGBUILD
+sed -i "s@--enable-gtk-doc@--disable-gtk-doc@" PKGBUILD
+
+# no man pages
+sed -i "/makedepends=/s/'libxslt'//" PKGBUILD
+sed -i "s@--enable-man@--disable-man@" PKGBUILD
+
diff --git a/i486-stage3/libxml2/DESCR b/i486-stage3/libxml2/DESCR
new file mode 100644
index 0000000..d90eea6
--- /dev/null
+++ b/i486-stage3/libxml2/DESCR
@@ -0,0 +1,2 @@
+# remove dependency python
+sed -i "/makedepends=/s/'python'//" PKGBUILD
diff --git a/i486-stage3/openssl/DESCR b/i486-stage3/openssl/DESCR
new file mode 100644
index 0000000..69d65f7
--- /dev/null
+++ b/i486-stage3/openssl/DESCR
@@ -0,0 +1,5 @@
+sed -i "s@'i686'@'$TARGET_CPU'@g" PKGBUILD
+sed -i "s@'linux-elf'@'linux-generic32'@g" PKGBUILD
+sed -i 's@shared no-ssl3-method ${optflags}@shared ${optflags}@' PKGBUILD
+
+# pod2man fails during building of documentation, not dramatic, ignoring that.
diff --git a/i486-stage3/python/DESCR b/i486-stage3/python/DESCR
new file mode 100644
index 0000000..1e44107
--- /dev/null
+++ b/i486-stage3/python/DESCR
@@ -0,0 +1,16 @@
+# remove dependency on most things, we want only a simple interpreter
+# a little bit smarter than a shell for building and code generation
+sed -i "/makedepends=/s/'tk'//" PKGBUILD
+sed -i "/makedepends=/s/'sqlite'//" PKGBUILD
+sed -i "/makedepends=/s/'valgrind'//" PKGBUILD
+sed -i "/makedepends=/s/'bluez-libs'//" PKGBUILD
+sed -i "/makedepends=/s/'llvm'//" PKGBUILD
+
+# do not start X servers just for building software!
+sed -i "/makedepends=/s/'xorg-server-xvfb'//" PKGBUILD
+sed -i "s/\(export servernum=99\)/#\1/" PKGBUILD
+sed -i "s/\(while\)/#\1/" PKGBUILD
+sed -i 's@LC_CTYPE=en_US.UTF-8 xvfb-run -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS"@LC_CTYPE=en_US.UTF-8 make EXTRA_CFLAGS="$CFLAGS"@g' PKGBUILD
+
+# no LTO (we don't have support for it yet)
+sed -i "s/--with-lto/--without-lto/" PKGBUILD