Reformmated most ports.

This commit is contained in:
Mid Favila 2021-05-11 01:07:37 -03:00
parent 232926292e
commit 2e53852818
128 changed files with 531 additions and 497 deletions

View File

@ -1,6 +1,9 @@
#!/bin/sh -e #!/bin/sh -e
# Fix a compile-time bug.
export CFLAGS="$CFLAGS -fcommon" export CFLAGS="$CFLAGS -fcommon"
# Set what utils to make.
cp makefile.mid ./Makefile cp makefile.mid ./Makefile
make PREFIX=/usr make PREFIX=/usr
@ -8,5 +11,6 @@ make PREFIX=/usr DESTDIR="$1" install
# Prevent 9yacc from actually installing # Prevent 9yacc from actually installing
for file in /usr/bin/yacc /usr/yacc /usr/share/man/man1/yacc.1 for file in /usr/bin/yacc /usr/yacc /usr/share/man/man1/yacc.1
do rm -rf "$1$file" do
rm -rf "$1$file"
done done

View File

@ -14,7 +14,8 @@ cd ..
install -Dm755 style.css "$1/usr/share/rox/style.css" install -Dm755 style.css "$1/usr/share/rox/style.css"
for stuff in Help Messages Options.xml ROX images .DirIcon for stuff in Help Messages Options.xml ROX images .DirIcon
do mv $stuff "$1/usr/share/rox/$stuff" do
mv $stuff "$1/usr/share/rox/$stuff"
done done
install -Dm755 ../rox.1 "$1/usr/share/man/man1" install -Dm755 ../rox.1 "$1/usr/share/man/man1"

View File

@ -1,11 +1,11 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--disable-nls \ --disable-nls \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-enable-silent-rules \ --disable-enable-silent-rules \
--disable-option-checking --disable-option-checking
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,8 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--disable-perl-plugin \ --disable-perl-plugin \
--disable-gnutls \ --disable-gnutls \
--prefix=/usr --prefix=/usr
make make

View File

@ -3,11 +3,11 @@
export DESTDIR="$1" export DESTDIR="$1"
export CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=200809L" export CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=200809L"
cmake -B build \ cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DUSE_XPM=OFF -DUSE_XPM=OFF
cmake --build build cmake --build build
cmake --install build cmake --install build

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,10 +1,10 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--sbindir=/usr/bin \ --sbindir=/usr/bin \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--enable-compat-symlinks --enable-compat-symlinks
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
install -Dm755 dtach "$1/usr/bin/dtach" install -Dm755 dtach "$1/usr/bin/dtach"

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./autogen.sh \ ./autogen.sh \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,11 +1,11 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libexecdir=/usr/bin \ --libexecdir=/usr/bin \
--localstatedir=/var \ --localstatedir=/var \
--enable-monitor \ --enable-monitor \
--disable-dbus --disable-dbus
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,9 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
#patch -Np1 -i fixes.patch ./configure \
--prefix=/usr
./configure \
--prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make

View File

