summaryrefslogtreecommitdiff
path: root/build-support/disabled
diff options
context:
space:
mode:
Diffstat (limited to 'build-support/disabled')
-rw-r--r--build-support/disabled/ant19/PKGBUILD102
-rw-r--r--build-support/disabled/ant19/ant.conf8
-rw-r--r--build-support/disabled/ant19/apache-ant-1.9.15-https-and-repo-urls.patch73
-rw-r--r--build-support/disabled/java/bin32-jdk6/PKGBUILD174
-rw-r--r--build-support/disabled/java/bin32-jdk6/bin32-jdk6.install71
-rw-r--r--build-support/disabled/java/bin32-jdk6/javaws-launcher7
-rw-r--r--build-support/disabled/java/bin32-jdk6/jconsole32-jdk6.desktop8
-rw-r--r--build-support/disabled/java/bin32-jdk6/jmc32-jdk6.desktop8
-rw-r--r--build-support/disabled/java/bin32-jdk6/jvisualvm32-jdk6.desktop9
-rw-r--r--build-support/disabled/java/bin32-jdk6/policytool32-jdk6.desktop8
-rw-r--r--build-support/disabled/java/bin32-jdk7/.SRCINFO60
-rw-r--r--build-support/disabled/java/bin32-jdk7/PKGBUILD166
-rw-r--r--build-support/disabled/java/bin32-jdk7/bin32-jdk7.install71
-rw-r--r--build-support/disabled/java/bin32-jdk7/jconsole32-jdk7.desktop8
-rw-r--r--build-support/disabled/java/bin32-jdk7/jmc32-jdk7.desktop8
-rw-r--r--build-support/disabled/java/bin32-jdk7/jvisualvm32-jdk7.desktop9
-rw-r--r--build-support/disabled/java/bin32-jdk7/policytool32-jdk7.desktop8
-rw-r--r--build-support/disabled/libfm-extra/PKGBUILD33
-rw-r--r--build-support/disabled/libvips884/PKGBUILD24
-rw-r--r--build-support/disabled/mesa/mesa177
-rw-r--r--build-support/disabled/python-no-opt-no-check/PKGBUILD65
-rw-r--r--build-support/disabled/python-pip-bootstrap/.SRCINFO21
-rw-r--r--build-support/disabled/python-pip-bootstrap/PKGBUILD16
-rw-r--r--build-support/disabled/python-setuptools-egg-info-manually30
-rw-r--r--build-support/disabled/python-urllib3/PKGBUILD28
-rw-r--r--build-support/disabled/python310/PKGBUILD73
-rw-r--r--build-support/disabled/releng/archiso32-git/PKGBUILD31
-rw-r--r--build-support/disabled/releng/asp32-git/PKGBUILD25
-rw-r--r--build-support/disabled/rime-luna-pinyin-bootstrap/PKGBUILD37
-rw-r--r--build-support/disabled/rust-bin/PKGBUILD11
-rw-r--r--build-support/disabled/rust140/PKGBUILD232
-rw-r--r--build-support/disabled/rust140/config.toml.patch26
-rwxr-xr-xbuild-support/disabled/rust140/watcher.sh27
-rw-r--r--build-support/disabled/rust141/PKGBUILD218
-rw-r--r--build-support/disabled/rust141/config.toml.patch26
-rw-r--r--build-support/disabled/rust141/rustc-1.41.0-src-typenum-U1024.patch20
-rw-r--r--build-support/disabled/rust148/PKGBUILD203
-rw-r--r--build-support/disabled/rust148/config.toml.patch26
-rw-r--r--build-support/disabled/rust156-bin/PKGBUILD37
-rw-r--r--build-support/disabled/rust157-bin/PKGBUILD37
-rw-r--r--build-support/disabled/rust159-bin/PKGBUILD37
-rw-r--r--build-support/disabled/uinit/.SRCINFO14
-rw-r--r--build-support/disabled/uinit/PKGBUILD32
-rw-r--r--build-support/disabled/vala-bootstrap/PKGBUILD37
-rw-r--r--build-support/disabled/vala/PKGBUILD5
45 files changed, 2310 insertions, 36 deletions
diff --git a/build-support/disabled/ant19/PKGBUILD b/build-support/disabled/ant19/PKGBUILD
new file mode 100644
index 00000000..4f829a3b
--- /dev/null
+++ b/build-support/disabled/ant19/PKGBUILD
@@ -0,0 +1,102 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
+# Contributor: Andrew Wright <andreww@photism.org>
+# Contributor: Paul Mattal <paul@archlinux.org>
+
+pkgbase=ant19
+_pkgbase=ant
+pkgname=('ant19' 'ant19-doc')
+pkgver=1.9.15
+pkgrel=3
+pkgdesc='Java based build tool'
+url='https://ant.apache.org/'
+arch=('any')
+license=('APACHE')
+makedepends=('bash' 'bin32-jdk7' 'junit' 'java-hamcrest')
+source=(https://www.apache.org/dist/ant/source/apache-${_pkgbase}-${pkgver}-src.tar.bz2{,.asc}
+ ant.conf
+ apache-ant-1.9.15-https-and-repo-urls.patch
+ NetRexx.zip::ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip)
+
+sha256sums=('7f7251009dc53e60afac47d0df6bd7e7d3cdba9fa7fec67b7a95412e8becdc8b'
+ 'SKIP'
+ '23bbef577b56d48adb1985dbd9795e5533146646f1e8bb879dd061a4014ffcf2'
+ 'fc8ed0be9586293a8a7f6cf8d245d1db56c43598b6a155ee27f7a4eeb59cafec'
+ '1f99f054e9b1e412d29823088f3fa7cfce90a7af25d907a60a6d7908a6b97ea4')
+validpgpkeys=(
+ 'CE8075A251547BEE249BC151A2115AE15F6B8B72' # Stefan Bodewig
+ '8DA70C00DF7AF1B0D2F9DC74DDBCC1270A29D081' # jaikiran@apache <jaikiran@apache.org>
+)
+
+_replace_lib() {
+ # explicitly call rm to ensure we replace instead of add
+ rm "$2"
+ ln -s "$1" "$2"
+}
+
+prepare() {
+ cd apache-${_pkgbase}-${pkgver}
+ patch -Np1 < $srcdir/apache-ant-1.9.15-https-and-repo-urls.patch
+ mkdir -p ~/.ant/tempcache
+ cp $srcdir/NetRexx.zip ~/.ant/tempcache/.
+ sed -i 's|/usr/bin/python|/usr/bin/python2|' src/script/runant.py
+}
+
+build() {
+ cd apache-${_pkgbase}-${pkgver}
+ export JAVA_HOME=/usr/lib/jvm/java-7-jdk
+ ./bootstrap.sh
+ bootstrap/bin/ant -Ddest=optional -f fetch.xml
+ _replace_lib /usr/share/java/junit.jar lib/optional/junit-4.12.jar
+ _replace_lib /usr/share/java/hamcrest-core.jar lib/optional/hamcrest-core-1.3.jar
+ _replace_lib /usr/share/java/hamcrest-library.jar lib/optional/hamcrest-library-1.3.jar
+ bootstrap/bin/ant dist
+}
+
+package_ant19() {
+ depends=('bin32-jdk7' 'bash')
+ optdepends=('junit: junit tasks'
+ 'java-hamcrest: junit tasks')
+ conflicts=('ant')
+ backup=('etc/ant.conf')
+
+ cd apache-${_pkgbase}-${pkgver}/apache-${_pkgbase}-${pkgver}
+ local _ant_home=/usr/share/ant
+
+ install -d "${pkgdir}${_ant_home}"
+ cp -Rp etc "${pkgdir}${_ant_home}"
+
+ find bin -type f -a ! -name \*.bat -a ! -name \*.cmd \
+ -exec install -Dm 755 {} -t "${pkgdir}${_ant_home}/bin" \;
+ install -d "${pkgdir}/usr/bin"
+ ln -s /usr/share/ant/bin/ant "${pkgdir}/usr/bin/ant"
+
+ install -Dm 644 "${srcdir}/ant.conf" -t "${pkgdir}/etc"
+ install -Dm 644 lib/*.jar -t "${pkgdir}/usr/share/java/ant"
+ ln -s /usr/share/java/ant "${pkgdir}${_ant_home}/lib"
+
+ install -Dm 644 ../{LICENSE,NOTICE} -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+package_ant19-doc() {
+ pkgdesc='Apache Ant build tool documentation'
+ conflicts=('ant-doc')
+
+ install -d "${pkgdir}/usr/share/doc/ant"
+ cp -r apache-${_pkgbase}-${pkgver}/apache-${_pkgbase}-${pkgver}/manual/* \
+ "${pkgdir}/usr/share/doc/ant"
+}
+
+# vim: ts=2 sw=2 et:
+
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ _JARCH=i386
+ _DOC_ARCH=x86
+fi
+
+# pentium4-specific
+if [ "${CARCH}" = "pentium4" ]; then
+ _JARCH=i386
+ _DOC_ARCH=x86
+fi
diff --git a/build-support/disabled/ant19/ant.conf b/build-support/disabled/ant19/ant.conf
new file mode 100644
index 00000000..63bf219a
--- /dev/null
+++ b/build-support/disabled/ant19/ant.conf
@@ -0,0 +1,8 @@
+# Apache Ant start script configuration file
+ANT_HOME=/usr/share/ant
+
+# Optional jars and their dependencies
+OPT_JAR_LIST=/usr/share/java/junit.jar:/usr/share/java/hamcrest-core.jar
+LOCALCLASSPATH=${OPT_JAR_LIST}
+
+# vim:ft=sh
diff --git a/build-support/disabled/ant19/apache-ant-1.9.15-https-and-repo-urls.patch b/build-support/disabled/ant19/apache-ant-1.9.15-https-and-repo-urls.patch
new file mode 100644
index 00000000..605b4f7b
--- /dev/null
+++ b/build-support/disabled/ant19/apache-ant-1.9.15-https-and-repo-urls.patch
@@ -0,0 +1,73 @@
+diff -rauN apache-ant-1.9.15/fetch.xml apache-ant-1.9.15-https-and-repo-urls-patch/fetch.xml
+--- apache-ant-1.9.15/fetch.xml 2020-05-10 15:42:29.000000000 +0200
++++ apache-ant-1.9.15-https-and-repo-urls-patch/fetch.xml 2021-05-14 20:17:38.020978197 +0200
+@@ -329,19 +329,19 @@
+ <f2 project="tomcat" archive="jasper-runtime"/>
+ <f2 project="javax.servlet" archive="servlet-api"/>
+ </target>
+-
++<!--
+ <target name="jai"
+ description="load Java Advanced Imaging"
+ depends="init">
+ <f2 project="javax.media" archive="jai-core" id="jboss"
+- repository="https://repository.jboss.org/nexus/content/groups/public/"/>
++ repository="http://mvnrepository.com/"/>
+ <f2 project="com.sun.media" archive="jai-codec" id="jboss"
+- repository="https://repository.jboss.org/nexus/content/groups/public/"/>
++ repository="http://repository.jboss.org/nexus/content/groups/public/"/>
+ </target>
+-
++-->
+ <target name="netrexx"
+ description="load NetRexx compiler"
+- depends="init-no-m2,-setup-temp-cache,-fetch-netrexx,-fetch-netrexx-no-commons-net">
++ depends="init-no-m2,-setup-temp-cache">
+ <checksum file="${temp.dir}/NetRexx.zip" algorithm="SHA-256" property="${netrexx.sha256}" verifyProperty="netrexx.hash.matches"/>
+ <fail message="NetRexx.zip fetched via ftp has an unexpected SHA-256 checksum, the file may have been tampered with">
+ <condition>
+@@ -361,18 +361,22 @@
+
+ <available property="have.commons.net" classname="org.apache.commons.net.ftp.FTPClientConfig"/>
+
++<!--
+ <target name="-fetch-netrexx" if="have.commons.net">
+ <get-ftp-file host="ftp.software.ibm.com" remotedir="/software/awdtools/netrexx"
+ filename="NetRexx.zip" localdir="${temp.dir}"/>
+ </target>
++-->
+
++<!--
+ <target name="-fetch-netrexx-no-commons-net" unless="have.commons.net">
+ <get src="ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip"
+ dest="${temp.dir}/NetRexx.zip" skipexisting="true"/>
+ </target>
++-->
+
+ <target name="all"
+ description="load all the libraries (except jython)"
+- depends="antunit,ivy,logging,junit,xml,networking,regexp,antlr,bcel,jdepend,bsf,debugging,script,javamail,jspc,jai,netrexx"/>
++ depends="antunit,ivy,logging,junit,xml,networking,regexp,antlr,bcel,jdepend,bsf,debugging,script,javamail,jspc,netrexx"/>
+
+ </project>
+diff -rauN apache-ant-1.9.15/lib/libraries.properties apache-ant-1.9.15-https-and-repo-urls-patch/lib/libraries.properties
+--- apache-ant-1.9.15/lib/libraries.properties 2020-05-10 15:42:29.000000000 +0200
++++ apache-ant-1.9.15-https-and-repo-urls-patch/lib/libraries.properties 2021-05-14 20:06:47.150502384 +0200
+@@ -17,7 +17,7 @@
+
+ # If you change this, change the checksum to match
+ m2.version=2.1.3
+-m2.url=https://archive.apache.org/dist/maven/ant-tasks
++m2.url=http://archive.apache.org/dist/maven/ant-tasks
+ m2.artifact-name=maven-ant-tasks
+ m2.jar.name=${m2.artifact-name}-${m2.version}.jar
+ #this is the URL of the antlib library, that is pulled down for everything else.
+@@ -26,7 +26,7 @@
+ m2.sha1.checksum=b09be554228d66d208e5fef5266844aacf443abc
+
+ # Repository to use by default for fetching dependencies.
+-m2.repo=https://repo1.maven.org/maven2/
++m2.repo=http://insecure.repo1.maven.org/maven2/
+
+ # hashes of libraries loaded over insecure connections
+ netrexx.sha256=1f99f054e9b1e412d29823088f3fa7cfce90a7af25d907a60a6d7908a6b97ea4
diff --git a/build-support/disabled/java/bin32-jdk6/PKGBUILD b/build-support/disabled/java/bin32-jdk6/PKGBUILD
new file mode 100644
index 00000000..2bac2781
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk6/PKGBUILD
@@ -0,0 +1,174 @@
+# Maintainer:
+# Contributor: Felix Golatofski <contact@xdfr.de>
+# Contributor: Det
+# Contributor: Damian Nowak
+
+_pkgname=jdk
+pkgname=bin32-jdk6
+_major=6
+_minor=45
+_build=b06
+pkgver=${_major}u${_minor}
+pkgrel=6
+pkgdesc="Oracle Java $_major Development Kit (32-bit) (public release - end of support)"
+arch=('x86_64' 'i486')
+url="https://www.java.com/en/download/faq/java_$_major.xml"
+license=('custom')
+depends=('ca-certificates-java' 'hicolor-icon-theme' 'java-environment-common' 'java-runtime-common'
+ 'gcc-libs' 'libxrender' 'libxtst' 'nss' 'xdg-utils')
+optdepends=('eclipse: "Oracle Java Mission Control" plugins for Eclipse'
+ 'alsa-lib: for basic sound support'
+ 'gtk2: for Gtk+ look and feel (desktop)')
+provides=("java-runtime=$_major" "java-runtime-headless=$_major" "java-web-start=$_major" "java-environment=$_major"
+ "java-runtime-jre=$_major" "java-runtime-headless-jre=$_major" "java-web-start-jre=$_major" "java-environment-jdk=$_major")
+
+# Variables
+DLAGENTS=('https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -b oraclelicense=a -o %o %u')
+_jname=${_pkgname}${_major}
+_jvmdir=/usr/lib32/jvm/java-$_major-$_pkgname
+
+backup=("etc/java-$_jname/i386/jvm.cfg"
+ "etc/java-$_jname/images/cursors/cursors.properties"
+ "etc/java-$_jname/management/jmxremote.access"
+ "etc/java-$_jname/management/management.properties"
+ "etc/java-$_jname/security/java.policy"
+ "etc/java-$_jname/security/java.security"
+ "etc/java-$_jname/security/javaws.policy"
+ "etc/java-$_jname/content-types.properties"
+ "etc/java-$_jname/flavormap.properties"
+ "etc/java-$_jname/fontconfig.properties.src"
+ "etc/java-$_jname/logging.properties"
+ "etc/java-$_jname/net.properties"
+ "etc/java-$_jname/psfont.properties.ja"
+ "etc/java-$_jname/psfontj2d.properties"
+ "etc/java-$_jname/sound.properties")
+options=('!strip') # JDK debug-symbols
+install=$pkgname.install
+source=("https://download.oracle.com/otn/java/jdk/${pkgver}-${_build}/jdk-${pkgver}-linux-i586.bin"
+ "https://download.oracle.com/otn-pub/java/jce_policy/$_major/jce_policy-$_major.zip"
+ "jconsole32-$_jname.desktop"
+ "jmc32-$_jname.desktop"
+ "jvisualvm32-$_jname.desktop"
+ "policytool32-$_jname.desktop"
+ 'javaws-launcher')
+sha256sums=('d53b5a2518d80e1d95565f0adda54eee229dc5f4a1d1a3c2f7bf5045b168a357'
+ 'd0c2258c3364120b4dbf7dd1655c967eee7057ac6ae6334b5ea8ceb8bafb9262'
+ '6195ce056e55247365b5cc2363e5e28f8bdb6842f65a41d37732279aee17ce57'
+ 'a10ec033765a0ecf1fdd8ef8dee3614391f8b3605bb8b4f0d957ff7c7c958563'
+ 'c7377ddaaee8579a230356e9878030a9f2a8cbcc5c2f89114d6244db051a0a01'
+ 'ce1ac5bf1fd639fe0e0fe08880e8eae5b2fbf6903a7c51ed8168aee8fd1ee66a'
+ '5a43bf54553ea39c147a67935d68646806a5053fefd527bd69c546f4c884402e')
+
+package() {
+ msg2 "Extracting the .bin"
+ rm -rf ${_pkgname}1.${_major}.0_${_minor}
+ sh $_pkgname-$pkgver-linux-i586.bin &>/dev/null
+
+ cd ${_pkgname}1.${_major}.0_${_minor}
+
+ msg2 "Creating directory structure..."
+ install -d "$pkgdir"/etc/.java/.systemPrefs
+ install -d "$pkgdir"/usr/lib32/jvm/java-$_major-$_pkgname/bin
+ install -d "$pkgdir"/usr/lib32/mozilla/plugins
+ install -d "$pkgdir"/usr/share/licenses/java${_major}-${_pkgname}32
+
+ msg2 "Removing redundancies..."
+ rm db/bin/*.bat
+ rm db/3RDPARTY
+ rm db/LICENSE
+ rm -r jre/lib/desktop/icons/HighContrast
+ rm -r jre/lib/desktop/icons/HighContrastInverse
+ rm -r jre/lib/desktop/icons/LowContrast
+ rm jre/lib/fontconfig.*.bfc
+ rm jre/lib/fontconfig.*.properties.src
+ rm -r jre/plugin/
+ rm jre/*.txt
+ rm jre/COPYRIGHT
+ rm jre/LICENSE
+ rm jre/README
+ rm man/ja
+
+ msg2 "Moving contents..."
+ mv * "$pkgdir"/$_jvmdir
+
+ # Cd to the new playground
+ cd "$pkgdir"/$_jvmdir
+
+ # javaws-launcher
+ install -m644 "$srcdir"/javaws-launcher bin/
+
+ msg2 "Fixing directory structure..."
+ # Replace duplicate binaries in bin/ with links to jre/bin/
+ for i in $(ls jre/bin/); do
+ ln -sf "$_jvmdir/jre/bin/$i" "bin/$i"
+ done
+
+ # Suffix .desktops + icons (sun-java.png -> sun-java-$_jname.png)
+ for i in $(find jre/lib/desktop/ -type f); do
+ rename -- "." "32-$_jname." $i
+ done
+
+ # Fix .desktop's
+ sed -e '/JavaWS/!s|Name=Java|Name=Java '"$_major"'|' \
+ -e "s|Name=JavaWS|Name=JavaWS $_major|" \
+ -e "s|Name=.*|& (32-bit)|" \
+ -e "s|Comment=Java|Comment=Java $_major|" \
+ -e "s|Comment=.*|& (32-bit)|" \
+ -e "s|Exec=|Exec=$_jvmdir/jre/bin/|" \
+ -e "s|.png|32-$_jname.png|" \
+ -i jre/lib/desktop/applications/*
+
+ # Move .desktops + icons to /usr/share
+ mv jre/lib/desktop/* "$pkgdir"/usr/share/
+ install -m644 "$srcdir"/*.desktop "$pkgdir"/usr/share/applications/
+
+ # Move confs to /etc and link back to /usr: /usr/lib32/jvm/java-$_jname/jre/lib -> /etc
+ for new_etc_path in ${backup[@]}; do
+ # Old location
+ old_usr_path="jre/lib/${new_etc_path#*$_jname/}"
+
+ # Move
+ install -Dm644 "$old_usr_path" "$pkgdir/$new_etc_path"
+ ln -sf "/$new_etc_path" "$old_usr_path"
+ done
+
+ # Link NPAPI plugin
+ ln -sf $_jvmdir/jre/lib/i386/libnpjp2.so "$pkgdir"/usr/lib32/mozilla/plugins/libnpjp2-$_jname.so
+
+ # Replace JKS keystore with 'ca-certificates-java'
+ ln -sf /etc/ssl/certs/java/cacerts jre/lib/security/cacerts
+
+ # Suffix man pages
+ for i in $(find man/ -type f); do
+ mv "$i" "${i/.1}32-$_jname.1"
+ done
+
+ # Move man pages
+ mv man/ja_JP.eucJP/ man/ja
+ mv man/ "$pkgdir"/usr/share
+
+ # Move/link licenses
+ mv db/NOTICE COPYRIGHT LICENSE *.txt "$pkgdir"/usr/share/licenses/java${_major}-${_pkgname}32/
+ ln -sf /usr/share/licenses/java${_major}-${_pkgname}32/ "$pkgdir"/usr/share/licenses/$pkgname
+
+ msg2 "Installing Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files..."
+ # Replace default "strong", but limited, cryptography to get an "unlimited strength" one for
+ # things like 256-bit AES. Enabled by default in OpenJDK:
+ # - http://suhothayan.blogspot.com/2012/05/how-to-install-java-cryptography.html
+ # - http://www.eyrie.org/~eagle/notes/debian/jce-policy.html
+ install -m644 "$srcdir"/jce/*.jar jre/lib/security/
+ install -Dm644 "$srcdir"/jce/README.txt \
+ "$pkgdir"/usr/share/doc/$pkgname/README_-_Java_JCE_Unlimited_Strength.txt
+
+ msg2 "Enabling copy+paste in unsigned applets..."
+ # Copy/paste from system clipboard to unsigned Java applets has been disabled since 6u24:
+ # - https://blogs.oracle.com/kyle/entry/copy_and_paste_in_java
+ # - http://slightlyrandombrokenthoughts.blogspot.com/2011/03/oracle-java-applet-clipboard-injection.html
+ _line=$(awk '/permission/{a=NR}; END{print a}' "$pkgdir"/etc/java-$_jname/security/java.policy)
+ sed "$_line a\\\\n \
+ // (AUR) Allow unsigned applets to read system clipboard, see:\n \
+ // - https://blogs.oracle.com/kyle/entry/copy_and_paste_in_java\n \
+ // - http://slightlyrandombrokenthoughts.blogspot.com/2011/03/oracle-java-applet-clipboard-injection.html\n \
+ permission java.awt.AWTPermission \"accessClipboard\";" \
+ -i "$pkgdir"/etc/java-$_jname/security/java.policy
+}
diff --git a/build-support/disabled/java/bin32-jdk6/bin32-jdk6.install b/build-support/disabled/java/bin32-jdk6/bin32-jdk6.install
new file mode 100644
index 00000000..3d623c37
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk6/bin32-jdk6.install
@@ -0,0 +1,71 @@
+THIS_JAVA='java32-6-jdk'
+NAME='32-bit JDK 6'
+
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${bold}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+note() {
+ printf "${blue}::${yellow} archlinux-java32:${bold} $1${all_off}\n"
+}
+
+update_desktop() {
+ update-desktop-database -q
+ update-mime-database /usr/share/mime >/dev/null
+ xdg-icon-resource forceupdate &>/dev/null
+}
+
+post_install() {
+ default=$(archlinux-java32 get)
+ case ${default} in
+ "")
+ archlinux-java32 set ${THIS_JAVA}
+ note "${NAME} ('${THIS_JAVA}') set as default Java environment."
+ ;;
+ ${THIS_JAVA})
+ note "${NAME} ('${THIS_JAVA}') set as default Java environment."
+ ;;
+ *)
+ note "Default Java environment already set to '${default}'.
+ To use ${NAME} ('${THIS_JAVA}'), run:
+ # archlinux-java32 set ${THIS_JAVA}
+ For status, use:
+ $ archlinux-java32 status"
+ ;;
+ esac
+
+ if [[ ! -f /etc/ssl/certs/java/cacerts ]]; then
+ update-ca-trust
+ fi
+
+ update_desktop
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ default=$(archlinux-java32 get)
+ if [[ ${default} = ${THIS_JAVA} ]]; then
+ archlinux-java32 unset
+ fi
+}
+
+post_remove() {
+ default=$(archlinux-java32 get) # reassign
+ if [[ ${default} ]]; then
+ note "Default Java environment is '${default}'."
+ else
+ archlinux-java32 fix
+ default=$(archlinux-java32 get) # re-reassign
+ if [[ ${default} ]]; then
+ note "Default Java environment left as '${default}'."
+ else
+ note "Java environment unset."
+ fi
+ fi
+
+ update_desktop
+}
diff --git a/build-support/disabled/java/bin32-jdk6/javaws-launcher b/build-support/disabled/java/bin32-jdk6/javaws-launcher
new file mode 100644
index 00000000..2831dfcb
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk6/javaws-launcher
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -z "$@" ]; then
+ exec javaws -viewer
+else
+ exec javaws "$@"
+fi
diff --git a/build-support/disabled/java/bin32-jdk6/jconsole32-jdk6.desktop b/build-support/disabled/java/bin32-jdk6/jconsole32-jdk6.desktop
new file mode 100644
index 00000000..07969d50
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk6/jconsole32-jdk6.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=/usr/lib32/jvm/java32-6-jdk/bin/jconsole
+Icon=sun-java32-jdk6
+Name=Java 6 Monitoring and Management Console (32-bit)
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Development;Java;
diff --git a/build-support/disabled/java/bin32-jdk6/jmc32-jdk6.desktop b/build-support/disabled/java/bin32-jdk6/jmc32-jdk6.desktop
new file mode 100644
index 00000000..9eb18b46
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk6/jmc32-jdk6.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=/usr/lib32/jvm/java32-6-jdk/bin/jmc
+Icon=sun-java32-jdk6
+Name=Java 6 Mission Control (32-bit)
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Development;Java;
diff --git a/build-support/disabled/java/bin32-jdk6/jvisualvm32-jdk6.desktop b/build-support/disabled/java/bin32-jdk6/jvisualvm32-jdk6.desktop
new file mode 100644
index 00000000..3c1f6a32
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk6/jvisualvm32-jdk6.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Exec=/usr/lib32/jvm/java32-6-jdk/bin/jvisualvm
+GenericName=Java 6 Monitoring and Performance Monitoring Tool (32-bit)
+Icon=sun-java32-jdk6
+Name=Java 6 VisualVM (32-bit)
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Development;Java;
diff --git a/build-support/disabled/java/bin32-jdk6/policytool32-jdk6.desktop b/build-support/disabled/java/bin32-jdk6/policytool32-jdk6.desktop
new file mode 100644
index 00000000..7b1295ef
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk6/policytool32-jdk6.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=/usr/lib32/jvm/java32-6-jdk/jre/bin/policytool
+Icon=sun-java32-jdk6
+Name=Java 6 Policy Settings (32-bit)
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Settings;Java;
diff --git a/build-support/disabled/java/bin32-jdk7/.SRCINFO b/build-support/disabled/java/bin32-jdk7/.SRCINFO
new file mode 100644
index 00000000..340404ab
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk7/.SRCINFO
@@ -0,0 +1,60 @@
+pkgbase = bin32-jdk7
+ pkgdesc = Oracle Java 7 Development Kit (32-bit) (public release - end of support)
+ pkgver = 7u80
+ pkgrel = 2
+ url = http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
+ install = bin32-jdk7.install
+ arch = x86_64
+ license = custom
+ depends = ca-certificates-java
+ depends = hicolor-icon-theme
+ depends = java32-environment-common
+ depends = java32-runtime-common
+ depends = lib32-gcc-libs
+ depends = lib32-libxrender
+ depends = lib32-libxtst
+ depends = lib32-nss
+ depends = xdg-utils
+ optdepends = eclipse: "Oracle Java Mission Control" plugins for Eclipse
+ optdepends = lib32-alsa-lib: for basic sound support
+ optdepends = lib32-gtk2: for Gtk+ look and feel (desktop)
+ provides = java32-runtime=7
+ provides = java32-runtime-headless=7
+ provides = java32-web-start=7
+ provides = java32-environment=7
+ provides = java32-runtime-jre=7
+ provides = java32-runtime-headless-jre=7
+ provides = java32-web-start-jre=7
+ provides = java32-environment-jdk=7
+ provides = java32-openjfx=7
+ options = !strip
+ backup = etc/java32-jdk7/i386/jvm.cfg
+ backup = etc/java32-jdk7/images/cursors/cursors.properties
+ backup = etc/java32-jdk7/management/jmxremote.access
+ backup = etc/java32-jdk7/management/management.properties
+ backup = etc/java32-jdk7/security/java.policy
+ backup = etc/java32-jdk7/security/java.security
+ backup = etc/java32-jdk7/security/javaws.policy
+ backup = etc/java32-jdk7/content-types.properties
+ backup = etc/java32-jdk7/flavormap.properties
+ backup = etc/java32-jdk7/fontconfig.properties.src
+ backup = etc/java32-jdk7/logging.properties
+ backup = etc/java32-jdk7/net.properties
+ backup = etc/java32-jdk7/psfont.properties.ja
+ backup = etc/java32-jdk7/psfontj2d.properties
+ backup = etc/java32-jdk7/sound.properties
+ source = https://download.oracle.com/otn/java/jdk/7u80-b15/jdk-7u80-linux-i586.tar.gz
+ source = https://download.oracle.com/otn-pub/java/jce/7/UnlimitedJCEPolicyJDK7.zip
+ source = jconsole32-jdk7.desktop
+ source = jmc32-jdk7.desktop
+ source = jvisualvm32-jdk7.desktop
+ source = policytool32-jdk7.desktop
+ md5sums = 02ec71669febecd92eb45c2810e6008a
+ md5sums = c47e997b90ddfd0d813a37ccc97fb933
+ md5sums = 721fa304a1f1057c7079330308772ca4
+ md5sums = 8a9ff08e43c75c4d7460790dff7dfd4a
+ md5sums = a16f78eb4c0002fc0e57d95ac9f503f3
+ md5sums = 28afaff6decb032e3cce3d88f2fca0d7
+
+pkgname = bin32-jdk7
+
diff --git a/build-support/disabled/java/bin32-jdk7/PKGBUILD b/build-support/disabled/java/bin32-jdk7/PKGBUILD
new file mode 100644
index 00000000..175da1bc
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk7/PKGBUILD
@@ -0,0 +1,166 @@
+# Maintainer:
+# Contributor: Felix Golatofski <contact@xdfr.de>
+# Contributor: Det
+# Contributor: Damian Nowak
+
+_pkgname=jdk
+pkgname=bin32-jdk7
+_major=7
+_minor=80
+_build=b15
+pkgver=${_major}u${_minor}
+pkgrel=2
+pkgdesc="Oracle Java $_major Development Kit (32-bit) (public release - end of support)"
+arch=('x86_64' 'i486' 'i686' 'pentium4')
+url='http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html'
+license=('custom')
+depends=('ca-certificates-java' 'hicolor-icon-theme' 'java-environment-common' 'java-runtime-common'
+ 'gcc-libs' 'libxrender' 'libxtst' 'nss' 'xdg-utils')
+optdepends=('eclipse: "Oracle Java Mission Control" plugins for Eclipse'
+ 'lib-alsa-lib: for basic sound support'
+ 'lib-gtk2: for Gtk+ look and feel (desktop)')
+provides=("java-runtime=$_major" "java-runtime-headless=$_major" "java-web-start=$_major" "java-environment=$_major"
+ "java-runtime-jre=$_major" "java-runtime-headless-jre=$_major" "java-web-start-jre=$_major" "java-environment-jdk=$_major"
+ "java-openjfx=$_major")
+
+# Variables
+DLAGENTS=('https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -b oraclelicense=a -o %o %u')
+_jname=${_pkgname}${_major}
+_jvmdir=/usr/lib/jvm/java-$_major-$_pkgname
+
+backup=("etc/java-$_jname/i386/jvm.cfg"
+ "etc/java-$_jname/images/cursors/cursors.properties"
+ "etc/java-$_jname/management/jmxremote.access"
+ "etc/java-$_jname/management/management.properties"
+ "etc/java-$_jname/security/java.policy"
+ "etc/java-$_jname/security/java.security"
+ "etc/java-$_jname/security/javaws.policy"
+ "etc/java-$_jname/content-types.properties"
+ "etc/java-$_jname/flavormap.properties"
+ "etc/java-$_jname/fontconfig.properties.src"
+ "etc/java-$_jname/logging.properties"
+ "etc/java-$_jname/net.properties"
+ "etc/java-$_jname/psfont.properties.ja"
+ "etc/java-$_jname/psfontj2d.properties"
+ "etc/java-$_jname/sound.properties")
+options=('!strip') # JDK debug-symbols
+install=$pkgname.install
+source=("https://download.oracle.com/otn/java/jdk/${pkgver}-${_build}/jdk-${pkgver}-linux-i586.tar.gz"
+ "https://download.oracle.com/otn-pub/java/jce/$_major/UnlimitedJCEPolicyJDK$_major.zip"
+ "jconsole32-$_jname.desktop"
+ "jmc32-$_jname.desktop"
+ "jvisualvm32-$_jname.desktop"
+ "policytool32-$_jname.desktop")
+md5sums=('0811a4045714bd8f1e1577e318528597'
+ '5504e2d9029ee2c41730a228758c50e1'
+ '721fa304a1f1057c7079330308772ca4'
+ '8a9ff08e43c75c4d7460790dff7dfd4a'
+ 'a16f78eb4c0002fc0e57d95ac9f503f3'
+ '28afaff6decb032e3cce3d88f2fca0d7')
+
+package() {
+ cd ${_pkgname}1.${_major}.0_${_minor}
+
+ msg2 "Creating directory structure..."
+ install -d "$pkgdir"/etc/.java/.systemPrefs
+ install -d "$pkgdir"/usr/lib/jvm/java-$_major-$_pkgname/bin
+ install -d "$pkgdir"/usr/lib/mozilla/plugins
+ install -d "$pkgdir"/usr/share/licenses/java${_major}-${_pkgname}32
+
+ msg2 "Removing redundancies..."
+ rm db/bin/*.bat
+ rm db/3RDPARTY
+ rm db/LICENSE
+ rm -r jre/lib/desktop/icons/HighContrast
+ rm -r jre/lib/desktop/icons/HighContrastInverse
+ rm -r jre/lib/desktop/icons/LowContrast
+ rm jre/lib/fontconfig.*.bfc
+ rm jre/lib/fontconfig.*.properties.src
+ rm -r jre/plugin/
+ rm jre/*.txt
+ rm jre/COPYRIGHT
+ rm jre/LICENSE
+ rm jre/README
+ rm man/ja
+
+ msg2 "Moving contents..."
+ mv * "$pkgdir"/$_jvmdir
+
+ # Cd to the new playground
+ cd "$pkgdir"/$_jvmdir
+
+ msg2 "Fixing directory structure..."
+ # Replace duplicate binaries in bin/ with links to jre/bin/
+ for i in $(ls jre/bin/); do
+ ln -sf "$_jvmdir/jre/bin/$i" "bin/$i"
+ done
+
+ # Suffix .desktops + icons (sun-java.png -> sun-java-$_jname.png)
+ for i in $(find jre/lib/desktop/ -type f); do
+ rename -- "." "32-$_jname." $i
+ done
+
+ # Fix .desktop's
+ sed -e '/JavaWS/!s|Name=Java|Name=Java '"$_major"'|' \
+ -e "s|Name=JavaWS|Name=JavaWS $_major|" \
+ -e "s|Name=.*|& (32-bit)|" \
+ -e "s|Comment=Java|Comment=Java $_major|" \
+ -e "s|Comment=.*|& (32-bit)|" \
+ -e "s|Exec=|Exec=$_jvmdir/jre/bin/|" \
+ -e "s|.png|32-$_jname.png|" \
+ -i jre/lib/desktop/applications/*
+
+ # Move .desktops + icons to /usr/share
+ mv jre/lib/desktop/* "$pkgdir"/usr/share/
+ install -m644 "$srcdir"/*.desktop "$pkgdir"/usr/share/applications/
+
+ # Move confs to /etc and link back to /usr: /usr/lib/jvm/java-$_jname/jre/lib -> /etc
+ for new_etc_path in ${backup[@]}; do
+ # Old location
+ old_usr_path="jre/lib/${new_etc_path#*$_jname/}"
+
+ # Move
+ install -Dm644 "$old_usr_path" "$pkgdir/$new_etc_path"
+ ln -sf "/$new_etc_path" "$old_usr_path"
+ done
+
+ # Link NPAPI plugin
+ ln -sf $_jvmdir/jre/lib/i386/libnpjp2.so "$pkgdir"/usr/lib/mozilla/plugins/libnpjp2-$_jname.so
+
+ # Replace JKS keystore with 'ca-certificates-java'
+ ln -sf /etc/ssl/certs/java/cacerts jre/lib/security/cacerts
+
+ # Suffix man pages
+ for i in $(find man/ -type f); do
+ mv "$i" "${i/.1}32-$_jname.1"
+ done
+
+ # Move man pages
+ mv man/ja_JP.UTF-8/ man/ja
+ mv man/ "$pkgdir"/usr/share
+
+ # Move/link licenses
+ mv db/NOTICE COPYRIGHT LICENSE *.txt "$pkgdir"/usr/share/licenses/java${_major}-${_pkgname}32/
+ ln -sf /usr/share/licenses/java${_major}-${_pkgname}32/ "$pkgdir"/usr/share/licenses/$pkgname
+
+ msg2 "Installing Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files..."
+ # Replace default "strong", but limited, cryptography to get an "unlimited strength" one for
+ # things like 256-bit AES. Enabled by default in OpenJDK:
+ # - http://suhothayan.blogspot.com/2012/05/how-to-install-java-cryptography.html
+ # - http://www.eyrie.org/~eagle/notes/debian/jce-policy.html
+ install -m644 "$srcdir"/UnlimitedJCEPolicy/*.jar jre/lib/security/
+ install -Dm644 "$srcdir"/UnlimitedJCEPolicy/README.txt \
+ "$pkgdir"/usr/share/doc/$pkgname/README_-_Java_JCE_Unlimited_Strength.txt
+
+ msg2 "Enabling copy+paste in unsigned applets..."
+ # Copy/paste from system clipboard to unsigned Java applets has been disabled since 6u24:
+ # - https://blogs.oracle.com/kyle/entry/copy_and_paste_in_java
+ # - http://slightlyrandombrokenthoughts.blogspot.com/2011/03/oracle-java-applet-clipboard-injection.html
+ _line=$(awk '/permission/{a=NR}; END{print a}' "$pkgdir"/etc/java-$_jname/security/java.policy)
+ sed "$_line a\\\\n \
+ // (AUR) Allow unsigned applets to read system clipboard, see:\n \
+ // - https://blogs.oracle.com/kyle/entry/copy_and_paste_in_java\n \
+ // - http://slightlyrandombrokenthoughts.blogspot.com/2011/03/oracle-java-applet-clipboard-injection.html\n \
+ permission java.awt.AWTPermission \"accessClipboard\";" \
+ -i "$pkgdir"/etc/java-$_jname/security/java.policy
+}
diff --git a/build-support/disabled/java/bin32-jdk7/bin32-jdk7.install b/build-support/disabled/java/bin32-jdk7/bin32-jdk7.install
new file mode 100644
index 00000000..7e849cbb
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk7/bin32-jdk7.install
@@ -0,0 +1,71 @@
+THIS_JAVA='java32-7-jdk'
+NAME='32-bit JDK 7'
+
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${bold}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+note() {
+ printf "${blue}::${yellow} archlinux-java32:${bold} $1${all_off}\n"
+}
+
+update_desktop() {
+ update-desktop-database -q
+ update-mime-database /usr/share/mime >/dev/null
+ xdg-icon-resource forceupdate &>/dev/null
+}
+
+post_install() {
+ default=$(archlinux-java32 get)
+ case ${default} in
+ "")
+ archlinux-java32 set ${THIS_JAVA}
+ note "${NAME} ('${THIS_JAVA}') set as default Java environment."
+ ;;
+ ${THIS_JAVA})
+ note "${NAME} ('${THIS_JAVA}') set as default Java environment."
+ ;;
+ *)
+ note "Default Java environment already set to '${default}'.
+ To use ${NAME} ('${THIS_JAVA}'), run:
+ # archlinux-java32 set ${THIS_JAVA}
+ For status, use:
+ $ archlinux-java32 status"
+ ;;
+ esac
+
+ if [[ ! -f /etc/ssl/certs/java/cacerts ]]; then
+ update-ca-trust
+ fi
+
+ update_desktop
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ default=$(archlinux-java32 get)
+ if [[ ${default} = ${THIS_JAVA} ]]; then
+ archlinux-java32 unset
+ fi
+}
+
+post_remove() {
+ default=$(archlinux-java32 get) # reassign
+ if [[ ${default} ]]; then
+ note "Default Java environment is '${default}'."
+ else
+ archlinux-java32 fix
+ default=$(archlinux-java32 get) # re-reassign
+ if [[ ${default} ]]; then
+ note "Default Java environment left as '${default}'."
+ else
+ note "Java environment unset."
+ fi
+ fi
+
+ update_desktop
+}
diff --git a/build-support/disabled/java/bin32-jdk7/jconsole32-jdk7.desktop b/build-support/disabled/java/bin32-jdk7/jconsole32-jdk7.desktop
new file mode 100644
index 00000000..8889e37e
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk7/jconsole32-jdk7.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=/usr/lib32/jvm/java32-7-jdk/bin/jconsole
+Icon=sun-java32-jdk7
+Name=Java 7 Monitoring and Management Console (32-bit)
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Development;Java;
diff --git a/build-support/disabled/java/bin32-jdk7/jmc32-jdk7.desktop b/build-support/disabled/java/bin32-jdk7/jmc32-jdk7.desktop
new file mode 100644
index 00000000..84217af1
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk7/jmc32-jdk7.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=/usr/lib32/jvm/java32-7-jdk/bin/jmc
+Icon=sun-java32-jdk7
+Name=Java 7 Mission Control (32-bit)
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Development;Java;
diff --git a/build-support/disabled/java/bin32-jdk7/jvisualvm32-jdk7.desktop b/build-support/disabled/java/bin32-jdk7/jvisualvm32-jdk7.desktop
new file mode 100644
index 00000000..2f9ee247
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk7/jvisualvm32-jdk7.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Exec=/usr/lib32/jvm/java32-7-jdk/bin/jvisualvm
+GenericName=Java 7 Monitoring and Performance Monitoring Tool (32-bit)
+Icon=sun-java32-jdk7
+Name=Java 7 VisualVM (32-bit)
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Development;Java;
diff --git a/build-support/disabled/java/bin32-jdk7/policytool32-jdk7.desktop b/build-support/disabled/java/bin32-jdk7/policytool32-jdk7.desktop
new file mode 100644
index 00000000..03a3f03b
--- /dev/null
+++ b/build-support/disabled/java/bin32-jdk7/policytool32-jdk7.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=/usr/lib32/jvm/java32-7-jdk/jre/bin/policytool
+Icon=sun-java32-jdk7
+Name=Java 7 Policy Settings (32-bit)
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Settings;Java;
diff --git a/build-support/disabled/libfm-extra/PKGBUILD b/build-support/disabled/libfm-extra/PKGBUILD
new file mode 100644
index 00000000..3ee20db8
--- /dev/null
+++ b/build-support/disabled/libfm-extra/PKGBUILD
@@ -0,0 +1,33 @@
+# breaking the cycle with menu-cache on i486
+depends=(${depends[@]//menu-cache/})
+depends_i686+=(menu-cache)
+depends_pentium4=("${depends_i686[@]}")
+
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s|./configure|./configure --with-extra-only |
+ /mv.*\/usr\/bin/d
+ '
+ )"
+
+ eval "$(
+ declare -f package_libfm | \
+ sed '
+ s/mv\(.*\)/(mv\1) || true/
+ '
+ )"
+ eval "$(
+ declare -f package_libfm-gtk2 | \
+ sed '
+ s/mv\(.*\)/(mv\1) || true/
+ '
+ )"
+ eval "$(
+ declare -f package_libfm-gtk3 | \
+ sed '
+ s/mv\(.*\)/(mv\1) || true/
+ '
+ )"
+fi
diff --git a/build-support/disabled/libvips884/PKGBUILD b/build-support/disabled/libvips884/PKGBUILD
new file mode 100644
index 00000000..c73ac6fb
--- /dev/null
+++ b/build-support/disabled/libvips884/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+
+pkgname=libvips884
+pkgver=8.8.4
+pkgrel=1
+pkgdesc="A fast image processing library with low memory needs"
+arch=(i486 i686 pentium4 'x86_64')
+license=('LGPL')
+url="https://libvips.github.io/libvips/"
+depends=('cfitsio' 'fftw' 'imagemagick' 'libexif' 'libgsf' 'libheif' 'libimagequant' 'librsvg'
+ 'libwebp' 'libxml2' 'openexr' 'orc' 'pango' 'poppler-glib')
+source=("https://github.com/libvips/libvips/releases/download/v$pkgver/vips-$pkgver.tar.gz")
+sha512sums=('d65eb9ce009ee0d23e3cb958ed255414ca422c3db11362afb2cd88fe82062f2ed87ac1eb80993130c35fb8e70bb297faa9f12a37faa7f3628ea8df2a26112d11')
+
+build() {
+ cd vips-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd vips-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/build-support/disabled/mesa/mesa b/build-support/disabled/mesa/mesa
new file mode 100644
index 00000000..81de2061
--- /dev/null
+++ b/build-support/disabled/mesa/mesa
@@ -0,0 +1,177 @@
+# disable openswf as it requires AVX, makes no sense with old CPUs
+# disable every new software rasterizer and take the old ones
+# see also FS32#39
+eval "$(
+ declare -f build | \
+ sed '
+ /arch-meson/s/\(gallium-drivers=.*\),swrast,swr/\1,swrast/
+ /arch-meson/s/\(-D swr-arches=\)avx,avx2/\1/
+ '
+ declare -f package_mesa | \
+ sed '
+ s@_install fakeinstall/usr/lib/libswrAVX.*@#\0@g
+ '
+)"
+
+# See https://bugs.freedesktop.org/show_bug.cgi?id=93089
+# do not build/package vulkan on i486
+# do not build i915,i965 on i486
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/-D gallium-omx=bellagio //
+ s/-D gallium-opencl=\S\+ //
+ s/-D osmesa=true /-D osmesa=false /
+ s/\(-D gallium-\S\+=\)enabled /\1disabled /g
+ s/\(-D gallium-nine=\)true /\1false /g
+ s/\(-D vulkan-drivers=\)\S\+ /\1 /
+ s/\(-D dri-drivers=\(\S\+,\)\?\)i915,/\1/
+ s/\(-D dri-drivers=\(\S\+,\)\?\)i965,/\1/
+ '
+ declare -f package_mesa | \
+ sed '
+ \,rm .*/vulkan;,d
+ \,bellagio,d
+ \,fakeinstall/usr/lib/d3d,d
+ \,fakeinstall/usr/lib/libOSMesa\.so\*,d
+ \,fakeinstall/usr/lib/libxatracker\.so\*,d
+ '
+ )"
+else
+ eval "$(
+ declare -f package_vulkan-intel package_vulkan-radeon package_opencl-mesa package_libva-mesa-driver package_mesa-vdpau | \
+ sed '
+ /^\s*{\s*$/ a arch=('"$(
+ printf '%s\n' "${arch[@]}" | \
+ grep -vxF 'i486' | \
+ tr '\n' ' '
+ )"')
+ '
+ )"
+fi
+
+# break cycle with conflicting installation files between mesa and libglvnd
+# (indirect dependency via libva)
+# i486-specific
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f package_mesa | \
+ sed '
+ $ i rm -rf $pkgdir/usr/include/EGL/egl.h \
+ rm -rf $pkgdir/usr/include/EGL/eglext.h \
+ rm -rf $pkgdir/usr/include/EGL/eglplatform.h \
+ rm -rf $pkgdir/usr/include/GL/gl.h \
+ rm -rf $pkgdir/usr/include/GL/glcorearb.h \
+ rm -rf $pkgdir/usr/include/GL/glext.h \
+ rm -rf $pkgdir/usr/include/GL/glx.h \
+ rm -rf $pkgdir/usr/include/GL/glxext.h \
+ rm -rf $pkgdir/usr/include/GLES2/gl2.h \
+ rm -rf $pkgdir/usr/include/GLES2/gl2ext.h \
+ rm -rf $pkgdir/usr/include/GLES2/gl2platform.h \
+ rm -rf $pkgdir/usr/include/GLES3/gl3.h \
+ rm -rf $pkgdir/usr/include/GLES3/gl31.h \
+ rm -rf $pkgdir/usr/include/GLES3/gl32.h \
+ rm -rf $pkgdir/usr/include/GLES3/gl3ext.h \
+ rm -rf $pkgdir/usr/include/GLES3/gl3platform.h \
+ rm -rf $pkgdir/usr/include/KHR/khrplatform.h \
+ rm -rf $pkgdir/usr/lib/pkgconfig/egl.pc \
+ rm -rf $pkgdir/usr/lib/pkgconfig/gl.pc \
+ rm -rf $pkgdir/usr/lib/pkgconfig/glesv2.pc
+ '
+ declare -f package_vulkan-mesa-layers | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ declare -f package_vulkan-swrast | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ declare -f package_vulkan-intel | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ declare -f package_vulkan-radeon | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ declare -f package_opencl-mesa | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ declare -f package_libva-mesa-driver | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ declare -f package_libva-mesa-vdpau | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ declare -f package_mesa-vdpau | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ )
+ "
+fi
+
+# add libdrm and libxshmfence explocitily for now, as deep down in th
+# dependency tree as reasonable instead of patching all packages failing above
+if [ "$CARCH" = 'i486' ]; then
+ depends+=(libdrm)
+ depends+=(libxshmfence)
+ depends+=(wayland)
+fi
+
+# defaults changed to SSE2 enabled by default, disable it
+if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/arch-meson /arch-meson -Dsse2=false /
+ '
+ )"
+fi
+
+# LTO on i486 results in out-of-memory
+if [ "$CARCH" == 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/-D b_lto=true/-D b_lto=false/
+ '
+ )"
+fi
+
+# libclc needs spirv-llvm-translator which throws heavily errors on 32-bit
+# LLVM_SPIRV :: DebugInfo/X86/dbg-declare-alloca.ll
+# LLVM_SPIRV :: DebugInfo/X86/dbg-declare-arg.ll
+# LLVM_SPIRV :: DebugInfo/X86/dbg-value-const-byref.ll
+# LLVM_SPIRV :: DebugInfo/X86/dw_op_minus_direct.ll
+# LLVM_SPIRV :: DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll
+# LLVM_SPIRV :: DebugInfo/X86/frame-register.ll
+# LLVM_SPIRV :: DebugInfo/X86/this-stack_value.ll
+# LLVM_SPIRV :: spirv-extensions-control.ll
+# LLVM_SPIRV :: transcoding/SPV_KHR_integer_dot_product-sat.ll
+# usually with segfaults in the middle of LLVM itself
+# this might be hopeless to get working
+makedepends=(${makedepends[@]//libclc/})
+eval "$(
+ declare -f build | \
+ sed '
+ s/-D gallium-opencl=icd/-D gallium-opencl=disabled/
+ '
+ declare -f package_opencl-mesa | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+)"
diff --git a/build-support/disabled/python-no-opt-no-check/PKGBUILD b/build-support/disabled/python-no-opt-no-check/PKGBUILD
new file mode 100644
index 00000000..357d41c1
--- /dev/null
+++ b/build-support/disabled/python-no-opt-no-check/PKGBUILD
@@ -0,0 +1,65 @@
+# tests run with -j4 per default effectively killing build slaves,
+# forcing single threaded execution of tests
+
+eval "$(
+ declare -f build | \
+ sed "
+ s/make /make EXTRATESTOPTS='-j 1' /
+ "
+)"
+
+eval "$(
+ declare -f check | \
+ sed "
+ s/ -m test.regrtest/ -m test.regrtest -j1/
+ "
+)"
+
+makedepends=(${makedepends[@]//xorg-server-xvfb/})
+makedepends_i686+=(xorg-server-xvfb)
+makedepends_pentium4=("${makedepends_i686[@]}")
+
+# skip xvfb stuff on i486
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ /export servernum=99/,/done/d
+ s/.*make/make/
+ '
+ )"
+ eval "$(
+ declare -f check | \
+ sed '
+ /export servernum=99/,/done/d
+ s/xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum"//
+ '
+ )"
+fi
+
+# ignore failing realtime scheduling test as the systemd-nspawn container
+# lacks the SYS_NICE capability (at least, I think so)
+# ERROR: test_sched_rr_get_interval (test.test_posix.PosixTester)
+# Bonus points for finding the option to ignore single tests in test_posix
+# test_gdb currently fails for unknown reasons, also not that important
+# test_socket tests take more than 1.5 hours, so ignoring them
+# Ignore test_cmath test_math test_turtle - they fail due to too low precision
+# on i686 (all of them - really? - actually, I just checket test_cmath)
+eval "$(
+ declare -f check | \
+ sed "
+ /-uall/ s/;\?$/ -x test_posix -x test_gdb -x test_socket -x test_cmath -x test_math -x test_turtle \\|\\| true/g
+ "
+)"
+
+# LTO, PDO takes too long
+eval "$(
+ declare -f build | \
+ sed "
+ s/--with-lto/--without-lto/
+ s/--enable-optimizations/--disable-optimizations/
+ "
+)"
+
+# for now disable testing
+unset check
diff --git a/build-support/disabled/python-pip-bootstrap/.SRCINFO b/build-support/disabled/python-pip-bootstrap/.SRCINFO
deleted file mode 100644
index d88edfcc..00000000
--- a/build-support/disabled/python-pip-bootstrap/.SRCINFO
+++ /dev/null
@@ -1,21 +0,0 @@
-pkgbase = python-pip-bootstrap
- pkgdesc = bootstap pip and setuptools for bootstrapping python
- pkgver = 0.0.1
- pkgrel = 1
- url = https://bootstrap.pypa.io/
- arch = i486
- arch = i686
- arch = x86_64
- arch = armv6h
- arch = armv7h
- source = https://bootstrap.pypa.io/get-pip.py
- sha512sums = 29971130c5d1d1baf2b51ef689b40c91fcd0d1e62de6f99d6abef6879684a59843be539cd112dfddc3637cc3d1a91c79f775d80f6aa2fe920252710d48d2934d
-
-pkgname = python-pip-bootstrap
- install = install.sh
- depends = python
-
-pkgname = python2-pip-bootstrap
- install = install2.sh
- depends = python2
-
diff --git a/build-support/disabled/python-pip-bootstrap/PKGBUILD b/build-support/disabled/python-pip-bootstrap/PKGBUILD
index f278e657..7dc64258 100644
--- a/build-support/disabled/python-pip-bootstrap/PKGBUILD
+++ b/build-support/disabled/python-pip-bootstrap/PKGBUILD
@@ -1,28 +1,26 @@
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
pkgname=('python-pip-bootstrap' 'python2-pip-bootstrap')
-pkgver='19.3.1'
-pkgrel='1'
+pkgver=0.0.1
+pkgrel=1
pkgdesc="bootstap pip and setuptools for bootstrapping python"
-arch=('x86_64' 'armv6h' 'armv7h')
+arch=(i486 'i686' 'x86_64' 'armv6h' 'armv7h')
url="https://bootstrap.pypa.io/"
-source=("get-pip-${pkgver}.py::https://bootstrap.pypa.io/get-pip.py")
-sha512sums=('d8744fcfa4dce749675632be0691a5e9bdac95e34d5b787bca6e635e2d6a25badbeb0b5f5ff6af1beb879604bdf060829805622a835a4b579967d806d3a642b5')
+source=("https://bootstrap.pypa.io/get-pip.py")
+sha512sums=('ae0f0b2e41f435d80f955eb577f74fa9561ba283b8c7f65a5dd96270beebf7d2c220d107865e07a31e66d25dd33953cca852100b3f04bf8990626aa69c60fa98')
package_python-pip-bootstrap() {
- provides=("python-pip=${pkgver}")
depends=('python')
install=install.sh
mkdir -p "${pkgdir}/usr/bin"
- cp "${srcdir}/get-pip-${pkgver}.py" "${pkgdir}/usr/bin/."
+ cp "${srcdir}/get-pip.py" "${pkgdir}/usr/bin/."
}
package_python2-pip-bootstrap() {
- provides=("python2-pip=${pkgver}")
depends=('python2')
install=install2.sh
mkdir -p "${pkgdir}/usr/bin"
- cp "${srcdir}/get-pip-${pkgver}.py" "${pkgdir}/usr/bin/get-pip2.py"
+ cp "${srcdir}/get-pip.py" "${pkgdir}/usr/bin/get-pip2.py"
}
diff --git a/build-support/disabled/python-setuptools-egg-info-manually b/build-support/disabled/python-setuptools-egg-info-manually
new file mode 100644
index 00000000..9320e0b6
--- /dev/null
+++ b/build-support/disabled/python-setuptools-egg-info-manually
@@ -0,0 +1,30 @@
+# create directory before installing (otherwise installing fails)
+eval "$(
+ declare -f package | \
+ sed '
+ 4 i mkdir build/scripts-3.10
+ '
+)"
+
+# ignore errors in tests, but execute the tests
+eval "$(
+ declare -f check | \
+ sed '
+ s/\(python.*\)/\1 || true/
+ '
+)"
+
+unset checkdepends
+unset check
+
+# egg-infos are not installed correctly, create them before and install
+# them manually
+eval "$(
+ declare -f package | \
+ sed '
+ 6 i python setup.py egg_info \
+ rm -rf "$pkgdir"/usr/lib/python3.10/site-packages/setuptools-57.4.0-py3.10.egg-info \
+ mkdir "$pkgdir"/usr/lib/python3.10/site-packages/setuptools-57.4.0-py3.10.egg-info \
+ cp -R setuptools.egg-info/* "$pkgdir"/usr/lib/python3.10/site-packages/setuptools-57.4.0-py3.10.egg-info/.
+ '
+)"
diff --git a/build-support/disabled/python-urllib3/PKGBUILD b/build-support/disabled/python-urllib3/PKGBUILD
new file mode 100644
index 00000000..ab31fc8d
--- /dev/null
+++ b/build-support/disabled/python-urllib3/PKGBUILD
@@ -0,0 +1,28 @@
+# for now ignore failing TLS tests (not really comforting from a security
+# point of view, but it blocks stuff)
+# FAILED test/contrib/test_pyopenssl.py::TestSSL::test_ssl_read_timeout - urlli...
+# FAILED test/contrib/test_pyopenssl.py::TestSSL::test_ssl_failed_fingerprint_verification
+# FAILED test/with_dummyserver/test_socketlevel.py::TestSSL::test_ssl_read_timeout
+
+eval "$(
+ declare -f check | \
+ sed '
+ s/python setup.py pytest/python setup.py pytest || true/
+ '
+)"
+
+# breaking the cycle with python-spinx
+makedepends=(${makedepends[@]/python-sphinx-furo})
+makedepends=(${makedepends[@]/python-sphinx})
+eval "$(
+ declare -f build | \
+ sed '
+ /make html/d
+ '
+)"
+eval "$(
+ declare -f package_python-urllib3-doc | \
+ sed '
+ /cp.*_build\/html/d
+ '
+)"
diff --git a/build-support/disabled/python310/PKGBUILD b/build-support/disabled/python310/PKGBUILD
new file mode 100644
index 00000000..a15bcc7c
--- /dev/null
+++ b/build-support/disabled/python310/PKGBUILD
@@ -0,0 +1,73 @@
+# tests run with -j4 per default effectively killing build slaves,
+# forcing single threaded execution of tests
+
+eval "$(
+ declare -f build | \
+ sed "
+ s/make /make EXTRATESTOPTS='-j 1' /
+ "
+)"
+
+eval "$(
+ declare -f check | \
+ sed "
+ s/ -m test.regrtest/ -m test.regrtest -j1/
+ "
+)"
+
+makedepends=(${makedepends[@]//xorg-server-xvfb/})
+makedepends_i686+=(xorg-server-xvfb)
+makedepends_pentium4=("${makedepends_i686[@]}")
+
+# skip xvfb stuff on i486
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ /export servernum=99/,/done/d
+ s/.*make/make/
+ '
+ )"
+ eval "$(
+ declare -f check | \
+ sed '
+ /export servernum=99/,/done/d
+ s/xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum"//
+ '
+ )"
+fi
+
+# ignore failing realtime scheduling test as the systemd-nspawn container
+# lacks the SYS_NICE capability (at least, I think so)
+# ERROR: test_sched_rr_get_interval (test.test_posix.PosixTester)
+# Bonus points for finding the option to ignore single tests in test_posix
+# test_gdb currently fails for unknown reasons, also not that important
+# test_socket tests take more than 1.5 hours, so ignoring them
+# Ignore test_cmath test_math test_turtle - they fail due to too low precision
+# on i686 (all of them - really? - actually, I just checket test_cmath)
+eval "$(
+ declare -f check | \
+ sed "
+ /-uall/ s/;\?$/ -x test_posix -x test_gdb -x test_socket -x test_cmath -x test_math -x test_turtle \\|\\| true/g
+ "
+)"
+
+# enable ensurepip
+eval "$(
+ declare -f build | \
+ sed "
+ s/--without-ensurepip/--with-ensurepip/
+ "
+)"
+
+# LTO, PDO takes too long
+eval "$(
+ declare -f build | \
+ sed "
+ s/--with-lto/--without-lto/
+ s/--enable-optimizations/--disable-optimizations/
+ "
+)"
+
+# for now disable testing
+unset check
diff --git a/build-support/disabled/releng/archiso32-git/PKGBUILD b/build-support/disabled/releng/archiso32-git/PKGBUILD
new file mode 100644
index 00000000..ee776241
--- /dev/null
+++ b/build-support/disabled/releng/archiso32-git/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Sebastian Lau <lauseb644@gmail.com>
+# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
+
+_pkgname=archiso32
+pkgname="${_pkgname}-git"
+pkgver=i686.33.2.g1e308c7
+pkgrel=1
+pkgdesc="Arch Linux 32 livecd/liveusb generation scripts"
+arch=('any')
+url="http://archlinux32.org"
+license=('GPL')
+depends=('libisoburn' 'squashfs-tools' 'btrfs-progs' 'dosfstools' 'lynx' 'arch-install-scripts')
+optdepends=('qemu: quickly test isos')
+makedepends=('git')
+provides=('archiso')
+conflicts=('archiso')
+source=("git://github.com/archlinux32/${_pkgname}.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ git describe --long | sed 's/-/./g;s/v//'
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+
+ make DESTDIR="${pkgdir}/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/build-support/disabled/releng/asp32-git/PKGBUILD b/build-support/disabled/releng/asp32-git/PKGBUILD
new file mode 100644
index 00000000..5eaa912e
--- /dev/null
+++ b/build-support/disabled/releng/asp32-git/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=asp32-git
+pkgver=1
+pkgrel=1
+pkgdesc="Arch Linux build source file management tool (for Archlinux32)"
+arch=(any)
+url="https://git.archlinux32.org/archlinux32/asp32"
+license=(MIT)
+depends=(awk bash jq git libarchive)
+conflicts=(asp)
+makedepends=(asciidoc)
+source=("git+https://git.archlinux32.org/archlinux32/asp32.git")
+md5sums=('SKIP')
+
+build() {
+ make -C asp32
+}
+
+package() {
+ make -C asp32 PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 asp32/LICENSE "$pkgdir/usr/share/licenses/asp/LICENSE"
+}
+
+# vim: ft=sh syn=sh et
diff --git a/build-support/disabled/rime-luna-pinyin-bootstrap/PKGBUILD b/build-support/disabled/rime-luna-pinyin-bootstrap/PKGBUILD
new file mode 100644
index 00000000..0f663756
--- /dev/null
+++ b/build-support/disabled/rime-luna-pinyin-bootstrap/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+
+pkgname=rime-luna-pinyin-bootstrap
+_pkgname=${pkgname%-*}
+pkgver='0.0.0.20210303'
+conflicts=(rime-luna-pinyin)
+provides=("rime-luna-pinyin=$pkgver")
+_commit=f1268e192ca88b9526467ce04ac3e47c837891ad
+pkgrel='1'
+pkgdesc="Luna pinyin for rime"
+arch=('x86_64')
+url="https://github.com/rime/rime-luna-pinyin"
+license=('LGPL')
+# dependency for reverse lookup
+#depends=('rime-stroke')
+makedepends=('librime' 'rime-prelude' 'rime-essay')
+source=("https://github.com/rime/rime-luna-pinyin/archive/$_commit/rime-luna-pinyin-$_commit.tar.gz")
+sha512sums=('5a4f91f04f807ba84650a52acf8f634382c32eb978e8895f97b05594ea90cf6771386bb80cda1b694905c50d64cf8b4e8514abb762c4d18035b73c67148339f9')
+
+prepare() {
+ cd $_pkgname-$_commit
+ # Link essentials
+ for _f in $(pacman -Qql rime-prelude rime-essay | grep -v "/$"); do ln -sf $_f; done
+}
+
+build(){
+ cd $_pkgname-$_commit
+ for _s in $(ls *.schema.yaml); do rime_deployer --compile $_s; done
+}
+
+package() {
+ cd $_pkgname-$_commit
+ find . -type l -delete
+ rm build/*.txt
+ install -Dm644 *.yaml -t "$pkgdir"/usr/share/rime-data/
+ install -Dm644 build/* -t "$pkgdir"/usr/share/rime-data/build/
+}
diff --git a/build-support/disabled/rust-bin/PKGBUILD b/build-support/disabled/rust-bin/PKGBUILD
index 125dac5f..d6610764 100644
--- a/build-support/disabled/rust-bin/PKGBUILD
+++ b/build-support/disabled/rust-bin/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
pkgname=rust-bin
-pkgver=1.38.0
+pkgver=1.57.0
pkgrel=1
pkgdesc='Binary precompiled packages for Rust'
url='https://www.rust-lang.org/'
@@ -15,11 +15,11 @@ source_x86_64=("https://static.rust-lang.org/dist/rust-$pkgver-x86_64-unknown-li
source_pentium4=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc})
source_i686=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc})
-sha256sums_x86_64=('cb573229bfd32928177c3835fdeb62d52da64806b844bc1095c6225b0665a1cb'
+sha256sums_x86_64=('ea0253784b2e5c22659ff148d492a68d2e11da734491714ebc61cc93896efcda'
'SKIP')
-sha256sums_pentium4=('41aed8a350e24a0cac1444ed99b3dd24a90bc581dd88cb420c6e547d6b5f57af'
+sha256sums_pentium4=('7e4ac8ca2874897099a3ceb89039ceee170f474a98ee247589fd6bca8dda7cfa'
'SKIP')
-sha256sums_i686=('41aed8a350e24a0cac1444ed99b3dd24a90bc581dd88cb420c6e547d6b5f57af'
+sha256sums_i686=('7e4ac8ca2874897099a3ceb89039ceee170f474a98ee247589fd6bca8dda7cfa'
'SKIP')
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
@@ -27,8 +27,7 @@ validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag a
case "${CARCH}" in
x86_64) _ARCH='x86_64-unknown-linux-gnu';;
- pentium4) _ARCH='i686-unknown-linux-gnu';;
- i686) _ARCH='i686-unknown-linux-gnu';;
+ i686|pentium4) _ARCH='i686-unknown-linux-gnu';;
esac
package() {
diff --git a/build-support/disabled/rust140/PKGBUILD b/build-support/disabled/rust140/PKGBUILD
new file mode 100644
index 00000000..6d05c3a7
--- /dev/null
+++ b/build-support/disabled/rust140/PKGBUILD
@@ -0,0 +1,232 @@
+# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
+# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
+# Contributor: Daniel Micay <danielmicay@gmail.com>
+# Contributor: userwithuid <userwithuid@gmail.com>
+
+pkgname=('rust140' 'rust140-docs')
+epoch=1
+pkgver=1.40.0
+pkgrel=1
+
+_llvm_ver=9.0.1
+
+pkgdesc='Systems programming language focused on safety, speed and concurrency'
+url='https://www.rust-lang.org/'
+arch=(i486 i686 pentium4 'x86_64')
+license=('MIT' 'Apache')
+
+makedepends=('rust=1:1.39.0' "llvm=$_llvm_ver" 'libffi' 'perl' 'python' 'curl' 'cmake')
+checkdepends=('procps-ng' 'gdb')
+
+options=('!emptydirs')
+
+source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
+ "https://github.com/llvm/llvm-project/releases/download/llvmorg-$_llvm_ver/compiler-rt-$_llvm_ver.src.tar.xz"{,.sig})
+
+sha256sums=('d2e8f931d16a0539faaaacd801e0d92c58df190269014b2360c6ab2a90ee3475'
+ 'SKIP'
+ 'c2bfab95c9986318318363d7f371a85a95e333bc0b34fbfa52edbd3f5e3a9077'
+ 'SKIP')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
+ '474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard <tstellar@redhat.com>
+ 'B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
+
+prepare() {
+ cd "rustc-$pkgver-src"
+
+ cat >config.toml <<END
+[llvm]
+link-shared = true
+
+[build]
+target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
+cargo = "/usr/bin/cargo"
+rustc = "/usr/bin/rustc"
+python = "/usr/bin/python"
+extended = true
+sanitizers = false
+profiler = true
+vendor = true
+
+[install]
+prefix = "/usr"
+
+[rust]
+# LLVM crashes when passing an object through ThinLTO twice. This is triggered when using rust
+# code in cross-language LTO if libstd was built using ThinLTO.
+# http://blog.llvm.org/2019/09/closing-gap-cross-language-lto-between.html
+# https://github.com/rust-lang/rust/issues/54872
+codegen-units-std = 1
+
+debuginfo-level = 2
+
+channel = "stable"
+
+rpath = false
+
+[target.x86_64-unknown-linux-gnu]
+llvm-config = "/usr/bin/llvm-config"
+END
+}
+
+build() {
+ cd "rustc-$pkgver-src"
+
+ export RUST_BACKTRACE=1
+ export RUST_COMPILER_RT_ROOT="$srcdir/compiler-rt-$_llvm_ver.src"
+
+ python ./x.py dist -j "$(nproc)"
+ DESTDIR="$PWD"/dest-rust python ./x.py install -j "$(nproc)"
+
+ # move docs and lib32 libs out of the way for splitting
+ mv dest-rust/usr/lib/rustlib/i686-unknown-linux-gnu dest-i686
+ mv dest-rust/usr/share/doc dest-doc
+}
+
+package_rust140() {
+ depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2')
+ optdepends=('lldb: rust-lldb script'
+ 'gdb: rust-gdb script')
+ provides=('cargo' 'rustfmt')
+ conflicts=('cargo' 'rustfmt')
+ replaces=('cargo' 'rustfmt')
+
+ cd "rustc-$pkgver-src"
+
+ mv dest-rust/* "$pkgdir"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+
+ # delete unnecesary files, e.g. components and manifest files only used for the uninstall script
+ cd "$pkgdir"/usr/lib/rustlib
+ rm components install.log manifest-* rust-installer-version uninstall.sh
+
+ # rustbuild always installs copies of the shared libraries to /usr/lib,
+ # overwrite them with symlinks to the per-architecture versions
+ ln -srft "$pkgdir"/usr/lib x86_64-unknown-linux-gnu/lib/*.so
+
+ install -d "$pkgdir"/usr/share/bash-completion
+ mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/
+}
+
+package_lib32-rust-libs() {
+ descriptino=('32-bit libraries for Rust')
+ depends=('lib32-gcc-libs')
+ provides=('lib32-rust')
+ conflicts=('lib32-rust')
+ replaces=('lib32-rust')
+
+ cd "rustc-$pkgver-src"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+
+ install -d "$pkgdir"/usr/lib/rustlib/ "$pkgdir"/usr/lib32/
+ mv dest-i686 "$pkgdir"/usr/lib/rustlib/i686-unknown-linux-gnu
+ ln -srft "$pkgdir"/usr/lib32 "$pkgdir"/usr/lib/rustlib/i686-unknown-linux-gnu/lib/*.so
+}
+
+package_rust140-docs() {
+ description=('Documentation for the Rust programming language')
+
+ cd "rustc-$pkgver-src"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+
+ install -d "$pkgdir"/usr/share/doc
+ mv dest-doc/* "$pkgdir"/usr/share/doc
+}
+
+# vim:set ts=2 sw=2 et:
+# enable i686-unknown-linux-gnu target
+# and replace pentium4 (SSE2) with pentium3 (no SSE2) in the compiler spec file
+#
+# Also trying to reduce memory usage by building with
+# -debuginfo-level-std=1
+# see https://github.com/rust-lang/rust/issues/60294
+
+source+=(config.toml.patch)
+sha256sums+=('42e861ba90335d0e2e666e10b12d9ff85ea1bdb711176fb3c09e92375e193660')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ $ i patch -p1 -i "$srcdir/config.toml.patch"
+ '
+)"
+
+# stop insanity of nproc (see FS#62952)
+eval "$(
+ declare -f build | \
+ sed '
+ s/-j"$(nproc)"/-j16/
+ '
+)"
+
+if [ "${CARCH}" != 'pentium4' ]; then
+ eval "$(
+ declare -f prepare | \
+ sed '
+ $ i sed -i "s/pentium4/pentium3/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/spec/i686_unknown_linux_gnu.rs"
+ $ i sed -i "s/pentium4/pentium3/g" "$srcdir/rustc-$pkgver-src/src/librustc_target/spec/i686_unknown_linux_gnu.rs"
+ $ i sed -i "s/a75a6025d7e3424edf9baf3039056c0f8eea157631a175d00ac5a218aa54b510/484bf8be15015b330fa9a97b6dabb8c7627e59d5cddb2dd0e83478749f8aabad/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/.cargo-checksum.json"
+ '
+ )"
+fi
+
+# Don't move lib32 support into rust32-lib, we are on 32-bit in the end
+# and don't draw a symlink to 64-bit libraries (but to 32-bit instead)
+
+pkgname=(
+ $(
+ printf '%s\n' "${pkgname[@]}" | \
+ grep -v '^lib32-rust-libs'
+ )
+)
+
+eval "$(
+ declare -f package_rust140 | \
+ sed '
+ /mv.*i686-unknown-linux-gnu.*/d
+ /ln /s/x86_64-unknown-linux-gnu/i686-unknown-linux-gnu/g
+ '
+)"
+
+eval "$(
+ declare -f build | \
+ sed '
+ /mv.*i686-unknown-linux-gnu.*/d
+ /ln /s/x86_64-unknown-linux-gnu/i686-unknown-linux-gnu/g
+ '
+)"
+
+# watch for files changing which need patching during the x.py craziness!
+# currently this is duplicate U1024 and P1024 types (this is currently needed
+# for i686 and 1.38.0)
+source+=('watcher.sh')
+sha256sums+=('c91b55a428ef463fc1529724da0c7f3930bd9d4b32b4596a14be77cc3f1e0594')
+
+if [ "${CARCH}" = "i686" ]; then
+ makedepends+=('inotify-tools' 'procps-ng')
+
+ eval "$(
+ declare -f build | \
+ sed '
+ /\.\/x.py/ i \
+ chmod u+x "$srcdir/watcher.sh" \
+ "$srcdir/watcher.sh" "$srcdir" & \
+ _kill_pid=$! \
+ sleep 10
+ /\.\/x.py/ a \
+ kill $_kill_pid || true
+ '
+ )"
+fi
+
+# Enable on demand, if your previous rust is broken, see also build-support and AUR
+# for rust-bin.
+#makedepends=(${makedepends[@]//rust/})
+#makedepends+=('rust-bin')
+sha256sums=('dd97005578defc10a482bff3e4e728350d2099c60ffcf1f5e189540c39a549ad'
+ 'SKIP'
+ 'c2bfab95c9986318318363d7f371a85a95e333bc0b34fbfa52edbd3f5e3a9077'
+ 'SKIP'
+ '42e861ba90335d0e2e666e10b12d9ff85ea1bdb711176fb3c09e92375e193660'
+ 'c91b55a428ef463fc1529724da0c7f3930bd9d4b32b4596a14be77cc3f1e0594')
+groups+=(build-shims)
diff --git a/build-support/disabled/rust140/config.toml.patch b/build-support/disabled/rust140/config.toml.patch
new file mode 100644
index 00000000..8d0762cd
--- /dev/null
+++ b/build-support/disabled/rust140/config.toml.patch
@@ -0,0 +1,26 @@
+diff -rauN a/config.toml b/config.toml
+--- a/config.toml 2019-10-20 16:44:31.647900892 +0200
++++ b/config.toml 2019-10-20 16:44:39.637875348 +0200
+@@ -2,7 +2,7 @@
+ link-shared = true
+
+ [build]
+-target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
++target = ["i686-unknown-linux-gnu"]
+ cargo = "/usr/bin/cargo"
+ rustc = "/usr/bin/rustc"
+ python = "/usr/bin/python"
+@@ -21,11 +21,11 @@
+ # https://github.com/rust-lang/rust/issues/54872
+ codegen-units-std = 1
+
+-debuginfo-level = 2
++debuginfo-level = 0
+
+ channel = "stable"
+
+ rpath = false
+
+-[target.x86_64-unknown-linux-gnu]
++[target.i686-unknown-linux-gnu]
+ llvm-config = "/usr/bin/llvm-config"
diff --git a/build-support/disabled/rust140/watcher.sh b/build-support/disabled/rust140/watcher.sh
new file mode 100755
index 00000000..98228b5d
--- /dev/null
+++ b/build-support/disabled/rust140/watcher.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+term() {
+ echo "--> Got SIGTERM"
+ echo "--> killing inotifywait with PID $inotifywait"
+ kill -TERM "$inotifywait"
+ sleep 10
+ kill -9 "$inotifywait"
+}
+
+srcdir="$1"
+
+trap term SIGTERM
+
+inotifywait -mr -e close_write --format %w%f $srcdir | while read -r FILE; do
+ case "$FILE" in
+ *consts.rs)
+ echo "--> patching $FILE"
+ sed -i '/pub type U1024/d;/pub type P1024/d' $FILE
+ echo "--> finished patching $FILE"
+ ;;
+ esac
+done &
+inotifywait=$(ps -ef | grep inotifywait | grep -v grep | tr -s ' ' | cut -d ' ' -f2)
+echo "--> waiting for inotifywait $inotifywait"
+wait "$inotifywait"
+echo "--> watcher terminated"
diff --git a/build-support/disabled/rust141/PKGBUILD b/build-support/disabled/rust141/PKGBUILD
new file mode 100644
index 00000000..afa6ad96
--- /dev/null
+++ b/build-support/disabled/rust141/PKGBUILD
@@ -0,0 +1,218 @@
+# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
+# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
+# Contributor: Daniel Micay <danielmicay@gmail.com>
+# Contributor: userwithuid <userwithuid@gmail.com>
+
+pkgname=('rust141' 'rust141-docs')
+epoch=1
+pkgver=1.41.0
+pkgrel=1
+
+_llvm_ver=9.0.1
+
+pkgdesc='Systems programming language focused on safety, speed and concurrency'
+url='https://www.rust-lang.org/'
+arch=(i486 i686 pentium4 'x86_64')
+license=('MIT' 'Apache')
+
+makedepends=('rust140' "llvm=$_llvm_ver" 'libffi' 'perl' 'python' 'curl' 'cmake')
+checkdepends=('procps-ng' 'gdb')
+
+options=('!emptydirs')
+
+source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
+ "https://github.com/llvm/llvm-project/releases/download/llvmorg-$_llvm_ver/compiler-rt-$_llvm_ver.src.tar.xz"{,.sig})
+
+sha256sums=('5546822c09944c4d847968e9b7b3d0e299f143f307c00fa40e84a99fabf8d74b'
+ 'SKIP'
+ 'c2bfab95c9986318318363d7f371a85a95e333bc0b34fbfa52edbd3f5e3a9077'
+ 'SKIP')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
+ '474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard <tstellar@redhat.com>
+ 'B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
+
+prepare() {
+ cd "rustc-$pkgver-src"
+
+ cat >config.toml <<END
+[llvm]
+link-shared = true
+
+[build]
+target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
+cargo = "/usr/bin/cargo"
+rustc = "/usr/bin/rustc"
+python = "/usr/bin/python"
+extended = true
+sanitizers = false
+profiler = true
+vendor = true
+
+[install]
+prefix = "/usr"
+
+[rust]
+# LLVM crashes when passing an object through ThinLTO twice. This is triggered when using rust
+# code in cross-language LTO if libstd was built using ThinLTO.
+# http://blog.llvm.org/2019/09/closing-gap-cross-language-lto-between.html
+# https://github.com/rust-lang/rust/issues/54872
+codegen-units-std = 1
+
+debuginfo-level = 2
+
+channel = "stable"
+
+rpath = false
+
+[target.x86_64-unknown-linux-gnu]
+llvm-config = "/usr/bin/llvm-config"
+END
+}
+
+build() {
+ cd "rustc-$pkgver-src"
+
+ export RUST_BACKTRACE=1
+ export RUST_COMPILER_RT_ROOT="$srcdir/compiler-rt-$_llvm_ver.src"
+
+ python ./x.py dist -j "$(nproc)"
+ DESTDIR="$PWD"/dest-rust python ./x.py install -j "$(nproc)"
+
+ # move docs and lib32 libs out of the way for splitting
+ mv dest-rust/usr/lib/rustlib/i686-unknown-linux-gnu dest-i686
+ mv dest-rust/usr/share/doc dest-doc
+}
+
+package_rust141() {
+ depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2')
+ optdepends=('lldb: rust-lldb script'
+ 'gdb: rust-gdb script')
+ provides=('cargo' 'rustfmt')
+ conflicts=('cargo' 'rustfmt')
+ replaces=('cargo' 'rustfmt')
+
+ cd "rustc-$pkgver-src"
+
+ mv dest-rust/* "$pkgdir"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+
+ # delete unnecesary files, e.g. components and manifest files only used for the uninstall script
+ cd "$pkgdir"/usr/lib/rustlib
+ rm components install.log manifest-* rust-installer-version uninstall.sh
+
+ # rustbuild always installs copies of the shared libraries to /usr/lib,
+ # overwrite them with symlinks to the per-architecture versions
+ ln -srft "$pkgdir"/usr/lib x86_64-unknown-linux-gnu/lib/*.so
+
+ install -d "$pkgdir"/usr/share/bash-completion
+ mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/
+}
+
+package_lib32-rust-libs() {
+ descriptino=('32-bit libraries for Rust')
+ depends=('lib32-gcc-libs')
+ provides=('lib32-rust')
+ conflicts=('lib32-rust')
+ replaces=('lib32-rust')
+
+ cd "rustc-$pkgver-src"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+
+ install -d "$pkgdir"/usr/lib/rustlib/ "$pkgdir"/usr/lib32/
+ mv dest-i686 "$pkgdir"/usr/lib/rustlib/i686-unknown-linux-gnu
+ ln -srft "$pkgdir"/usr/lib32 "$pkgdir"/usr/lib/rustlib/i686-unknown-linux-gnu/lib/*.so
+}
+
+package_rust141-docs() {
+ description=('Documentation for the Rust programming language')
+
+ cd "rustc-$pkgver-src"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+
+ install -d "$pkgdir"/usr/share/doc
+ mv dest-doc/* "$pkgdir"/usr/share/doc
+}
+
+# vim:set ts=2 sw=2 et:
+# enable i686-unknown-linux-gnu target
+# and replace pentium4 (SSE2) with pentium3 (no SSE2) in the compiler spec file
+#
+# Also trying to reduce memory usage by building with
+# -debuginfo-level-std=1
+# see https://github.com/rust-lang/rust/issues/60294
+
+source+=(config.toml.patch)
+sha256sums+=('42e861ba90335d0e2e666e10b12d9ff85ea1bdb711176fb3c09e92375e193660')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ $ i patch -p1 -i "$srcdir/config.toml.patch"
+ '
+)"
+
+# stop insanity of nproc (see FS#62952)
+eval "$(
+ declare -f build | \
+ sed '
+ s/-j"$(nproc)"/-j16/
+ '
+)"
+
+if [ "${CARCH}" != 'pentium4' ]; then
+ eval "$(
+ declare -f prepare | \
+ sed '
+ $ i sed -i "s/pentium4/pentium3/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/spec/i686_unknown_linux_gnu.rs"
+ $ i sed -i "s/pentium4/pentium3/g" "$srcdir/rustc-$pkgver-src/src/librustc_target/spec/i686_unknown_linux_gnu.rs"
+ $ i sed -i "s/a75a6025d7e3424edf9baf3039056c0f8eea157631a175d00ac5a218aa54b510/484bf8be15015b330fa9a97b6dabb8c7627e59d5cddb2dd0e83478749f8aabad/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/.cargo-checksum.json"
+ '
+ )"
+fi
+
+# Don't move lib32 support into rust32-lib, we are on 32-bit in the end
+# and don't draw a symlink to 64-bit libraries (but to 32-bit instead)
+
+pkgname=(
+ $(
+ printf '%s\n' "${pkgname[@]}" | \
+ grep -v '^lib32-rust-libs'
+ )
+)
+
+eval "$(
+ declare -f package_rust141 | \
+ sed '
+ /mv.*i686-unknown-linux-gnu.*/d
+ /ln /s/x86_64-unknown-linux-gnu/i686-unknown-linux-gnu/g
+ '
+)"
+
+eval "$(
+ declare -f build | \
+ sed '
+ /mv.*i686-unknown-linux-gnu.*/d
+ /ln /s/x86_64-unknown-linux-gnu/i686-unknown-linux-gnu/g
+ '
+)"
+
+# work around P1024, U1024 typenum bug for old rust releases (bundled
+# typenum version contains a buggy version)
+if [ "${CARCH}" = "i686" ]; then
+ source+=('rustc-1.41.0-src-typenum-U1024.patch')
+ sha256sums+=('5e5ff622332c9f3fc00ef200d2d14de00e8973ea09a35cd42631ac46264a358a')
+ eval "$(
+ declare -f prepare | \
+ sed '
+ /}/ i \
+ patch -Np1 < "$srcdir/rustc-1.41.0-src-typenum-U1024.patch"
+ '
+ )"
+
+fi
+
+# Enable on demand, if your previous rust is broken, see also build-support and AUR
+# for rust-bin.
+#makedepends=(${makedepends[@]//rust/})
+#makedepends+=('rust-bin')
+groups+=(build-shims)
diff --git a/build-support/disabled/rust141/config.toml.patch b/build-support/disabled/rust141/config.toml.patch
new file mode 100644
index 00000000..8d0762cd
--- /dev/null
+++ b/build-support/disabled/rust141/config.toml.patch
@@ -0,0 +1,26 @@
+diff -rauN a/config.toml b/config.toml
+--- a/config.toml 2019-10-20 16:44:31.647900892 +0200
++++ b/config.toml 2019-10-20 16:44:39.637875348 +0200
+@@ -2,7 +2,7 @@
+ link-shared = true
+
+ [build]
+-target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
++target = ["i686-unknown-linux-gnu"]
+ cargo = "/usr/bin/cargo"
+ rustc = "/usr/bin/rustc"
+ python = "/usr/bin/python"
+@@ -21,11 +21,11 @@
+ # https://github.com/rust-lang/rust/issues/54872
+ codegen-units-std = 1
+
+-debuginfo-level = 2
++debuginfo-level = 0
+
+ channel = "stable"
+
+ rpath = false
+
+-[target.x86_64-unknown-linux-gnu]
++[target.i686-unknown-linux-gnu]
+ llvm-config = "/usr/bin/llvm-config"
diff --git a/build-support/disabled/rust141/rustc-1.41.0-src-typenum-U1024.patch b/build-support/disabled/rust141/rustc-1.41.0-src-typenum-U1024.patch
new file mode 100644
index 00000000..d1484d5c
--- /dev/null
+++ b/build-support/disabled/rust141/rustc-1.41.0-src-typenum-U1024.patch
@@ -0,0 +1,20 @@
+diff -rauN rustc-1.41.0-src/vendor/typenum/build/main.rs rustc-1.41.0-src-typenum-U1024-patch/vendor/typenum/build/main.rs
+--- rustc-1.41.0-src/vendor/typenum/build/main.rs 2020-01-27 18:21:02.000000000 +0100
++++ rustc-1.41.0-src-typenum-U1024-patch/vendor/typenum/build/main.rs 2020-04-19 10:51:35.744658747 +0200
+@@ -77,7 +77,7 @@
+ fn main() {
+ let highest: u64 = 1024;
+
+- let first2: u32 = (highest as f64).log(2.0) as u32 + 1;
++ let first2: u32 = (highest as f64).log(2.0).round() as u32 + 1;
+ let first10: u32 = (highest as f64).log(10.0) as u32 + 1;
+ let uints = (0..(highest + 1))
+ .chain((first2..64).map(|i| 2u64.pow(i)))
+diff -rauN rustc-1.41.0-src/vendor/typenum/.cargo-checksum.json rustc-1.41.0-src-typenum-U1024-patch/vendor/typenum/.cargo-checksum.json
+--- rustc-1.41.0-src/vendor/typenum/.cargo-checksum.json 2020-01-27 18:21:02.000000000 +0100
++++ rustc-1.41.0-src-typenum-U1024-patch/vendor/typenum/.cargo-checksum.json 2020-04-19 11:26:01.513478655 +0200
+@@ -1 +1 @@
+-{"files":{"CHANGELOG.md":"caf37574d41c38570e892c4fed38cbc2fd22794ec512949c1f0faad1d866fced","Cargo.toml":"58822547c70a09449e6a069e6c197423a9e471d993ebf4ea20101e042781edf7","LICENSE":"a825bd853ab71619a4923d7b4311221427848070ff44d990da39b0b274c1683f","README.md":"7a19a1fb2f219fbc270535e0fee2caa96968b976cd74d33d12e2f2ef436d0895","build/main.rs":"44d33ee79a76a90a769096547ba4c7a5d3822afffeed025dfbcc5bb755227d52","build/op.rs":"a393b6818384a50688db8cb923891f86ccce39a9dccbf7c684efb9bef83b4acf","build/tests.rs":"a04fd3185ea8b19c36cb939178e5fedf16b4b36c2df0a2e79593339d998bd1ce","src/array.rs":"7243dbe44f3818c852c67bd0c3af14d57473fb9c3efda2c0d98251b3fe8b4d57","src/bit.rs":"023f9f6768331ac17de72b6248c6a9d6a7b856842f56067c9c1e04b729ed9e04","src/int.rs":"de4c49717a7a40572e579fad2380f29698c5571844ff1462e368531072dba55e","src/lib.rs":"2a58ff8553851eb6b9d7fa70315d688431dd0573f8491e53cfe799a092347b96","src/marker_traits.rs":"abf73f3930b5129d01aaa64c51275c4ca4ce0ef8961f7a9e744ee731d6308200","src/operator_aliases.rs":"43eb6a29dc0387ec329df5d9af0b4479a1301b3a9b2304c3b7b7d8c03e01ff5d","src/private.rs":"48c572aa27bd444062eadb4bd3f5ca38c1e6efb66bc074f38555499b33f0dcaf","src/type_operators.rs":"df9ef3ae2a69d56258db41f8166342a65f6e4085581709140719d1b7e3916bb9","src/uint.rs":"df4fdad3110a7e08fdc21e49f7e82fd525d6a78fcf904a766729aa47c0200727","tests/test.rs":"1e559fadf0af1a38d7049caef26e3a162c58ea5e024aa637299376d776986549"},"package":"612d636f949607bdf9b123b4a6f6d966dedf3ff669f7f045890d3a4a73948169"}
+\ No newline at end of file
++{"files":{"CHANGELOG.md":"caf37574d41c38570e892c4fed38cbc2fd22794ec512949c1f0faad1d866fced","Cargo.toml":"58822547c70a09449e6a069e6c197423a9e471d993ebf4ea20101e042781edf7","LICENSE":"a825bd853ab71619a4923d7b4311221427848070ff44d990da39b0b274c1683f","README.md":"7a19a1fb2f219fbc270535e0fee2caa96968b976cd74d33d12e2f2ef436d0895","build/main.rs":"38a90c85068bb6bba1d21e9d5976e693b9b868ed0c16b26986332d2ca1c01047","build/op.rs":"a393b6818384a50688db8cb923891f86ccce39a9dccbf7c684efb9bef83b4acf","build/tests.rs":"a04fd3185ea8b19c36cb939178e5fedf16b4b36c2df0a2e79593339d998bd1ce","src/array.rs":"7243dbe44f3818c852c67bd0c3af14d57473fb9c3efda2c0d98251b3fe8b4d57","src/bit.rs":"023f9f6768331ac17de72b6248c6a9d6a7b856842f56067c9c1e04b729ed9e04","src/int.rs":"de4c49717a7a40572e579fad2380f29698c5571844ff1462e368531072dba55e","src/lib.rs":"2a58ff8553851eb6b9d7fa70315d688431dd0573f8491e53cfe799a092347b96","src/marker_traits.rs":"abf73f3930b5129d01aaa64c51275c4ca4ce0ef8961f7a9e744ee731d6308200","src/operator_aliases.rs":"43eb6a29dc0387ec329df5d9af0b4479a1301b3a9b2304c3b7b7d8c03e01ff5d","src/private.rs":"48c572aa27bd444062eadb4bd3f5ca38c1e6efb66bc074f38555499b33f0dcaf","src/type_operators.rs":"df9ef3ae2a69d56258db41f8166342a65f6e4085581709140719d1b7e3916bb9","src/uint.rs":"df4fdad3110a7e08fdc21e49f7e82fd525d6a78fcf904a766729aa47c0200727","tests/test.rs":"1e559fadf0af1a38d7049caef26e3a162c58ea5e024aa637299376d776986549"},"package":"612d636f949607bdf9b123b4a6f6d966dedf3ff669f7f045890d3a4a73948169"}
+\ No newline at end of file
diff --git a/build-support/disabled/rust148/PKGBUILD b/build-support/disabled/rust148/PKGBUILD
new file mode 100644
index 00000000..9ed1cba8
--- /dev/null
+++ b/build-support/disabled/rust148/PKGBUILD
@@ -0,0 +1,203 @@
+# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
+# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
+# Contributor: Daniel Micay <danielmicay@gmail.com>
+# Contributor: userwithuid <userwithuid@gmail.com>
+
+pkgname=('rust148' 'rust148-docs')
+epoch=1
+pkgver=1.48.0
+pkgrel=1
+
+_llvm_ver=11.0.0
+
+pkgdesc='Systems programming language focused on safety, speed and concurrency'
+url='https://www.rust-lang.org/'
+arch=(i486 i686 pentium4 'x86_64')
+license=('MIT' 'Apache')
+
+makedepends=('rust=1:1.47.0' "llvm10-libs" "llvm=$_llvm_ver" 'libffi' 'perl' 'python' 'curl' 'cmake')
+checkdepends=('procps-ng' 'gdb')
+
+options=('!emptydirs')
+
+source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
+ "https://github.com/llvm/llvm-project/releases/download/llvmorg-$_llvm_ver/compiler-rt-$_llvm_ver.src.tar.xz"{,.sig})
+
+sha256sums=('0e763e6db47d5d6f91583284d2f989eacc49b84794d1443355b85c58d67ae43b'
+ 'SKIP'
+ '374aff82ff573a449f9aabbd330a5d0a441181c535a3599996127378112db234'
+ 'SKIP')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
+ '474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard <tstellar@redhat.com>
+ 'B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
+
+prepare() {
+ cd "rustc-$pkgver-src"
+
+ cat >config.toml <<END
+[llvm]
+link-shared = true
+
+[build]
+target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
+cargo = "/usr/bin/cargo"
+rustc = "/usr/bin/rustc"
+python = "/usr/bin/python"
+extended = true
+sanitizers = false
+profiler = true
+vendor = true
+
+[install]
+prefix = "/usr"
+
+[rust]
+# LLVM crashes when passing an object through ThinLTO twice. This is triggered when using rust
+# code in cross-language LTO if libstd was built using ThinLTO.
+# http://blog.llvm.org/2019/09/closing-gap-cross-language-lto-between.html
+# https://github.com/rust-lang/rust/issues/54872
+codegen-units-std = 1
+
+debuginfo-level = 2
+
+channel = "stable"
+
+rpath = false
+
+[target.x86_64-unknown-linux-gnu]
+llvm-config = "/usr/bin/llvm-config"
+END
+}
+
+build() {
+ cd "rustc-$pkgver-src"
+
+ export RUST_BACKTRACE=1
+ export RUST_COMPILER_RT_ROOT="$srcdir/compiler-rt-$_llvm_ver.src"
+
+ python ./x.py dist -j "$(nproc)"
+ DESTDIR="$PWD"/dest-rust python ./x.py install -j "$(nproc)"
+
+ # move docs and lib32 libs out of the way for splitting
+ mv dest-rust/usr/lib/rustlib/i686-unknown-linux-gnu dest-i686
+ mv dest-rust/usr/share/doc dest-doc
+}
+
+package_rust148() {
+ depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2')
+ optdepends=('lldb: rust-lldb script'
+ 'gdb: rust-gdb script')
+ provides=('cargo' 'rustfmt')
+ conflicts=('cargo' 'rustfmt')
+ replaces=('cargo' 'rustfmt')
+
+ cd "rustc-$pkgver-src"
+
+ mv dest-rust/* "$pkgdir"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+
+ # delete unnecesary files, e.g. components and manifest files only used for the uninstall script
+ cd "$pkgdir"/usr/lib/rustlib
+ rm components install.log manifest-* rust-installer-version uninstall.sh
+
+ # rustbuild always installs copies of the shared libraries to /usr/lib,
+ # overwrite them with symlinks to the per-architecture versions
+ ln -srft "$pkgdir"/usr/lib x86_64-unknown-linux-gnu/lib/*.so
+
+ install -d "$pkgdir"/usr/share/bash-completion
+ mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/
+}
+
+package_lib32-rust-libs() {
+ descriptino=('32-bit libraries for Rust')
+ depends=('lib32-gcc-libs')
+ provides=('lib32-rust')
+ conflicts=('lib32-rust')
+ replaces=('lib32-rust')
+
+ cd "rustc-$pkgver-src"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+
+ install -d "$pkgdir"/usr/lib/rustlib/ "$pkgdir"/usr/lib32/
+ mv dest-i686 "$pkgdir"/usr/lib/rustlib/i686-unknown-linux-gnu
+ ln -srft "$pkgdir"/usr/lib32 "$pkgdir"/usr/lib/rustlib/i686-unknown-linux-gnu/lib/*.so
+}
+
+package_rust148-docs() {
+ description=('Documentation for the Rust programming language')
+
+ cd "rustc-$pkgver-src"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+
+ install -d "$pkgdir"/usr/share/doc
+ mv dest-doc/* "$pkgdir"/usr/share/doc
+}
+
+# vim:set ts=2 sw=2 et:
+# enable i686-unknown-linux-gnu target
+# and replace pentium4 (SSE2) with pentium3 (no SSE2) in the compiler spec file
+#
+# Also trying to reduce memory usage by building with
+# -debuginfo-level-std=1
+# see https://github.com/rust-lang/rust/issues/60294
+
+source+=(config.toml.patch)
+sha256sums+=('42e861ba90335d0e2e666e10b12d9ff85ea1bdb711176fb3c09e92375e193660')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ $ i patch -p1 -i "$srcdir/config.toml.patch"
+ '
+)"
+
+# stop insanity of nproc (see FS#62952)
+eval "$(
+ declare -f build | \
+ sed '
+ s/-j"$(nproc)"/-j16/
+ '
+)"
+
+if [ "${CARCH}" != 'pentium4' ]; then
+ eval "$(
+ declare -f prepare | \
+ sed '
+ $ i sed -i "s/pentium4/pentium3/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/src/spec/i686_unknown_linux_gnu.rs"
+ $ i sed -i "s/pentium4/pentium3/g" "$srcdir/rustc-$pkgver-src/compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs"
+ $ i sed -i "s/30f6a25d37d536c5734b9a7e1e9cc34167a013c5e0c49c3fe0a26d76f2e1ae6c/412f837953e4cc32ff14195bf2da7eb61cb43d602fdc2db1099997d906070521/g" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/.cargo-checksum.json"
+ '
+ )"
+fi
+
+# Don't move lib32 support into rust32-lib, we are on 32-bit in the end
+# and don't draw a symlink to 64-bit libraries (but to 32-bit instead)
+
+pkgname=(
+ $(
+ printf '%s\n' "${pkgname[@]}" | \
+ grep -v '^lib32-rust-libs'
+ )
+)
+
+eval "$(
+ declare -f package_rust148 | \
+ sed '
+ /mv.*i686-unknown-linux-gnu.*/d
+ /ln /s/x86_64-unknown-linux-gnu/i686-unknown-linux-gnu/g
+ '
+)"
+
+eval "$(
+ declare -f build | \
+ sed '
+ /mv.*i686-unknown-linux-gnu.*/d
+ /ln /s/x86_64-unknown-linux-gnu/i686-unknown-linux-gnu/g
+ '
+)"
+
+# Enable on demand, if your previous rust is broken, see also build-support and AUR
+# for rust-bin.
+#makedepends=(${makedepends[@]//rust/})
+#makedepends+=('rust-bin')
+groups+=(build-shims)
diff --git a/build-support/disabled/rust148/config.toml.patch b/build-support/disabled/rust148/config.toml.patch
new file mode 100644
index 00000000..8d0762cd
--- /dev/null
+++ b/build-support/disabled/rust148/config.toml.patch
@@ -0,0 +1,26 @@
+diff -rauN a/config.toml b/config.toml
+--- a/config.toml 2019-10-20 16:44:31.647900892 +0200
++++ b/config.toml 2019-10-20 16:44:39.637875348 +0200
+@@ -2,7 +2,7 @@
+ link-shared = true
+
+ [build]
+-target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
++target = ["i686-unknown-linux-gnu"]
+ cargo = "/usr/bin/cargo"
+ rustc = "/usr/bin/rustc"
+ python = "/usr/bin/python"
+@@ -21,11 +21,11 @@
+ # https://github.com/rust-lang/rust/issues/54872
+ codegen-units-std = 1
+
+-debuginfo-level = 2
++debuginfo-level = 0
+
+ channel = "stable"
+
+ rpath = false
+
+-[target.x86_64-unknown-linux-gnu]
++[target.i686-unknown-linux-gnu]
+ llvm-config = "/usr/bin/llvm-config"
diff --git a/build-support/disabled/rust156-bin/PKGBUILD b/build-support/disabled/rust156-bin/PKGBUILD
new file mode 100644
index 00000000..a60bcd82
--- /dev/null
+++ b/build-support/disabled/rust156-bin/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=rust156-bin
+pkgver=1.56.0
+pkgrel=1
+pkgdesc='Binary precompiled packages for Rust'
+url='https://www.rust-lang.org/'
+arch=(x86_64 pentium4 i686)
+license=('MIT' 'Apache')
+provides=('rust' 'cargo')
+conflicts=('rust' 'cargo')
+options=('!emptydirs')
+
+source_x86_64=("https://static.rust-lang.org/dist/rust-$pkgver-x86_64-unknown-linux-gnu.tar.gz"{,.asc})
+source_pentium4=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc})
+source_i686=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc})
+
+sha256sums_x86_64=('5189cd56447f9d56fcd7a1966efe5a8efd19843fdfd6bf9a23a9acbc57b5e3f9'
+ 'SKIP')
+sha256sums_pentium4=('f5fa5686a79108959a2910c97cec7c642198efd2a617d7a1b6cfc97d33612fe0'
+ 'SKIP')
+sha256sums_i686=('f5fa5686a79108959a2910c97cec7c642198efd2a617d7a1b6cfc97d33612fe0'
+ 'SKIP')
+
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
+ '474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
+
+case "${CARCH}" in
+ x86_64) _ARCH='x86_64-unknown-linux-gnu';;
+ i686|pentium4) _ARCH='i686-unknown-linux-gnu';;
+esac
+
+package() {
+ cd "rust-$pkgver-$_ARCH"
+
+ ./install.sh --prefix=/usr --destdir="$pkgdir"
+}
diff --git a/build-support/disabled/rust157-bin/PKGBUILD b/build-support/disabled/rust157-bin/PKGBUILD
new file mode 100644
index 00000000..01f3e801
--- /dev/null
+++ b/build-support/disabled/rust157-bin/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=rust157-bin
+pkgver=1.57.0
+pkgrel=1
+pkgdesc='Binary precompiled packages for Rust'
+url='https://www.rust-lang.org/'
+arch=(x86_64 pentium4 i686)
+license=('MIT' 'Apache')
+provides=('rust' 'cargo')
+conflicts=('rust' 'cargo')
+options=('!emptydirs')
+
+source_x86_64=("https://static.rust-lang.org/dist/rust-$pkgver-x86_64-unknown-linux-gnu.tar.gz"{,.asc})
+source_pentium4=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc})
+source_i686=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc})
+
+sha256sums_x86_64=('ea0253784b2e5c22659ff148d492a68d2e11da734491714ebc61cc93896efcda'
+ 'SKIP')
+sha256sums_pentium4=('7e4ac8ca2874897099a3ceb89039ceee170f474a98ee247589fd6bca8dda7cfa'
+ 'SKIP')
+sha256sums_i686=('7e4ac8ca2874897099a3ceb89039ceee170f474a98ee247589fd6bca8dda7cfa'
+ 'SKIP')
+
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
+ '474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
+
+case "${CARCH}" in
+ x86_64) _ARCH='x86_64-unknown-linux-gnu';;
+ i686|pentium4) _ARCH='i686-unknown-linux-gnu';;
+esac
+
+package() {
+ cd "rust-$pkgver-$_ARCH"
+
+ ./install.sh --prefix=/usr --destdir="$pkgdir"
+}
diff --git a/build-support/disabled/rust159-bin/PKGBUILD b/build-support/disabled/rust159-bin/PKGBUILD
new file mode 100644
index 00000000..205e3d61
--- /dev/null
+++ b/build-support/disabled/rust159-bin/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=rust159-bin
+pkgver=1.59.0
+pkgrel=1
+pkgdesc='Binary precompiled packages for Rust'
+url='https://www.rust-lang.org/'
+arch=(x86_64 pentium4 i686)
+license=('MIT' 'Apache')
+provides=('rust' 'cargo')
+conflicts=('rust' 'cargo')
+options=('!emptydirs')
+
+source_x86_64=("https://static.rust-lang.org/dist/rust-$pkgver-x86_64-unknown-linux-gnu.tar.gz"{,.asc})
+source_pentium4=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc})
+source_i686=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc})
+
+sha256sums_x86_64=('0c1c2da3fa26372e5178123aa5bb0fdcd4933fbad9bfb268ffbd71807182ecae'
+ 'SKIP')
+sha256sums_pentium4=('f57ebfafed1e857b2b1dc1a22cf1133766f68a0759dc2f717dec54a8d4385dec'
+ 'SKIP')
+sha256sums_i686=('f57ebfafed1e857b2b1dc1a22cf1133766f68a0759dc2f717dec54a8d4385dec'
+ 'SKIP')
+
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
+ '474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
+
+case "${CARCH}" in
+ x86_64) _ARCH='x86_64-unknown-linux-gnu';;
+ i686|pentium4) _ARCH='i686-unknown-linux-gnu';;
+esac
+
+package() {
+ cd "rust-$pkgver-$_ARCH"
+
+ ./install.sh --prefix=/usr --destdir="$pkgdir"
+}
diff --git a/build-support/disabled/uinit/.SRCINFO b/build-support/disabled/uinit/.SRCINFO
new file mode 100644
index 00000000..37b1f9dd
--- /dev/null
+++ b/build-support/disabled/uinit/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = uinit
+ pkgdesc = uinit -- smallest init possible
+ pkgver = 20171230git
+ pkgrel = 1
+ url = https://github.com/shiftypenguin/uinit
+ arch = i686
+ arch = x86_64
+ license = custom:unlicense
+ makedepends = git
+ source = git+https://github.com/shiftypenguin/uinit.git#commit=8c11abef
+ sha512sums = SKIP
+
+pkgname = uinit
+
diff --git a/build-support/disabled/uinit/PKGBUILD b/build-support/disabled/uinit/PKGBUILD
new file mode 100644
index 00000000..2afaf4bb
--- /dev/null
+++ b/build-support/disabled/uinit/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=uinit
+pkgver=20171230git
+_commit=8c11abef
+pkgrel=1
+pkgdesc="uinit -- smallest init possible"
+arch=('i686' 'x86_64')
+url="https://github.com/shiftypenguin/uinit"
+license=('custom:unlicense')
+makedepends=('git')
+source=("git+https://github.com/shiftypenguin/uinit.git#commit=${_commit}")
+sha512sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}"
+
+ make CFLAGS="${CFLAGS}"
+}
+
+package(){
+ cd "${srcdir}/${pkgname}"
+
+ install -d -m0755 ${pkgdir}/{usr/bin,sbin}
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ mv ${pkgdir}/sbin/* ${pkgdir}/usr/bin/.
+ rmdir ${pkgdir}/sbin
+}
diff --git a/build-support/disabled/vala-bootstrap/PKGBUILD b/build-support/disabled/vala-bootstrap/PKGBUILD
new file mode 100644
index 00000000..40aceda3
--- /dev/null
+++ b/build-support/disabled/vala-bootstrap/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
+
+pkgname=vala-bootstrap
+pkgver=0.16.1
+pkgrel=1
+pkgdesc='Bootstrapping Compiler for the GObject type system'
+url='https://wiki.gnome.org/Projects/Vala'
+arch=(i486 i686 pentium4 x86_64)
+license=(LGPL)
+depends=()
+makedepends=(git)
+provides=(vala)
+conflicts=(vala)
+_commit=b2beeacc # corresponds to 0.16.1
+source=("git+https://gitlab.gnome.org/Archive/vala-bootstrap.git#commit=$_commit")
+sha256sums=('SKIP')
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --disable-build-from-vala
+ make
+}
+
+check() {
+ cd $pkgname
+# tests are horribly broken
+# make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
diff --git a/build-support/disabled/vala/PKGBUILD b/build-support/disabled/vala/PKGBUILD
new file mode 100644
index 00000000..0f6ce63a
--- /dev/null
+++ b/build-support/disabled/vala/PKGBUILD
@@ -0,0 +1,5 @@
+# bootstrapping vala with vala-bootstrap (only for i486 for now)
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//vala/})
+ makedepends+=(vala-bootstrap)
+fi