many changes some breaking

This commit is contained in:
Mid Favila 2021-12-24 03:47:26 +00:00
parent 4d2127aef1
commit 81b5edce65
112 changed files with 193 additions and 134 deletions

View File

@ -2,4 +2,4 @@ binutils
bison bison
flex flex
linux-headers linux-headers
zlib

View File

@ -1,3 +1,3 @@
bzip2 bzip2
sqlite sqlite
zlib

View File

@ -1,3 +1,3 @@
libressl libressl
xz xz
zlib

View File

@ -4,4 +4,4 @@ libpng
libX11 libX11
libXext libXext
libXi libXi
zlib

View File

@ -6,4 +6,4 @@ libuv
perl make perl make
pkgconf make pkgconf make
xz xz
zlib

View File

@ -1,5 +1,10 @@
#!/bin/sh -e #!/bin/sh -e
# If the user has -pie in their LDFLAGS, remove it; it breaks the build.
printf "\n\n\nHey, boss. We're gonna be removing -pie from your LDFLAGS if it's there, to make sure the build succeeds.\n\n\n"
sleep 3
LDFLAGS=$(echo $LDFLAGS|sed 's/-pie//')
export FORCE_UNSAFE_CONFIGURE=1 export FORCE_UNSAFE_CONFIGURE=1
export CFLAGS="$CFLAGS -static" export CFLAGS="$CFLAGS -static"

View File

@ -12,4 +12,4 @@ libXxf86vm
libxshmfence libxshmfence
mesa mesa
sdl sdl
zlib

View File

@ -1,3 +1,3 @@
libxml2 libxml2
ncurses ncurses
zlib

View File

@ -1,2 +1,2 @@
pciutils pciutils
zlib

View File

@ -14,4 +14,4 @@ libXrender
libjpeg-turbo libjpeg-turbo
libpng libpng
libxcb libxcb
zlib

View File

@ -1,5 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
# Can't build with -pie.
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
sed -i "28s|.*|chmod u+s \"\${DESTDIR}\${bindir}/fusermount3\"|" \ sed -i "28s|.*|chmod u+s \"\${DESTDIR}\${bindir}/fusermount3\"|" \
util/install_helper.sh util/install_helper.sh

View File

@ -1,5 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
# Remove -pie from ldflags to prevent build breakage.
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
cat > makeinfo <<EOF cat > makeinfo <<EOF
#!/bin/sh #!/bin/sh
printf 'makeinfo (GNU texinfo) 5.2\n' printf 'makeinfo (GNU texinfo) 5.2\n'

View File

@ -1,3 +1,3 @@
pkgconf make pkgconf make
xz xz
zlib

View File

@ -1,4 +1,4 @@
libburn libburn
libisofs libisofs
ncurses ncurses
zlib

View File

@ -1 +1 @@
zlib

View File

@ -5,4 +5,4 @@ libxml2
meson make meson make
pkgconf make pkgconf make
sqlite sqlite
zlib

View File

@ -1,2 +1,2 @@
xz xz
zlib

View File

@ -1,3 +1,3 @@
libressl libressl
ncurses ncurses
zlib

View File

@ -1,4 +1,4 @@
cyrus-sasl cyrus-sasl
ncurses ncurses
perl make perl make
zlib

View File

@ -1,3 +1,3 @@
linux-headers make linux-headers make
ncurses ncurses
zlib

View File

@ -1,4 +1,4 @@
cyrus-sasl cyrus-sasl
gnutls gnutls
ncurses ncurses
zlib

View File

@ -1,4 +1,4 @@
linux-headers make linux-headers make
perl make perl make
sqlite sqlite
zlib

View File

@ -1,4 +1,4 @@
libpng libpng
tiff tiff
cmake make cmake make
zlib

View File

@ -1,2 +1,2 @@
libpng libpng
zlib

View File

@ -2,4 +2,4 @@ clang make
libedit libedit
llvm llvm
python python
zlib

View File

@ -1,3 +1,3 @@
bzip2 bzip2
sqlite sqlite
zlib

View File

@ -1,2 +1,2 @@
libjpeg-turbo libjpeg-turbo
zlib

View File

@ -1,2 +1,2 @@
libffi libffi
zlib

View File

@ -1,3 +1,3 @@
cmake make cmake make
glib glib
zlib

View File

@ -1,3 +1,3 @@
libevent libevent
libressl libressl
zlib make make

View File

@ -3,4 +3,4 @@ pkgconf make
gnutls gnutls
ncurses ncurses
libgcrypt libgcrypt
zlib