@ -1,27 +1,27 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--cc="${CC:-cc}" \ --cc="${CC:-cc}" \
--cxx="${CXX:-c++}" \ --cxx="${CXX:-c++}" \
--prefix=/usr \ --prefix=/usr \
--enable-shared \ --enable-shared \
--enable-gpl \ --enable-gpl \
--enable-version3 \ --enable-version3 \
--enable-nonfree \ --enable-nonfree \
--enable-openssl \ --enable-openssl \
--enable-libass \ --enable-libass \
--enable-libmp3lame \ --enable-libmp3lame \
--enable-libopus \ --enable-libopus \
--enable-libvorbis \ --enable-libvorbis \
--enable-libvpx \ --enable-libvpx \
--enable-libx265 \ --enable-libx265 \
--enable-libxvid \ --enable-libxvid \
--enable-libdrm \ --enable-libdrm \
--x86asmexe=nasm \ --x86asmexe=nasm \
--disable-debug \ --disable-debug \
--enable-libtheora \ --enable-libtheora \
--disable-libxml2 \ --disable-libxml2 \
--enable-ffplay --enable-ffplay
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,26 +1,13 @@
#!/bin/sh -e #!/bin/sh -e
patch -p1 < 01-TranslucentMenus.patch for patch in 01-TranslucentMenus.patch 02-ColourBorders.patch 03-ResizeOutlineThin.patch 04-Conditionals.patch 05-FlatSeparators.patch 06-BorderUnderTitle.patch 07-InactiveFont.patch 08-FluxRoundedCorners.patch 09-TopBorder.patch 10-ButtonWidth.patch 11-MultiBorder.patch 12-FvwmButtonsTips.patch 13-FvwmIconMan.patch 14-Hover.patch 15-FirstItemUnderPointer.patch 16-ThinGeometryProxy.patch
patch -p1 < 02-ColourBorders.patch do
patch -p1 < 03-ResizeOutlineThin.patch patch -p1 < $patch
patch -p1 < 04-Conditionals.patch done
patch -p1 < 05-FlatSeparators.patch
patch -p1 < 06-BorderUnderTitle.patch
patch -p1 < 07-InactiveFont.patch
patch -p1 < 08-FluxRoundedCorners.patch
patch -p1 < 09-TopBorder.patch
patch -p1 < 10-ButtonWidth.patch
patch -p1 < 11-MultiBorder.patch
patch -p1 < 12-FvwmButtonsTips.patch
patch -p1 < 13-FvwmIconMan.patch
patch -p1 < 14-Hover.patch
patch -p1 < 15-FirstItemUnderPointer.patch
patch -p1 < 16-ThinGeometryProxy.patch
#patch -p1 < 17-MiniIconSize.patch
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-mandoc --enable-mandoc
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,6 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure --prefix=/usr ./configure \
--prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -2,18 +2,21 @@
# Pull asciidoctor with the best tool available # Pull asciidoctor with the best tool available
if [ -x /bin/axel ] if [ -x /bin/axel ]
then axel --output=tmp.tgz https://github.com/asciidoctor/asciidoctor/archive/refs/tags/v2.0.14.tar.gz then
else curl --output tmp.tgz https://github.com/asciidoctor/asciidoctor/archive/refs/tags/v2.0.14.tar.gz axel --output=tmp.tgz https://github.com/asciidoctor/asciidoctor/archive/refs/tags/v2.0.14.tar.gz
else
curl --output tmp.tgz https://github.com/asciidoctor/asciidoctor/archive/refs/tags/v2.0.14.tar.gz
fi fi
# Unpack it and set its bindir into PATH for building FVWM docs # Unpack it and set its bindir into PATH for building FVWM docs
tar xf tmp.tgz tar xf tmp.tgz
export PATH="$PWD/asciidoctor-2.0.14/bin/:$PATH" export PATH="$PWD/asciidoctor-2.0.14/bin/:$PATH"
./autogen.sh ./autogen.sh
./configure \
--prefix=/usr \
--enable-mandoc
ls ./configure \
--prefix=/usr \
--enable-mandoc
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./autogen.sh \ ./autogen.sh \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -11,10 +11,10 @@ export PATH=$PATH:$PWD
mkdir _build mkdir _build
cd _build cd _build
../configure \ ../configure \
--prefix=/usr \ --prefix=/usr \
--without-installed-readline \ --without-installed-readline \
--disable-nls --disable-nls
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,8 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-libgdbm-compat \ --enable-libgdbm-compat \
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,9 +1,9 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-gtk2 \ --enable-gtk2 \
--disable-vte --disable-vte
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,11 +1,11 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--disable-static \ --disable-static \
--enable-fast-install \ --enable-fast-install \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-nls --disable-nls
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -6,13 +6,13 @@ export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED"
sed -i 's/modules demos tests/modules/' Makefile.am Makefile.in sed -i 's/modules demos tests/modules/' Makefile.am Makefile.in
sed -i 's/docs m4macros/m4macros/' Makefile.am Makefile.in sed -i 's/docs m4macros/m4macros/' Makefile.am Makefile.in
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--enable-debug=no \ --enable-debug=no \
--disable-gtk-doc \ --disable-gtk-doc \
--with-xinput=yes --with-xinput=yes
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,6 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure --prefix=/usr ./configure \
--prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,6 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure --prefix=/usr ./configure \
--prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,8 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-SIGCHLD-fallback --enable-SIGCHLD-fallback
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,6 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./autogen.sh --prefix=/usr ./autogen.sh \
--prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,5 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
# Fix an issue with reaping.
sed -i 's/signal(SIGINT, handler);/signal(SIGINT, handler);\nsignal(SIGCHLD, handler);/' hummingbird.c sed -i 's/signal(SIGINT, handler);/signal(SIGINT, handler);\nsignal(SIGCHLD, handler);/' hummingbird.c
make make

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./autogen.sh \ ./autogen.sh \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,18 +1,18 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libexecdir=/usr/sbin \ --libexecdir=/usr/sbin \
--localstatedir=/var \ --localstatedir=/var \
--disable-logger \ --disable-logger \
--disable-rcp \ --disable-rcp \
--disable-rexec \ --disable-rexec \
--disable-rlogin \ --disable-rlogin \
--disable-rsh \ --disable-rsh \
--disable-servers \ --disable-servers \
--disable-ping6 \ --disable-ping6 \
--disable-dnsdomainname \ --disable-dnsdomainname \
--disable-hostname --disable-hostname
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,6 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure --prefix=/usr ./configure \
--prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./autogen.sh \ ./autogen.sh \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,11 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./autogen.sh \ ./autogen.sh \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install
#for lib in "$1/usr/lib/libXaw.7.so" "$1/usr/lib/libXaw.so" "$1/usr/lib/libXaw.so.6" "$1/usr/lib/libXaw.so.7" "$1/usr/lib/libXaw6.so" "$1/usr/lib/libXaw6.so.6" "$1/usr/lib/libXaw6.so.6.0.0" "$1/usr/lib/libXaw6.so.6.0.0.1" "$1/usr/lib/libXaw7.so "$1/usr/lib/libXaw7.so.7" "$1/usr/lib/libXaw7.so.7.0.0"
#do ln -s "$1/usr/lib/libXaw3d.so" "$lib"
#done

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,6 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -2,8 +2,8 @@
./autogen.sh ./autogen.sh
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,15 +1,13 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--without-nettle \ --without-nettle \
--without-openssl \ --without-openssl \
--without-xml2 \ --without-xml2 \
--without-expat --without-expat
make make
make DESTDIR="$1" install make DESTDIR="$1" install
ln -s bsdcat "$1/usr/bin/cat"
ln -s bsdcpio "$1/usr/bin/cpio"
ln -s bsdtar "$1/usr/bin/tar" ln -s bsdtar "$1/usr/bin/tar"

