Updated packages as of July/August 2019. Fixed build-scripts to include source URL's. Test to build and run on i686.

This commit is contained in:
Derrick
2019-08-26 11:02:59 -05:00
parent dd975cb39d
commit f7cf4d2360
515 changed files with 28132 additions and 1 deletions

View File

@ -1,4 +1,33 @@
# BMLFS
Beyond Musl Linux From Scratch - Build Recipes for MLFS [Musl Linux From Source]
[S T A T U S] : No stable version released yet. Still under development. You may use the DEV branch if one is adventurous!
This is based on the works of Beyound Linux Fom Scratch (https://www.linuxfromscratch.org/blfs), Void Linux (https://voidlinux.org), and Alpine Linux (https://alpinelinux.org).
These build recipes allow to build packages for a MLFS, a Musl [based] Linux from Scratch system. Such system uses Musl as libc, LibreSSL for SSL support, and S6+S6-rc for init system.
Layout
<ul>
<li> build-scripts -- Scripts to automatically build and install packages with porg. </li>
<li> files -- Files that may be optional or required for a package build </li>
<li> patches -- Patches that fix known issues or to allow package to build/run with Musl as libc </li>
<li> sources -- Packages sources that may be difficult to find or pre-patched </li>
</ul>
How to Use the Build Scripts
Build scripts assume porg is installed as package manager and assumes the following directory tree:
```
+ -- [sources]
|
+ -- [files]
+ -- [patches]
+ -- [scripts]
+ -- (source packages)
```
<ol>
<li>Unpack package in `source` and `cd` into the unpacked source:
`tar xf foo-4.3.tar.xz && cd foo-4.3` </li>
<li>Run build script: `sh ../scripts/foo-4.3.build` </li>
</ol>

View File

@ -0,0 +1,9 @@
#! /bin/bash
# Cython 0.29.13
# Source: https://files.pythonhosted.org/packages/a5/1f/c7c5450c60a90ce058b47ecf60bb5be2bfe46f952ed1d3b95d1d677588be/Cython-0.29.13.tar.gz
python2 setup.py build
read -p "Install?" && sudo -S -E porg -lD "python2 setup.py install"
python3 setup.py build
read -p "Install?" && sudo -S -E porg -lD+ "python3 setup.py install"

View File

@ -0,0 +1,25 @@
#! /bin/bash
# LVM2-2.03.05
# source: https://sourceware.org/ftp/lvm2/LVM2.2.03.05.tgz
patch -Np0 -i ../patches/LVM2.2.02.177-fix-stdio-usage.patch
patch -Np0 -i ../patches/LVM2.2.02.177-mlockall-default-config.patch
patch -Np0 -i ../patches/LVM2.2.02.177-portability.patch
export SAVEPATH=$PATH &&
export PATH=$PATH:/sbin:/usr/sbin &&
./configure --prefix=/usr \
--exec-prefix= \
--enable-applib \
--enable-cmdlib \
--enable-pkgconfig \
--enable-udev_sync $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
export PATH=$SAVEPATH &&
unset SAVEPATH &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,45 @@
#! /bin/bash
# Linux-PAM-1.3.0
# Source: http://linux-pam.org/library/Linux-PAM-1.3.0.tar.bz2
# disable insecure modules
sed -e 's/pam_rhosts//g' -i modules/Makefile.am
autoreconf -fvi &&
# Use patches from Alpine:
patch -Np1 -i ../patches/Linux-PAM-1.3.0-alpine-fix-compat.patch
patch -Np1 -i ../patches/Linux-PAM-1.3.0-alpine-musl-fix-pam_exec.patch
#patch -Np1 -i ../patches/Linux-PAM-1.3.0-void-musl-fix-pam_exec.patch
#patch -Np0 -i ../patches/Linux-PAM-1.3.0-void-pam_unix_sys_resource.patch
#patch -Np0 -i ../patches/Linux-PAM-1.3.0-void-portability-fixes.patch
ac_cv_search_crypt=no \
./configure --prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib \
--enable-securedir=/lib/security \
--docdir=/usr/share/doc/Linux-PAM-1.3.1 \
--disable-nis \
--disable-audit $BUILDTUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && su -c "porg -lD 'make install'" &&
su -c "chmod -v 4755 /sbin/unix_chkpwd" &&
for file in pam pam_misc pamc
do
su -c "porg -lD+ 'mv -v /usr/lib/lib${file}.so.* /lib'" &&
su -c "porg -lD+ 'ln -sfv ../../lib/$(readlink /usr/lib/lib${file}.so) /usr/lib/lib${file}.so'"
done
# Configuration
su -c "install -vdm755 /etc/pam.d"
su -c "cp -v ../files/Linux-PAM_other /etc/pam.d/other" &&
su -c "cp -v ../files/Linux-PAM_system-account /etc/pam.d/system-account" &&
su -c "cp -v ../files/Linux-PAM_system-auth /etc/pam.d/system-auth" &&
su -c "cp -v ../files/Linux-PAM_system-password /etc/pam.d/system-password" &&
su -c "cp -v ../files/Linux-PAM_system-session /etc/pam.d/system-session"

View File

@ -0,0 +1,8 @@
#! /bin/bash
# Mako 1.0.14
# Source: https://files.pythonhosted.org/packages/source/M/Mako/Mako-1.0.14.tar.gz
sudo -S -E porg -lD "python setup.py install --optimize=1" &&
sed -i "s:mako-render:&3:g" setup.py &&
sudo -S -E porg -lD+ "python3 setup.py install --optimize=1"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# MarkupSafe 1.1.1
# Source: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-1.1.1.tar.gz
python setup.py build &&
sudo -S -E porg -lD "python setup.py install --optimize=1" &&
python3 setup.py build &&
sudo -S -E porg -lD+ "python3 setup.py install --optimize=1"

View File

@ -0,0 +1,21 @@
#! /bin/bash
# PaleMoon 28.6.0.1
# source:
patch -Np0 -i ../patches/PM28.6.0.1_Release-i686-fix.patch &&
# Copy configuration
cp -v ../files/mozconfig.palemoon ./.mozconfig &&
# GCC-9 generates some false positives with -Werror=format,
# which prevent building SeaMonkey. Remove this flag with
# the following command:
grep -rl -- '-Werror=format' | xargs sed -i 's/error=format/no-&/'
# Build
export LDFLAGS=" -Wl,-rpath, /usr/lib/palemoon-28.6.0.1 -Wl,-rpath,/usr/lib "
./mach build &&
# Install
read -p "Install?" && sudo -S -E porg -lp palemoon-28.6.0.1 "./mach install"

View File

@ -0,0 +1,6 @@
#! /bin/bash
# Pygments 2.4.2
# source: https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-2.4.2.tar.gz
sudo -S -E porg -lD "python3 setup.py install --optimize=1"

View File

@ -0,0 +1,22 @@
#! /bin/bash
# Python 2.7.16
# Source: https://www.python.org/ftp/python/2.7.16/Python-2.7.16.tar.xz
patch -Np0 -i ../patches/Python-2.7.16-void-fix-i686-rlock.patch &&
patch -Np0 -i ../patches/Python-2.7.16-void-musl-find_library.patch &&
rm -vr Modules/expat
rm -vr Modules/_ctypes/libffi*
rm -vr Modules/zlib
sed -i '/SQLITE_OMIT_LOAD_EXTENSION/d' setup.py
./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--with-ensurepip=yes \
--enable-unicode=ucs4 \
--enable-ipv6 --with-threads --with-computed-gotos --with-wctype-functions $BUILDTRUPLE &&
read -p "Compile?" && make -j2
read -p "Install?" && sudo -S porg -lD "make -j1 install" && \
sudo -S chmod -v 755 /usr/lib/libpython2.7.so.1.0

View File

@ -0,0 +1,12 @@
#! /bin/bash
# SDL 1.2.15
# source: http://www.libsdl.org/release/SDL-1.2.15.tar.gz
sed -e '/_XData32/s:register long:register _Xconst long:' \
-i src/video/x11/SDL_x11sym.h &&
./configure --prefix=/usr --disable-static &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,10 @@
#! /bin/bash
# SDL2 2.0.10
# source: http://www.libsdl.org/release/SDL2-2.0.10.tar.gz
./configure --prefix=/usr $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
read -p "Install?" && sudo -S porg -lD "make install" &&
sudo -S porg -lD+ "rm -v /usr/lib/libSDL2*.a"

View File

@ -0,0 +1,11 @@
#! /bin/bash
# Thunar 1.8.9
# source: http://archive.xfce.org/src/xfce/thunar/1.8/Thunar-1.8.9.tar.bz2
./configure --prefix=/usr \
--sysconfdir=/etc \
--docdir=/usr/share/doc/Thunar-1.8.9 \
$BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# URI 1.76
# source: https://www.cpan.org/authors/id/O/OA/OALDERS/URI-1.76.tar.gz
perl Makefile.PL &&
make -j2 &&
read -p "Install? " &&
sudo -S porg -lD "make install"

View File

@ -0,0 +1,10 @@
#! /bin/bash
# XML::Simple-2.25
# source: https://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-2.25.tar.gz
perl Makefile.PL &&
read -p "Compile? " && make -j2 &&
read -p "Test?" && make -j2 test &&
read -p "Install?" &&
sudo -S porg -lD "make install"

View File

@ -0,0 +1,17 @@
#! /bin/bash
# Liba52 0.7.4
# source: http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz
rm -v autotools/config.sub autotools/config.guess &&
cp -v ../files/config.sub-musl autotools/config.sub &&
cp -v ../files/config.guess-musl autotools/config.guess &&
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-shared \
--disable-static $BUILDTRUPLE \
CFLAGS="-g -O2 $([ $(uname -m) = x86_64 ] && echo -fPIC)" &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install" &&
sudo -S porg -lD+ "cp liba52/a52_internal.h /usr/include/a52dec "

View File

@ -0,0 +1,11 @@
#! /bin/bash
# ACPI Client 1.7
# https://sourceforge.net/projects/acpiclient/files/acpiclient/1.7/acpi-1.7.tar.gz
autoreconf -vfi
./configure --prefix=/usr $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lp acpiclient-1.7 "make install"

View File

@ -0,0 +1,11 @@
#! /bin/bash
# ACPI 2.0.31
# source: https://downloads.sourceforge.net/acpid2/acpid-2.0.31.tar.xz
./configure --prefix=/usr \
--docdir=/usr/share/doc/acpid-2.0.31 $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"
sudo -S porg -lD+ "install -v -m755 -d /etc/acpi/events" &&
sudo -S porg -lD+ "cp -r samples /usr/share/doc/acpid-2.0.31"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# adwaita-icon-theme 3.32.0
# http://ftp.gnome.org/pub/gnome/sources/adwaita-icon-theme/3.32/adwaita-icon-theme-3.32.0.tar.xz
./configure --prefix=/usr &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,8 @@
#! /bin/bash
# ALSA lib 1.1.9
# source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.9.tar.bz2
./configure &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,11 @@
#! /bin/bash
# ALSA Utils 1.1.9
# source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.1.9.tar.bz2
./configure --disable-alsaconf \
--disable-xmlto \
--with-curses=ncursesw $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
read -p "Install?" && sudo -S porg -lD+ "make install"

24
build-scripts/app-7.build Normal file
View File

@ -0,0 +1,24 @@
#! /bin/bash
for package in $(grep -v '^#' ../app-7.md5 | awk '{print $2}')
do
packagedir=${package%.tar.bz2}
tar -xf $package
pushd $packagedir
case $packagedir in
luit-[0-9]* )
sed -i -e "/D_XOPEN/s/5/6/" configure && ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --build=i686-linux-musl
;;
sessreg* )
./configure ${XORG_CONFIG} CFLAGS=" -g -O2 -D_WTMPX_FILE=WTMP_FILE -D_PATH_WTMPX=_PATH_WTMP -D_UTMPX_FILE=UTMP_FILE -D_PATH_UTMPX=_PATH_UTMP"
;;
* )
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --build=i686-linux-musl
;;
esac
make -j2
sudo -S porg -lp $packagedir "make install"
popd
rm -rf $packagedir
done
sudo -S rm -vf ${XORG_PREFIX}/bin/xkeystone