View File

@ -1,4 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
mv makefile.mid makefile
make make
install -Dm755 atto "$1/usr/bin/atto" install -Dm755 atto "$1/usr/bin/atto"

View File

@ -0,0 +1 @@
66b1918d6c95f7551e175e5f23ac51aec4738f829ceee9876289ac4c0b71b007

View File

@ -0,0 +1,68 @@
#
# makefile
#
# Based on Anthonys Editor January 93
#
# Public Domain 1991, 1993 by Anthony Howe. No warranty.
#
CFLAGS = -pipe -w -D_GLIBCXX_ASSERTIONS -D_FORTIFY_SOURCE=2 -O2 -march=haswell -fno-asynchronous-unwind-tables -momit-leaf-frame-pointer -ftree-loop-vectorize -fstack-protector-strong --param ssp-buffer-size=4 -fstack-clash-protection -fPIE -fPIC -Wl,--hash-style=gnu -fno-plt -static
CC = cc
LD = cc
LDFLAGS = -Wl,-O1,-sort-common,-as-needed,-z,relro,-z,now
LIBS = -lncursesw
CP = cp
MV = mv
RM = rm
E =
O = .o
OBJ = command$(O) display$(O) gap$(O) key$(O) search$(O) buffer$(O) replace$(O) window$(O) complete$(O) hilite$(O) main$(O)
atto$(E) : $(OBJ)
$(LD) $(CFLAGS) $(LDFLAGS) -o atto$(E) $(OBJ) $(LIBS)
command$(O): command.c header.h
$(CC) $(CFLAGS) -c command.c
complete$(O): complete.c header.h
$(CC) $(CFLAGS) -c complete.c
display$(O): display.c header.h
$(CC) $(CFLAGS) -c display.c
gap$(O): gap.c header.h
$(CC) $(CFLAGS) -c gap.c
key$(O): key.c header.h
$(CC) $(CFLAGS) -c key.c
search$(O): search.c header.h
$(CC) $(CFLAGS) -c search.c
replace$(O): replace.c header.h
$(CC) $(CFLAGS) -c replace.c
window$(O): window.c header.h
$(CC) $(CFLAGS) -c window.c
buffer$(O): buffer.c header.h
$(CC) $(CFLAGS) -c buffer.c
hilite$(O): hilite.c header.h
$(CC) $(CFLAGS) -c hilite.c
main$(O): main.c header.h
$(CC) $(CFLAGS) -c main.c
clean:
-$(RM) $(OBJ) atto$(E)
install:
-$(MV) atto$(E) /usr/local/bin/

View File

@ -1 +1,2 @@
git+https://github.com/hughbarney/atto git+https://github.com/hughbarney/atto
files/makefile.mid

View File

@ -13,8 +13,7 @@ export PATH=$PATH:$PWD
--with-lib-path=/usr/lib:/usr/local/lib \ --with-lib-path=/usr/lib:/usr/local/lib \
--enable-targets=x86_64-pep \ --enable-targets=x86_64-pep \
--enable-deterministic-archives \ --enable-deterministic-archives \
--disable-gold \ --enable-gold \
--enable-lto \
--enable-ld=default \ --enable-ld=default \
--enable-plugins \ --enable-plugins \
--disable-multilib \ --disable-multilib \
@ -30,4 +29,4 @@ make configure-host
make tooldir=/usr make tooldir=/usr
make DESTDIR="$1" tooldir=/usr install make DESTDIR="$1" tooldir=/usr install
ln -sf ld.bfd "$1/usr/bin/ld" ln -sf ld.gold "$1/usr/bin/ld"

View File

@ -1,2 +1,2 @@
flex flex
zlib

View File

@ -1,2 +1,2 @@
libressl libressl
zlib

View File

@ -1 +1 @@
zlib

View File

@ -1,5 +1,5 @@
binutils binutils
bison make bison make
flex make flex make
zlib
libisl libisl

View File

@ -1,3 +1,3 @@
curl make curl make
libressl make libressl make
zlib make make

View File

@ -1,3 +1,3 @@
bzip2 bzip2
xz xz
zlib

View File

@ -5,7 +5,6 @@ export CFLAGS="$CFLAGS -fPIC"
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib \ --libdir=/usr/lib \
--shared
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View File

@ -0,0 +1 @@
abcc2831b7a0e891d0875fa852e9b9510b420d843d3d20aad010f65493fe4f7b

View File

@ -0,0 +1 @@
https://sortix.org/libz/release/libz-1.2.8.2015.12.26.tar.gz

