path: root/i486-stage3
diff options
authorAndreas Baumann <>2018-03-03 20:14:22 +0100
committerAndreas Baumann <>2018-03-03 20:14:22 +0100
commit0eb0a8e2998e3a25b76f1b39b8f3e8cbe303e367 (patch)
tree948ba986b47dc3c29074d94e952ac56ef3b18e56 /i486-stage3
parent499cf4bdd6ed942cafad91edcdfc60af30f98939 (diff)
building quite some more stage3 packages
Diffstat (limited to 'i486-stage3')
7 files changed, 44 insertions, 0 deletions
diff --git a/i486-stage3/gcc/DESCR b/i486-stage3/gcc/DESCR
index 3761a9c..2e493e1 100644
--- a/i486-stage3/gcc/DESCR
+++ b/i486-stage3/gcc/DESCR
@@ -2,6 +2,8 @@
sed -i "/makedepends=/s/doxygen//" PKGBUILD
sed -i 's/doc-man-doxygen//' PKGBUILD
sed -i 's/doc-install-man//' PKGBUILD
+sed -i '/# make documentation/{n;s/make/#make/}' PKGBUILD
+sed -i '/# install the libstdc++ man pages/{n;s/make/#make/}' PKGBUILD
# no ADA
sed -i "/makedepends=/s/gcc-ada//" PKGBUILD
diff --git a/i486-stage3/groff/DESCR b/i486-stage3/groff/DESCR
new file mode 100644
index 0000000..098a3cb
--- /dev/null
+++ b/i486-stage3/groff/DESCR
@@ -0,0 +1,4 @@
+# no optional dependencies for gross, especially no dependency on X
+sed -i "/makedepends=/s/'netpbm'//" PKGBUILD
+sed -i "/makedepends=/s/'psutils'//" PKGBUILD
+sed -i "/makedepends=/s/'libxaw'//" PKGBUILD
diff --git a/i486-stage3/libsasl/DESCR b/i486-stage3/libsasl/DESCR
new file mode 100644
index 0000000..42d18dc
--- /dev/null
+++ b/i486-stage3/libsasl/DESCR
@@ -0,0 +1,9 @@
+# libsasl needs libdlap, but libldap can use libsasl? break the cyrcle..
+sed -i "/makedepends=/s/libldap//" PKGBUILD
+# breaking the krb5 needs libldap needs libsasl needs krb5 cycle..
+sed -i "/makedepends=/s/krb5//" PKGBUILD
+# no database bindings
+sed -i "/makedepends=/s/postgresql-libs//" PKGBUILD
+sed -i "/makedepends=/s/libmariadbclient//" PKGBUILD
diff --git a/i486-stage3/man-db/DESCR b/i486-stage3/man-db/DESCR
new file mode 100644
index 0000000..cb26317
--- /dev/null
+++ b/i486-stage3/man-db/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/p11-kit/DESCR b/i486-stage3/p11-kit/DESCR
new file mode 100644
index 0000000..abee97c
--- /dev/null
+++ b/i486-stage3/p11-kit/DESCR
@@ -0,0 +1,3 @@
+# no documentation
+sed -i "/makedepends=/s/gtk-doc//" PKGBUILD
+sed -i "s@--enable-doc@--disable-doc@" PKGBUILD
diff --git a/i486-stage3/shadow/DESCR b/i486-stage3/shadow/DESCR
new file mode 100644
index 0000000..e9f6de8
--- /dev/null
+++ b/i486-stage3/shadow/DESCR
@@ -0,0 +1,18 @@
+# remove docu and git dependencies
+sed -i "/makedepends=/s/'git'//" PKGBUILD
+sed -i "/makedepends=/s/'libxslt'//" PKGBUILD
+sed -i "/makedepends=/s/'docbook-xsl'//" PKGBUILD
+sed -i "/makedepends=/s/'gnome-doc-utils'//" PKGBUILD
+# building man pages needs xml2po, disable it
+sed -i 's@--enable-man@--disable-man@g' PKGBUILD
+sed -i '/find/,/-delete/{s/\(.*\)/#\1/g}' PKGBUILD
+sed -i '/rmdir/,/man8/{s/\(.*\)/#\1/g}' PKGBUILD
+# counterspells, yes I know, I'm bad with sed
+sed -i 's/^#}/}/' PKGBUILD
+# shadow: /usr/sbin exists in filesystem
+# revert last rmdir commenting of /usr/sbin removal
+sed -i 's@^# \+rmdir \+"$pkgdir/usr/sbin"@ rmdir "$pkgdir/usr/sbin"@' PKGBUILD
+sed -i '2!N; /prepare()/ a \ sed -i "/SUBDIRS/s/man//g"' PKGBUILD
diff --git a/i486-stage3/sqlite/DESCR b/i486-stage3/sqlite/DESCR
new file mode 100644
index 0000000..9d8b16e
--- /dev/null
+++ b/i486-stage3/sqlite/DESCR
@@ -0,0 +1,4 @@
+# TODO: or build tcl? we need it later for testing the toolchain anyway
+# no dependency on tcl
+sed -i "/makedepends=/s/tcl//" PKGBUILD