View File

@ -1,17 +1,17 @@
#!/bin/sh -e #!/bin/sh -e
cmake . \ cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_BSON=ON \ -DENABLE_BSON=ON \
-DENABLE_CLIENT_SIDE_ENCRYPTION=OFF \ -DENABLE_CLIENT_SIDE_ENCRYPTION=OFF \
-DENABLE_EXAMPLES=OFF \ -DENABLE_EXAMPLES=OFF \
-DENABLE_ICU=OFF \ -DENABLE_ICU=OFF \
-DENABLE_MONGOC=OFF \ -DENABLE_MONGOC=OFF \
-DENABLE_MONGODB_AWS_AUTH=OFF \ -DENABLE_MONGODB_AWS_AUTH=OFF \
-DENABLE_SASL=OFF \ -DENABLE_SASL=OFF \
-DENABLE_TESTS=OFF \ -DENABLE_TESTS=OFF \
-DENABLE_UNINSTALL=OFF \ -DENABLE_UNINSTALL=OFF \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./autogen.sh \ ./autogen.sh \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,12 +1,12 @@
#!/bin/sh -e #!/bin/sh -e
# We need to run the included script, otherwise the build # We need to run the included script, otherwise the build
# will totally fail. # will fail.
./release.sh ./release.sh
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -2,9 +2,9 @@
patch -p1 < 01-links-tabbed.patch patch -p1 < 01-links-tabbed.patch
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-graphics --enable-graphics
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,8 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-gui --enable-gui
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
# Change the SBINDIR and BINDIR to /usr/bin to keep kiss happy # Change the SBINDIR and BINDIR to /usr/bin to keep kiss happy
sed -i 's/\/bin/\/usr\/bin/' Makefile sed -i 's/\/bin/\/usr\/bin/' Makefile
sed -i 's/\/sbin/\/usr\/bin/' Makefile sed -i 's/\/sbin/\/usr\/bin/' Makefile
ssu ./configure.sh config.in ssu ./configure.sh config.in