View File

@ -1 +1 @@
zlib

View File

@ -1 +1 @@
zlib

View File

@ -2,4 +2,4 @@ pkgconf
glib glib
libxml2 libxml2
xz xz
zlib

View File

@ -1 +0,0 @@
c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1

View File

@ -1 +0,0 @@
https://zlib.net/zlib-1.2.11.tar.gz

View File

@ -1,5 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
# Ensure build success by removing -pie from LDFLAGS.
LDFLAGS=$(echo $LDFLAGS|sed 's/-pie//')
export DESTDIR="$1" export DESTDIR="$1"
# Don't build tests. # Don't build tests.

View File

@ -7,4 +7,4 @@ libXrender
mesa mesa
pixman pixman
pkgconf make pkgconf make
zlib

View File

@ -3,4 +3,4 @@ curl
expat expat
libressl libressl
linux-headers make linux-headers make
zlib

View File

@ -1,5 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
# Remove -pie from LDFLAGS to prevent build from breaking.
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
./configure \ ./configure \
--cc="${CC:-cc}" \ --cc="${CC:-cc}" \
--cxx="${CXX:-c++}" \ --cxx="${CXX:-c++}" \

View File

@ -1,8 +1,9 @@
#!/bin/sh -e #!/bin/sh -e
# Doesn't seem to like odd cflags. Oh well. # Doesn't seem to like odd cflags or ldflags. Oh well.
export CFLAGS="-w -pipe -O2 -march=native" CFLAGS="-w -pipe -O2 -march=native"
export CXXFLAGS="$CFLAGS" CXXFLAGS="$CFLAGS"
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
build_freetype() ( build_freetype() (
cd freetype cd freetype

View File

@ -17,4 +17,4 @@ mesa
meson make meson make
pixman pixman
pkgconf make pkgconf make
zlib

View File

@ -1,5 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
# Remove -pie from ldflags because it breaks builds.
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
export DESTDIR="$1" export DESTDIR="$1"
sed -i "/subdir('tests')/d" meson.build sed -i "/subdir('tests')/d" meson.build

View File

@ -1,4 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
# -pie in LDFLAGS breaks our build.
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
make make
make DESTDIR="$1" PREFIX=/usr install make DESTDIR="$1" PREFIX=/usr install

View File

@ -1,5 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
# -pie in ldflags breaks build.
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
export DESTDIR="$1" export DESTDIR="$1"
# Remove 'libelf' and 'util-linux' dependencies. # Remove 'libelf' and 'util-linux' dependencies.

View File

@ -1,4 +1,4 @@
libffi libffi
meson make meson make
pkgconf make pkgconf make
zlib

View File

@ -1,4 +1,4 @@
bzip2 bzip2
curl curl
libressl libressl
zlib

View File

@ -1,2 +1,2 @@
pkgconf make pkgconf make
zlib

View File

@ -1 +1 @@
zlib

View File

@ -1,3 +1,3 @@
cmake make cmake make
python make python make
zlib

View File

@ -18,4 +18,4 @@ meson make
pkgconf make pkgconf make
python make python make
xorgproto xorgproto
zlib

View File

@ -1,2 +1,2 @@
libressl libressl
zlib

View File

@ -1,2 +1,2 @@
bzip2 bzip2
zlib

View File

@ -2,4 +2,4 @@ bzip2
expat expat
libffi libffi
sqlite sqlite
zlib

View File

@ -1 +1 @@
zlib make make

View File

@ -1 +1 @@
zlib

View File

@ -1,3 +1,3 @@
libjpeg-turbo libjpeg-turbo
xz xz
zlib

View File

@ -1,2 +1,2 @@
linux-headers make linux-headers make
zlib

View File

@ -1,3 +1,3 @@
pkgconf make pkgconf make
xorgproto make xorgproto make
zlib

View File

@ -22,4 +22,4 @@ pixman
pkgconf make pkgconf make
xkeyboard-config xkeyboard-config
xtrans make xtrans make
zlib

View File

@ -18,4 +18,4 @@ libpng
libxcb libxcb
ncurses ncurses
neXtaw neXtaw
zlib

View File

@ -1,3 +1,3 @@
libxml2 libxml2
ncurses ncurses
zlib

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
# Fix a compile-time bug. # Fix a compile-time bug and build statically.
export CFLAGS="$CFLAGS -fcommon" export CFLAGS="$CFLAGS -fcommon -static"
# Set what utils to make. # Set what utils to make.
cp makefile.mid ./Makefile cp makefile.mid ./Makefile

View File

@ -1,4 +0,0 @@
#!/bin/sh -e
make
install -Dm755 atto "$1/usr/bin/atto"

View File

@ -1 +0,0 @@
ncurses

View File

@ -1,13 +0,0 @@
/var/db/kiss/installed/atto-git/version
/var/db/kiss/installed/atto-git/sources
/var/db/kiss/installed/atto-git/manifest
/var/db/kiss/installed/atto-git/depends
/var/db/kiss/installed/atto-git/build
/var/db/kiss/installed/atto-git/
/var/db/kiss/installed/
/var/db/kiss/
/var/db/
/var/
/usr/bin/atto
/usr/bin/
/usr/

View File

@ -1 +0,0 @@
git+https://github.com/hughbarney/atto

View File

@ -1 +0,0 @@
git 1

View File

@ -1,5 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
LDFLAGS=$(echo $LDFLAGS|sed 's/-pie//')
# Build autoconf 2.13 for browser's sole use. # Build autoconf 2.13 for browser's sole use.
( (
cd autoconf2.13 cd autoconf2.13

View File

@ -1,4 +1,4 @@
096637b9336d156e1adf04dd1764fc4033ac1d3dc6be7845d56fbb7dd84a0208 77e70d8b7ba061ff6157294d9bf188c304f8554c23601d704f6086dac4a3fb3f
4bf732b952a121baedc79b07eb54ba6f37a146e8c497be73fb71ca34aeb90860 4bf732b952a121baedc79b07eb54ba6f37a146e8c497be73fb71ca34aeb90860
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
578146940874f8884f5ec69da948538dbd428de9405717ca24e6d5d80c7eb381 578146940874f8884f5ec69da948538dbd428de9405717ca24e6d5d80c7eb381

View File

@ -1,4 +1,4 @@
https://fossies.org/linux/www/legacy/Pale-Moon-29.4.0.1_Release.tar.gz https://fossies.org/linux/www/palemoon-29.4.3.source.tar.xz
https://repo.palemoon.org/MoonchildProductions/UXP/archive/RELBASE_20210608.tar.gz platform/ https://repo.palemoon.org/MoonchildProductions/UXP/archive/RELBASE_20210608.tar.gz platform/
https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf2.13/ https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf2.13/
files/mozconfig.in files/mozconfig.in

View File

@ -7,4 +7,4 @@ sdl2
sdl2-image sdl2-image
sdl2-mixer sdl2-mixer
sdl2-ttf sdl2-ttf
zlib

View File

@ -9,4 +9,4 @@ libogg
libtool make libtool make
libvorbis libvorbis
yasm make yasm make
zlib

View File

@ -1,7 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
#Force simple CFLAGS #Force simple CFLAGS and override LDFLAGS to ensure successful build
CFLAGS="-O2 -w -pipe -march=native" LDFLAGS=$(echo $LDFLAGS|sed 's/-pie//')
CFLAGS="-O2 -w -pipe "
CXXFLAGS="$CFLAGS" CXXFLAGS="$CFLAGS"
./configure \ ./configure \

View File

@ -6,5 +6,5 @@ libpng
libxml2 libxml2
ncurses ncurses
tiff tiff
zlib
libXpm libXpm

View File

@ -1 +1 @@
zlib

View File

@ -1 +0,0 @@
freetype-harfbuzz-mod/

View File

@ -16,4 +16,4 @@ mesa
meson make meson make
pixman pixman
pkgconf make pkgconf make
zlib

View File

@ -1,20 +0,0 @@
#!/bin/sh -e
cat > makeinfo <<EOF
#!/bin/sh
printf 'makeinfo (GNU texinfo) 5.2\n'
EOF
chmod +x makeinfo
export PATH=$PATH:$PWD
mkdir _build
cd _build
../configure \
--prefix=/usr \
--without-installed-readline \
--disable-nls
make
make DESTDIR="$1" install

View File

@ -1 +0,0 @@
aaa1223d534c9b700a8bec952d9748ee1977513f178727e1bee520ee000b4f29

View File

@ -1 +0,0 @@
linux-headers make

View File

@ -1 +0,0 @@
https://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.xz

View File

@ -1 +0,0 @@
10.2 1

View File

@ -5,4 +5,4 @@ libressl
libtool make libtool make
pkgconf make pkgconf make
xz xz
zlib

View File

@ -2,4 +2,4 @@ libwebp
giflib giflib
gtk+2 gtk+2
libpng libpng
zlib

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