View File

@ -0,0 +1,9 @@
#! /bin/bash
# libargon2 20190702
# source: https://github.com/P-H-C/phc-winner-argon2/archive/20190702.tar.gz
# Archive will unpack as phc-winner-argon2-20190702
make OPTTARGET=none -j2 &&
read -p "Install? " &&
sudo -S porg -lp libargon2-20190702 "make OPTTARGET=none install"

View File

@ -0,0 +1,11 @@
#! /bin/bash
# at-spi2-atk-2.32.0
# source: http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/2.32/at-spi2-atk-2.32.0.tar.xz
mkdir build &&
cd build &&
meson --prefix=/usr .. &&
read -p "Compile?" && ninja -j2 &&
read -p "Install?" && sudo -S porg -lp at-spi2-atk-2.32.0 "ninja install"

View File

@ -0,0 +1,16 @@
#! /bin/bash
# at-spi2-core-2.32.1
# source: http://ftp.gnome.org/pub/gnome/sources/at-spi2-core/2.32/at-spi2-core-2.32.1.tar.xz
sed -i 's/subdir:/install_dir:/' atspi/meson.build &&
mkdir build &&
cd build &&
meson --prefix=/usr \
--sysconfdir=/etc \
-Dsystemd_user_dir=no .. &&
read -p "Compile? " && ninja -j2 &&
read -p "Install? " && sudo -S porg -lp at-spi2-core-2.32.1 "ninja install"

View File

@ -0,0 +1,10 @@
#! /bin/bash
# ATK-2.32.0
# source: http://ftp.gnome.org/pub/gnome/sources/atk/2.32/atk-2.32.0.tar.xz
mkdir build &&
cd build &&
meson --prefix=/usr &&
read -p "Compile? " && ninja -j2 &&
read -p "Install? " && sudo -S porg -lp atk-2.32.0 "ninja install"