View File

@ -20,16 +20,16 @@ for p in html-parser html-tagset; do (
# Build standalone xxd to remove VIM requirement # Build standalone xxd to remove VIM requirement
cc xxd/xxd.c -o xxd/xxd cc xxd/xxd.c -o xxd/xxd
make \ make \
LIBDIR=lib \ LIBDIR=lib \
INCLUDEDIR=include \ INCLUDEDIR=include \
PREFIX=/usr \ PREFIX=/usr \
TARGET=gtk2 TARGET=gtk2
make \ make \
LIBDIR=lib \ LIBDIR=lib \
INCLUDEDIR=include \ INCLUDEDIR=include \
PREFIX=/usr \ PREFIX=/usr \
TARGET=gtk2\ TARGET=gtk2 \
DESTDIR="$1" \ DESTDIR="$1" \
install install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,8 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--without-zenmap --without-zenmap
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -4,7 +4,7 @@ autoupdate
./autogen.sh ./autogen.sh
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-tls --enable-tls

View File

@ -1,6 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make

View File

@ -1,6 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make

View File

@ -1,11 +1,11 @@
#!/bin/sh -e #!/bin/sh -e
# We have an alternative system, use "ksh" and "sh" as binary names. # We have an alternative system, use "ksh" and "sh" as binary names.
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--bindir=/usr/bin \ --bindir=/usr/bin \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--enable-ksh \ --enable-ksh \
--enable-sh --enable-sh
make make

View File

@ -1,6 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure --prefix=/usr ./configure \
--prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -2,8 +2,8 @@
export CFLAGS="$CFLAGS -static" export CFLAGS="$CFLAGS -static"
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,20 +1,24 @@
#!/bin/sh -e #!/bin/sh -e
mk() { mk()
make \ {
CC="${CC:-cc}" \ make \
OPT="$CFLAGS -fPIC" \ CC="${CC:-cc}" \
ZLIB=yes \ OPT="$CFLAGS -fPIC" \
PREFIX=/usr \ ZLIB=yes \
SBINDIR=/usr/bin \ PREFIX=/usr \
SHAREDIR=/usr/share/hwdata \ SBINDIR=/usr/bin \
"$@" SHAREDIR=/usr/share/hwdata \
"$@"
} }
for shared in yes no; do ( for shared in yes no
cd "$shared" do
(
cd "$shared"
mk SHARED="$shared" mk SHARED="$shared"
mk SHARED="$shared" DESTDIR="$1" install install-lib mk SHARED="$shared" DESTDIR="$1" install install-lib
) done )
done

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -2,24 +2,24 @@
ls ls
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--disable-gstreamer \ --disable-gstreamer \
--disable-avahi \ --disable-avahi \
--disable-gtkspell \ --disable-gtkspell \
--disable-meanwhile \ --disable-meanwhile \
--disable-idn \ --disable-idn \
--disable-nm \ --disable-nm \
--disable-tcl \ --disable-tcl \
--disable-dbus \ --disable-dbus \
--disable-screensaver \ --disable-screensaver \
--disable-perl \ --disable-perl \
--disable-sm \ --disable-sm \
--disable-vv \ --disable-vv \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-nls \ --disable-nls \
--with-dynamic-prpls=irc --with-dynamic-prpls=irc
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -2,9 +2,9 @@
export DESTDIR="$1" export DESTDIR="$1"
cmake -B build \ cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DFLAG=1 \ -DFLAG=1 \
-DENABLE_LIBOPENJPEG=unmaintained -DENABLE_LIBOPENJPEG=unmaintained
cmake --build build cmake --build build

View File

@ -1,8 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--sbindir=/usr/bin --sbindir=/usr/bin
# Fix includes for w.c # Fix includes for w.c
sed -i 's|HAVE_UTMPX_H|NO|g' w.c sed -i 's|HAVE_UTMPX_H|NO|g' w.c
@ -14,8 +14,10 @@ make CCLD="${CC:-cc} -all-static"
make DESTDIR="$1" install make DESTDIR="$1" install
# Prevent redundant junk from getting in. # Prevent redundant junk from getting in.
# Deal with the ugliness. It's 5AM and I want to sleep.
rm "$1/usr/bin/sysctl" for file in sysctl uptime bc dc
rm "$1/usr/bin/uptime" do
rm "$1/usr/bin/$file"
done
rm -rf "$1/usr/share" rm -rf "$1/usr/share"

View File

@ -2,7 +2,7 @@
./autogen.sh ./autogen.sh
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make

View File

@ -3,4 +3,4 @@
DESTDIR="$1" DESTDIR="$1"
make make
install -Dm 0644 libdiscord.so $DESTDIR/usr/lib/purple-2/libdiscord.so install -Dm 0644 libdiscord.so "$DESTDIR/usr/lib/purple-2/libdiscord.so"

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,26 +1,25 @@
#!/bin/sh -e #!/bin/sh -e
patch -p1 < rxvt-unicode-kerning.patch for file in rxvt-unicode-kerning.patch gentables.patch
patch -p1 < gentables.patch do
patch -p1 < $file
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--with-terminfo=/usr/share/terminfo \ --with-terminfo=/usr/share/terminfo \
--enable-256-color \ --enable-256-color \
--enable-font-styles \ --enable-font-styles \
--enable-xim \ --enable-xim \
--enable-keepscrolling \ --enable-keepscrolling \
--enable-selectionscrolling \ --enable-selectionscrolling \
--enable-smart-resize \ --enable-smart-resize \
--enable-transparency \ --disable-frills \
--disable-frills \ --disable-perl \
--disable-perl \ --enable-mousewheel \
--enable-mousewheel \ --enable-text-blink \
--enable-text-blink \ --enable-fading \
--enable-fading \ --disable-utmp \
--enable-unicode3 \ --disable-wtmp \
--disable-utmp \ --disable-lastlog
--disable-wtmp \
--disable-lastlog
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,8 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
meson build \ meson build \
-Dprefix="$1/usr" \ -Dprefix="$1/usr" \
-Dmandir="$1/usr/share/man/" -Dmandir="$1/usr/share/man/"
cd build cd build
ninja ninja

View File

@ -3,9 +3,9 @@
git submodule update --init git submodule update --init
autoreconf autoreconf
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib --libdir=/usr/lib
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -2,8 +2,8 @@
export CFLAGS="$CFLAGS -static" export CFLAGS="$CFLAGS -static"
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,18 +1,14 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--bindir=/usr/bin \ --mandir=/usr/share/man \
--sbindir=/usr/bin \ --sysconfdir=/etc \
--libdir=/usr/lib \ --disable-account-tools-setuid \
--mandir=/usr/share/man \ --with-group-name-max-length=32 \
--sysconfdir=/etc \ --without-audit \
--disable-man \ --without-selinux \
--disable-account-tools-setuid \ --without-libpam
--with-group-name-max-length=32 \
--without-audit \
--without-selinux \
--without-libpam
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -6,9 +6,10 @@
# Grab the package version. # Grab the package version.
read -r version _ < "${0%/*}/version" read -r version _ < "${0%/*}/version"
mkdir -p "$1/usr/share/mime/packages" \ mkdir -p \
"$1/usr/share/pkgconfig" \ "$1/usr/share/mime/packages" \
"$1/usr/bin" "$1/usr/share/pkgconfig" \
"$1/usr/bin"
# Install with only English support. # Install with only English support.
sed -e 's/_comment/comment/g' freedesktop.org.xml.in \ sed -e 's/_comment/comment/g' freedesktop.org.xml.in \

View File

@ -2,8 +2,8 @@
./autogen.sh ./autogen.sh
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,9 +1,9 @@
#!/bin/sh -e #!/bin/sh -e
make make
make \ make \
PREFIX=/usr \ PREFIX=/usr \
DESTDIR="$1" \ DESTDIR="$1" \
BINOWN="$(id -u)" \ BINOWN="$(id -u)" \
BINGRP="$(id -g)" \ BINGRP="$(id -g)" \
install install

View File

@ -1,8 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,9 +1,9 @@
#!/bin/sh -e #!/bin/sh -e
./autogen.sh ./autogen.sh
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,7 +1,9 @@
#!/bin/sh -e #!/bin/sh -e
patch -p1 < 0018-prevent-pow-optimization.patch for file in 0018-prevent-pow-optimization.patch fcommon.patch
patch -p1 < fcommon.patch do
patch -p1 < $file
done
# Fix missing <sys/sysmacros.h> include. # Fix missing <sys/sysmacros.h> include.
sed -i 's@vfs.h>@vfs.h>\n#include <sys/sysmacros.h>@' extlinux/main.c sed -i 's@vfs.h>@vfs.h>\n#include <sys/sysmacros.h>@' extlinux/main.c
@ -9,13 +11,13 @@ sed -i 's@vfs.h>@vfs.h>\n#include <sys/sysmacros.h>@' extlinux/main.c
# Disable debugging and development "stuff". # Disable debugging and development "stuff".
: > mk/devel.mk : > mk/devel.mk
make -j1 \ make -j1 \
PYTHON=python \ PYTHON=python \
bios efi64 installer bios efi64 installer
make -j1 \ make -j1 \
INSTALLROOT="$1" \ INSTALLROOT="$1" \
MANDIR=/usr/share/man \ MANDIR=/usr/share/man \
SBINDIR=/usr/bin \ SBINDIR=/usr/bin \
AUXDIR=/usr/lib/syslinux \ AUXDIR=/usr/lib/syslinux \
bios efi64 install bios efi64 install

View File

@ -1,9 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
# Adding this patch forces the libXft # Adding this patch forces the libXft dependency, but the upstream (git) already
# dependency, but the upstream (git) already # uses it. It is also much better than the ancient# logical X font description.
# uses it. It is also much better than the ancient
# logical X font description.
patch -p1 < tabbed-0.6-xft.diff patch -p1 < tabbed-0.6-xft.diff
make make

View File

@ -4,12 +4,12 @@ IFS=. read -r maj min _ < "${0%/*}/version"
rm -rf pkgs/sqlite3* rm -rf pkgs/sqlite3*
unix/configure \ unix/configure \
--prefix=/usr \ --prefix=/usr \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--enable-threads \ --enable-threads \
--enable-64bit \ --enable-64bit \
--with-system-sqlite --with-system-sqlite
make make
make INSTALL_ROOT="$1" install install-private-headers make INSTALL_ROOT="$1" install install-private-headers

View File

@ -1,8 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--sbindir=/usr/bin --sbindir=/usr/bin
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,9 +1,10 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--mandir=/usr --mandir=/usr
make make
install -Dm755 tcptrace "$1/usr/bin/tcptrace" install -Dm755 tcptrace "$1/usr/bin/tcptrace"
install -Dm644 tcptrace.man "$1/usr/share/man/man1/tcptrace.1" install -Dm644 tcptrace.man "$1/usr/share/man/man1/tcptrace.1"

View File

@ -4,8 +4,8 @@ git init
git submodule update --recursive git submodule update --recursive
./configure --prefix=/usr \ ./configure --prefix=/usr \
--disable-libwebp \ --disable-libwebp \
--disable-translation --disable-translation
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -4,4 +4,5 @@ sed -i s/ncursesw\\/ncurses.h/ncurses.h/ Makefile
make make
make DESTDIR="$1" install all make DESTDIR="$1" install all
install -Dm 755 tine.1 "$1/usr/share/man/man1/tine.1" install -Dm 755 tine.1 "$1/usr/share/man/man1/tine.1"

View File

@ -2,12 +2,12 @@
IFS=. read -r maj min _ < "${0%/*}/version" IFS=. read -r maj min _ < "${0%/*}/version"
unix/configure \ unix/configure \
--prefix=/usr \ --prefix=/usr \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--enable-threads \ --enable-threads \
--disable-rpath \ --disable-rpath \
--enable-64bit --enable-64bit
make make
make INSTALL_ROOT="$1" install install-private-headers make INSTALL_ROOT="$1" install install-private-headers
@ -16,7 +16,8 @@ ln -s "/usr/bin/wish${maj}.${min}" "$1/usr/bin/wish"
ln -s "/usr/lib/libtk${maj}.${min}.so" "$1/usr/lib/libtk.so" ln -s "/usr/lib/libtk${maj}.${min}.so" "$1/usr/lib/libtk.so"
# Finish installing private headers. # Finish installing private headers.
for dir in compat generic generic/ttk unix; do for dir in compat generic generic/ttk unix
install -dm755 "$1/usr/include/tk-private/$dir" do
install -m644 -t "$1/usr/include/tk-private/$dir" "$dir/"*.h install -dm755 "$1/usr/include/tk-private/$dir"
install -m644 -t "$1/usr/include/tk-private/$dir" "$dir/"*.h
done done

View File

@ -2,8 +2,8 @@
cd src/ cd src/
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -2,20 +2,21 @@
cp makefile.mid ./Makefile cp makefile.mid ./Makefile
for patch in *.patch; do for patch in *.patch
patch -p1 < "$patch" do
patch -p1 < "$patch"
done done
sed -i \ sed -i \
-e "/^CFLAGS/s/=/= $CFLAGS -static/" \ -e "/^CFLAGS/s/=/= $CFLAGS -static/" \
-e "/^LDFLAGS/s/=/= $LDFLAGS -static/" \ -e "/^LDFLAGS/s/=/= $LDFLAGS -static/" \
config.mk config.mk
# Prevent the following binaries from building # Prevent the following binaries from building
for nobin in hostname for nobin in hostname
do sed -i s/hostname// Makefile do
sed -i s/hostname// Makefile
done done
make make
make DESTDIR="$1" PREFIX=/usr install make DESTDIR="$1" PREFIX=/usr install

View File

@ -2,8 +2,8 @@
./autogen.sh ./autogen.sh
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,19 +1,16 @@
#!/bin/sh -e #!/bin/sh -e
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--localstatedir=/var \ --localstatedir=/var \
--bindir=/usr/bin \ --enable-libuuid \
--sbindir=/usr/bin \ --enable-libblkid \
--libdir=/usr/lib \ --disable-makeinstall-chown \
--enable-libuuid \ --disable-rpath \
--enable-libblkid \ --without-udev \
--disable-makeinstall-chown \ --without-python \
--disable-rpath \ --without-systemd \
--without-udev \ --disable-more
--without-python \
--without-systemd \
--disable-more
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -2,8 +2,8 @@
autoupdate autoupdate
./autogen.sh \ ./autogen.sh \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -2,8 +2,8 @@
./autogen.sh ./autogen.sh
./configure \ ./configure \
--prefix=/usr --prefix=/usr
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -1,5 +1,17 @@
#!/bin/sh -e #!/bin/sh -e
printf "
################################################################################
################################################################################
## Achtung! ##
## You should pay attention. We might need ##
## your help with this one, bossman. ##
################################################################################
################################################################################
"
sleep 10
git submodule update --init --recursive git submodule update --init --recursive
cp doc/mozconfig.example ./.mozconfig cp doc/mozconfig.example ./.mozconfig
@ -7,6 +19,19 @@ cp doc/mozconfig.example ./.mozconfig
sed -i 's/enable-jack/disable-jack/g' .mozconfig sed -i 's/enable-jack/disable-jack/g' .mozconfig
sed -i 's/$HOME/\/tmp/g' .mozconfig sed -i 's/$HOME/\/tmp/g' .mozconfig
printf "
################################################################################
################################################################################
## Achtung! ##
## You can edit your browser's mozconfig now. ##
## Please take the time to look over this. ##
################################################################################
################################################################################
"
sleep 10
${EDITOR:-vi} .mozconfig
./mach build ./mach build
./mach package ./mach package

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