View File

@ -0,0 +1,12 @@
#! /bin/bash
#
# source: http://ftp.gnome.org/pub/gnome/sources/atkmm/2.28/atkmm-2.28.0.tar.xz
sed -e '/^libdocdir =/ s/$(book_name)/atkmm-2.28.0/' \
-i doc/Makefile.in
./configure --prefix=/usr $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,13 @@
#! /bin/bash
# Audacious 3.10.1
# source: https://distfiles.audacious-media-player.org/audacious-3.10.1.tar.bz2
TPUT=/bin/true \
LDFLAGS=" -Wl,-rpath=/opt/qt5/lib" \
./configure --prefix=/usr \
--with-buildstamp="BMLFS" \
--enable-qt $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# audacious-plugins 3.10.1
# source: https://distfiles.audacious-media-player.org/audacious-plugins-3.10.1.tar.bz2
./configure --prefix=/usr $BUILDTRUPLE --enable-qt &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,11 @@
#! /bin/bash
# Autoconf-2.13
# Source: https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz
patch -Np1 -i ../patches/autoconf-2.13-consolidated_fixes-1.patch &&
mv -v autoconf.texi autoconf213.texi &&
rm -v autoconf.info &&
./configure --prefix=/usr --program-suffix=2.13 $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,25 @@
#! /bin/bash
# AVAHI 0.7
# source: https://github.com/lathiat/avahi/releases/download/v0.7/avahi-0.7.tar.gz
sudo -S groupadd -fg 84 avahi
sudo -S useradd -c "Avahi Daemon Owner" -d /var/run/avahi-daemon -u 84 \
-g avahi -s /bin/false avahi
sudo -S groupadd -fg 86 netdev
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--disable-mono \
--disable-monodoc \
--disable-qt3 \
--disable-qt4 \
--enable-core-docs \
--with-distro=none \
--with-systemdsystemunitdir=no \
--enable-compat-libdns_sd $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,16 @@
#! /bin/bash
# Bluez 5.50
# Source: https://www.kernel.org/pub/linux/bluetooth/bluez-5.50.tar.xz
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-library \
--disable-systemd $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install?" && sudo -S porg -lD+ "make install" &&
sudo -S porg -lD+ "ln -svf ../libexec/bluetooth/bluetoothd /usr/sbin" &&
sudo -S porg -lD+ "install -v -dm755 /etc/bluetooth" &&
sudo -S porg -lD+ "install -v -m644 src/main.conf /etc/bluetooth/main.conf"

View File

@ -0,0 +1,47 @@
#! /bin/bash
# Boost 1.69.0
# Source: https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.bz2
patch -Np0 -i ../patches/boost-1.69.0-void-fix-ublas-storage.patch
patch -Np0 -i ../patches/boost-1.69.0-void-is_running.hpp-musl.patch
patch -Np0 -i ../patches/boost-1.69.0-void-mips.patch
patch -Np0 -i ../patches/boost-1.69.0-void-musl-memset.patch
patch -Np0 -i ../patches/boost-1.69.0-void-ppc64-context.patch
CXXFLAGS="-std=c++14" ./bootstrap.sh --prefix=/usr --with-python=/usr/bin/python2 --with-python-root=/usr &&
read -p "Compile?" &&
cd tools/build/src/engine/ &&
../../../../bjam -f build.jam --toolset=cc --toolset-root= -d+2 clean &&
../../../../bjam -f build.jam --toolset=cc --toolset-root= -d+2 &&
cat > user-config.jam << "EOF"
using gcc : i386 : g++ : <cxxflags>"-std=c++14" <linkflags>"" ;
using python : 2.7 : /usr/bin/python2 : /usr/include/python2.7 : /usr/lib/python2.7 ;
using python : 3.7 : /usr/bin/python3 : /usr/include/python3.7m : /usr/lib/python3.7
EOF
cd ../../../../ &&
./bjam -j2 --toolset=gcc-i386 abi=sysv architecture=x86 \
--user-config=./user-config.jam --debug-building \
python=2.7,3.7
read -p "Install?" &&
for progs in tools/build/src/engine/bin.*/*; do
sudo -S porg -lp+ boost-1.69.0 "cp -v $progs /usr/bin/"
done &&
sudo -S porg -lp+ boost-1.69.0 "./bjam --prefix=/usr abi=sysv architecture=x86 \
--user-config=./user-config.jam python=2.7,3.7 install" &&
sudo -S porg -lp+ boost-1.69.0 "mkdir -pv /usr/share/boost-build" &&
cd tools/build &&
sudo -S porg -lp+ boost-1.69.0 "cp -va . /usr/share/boost-build/" &&
sudo -S porg -lp+ boost-1.69.0 "find /usr/share/boost-build \
-type f -name \*.orig -exec rm -f {} \; " &&
sudo -S porg -lp+ boost-1.69.0 "rm -rfv /usr/share/boost-build/src/engine/bootstrap" &&
sudo -S porg -lp+ boost-1.69.0 "rm -rfv /usr/share/boost-build/src/engine/bin.*" &&
sudo -S porg -lp+ boost-1.69.0 "cp -v ../files/sit-config.jam /etc/"

View File

@ -0,0 +1,13 @@
#! /bin/bash
# Breeze Icons 5.60.0
# source: http://download.kde.org/stable/frameworks/5.60/breeze-icons-5.60.0.tar.xz
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF \
-Wno-dev .. &&
sudo -S porg -lp breeze-icons-5.60.0 "make install"

View File

@ -0,0 +1,8 @@
#! /bin/bash
# C-ares 1.15.0
# Source: https://c-ares.haxx.se/download/c-ares-1.15.0.tar.gz
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
read -p "Install?" && sudo -S porg -lD "make install"

View File

@ -0,0 +1,34 @@
#! /bin/bash
# CA Certificates 2019-01-10
# Source: http://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110.tar.xz
#patch -Np0 -i ../patches/update-ca-certificates-destdir.patch
cc ../files/certdata2pem.c -o mozilla/certdata2pem
cp -v ../files/remove-expired-certs.sh mozilla/
sed -i mozilla/Makefile \
-e 's,python certdata2pem.py,./certdata2pem,g'
sed -i mozilla/Makefile \
-e "s;\(.*\)\(certdata2pem.*\);\1\2\n\1./remove-expired-certs.sh;"
read -p "Compile? " && make -j2 &&
read -p "Install? " &&
sudo -S porg -lp ca-certificates-20190110 "mkdir -pv /usr/share/ca-certificates" &&
sudo -S porg -lp+ ca-certificates-20190110 "mkdir -pv /etc/ssl/certs" &&
sudo -S porg -lp+ ca-certificates-20190110 "make install DESTDIR=/ " &&
sudo -S porg -lp+ ca-certificates-20190110 "install -Dm644 sbin/update-ca-certificates.8 \
/usr/share/man/man8/update-ca-certificates.8" &&
sudo -S porg -lp+ ca-certificates-20190110 "mv /usr/share/ca-certificates/mozilla/* /usr/share/ca-certificates/" &&
cd /usr/share/ca-certificates &&
su -c "find . -name '*.crt' | sort | cut -b3- > /etc/ca-certificates.conf" &&
sudo -S sed -i 's,openssl rehash,openssl certhash,g' /usr/sbin/update-ca-certificates &&
sudo -S porg -lp+ ca-certificates-20190110 "/usr/sbin/update-ca-certificates"
sudo -S porg -lp+ ca-certificates-20190110 "ln -s /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs.pem"

View File

@ -0,0 +1,15 @@
#! /bin/bash
# Cairo 1.16.0
# source: https://www.cairographics.org/releases/cairo-1.16.0.tar.xz
patch -Np0 -i ../patches/cairo-1.16.0-void-musl-stacksize.patch &&
./configure --prefix=/usr \
--disable-lto \
--disable-static \
--enable-tee \
--enable-xlib-xcb \
--enable-gl $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,12 @@
#! /bin/bash
# Cairomm 1.12.2
# source: https://www.cairographics.org/releases/cairomm-1.12.2.tar.gz
sed -e '/^libdocdir =/ s/$(book_name)/cairomm-1.12.2/' \
-i docs/Makefile.in
./configure --prefix=/usr $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,14 @@
#! /bin/bash
# CDParanoia-III-10.2
# source: https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz
patch -Np0 -i ../patches/cdparanoia-III-10.2-void-gcc.diff &&
autoreconf -ivf &&
CFLAGS="-Du_int16_t=uint16_t -Du_int32_t=uint32_t" \
./configure --prefix=/usr --mandir=/usr/share/man &&
read -p "Compile? " && make -j1 &&
read -p "Install? " && sudo -S porg -lD "make install" &&
sudo -S chmod -v 755 /usr/lib/libcdda_*.so.0.10.2

View File

@ -0,0 +1,9 @@
#! /bin/bash
# cdrdao 1.2.4
# source: https://downloads.sourceforge.net/cdrdao/cdrdao-1.2.4.tar.bz2
./configure --prefix=/usr --mandir=/usr/share/man $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# cdrtools 3.02a09
# source: https://downloads.sourceforge.net/cdrtools/cdrtools-3.02a09.tar.bz2
export GMAKE_NOWARN=true &&
make -j1 INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root &&
read -p "Install? " && sudo -S -E porg -lD "make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install"

View File

@ -0,0 +1,10 @@
#! /bin/bash
# CDW 0.8.1
# source : https://sourceforge.net/projects/cdw/files/cdw/cdw%200.8.1/cdw-0.8.1.tar.gz
./configure --prefix=/usr $BUILDTRUPLE \
--sysconfdir=/etc &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,13 @@
#! /bin/bash
# CMake 3.15.0
# Source: https://cmake.org/files/v3.15/cmake-3.15.0.tar.gz
./bootstrap --prefix=/usr \
--system-libs \
--mandir=/share/man \
--no-system-jsoncpp \
--no-system-librhash \
--docdir=/share/doc/cmake-3.15.0 &&
read -p "Compile? " && make -j4 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,24 @@
#! /bin/bash
# Colord-1.4.4
# source: https://www.freedesktop.org/software/colord/releases/colord-1.4.4.tar.xz
sudo -S groupadd -g 71 colord
sudo -S useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
-g colord -s /bin/false colord
mv po/fur.po po/ur.po &&
sed -i 's/fur/ur/' po/LINGUAS &&
mkdir build && cd build &&
meson --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
-Ddaemon_user=colord \
-Dvapi=true \
-Dsystemd=false \
-Dlibcolordcompat=true \
-Dargyllcms_sensor=false \
-Dbash_completion=false \
-Ddocs=false \
-Dman=false .. &&
read -p "Compile? " && ninja -j2 &&
read -p "Install? " && sudo -S porg -lp Colord-1.4.3 "ninja install"

View File

@ -0,0 +1,30 @@
#! /bin/bash
# CrackLib 2.9.7
# source: https://github.com/cracklib/cracklib/releases/download/v2.9.7/cracklib-2.9.7.tar.bz2
sed -i '/skipping/d' util/packer.c &&
./configure --prefix=/usr \
--disable-static \
--with-default-dict=/lib/cracklib/pw_dict \
$BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install" &&
sudo -S porg -lD+ "mv -v /usr/lib/libcrack.so.* /lib" &&
sudo -S porg -lD+ "ln -sfv ../../lib/$(readlink /usr/lib/libcrack.so) /usr/lib/libcrack.so"
sudo -S porg -lD+ "install -v -m644 -D ../cracklib-words-2.9.7.bz2 \
/usr/share/dict/cracklib-words.bz2" &&
sudo -S porg -lD+ "bunzip2 -v /usr/share/dict/cracklib-words.bz2" &&
sudo -S porg -lD+ "ln -v -sf cracklib-words /usr/share/dict/words" &&
sudo-S echo $(hostname) >> /usr/share/dict/cracklib-extra-words
sudo -S porg -lD+ "install -v -m755 -d /lib/cracklib" &&
sudo -S porg -lD+ "create-cracklib-dict /usr/share/dict/cracklib-words \
/usr/share/dict/cracklib-extra-words"

View File

@ -0,0 +1,12 @@
#! /bin/bash
# cryptsetup-2.1.0
# source: https://www.kernel.org/pub/linux/utils/cryptsetup/v2.1/cryptsetup-2.1.0.tar.xz
./configure --prefix=/usr \
--with-crypto_backend=openssl \
$BUILDTRUPLE --enable-cryptsetup-reencrypt \
--enable-libargon2 &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,34 @@
#! /bin/bash
# Cups-2.2.11
# source: https://github.com/apple/cups/releases/download/v2.2.11/cups-2.2.11-source.tar.gz
sudo -S useradd -c "Print Service User" -d /var/spool/cups -g lp -s /bin/false -u 9 lp
sudo -S groupadd -g 15 lpadmin
patch -Np0 -i ../patches/cups-no-export-ssllibs.patch &&
patch -Np0 -i ../patches/cups-no-gzip-man.patch &&
sed -i 's:444:644:' Makedefs.in &&
sed -i '/MAN.EXT/s:.gz::' configure config-scripts/cups-manpages.m4 &&
aclocal -I config-scripts &&
autoconf -I config-scripts &&
CC=gcc \
./configure --libdir=/usr/lib \
--disable-systemd \
--with-rcdir=/tmp/cupsinit \
--with-system-groups=lpadmin \
--with-docdir=/usr/share/cups/doc-2.2.11 \
--enable-acl --enable-dbus --enable-raw-printing \
--enable-threads --enable-libpaper --enable-pam --enable-ssl \
--disable-systemd --disable-launchd --without-rcdir \
--without-java --without-perl --without-php --without-python &&
sed -e '/.\/genstrings.*/d' -i ppdc/Makefile &&
sed -e "s,./mantohtml,cross-tools/mantohtml,g" -i man/Makefile &&
read -p "Compile?" && make -j2 &&
read -p "Install?" && sudo -S porg -lD "make -j1 install" &&
sudo -S porg -lD+ "rm -rf /tmp/cupsinit" &&
sudo -S porg -lD+ "ln -svnf ../cups/doc-2.2.8 /usr/share/doc/cups-2.2.8"
# echo "ServerName /var/run/cups/cups.sock" > /etc/cups/client.conf

View File

@ -0,0 +1,16 @@
#! /bin/bash
# cURL 1.65.3
# Source: https://curl.haxx.se/download/curl-7.65.3.tar.xz
CFLAGS="-D_FORTIFY_SOURCE=2 -I/usr/include/" \
CPPFLAGS="-D_FORTIFY_SOURCE=2" \
./configure --prefix=/usr \
--disable-static \
--enable-threaded-resolver \
--with-ca-path=/etc/ssl/certs \
--with-libssh2 \
--enable-ipv6 \
--enable-unix-sockets --with-pic $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,25 @@
#! /bin/bash
# D-Bus 1.12.16
# Source: https://dbus.freedesktop.org/releases/dbus/dbus-1.12.16.tar.gz
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/share/doc/dbus-1.12.16 \
--disable-selinux \
--enable-inotify \
--with-dbus-user=messagebus \
--disable-static \
--disable-tests \
--enable-epoll \
--disable-asserts \
--disable-systemd \
--with-system-socket=/run/dbus/system_bus_socket \
--disable-doxygen-docs \
--with-system-pid-file=/run/dbus/pid \
--with-console-auth-dir=/run/console \
--disable-user-session $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,10 @@
#! /bin/bash
# DBus Glib 0.110
# source: https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.110.tar.gz
./configure --prefix=/usr $BUILDTRUPLE \
--sysconfdir=/etc \
--disable-static &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,24 @@
#! /bin/bash
# D-BUS Python 1.2.8
# source: https://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.2.8.tar.gz
mkdir python2 &&
pushd python2 &&
PYTHON=/usr/bin/python \
../configure $BUILDTRUPLE --prefix=/usr --docdir=/usr/share/doc/dbus-python-1.2.8 &&
make -j2 &&
popd &&
read -p "Build for python3?" &&
mkdir python3 &&
pushd python3 &&
PYTHON=/usr/bin/python3 \
../configure $BUILDTRUPLE --prefix=/usr --docdir=/usr/share/doc/dbus-python-1.2.8 &&
make -j2 &&
popd &&
read -p "Install? " &&
sudo -S -E porg -lD "make -C python2 install" &&
sudo -S -E porg -lD+ "make -C python3 install"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# DejaVu Fonts
# Source: https://sourceforge.net/projects/dejavu/files/dejavu/2.37/dejavu-fonts-ttf-2.37.tar.bz2
sudo -S porg -lD "install -v -d -m755 /usr/share/fonts/dejavu"
sudo -S porg -lD+ "install -v -m644 ttf/*.ttf /usr/share/fonts/dejavu" &&
sudo -S fc-cache -v /usr/share/fonts/dejavu

View File

@ -0,0 +1,8 @@
#! /bin/bash
# Desktop File Utils 0.24
# source: https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-0.24.tar.xz
./configure --prefix=/usr &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,16 @@
#! /bin/bash
# dhcpcd 7.2.3
# source: https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.2.3.tar.xz
patch -Np0 -i ../patches/dhcpcd-7.2.3-void-wpa-hook-stop.patch
sed -i 's,-B,& -s,' hooks/10-wpa_supplicant
./configure --prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--rundir=/run $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install -j1 "

View File

@ -0,0 +1,105 @@
#! /bin/bash
# docbook XML 4.5
# Source: http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip
# Run as root
# Create a folder before unzipping
#mkdir -v docbook-xml-4.5 && cd docbook-xml-4.5
install -v -d -m755 /usr/share/xml/docbook/xml-dtd-4.5 &&
install -v -d -m755 /etc/xml &&
chown -R root:root . &&
cp -v -af docbook.cat *.dtd ent/ *.mod \
/usr/share/xml/docbook/xml-dtd-4.5
if [ ! -e /etc/xml/docbook ]; then
xmlcatalog --noout --create /etc/xml/docbook
fi &&
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML V4.5//EN" \
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
/etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \
/etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \
/etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \
/etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \
/etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \
/etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \
/etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \
/etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \
/etc/xml/docbook &&
xmlcatalog --noout --add "rewriteSystem" \
"http://www.oasis-open.org/docbook/xml/4.5" \
"file:///usr/share/xml/docbook/xml-dtd-4.5" \
/etc/xml/docbook &&
xmlcatalog --noout --add "rewriteURI" \
"http://www.oasis-open.org/docbook/xml/4.5" \
"file:///usr/share/xml/docbook/xml-dtd-4.5" \
/etc/xml/docbook
if [ ! -e /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//ENTITIES DocBook XML" \
"file:///etc/xml/docbook" \
/etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//DTD DocBook XML" \
"file:///etc/xml/docbook" \
/etc/xml/catalog &&
xmlcatalog --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/" \
"file:///etc/xml/docbook" \
/etc/xml/catalog &&
xmlcatalog --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/" \
"file:///etc/xml/docbook" \
/etc/xml/catalog
for DTDVERSION in 4.1.2 4.2 4.3 4.4
do
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \
/etc/xml/docbook
xmlcatalog --noout --add "rewriteSystem" \
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
"file:///usr/share/xml/docbook/xml-dtd-4.5" \
/etc/xml/docbook
xmlcatalog --noout --add "rewriteURI" \
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
"file:///usr/share/xml/docbook/xml-dtd-4.5" \
/etc/xml/docbook
xmlcatalog --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
"file:///etc/xml/docbook" \
/etc/xml/catalog
xmlcatalog --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
"file:///etc/xml/docbook" \
/etc/xml/catalog
done
cd .. && rm -r docbook-xml-4.5

View File

@ -0,0 +1,62 @@
#! /bin/bash
# docbook-xsl-nons 1.79.2
# Source: https://github.com/docbook/xslt10-stylesheets/releases/download/release/1.79.2/docbook-xsl-nons-1.79.2.tar.bz2
# http://www.linuxfromscratch.org/patches/blfs/svn/docbook-xsl-nons-1.79.2-stack_fix-1.patch
# Runt as root
patch -Np1 -i ../patches/docbook-xsl-nons-1.79.2-stack_fix-1.patch &&
install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2 &&
cp -v -R VERSION assembly common eclipse epub epub3 extensions fo \
highlighting html htmlhelp images javahelp lib manpages params \
profiling roundtrip slides template tests tools webhelp website \
xhtml xhtml-1_1 xhtml5 \
/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2 &&
ln -s VERSION /usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2/VERSION.xsl &&
install -v -m644 -D README \
/usr/share/doc/docbook-xsl-nons-1.79.2/README.txt &&
install -v -m644 RELEASE-NOTES* NEWS* \
/usr/share/doc/docbook-xsl-nons-1.79.2
if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &&
if [ ! -f /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "rewriteSystem" \
"https://cdn.docbook.org/release/xsl-nons/1.79.2" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"https://cdn.docbook.org/release/xsl-nons/1.79.2" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"https://cdn.docbook.org/release/xsl-nons/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"https://cdn.docbook.org/release/xsl-nons/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog

View File

@ -0,0 +1,12 @@
#! /bin/bash
# DOSfstools 4.1
# source: https://github.com/dosfstools/dosfstools/releases/download/v4.1/dosfstools-4.1.tar.xz
./configure --prefix=/ \
--enable-compat-symlinks \
--mandir=/usr/share/man \
--docdir=/usr/share/doc/dosfstools-4.1 $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,11 @@
#! /bin/bash
# dvd+rw-tools-7.1
# source: http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-7.1.tar.gz
sed -i '/stat.h/a #include <sys/sysmacros.h>/' growisofs.c &&
sed -i '/stdlib/a #include <limits.h>' transport.hxx &&
read -p "Compile? " &&
make all rpl8 btcflash -j2 &&
read -p "Install? " &&
sudo -S porg -lD "make prefix=/usr install"

View File

@ -0,0 +1,15 @@
#! /bin/bash
# DWM 6.2
# Source: https://dl.suckless.org/dwm/dwm-6.2.tar.gz
# To add a systray:
# patch -Np1 -i ../patches/dwm-systray-20190208-cb3f58a.diff
# copy config.def.h as config.h and edit config.h
make clean &&
read -p "Compile? " &&
make INCS="-I . -I/usr/include/freetype2" LIBS="-lX11 -lXinerama -lXft -lfontconfig" -j2 &&
read -p "Install?" && sudo -S porg --remove dwm && sudo -S porg -lD "make install"

View File

@ -0,0 +1,50 @@
#! /bin/bash
# Elogind 241.3
# Source: https://github.com/elogind/elogind/archive/v241.3/elogind-241.3.tar.gz
mkdir build &&
cd build &&
meson --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
-Dcgroup-controller=elogind \
-Ddbuspolicydir=/etc/dbus-1/system.d \
.. &&
read -p "Compile?" && ninja -j2 &&
read -p "Install?" && sudo -S porg -lp elogind-241.3 "ninja install" &&
sudo -S porg -lp+ elogind-241.3 "ln -sfv libelogind.pc /usr/lib/pkgconfig/libsystemd.pc" &&
sudo -S porg -lp+ elogind-241.3 "ln -sfvn elogind /usr/include/systemd" &&
sudo -S porg -lp+ elogind-241.3 "mkdir -pv /usr/libexec/elogind" &&
sudo -S porg -lp+ elogind-241.3 "cp -v ../../files/elogind.wrapper /usr/libexec/elogind/" &&
sudo -S chmod -v 755 /usr/libexec/elogind/elogind.wrapper"
echo "Adjust pam configuration."
#cat >> /etc/pam.d/system-session << "EOF" &&
## Begin elogind addition
#session required pam_loginuid.so
#session optional pam_elogind.so
## End elogind addition
#EOF
#cat > /etc/pam.d/elogind-user << "EOF"
# Begin /etc/pam.d/elogind-user
#account required pam_access.so
#account include system-account
#session required pam_env.so
#session required pam_limits.so
#session required pam_unix.so
#session required pam_loginuid.so
#session optional pam_keyinit.so force revoke
#session optional pam_elogind.so
#auth required pam_deny.so
#password required pam_deny.so
## End /etc/pam.d/elogind-user
#EOF

View File

@ -0,0 +1,16 @@
#! /bin/bash
# ePDFView 0.1.8
# source: http://anduin.linuxfromscratch.org/BLFS/epdfview/epdfview-0.1.8.tar.bz2
patch -Np0 -i ../patches/0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch
patch -Np0 -i ../patches/glib2_headers.patch
patch -Np1 -i ../patches/epdfview-0.1.8-fixes-2.patch
cp -v ../files/config.guess-musl config.guess &&
cp -v ../files/config.sub-musl config.sub &&
./configure --prefix=/usr $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,10 @@
#! /bin/bash
# EXO 0.12.8
# source: http://archive.xfce.org/src/xfce/exo/0.12/exo-0.12.8.tar.bz2
./configure --prefix=/usr \
--sysconfdir=/etc \
$BUILDTRUPLE &&
read -p "compile?" && make -j2 &&
read -p "install?" && sudo -S porg -lD "make install"

View File

@ -0,0 +1,15 @@
#! /bin/bash
# extra CMake Modules 5.60.0
# source: http://download.kde.org/stable/frameworks/5.60/extra-cmake-modules-5.60.0.tar.xz
sed -i '/"lib64"/s/64//' kde-modules/KDEInstallDirs.cmake
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
read -p "Compile? " && make -j2 &&
read -p "Install? " &&
sudo -S porg -lp extra-cmake-modules-5.60.0 "make install"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# faad2 2.8.8
# source: https://downloads.sourceforge.net/faac/faad2-2.8.8.tar.gz
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# FDK AAC 2.0.0
# source: https://downloads.sourceforge.net/opencore-amr/fdk-aac-2.0.0.tar.gz
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
read -p "Compile? " && make -j4 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,31 @@
#! /bin/bash
# FFMpeg 4.2
# source: http://ffmpeg.org/releases/ffmpeg-4.2.tar.xz
sed -i 's/-lflite"/-lflite -lasound"/' configure &&
./configure --prefix=/usr \
--enable-gpl \
--enable-version3 \
--enable-nonfree \
--disable-static \
--enable-shared \
--disable-debug \
--enable-avresample \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libtheora \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--docdir=/usr/share/doc/ffmpeg-4.2 &&
read -p "Compile? " && make -j2 &&
gcc tools/qt-faststart.c -o tools/qt-faststart &&
read -p "Install? " && sudo -S porg -lD "make install" &&
sudo -S porg -lD+ "install -v -m755 tools/qt-faststart /usr/bin"

View File

@ -0,0 +1,35 @@
#!/bin/bash
# fftw 3.3.8
# source: http://www.fftw.org/fftw-3.3.8.tar.gz
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac &&
autoreconf -fvi &&
mkdir build-double && cd build-double &&
../configure --prefix=/usr \
--enable-shared \
--enable-threads \
--enable-sse2 \
--enable-avx &&
read -p "Compile?" && make -j2 && cd .. &&
mkdir build-long-double && cd build-long-double &&
../configure --prefix=/usr \
--enable-shared \
--enable-threads \
--enable-long-double &&
read -p "Compile?" && make -j2 && cd .. &&
mkdir build-single && cd build-single &&
../configure --prefix=/usr \
--enable-shared \
--enable-threads \
--enable-float \
--enable-sse &&
read -p "Compile?" && make -j2 && cd .. &&
for f in double long-double single; do
cd build-${f}
sudo -S porg -lp+ fftw-3.3.8 "make install"
done

View File

@ -0,0 +1,9 @@
#! /bin/bash
# FLAC 1.3.3
# source: https://downloads.xiph.org/releases/flac/flac-1.3.3.tar.xz
./configure --prefix=/usr $BUILDTRUPLE \
--disable-thorough-tests &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,17 @@
#! /bin/bash
# Fluxbox 1.3.7
# Source: https://downloads.sourceforge.net/fluxbox/fluxbox-1.3.7.tar.xz
ac_cv_lib_X11_XOpenDisplay=yes \
ac_cv_lib_Xft_XftFontOpen=yes \
ac_cv_lib_Xrender_XRenderCreatePicture=yes \
ac_cv_lib_Xpm_XpmReadFileToPixmap=yes \
ac_cv_lib_Xinerama_XineramaQueryScreens=yes \
ac_cv_lib_Xext_XShapeCombineShape=yes \
ac_cv_lib_Xrandr_XRRQueryExtension=yes \
ac_cv_lib_fribidi_fribidi_version_info=yes \
./configure --prefix=/usr --disable-nls $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,14 @@
#! /bin/bash
for package in $(grep -v '^#' ../font-7.md5 | awk '{print $2}')
do
packagedir=${package%.tar.bz2}
tar -xf $package
pushd $packagedir
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
make -j2
sudo -S porg -lp $packagedir "make install"
popd
sudo -S rm -rf $packagedir
done
sudo -S install -v -d -m755 /usr/share/fonts

View File

@ -0,0 +1,13 @@
#! /bin/bash
# Fontconfig 2.13.1
# Source: https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.1.tar.bz2
rm -f src/fcobjshash.h
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-docs \
--docdir=/usr/share/doc/fontconfig-2.13.0 $BUILDTRUPLE &&
read -p "Compile? " && make -j4 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,14 @@
#! /bin/bash
# FreeGlut 3.0.0
# Source: https://downloads.sourceforge.net/freeglut/freeglut-3.0.0.tar.gz
mkdir build && cd build &&
CMAKE_LIBRARY_PATH=$XORG_PREFIX/lib \
CMAKE_INCLUDE_PATH=$XORG_PREFIX/include \
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DFREEGLUT_BUILD_DEMOS=OFF \
-DFREEGLUT_BUILD_STATIC_LIBS=OFF .. &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lp freeglut-3.0.0 "make install"

View File

@ -0,0 +1,13 @@
#! /bin/bash
# FreeType 2.10
# Source: https://downloads.sourceforge.net/freetype/freetype-2.10.1.tar.xz
patch -Np0 -i ../patches/freetype-2.10.1-void-enable-subpixel-rendering.patch
sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg &&
sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" \
-i include/freetype/config/ftoption.h
./configure --prefix=/usr --enable-freetype-config --disable-static $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
read -p "Install?" && sudo -S porg -lD "make install"

View File

@ -0,0 +1,14 @@
#! /bin/bash
# FreeType 2.10
# Source: https://downloads.sourceforge.net/freetype/freetype-2.10.1.tar.xz
patch -Np0 -i ../patches/freetype-2.10.1-void-enable-subpixel-rendering.patch
sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg &&
sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" \
-i include/freetype/config/ftoption.h
./configure --prefix=/usr --enable-freetype-config --disable-static $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S porg --remove freetype &&
read -p "Install?" && sudo -S porg -lD "make install"

View File

@ -0,0 +1,16 @@
#! /bin/bash
# frei0r-plugins 1.6.1
# source: https://files.dyne.org/frei0r/releases/frei0r-plugins-1.6.1.tar.gz
sed -i 's/CV_RGB/cv::Scalar/' src/filter/facebl0r/facebl0r.cpp &&
mkdir -vp build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev .. &&
read -p "Compile?" && make -j2 &&
read -p "Install?" && sudo -S porg -lp frei0r-plugins-1.6.1 "make install"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# FriBidi-1.0.5
# Source: https://github.com/fribidi/fribidi/releases/download/v1.0.5/fribidi-1.0.5.tar.bz2
mkdir build && cd build
meson --prefix=/usr .. &&
read -p "Compile? " && ninja -j2 &&
read -p "Install? " && sudo -S porg -lp FriBidi-1.0.5 "ninja install"

View File

@ -0,0 +1,32 @@
#! /bin/bash
# Fuse 2.9.7
# source: https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz
./configure --prefix=/usr \
--disable-static \
--exec-prefix=/ $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && make DESTDIR=$PWD/Dest install &&
sudo -S porg -lD "install -vm755 Dest/lib/libfuse.so.2.9.7 /lib" &&
sudo -S porg -lD+ "install -vm755 Dest/lib/libulockmgr.so.1.0.1 /lib" &&
sudo -S porg -lD+ "ln -sfv ../../lib/libfuse.so.2.9.7 /usr/lib/libfuse.so" &&
sudo -S porg -lD+ "ln -sfv ../../lib/libulockmgr.so.1.0.1 /usr/lib/libulockmgr.so" &&
sudo -S porg -lD+ "install -vm644 Dest/lib/pkgconfig/fuse.pc /usr/lib/pkgconfig" &&
sudo -S porg -lD+ "install -vm4755 Dest/bin/fusermount /bin" &&
sudo -S porg -lD+ "install -vm755 Dest/bin/ulockmgr_server /bin" &&
sudo -S porg -lD+ "install -vm755 Dest/sbin/mount.fuse /sbin" &&
sudo -S porg -lD+ "install -vdm755 /usr/include/fuse" &&
sudo -S porg -lD+ "install -vm644 Dest/usr/include/*.h /usr/include" &&
sudo -S porg -lD+ "install -vm644 Dest/usr/include/fuse/*.h /usr/include/fuse/" &&
sudo -S porg -lD+ "install -vm644 Dest/usr/share/man/man1/* /usr/share/man/man1"

View File

@ -0,0 +1,8 @@
#! /bin/bash
# Garcon 0.6.4
# Source: http://archive.xfce.org/src/xfce/garcon/0.6/garcon-0.6.4.tar.bz2
./configure --prefix=/usr --sysconfdir=/etc $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,17 @@
#! /bin/bash
# GAVL 1.4.0
# source : https://downloads.sourceforge.net/gmerlin/gavl-1.4.0.tar.gz
patch -Np0 -i ../patches/gavl-1.4.0-void-musl-sched_h.patch &&
cp -v ../files/config.sub-musl config.sub &&
cp -v ../files/config.guess-musl config.guess
LIBS=-lm \
./configure --prefix=/usr \
--without-doxygen \
--docdir=/usr/share/doc/gavl-1.4.0 $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,11 @@
#! /bin/bash
# GCR 3.28.1
# source: http://ftp.gnome.org/pub/gnome/sources/gcr/3.28/gcr-3.28.1.tar.xz
sed -i -r 's:"(/desktop):"/org/gnome\1:' schema/*.xml &&
./configure --prefix=/usr \
--sysconfdir=/etc \
--without-gtk-doc $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,12 @@
#! /bin/bash
# gdk-pixbuf-2.38.1
# Source: http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.38/gdk-pixbuf-2.38.1.tar.xz
mkdir build &&
cd build &&
meson --prefix=/usr .. &&
read -p "Compile?" && ninja -j2 &&
read -p "Install?" && sudo -S porg -lp gdk-pixbuf-2.38.1 "ninja install"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# Geany 1.35
# source: https://download.geany.org/geany-1.35.tar.bz2
./configure --prefix=/usr --sysconfdir=/etc $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
read -p "Install?" && sudo -S porg -lD "make install"

View File

@ -0,0 +1,8 @@
#! /bin/bash
# giflib 5.2.1
# Source: https://sourceforge.net/projects/giflib/files/giflib-5.2.1.tar.gz
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make PREFIX=/usr install" &&
sudo -S porg -lD+ "rm -vf /usr/lib/libgif.a"

View File

@ -0,0 +1,10 @@
#! /bin/bash
# Git 2.22.0
# Source: https://www.kernel.org/pub/software/scm/git/git-2.22.0.tar.xz
./configure --prefix=/usr \
--with-gitconfig=/etc/gitconfig \
--with-libpcre2 $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,10 @@
#! /bin/bash
# Glade 3.30.4
# source: http://ftp.gnome.org/pub/GNOME/sources/glade/3.20/glade-3.20.4.tar.xz
enable_gladeui=yes \
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,13 @@
#! /bin/bash
# Glade 3.8.6
# source: http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-3.8.6.tar.xz
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-compile-warnings=no \
--disable-scrollkeeper \
--disable-gnome \
--disable-nls --enable-gtk-doc $BUILDTRUPLE &&
read -p "compile?" && make -j2 &&
read -p "install?" && sudo -S porg -lD "make install"

View File

@ -0,0 +1,18 @@
#! /bin/bash
# Glib 2.60.6
# Source: http://ftp.gnome.org/pub/gnome/sources/glib/2.60/glib-2.60.6.tar.xz
# http://www.linuxfromscratch.org/patches/blfs/svn/glib-2.60.6-skip_warnings-1.patch
patch -Np1 -i ../patches/glib-2.60.6-skip_warnings-1.patch
mkdir build &&
cd build &&
meson --prefix=/usr \
-Dman=true \
-Dselinux=disabled \
.. &&
read -p "Compile?" && ninja -j2 &&
read -p "Install?" && sudo -S porg -lp glib-2.60.6 "ninja install"

View File

@ -0,0 +1,15 @@
#! /bin/bash
# Glib Networking 2.60.3
# source: http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.60/glib-networking-2.60.3.tar.xz
mkdir build &&
cd build &&
meson --prefix=/usr \
-Dlibproxy=disabled \
-Dgnutls=enabled \
-Dinstalled_tests=false \
-Dopenssl=enabled .. &&
read -p "Compile? " && ninja -j2 &&
read -p "Install? " && sudo -S porg -lp glib-networking-2.60.3 "ninja install"

View File

@ -0,0 +1,13 @@
#! /bin/bash
# glibmm 2.60.0
# source: http://ftp.gnome.org/pub/gnome/sources/glibmm/2.60/glibmm-2.60.0.tar.xz
sed -e '/^libdocdir =/ s/$(book_name)/glibmm-2.60.0/' \
-i docs/Makefile.in
./configure --prefix=/usr $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,8 @@
#! /bin/bash
# GLU 9.0.1
# Source: ftp://ftp.freedesktop.org/pub/mesa/glu/glu-9.0.1.tar.xz
./configure --prefix=$XORG_PREFIX --disable-static &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,12 @@
#! /bin/bash
# Gnome Disk Utility 3.33.91
# source: https://gitlab.gnome.org/GNOME/gnome-disk-utility.git
mkdir BUILD && cd BUILD &&
meson --prefix=/usr -D libsystemd=false &&
read -p "Compile? " && ninja -j2 &&
read -p "Install? " && sudo -S porg -lp gnome-disk-utility-3.33.91 "ninja install"

View File

@ -0,0 +1,8 @@
#! /bin/bash
# gnome-icon-theme-3.12.0
# http://ftp.gnome.org/pub/gnome/sources/gnome-icon-theme/3.12/gnome-icon-theme-3.12.0.tar.xz
./configure --prefix=/usr &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,8 @@
#! /bin/bash
# Gnome Icon Theme Symbolic 3.12.0
# source: http://ftp.gnome.org/pub/gnome/sources/gnome-icon-theme-symbolic/3.12/gnome-icon-theme-symbolic-3.12.0.tar.xz
./configure --prefix=/usr &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,10 @@
#! /bin/bash
# GNUPG 2.2.17
# Source: https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.17.tar.bz2
./configure --prefix=/usr \
--enable-symcryptrun \
--docdir=/usr/share/doc/gnupg-2.2.17 $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,11 @@
#! /bin/bash
# GNU TLS 3.6.8
# Source: https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.8.tar.xz
./configure --prefix=/usr \
--with-default-trust-store-pkcs11="pkcs11:" \
--enable-openssl-compatibility \
$BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
read -p "Install?" && sudo -S porg -lD "make install"

View File

@ -0,0 +1,11 @@
#! /bin/bash
# gobject-introspection-1.60.2
# Source: http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.60/gobject-introspection-1.60.2.tar.xz
./configure --prefix=/usr \
--disable-static \
--with-python=/usr/bin/python3 \
--disable-tests $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,12 @@
#! /bin/bash
# Gparted 1.0.0
# source : https://downloads.sourceforge.net/gparted/gparted-1.0.0.tar.gz
./configure --prefix=/usr \
--disable-doc \
--disable-static \
--enable-xhost-root $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# GPGME 1.13.1
# source: https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.13.1.tar.bz2
./configure --prefix=/usr \
--disable-gpg-test $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,9 @@
#! /bin/bash
# GPicView 0.2.5
# source: https://downloads.sourceforge.net/lxde/gpicview-0.2.5.tar.xz
./configure --prefix=/usr $BUILDTRUPLE &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install" &&
sudo -S sed -i 's/Utility;//' /usr/share/applications/gpicview.desktop

View File

@ -0,0 +1,9 @@
#! /bin/bash
# gptfdisk-1.0.4
# source: https://downloads.sourceforge.net/gptfdisk/gptfdisk-1.0.4.tar.gz
patch -Np1 -i ../patches/gptfdisk-1.0.4-convenience-1.patch &&
read -p "Compile? " && make -j2 &&
read -p "Install? " && sudo -S porg -lD "make install"

View File

@ -0,0 +1,11 @@
#! /bin/bash
# Graphite2 1.3.13
# Source: https://github.com/silnrsi/graphite/releases/download/1.3.13/graphite2-1.3.13.tgz
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=ON ..
read -p "Compile? " && make -j2 &&
sudo -S porg -lp Graphite2-1.3.13 "make install"

Some files were not shown because too many files have changed in this diff Show More