]> git.armaanb.net Git - asd-repo.git/commitdiff
byacc: rename from bison
authorArmaan Bhojwani <me@armaanb.net>
Fri, 2 Jul 2021 19:06:51 +0000 (15:06 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Fri, 2 Jul 2021 19:39:56 +0000 (15:39 -0400)
20 files changed:
bison/build [deleted file]
bison/checksums [deleted file]
bison/sources [deleted file]
bison/version [deleted file]
byacc/build [new file with mode: 0755]
byacc/checksums [new file with mode: 0644]
byacc/sources [new file with mode: 0644]
byacc/version [new file with mode: 0644]
gstreamer/build [new file with mode: 0755]
gstreamer/checksums [new file with mode: 0644]
gstreamer/depends [new file with mode: 0644]
gstreamer/sources [new file with mode: 0644]
gstreamer/version [new file with mode: 0644]
mesa/build [new file with mode: 0755]
mesa/checksums [new file with mode: 0644]
mesa/depends [new file with mode: 0644]
mesa/sources [new file with mode: 0644]
mesa/version [new file with mode: 0644]
opendoas/depends
opendoas/version

diff --git a/bison/build b/bison/build
deleted file mode 100755 (executable)
index d284ac5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh -e
-
-./configure \
-    --prefix=/usr \
-    --program-prefix=b \
-    --enable-btyacc
-
-make
-make DESTDIR="$1" install
-
-ln -s "/usr/bin/byacc" "$1/usr/bin/yacc"
-ln -s "/usr/bin/byacc" "$1/usr/bin/bison"
diff --git a/bison/checksums b/bison/checksums
deleted file mode 100644 (file)
index dee8cfa..0000000
+++ /dev/null
@@ -1 +0,0 @@
-8b8f258eb22a4eae994ee374a712dd08e023cde1c39b373e8db8ba7806c50585
diff --git a/bison/sources b/bison/sources
deleted file mode 100644 (file)
index 79246f5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-https://invisible-mirror.net/archives/byacc/byacc-20210328.tgz
diff --git a/bison/version b/bison/version
deleted file mode 100644 (file)
index 6b7cd8f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-20210328 1
diff --git a/byacc/build b/byacc/build
new file mode 100755 (executable)
index 0000000..c7c4767
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+./configure \
+    --prefix=/usr \
+    --program-prefix=b \
+    --enable-btyacc
+
+make
+make DESTDIR="$1" install
+
+ln -s "/usr/bin/byacc" "$1/usr/bin/yacc"
diff --git a/byacc/checksums b/byacc/checksums
new file mode 100644 (file)
index 0000000..dee8cfa
--- /dev/null
@@ -0,0 +1 @@
+8b8f258eb22a4eae994ee374a712dd08e023cde1c39b373e8db8ba7806c50585
diff --git a/byacc/sources b/byacc/sources
new file mode 100644 (file)
index 0000000..79246f5
--- /dev/null
@@ -0,0 +1 @@
+https://invisible-mirror.net/archives/byacc/byacc-20210328.tgz
diff --git a/byacc/version b/byacc/version
new file mode 100644 (file)
index 0000000..6b7cd8f
--- /dev/null
@@ -0,0 +1 @@
+20210328 1
diff --git a/gstreamer/build b/gstreamer/build
new file mode 100755 (executable)
index 0000000..3602ee7
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+sed -i \
+    -e 's/win_bison/byacc/g' \
+    -e 's/--version/-V/g' \
+    -e 's/2.4/0/g' \
+    -e 's/-1/-2/g' \
+    gst/parse/meson.build
+
+sed -i 's/yfile, '\''-o'\'', cfile/'\''-o'\'', cfile, yfile/g' \
+               gst/parse/gen_grammar.py.in
+
+meson \
+    --prefix=/usr \
+    --libexecdir=/usr/lib \
+    -Dbuildtype=release \
+    -Ddbghelp=disabled \
+    -Dintrospection=disabled \
+    -Dexamples=disabled \
+    -Dgtk_doc=disabled \
+    . output
+
+ninja -C output
+ninja -C output install
diff --git a/gstreamer/checksums b/gstreamer/checksums
new file mode 100644 (file)
index 0000000..aea5a71
--- /dev/null
@@ -0,0 +1 @@
+9aeec99b38e310817012aa2d1d76573b787af47f8a725a65b833880a094dfbc5
diff --git a/gstreamer/depends b/gstreamer/depends
new file mode 100644 (file)
index 0000000..b41cbb9
--- /dev/null
@@ -0,0 +1,3 @@
+byacc make
+glib
+meson make
diff --git a/gstreamer/sources b/gstreamer/sources
new file mode 100644 (file)
index 0000000..35833b5
--- /dev/null
@@ -0,0 +1 @@
+https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.18.4.tar.xz
diff --git a/gstreamer/version b/gstreamer/version
new file mode 100644 (file)
index 0000000..e13698d
--- /dev/null
@@ -0,0 +1 @@
+1.18.4 1
diff --git a/mesa/build b/mesa/build
new file mode 100755 (executable)
index 0000000..cf7cf5d
--- /dev/null
@@ -0,0 +1,48 @@
+#!/bin/sh -e
+
+# Install python-mako which is solely needed for mesa
+# and thus contained in this build.
+{
+    cd mako
+
+    python3 setup.py build
+    python3 setup.py install \
+        --prefix=/usr \
+        --root="$PWD/dist"
+
+    # Use a glob to avoid having to figure out the Python
+    # version for the path below.
+    cd dist/usr/lib/python*/site-packages
+
+    # Set the PYTHONPATH so python knows where to find mako.
+    # The one liner simply appends the existing path and
+    # handles the case where an unset PYTHONPATH breaks
+    # python as it will only contain our new addition.
+    PYTHONPATH=$PWD:$(python -c "import sys; print(':'.join(sys.path))")
+
+    cd -; cd ..
+}
+
+export PYTHONPATH
+export DESTDIR="$1"
+export CFLAGS="$CFLAGS -DGLX_X86_READONLY_TEXT"
+
+# Fix issues with musl and firefox.
+# https://bugs.freedesktop.org/show_bug.cgi?id=35268
+# https://github.com/mesa3d/mesa/commit/9f37c9903b87f86a533bfaffa72f0ecb285b02b2
+sed -i "/pre_args += '-DUSE_ELF_TLS'/d" meson.build
+
+python3 bin/git_sha1_gen.py --output include/git_sha1.h
+
+meson \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --mandir=/usr/share/man \
+    --localstatedir=/var \
+    --buildtype=release \
+    -Dplatforms=x11 \
+    -Dzstd=enabled \
+    . output
+
+ninja -C output
+ninja -C output install
diff --git a/mesa/checksums b/mesa/checksums
new file mode 100644 (file)
index 0000000..5b20e94
--- /dev/null
@@ -0,0 +1,2 @@
+1f177f44098164b65731c5ded4c928fd58b14f6c9d2087aa0e37bc79bf79e90b
+17831f0b7087c313c0ffae2bcbbd3c1d5ba9eeac9c38f2eb7b50e8c99fe9d5ab
diff --git a/mesa/depends b/mesa/depends
new file mode 100644 (file)
index 0000000..d4eaa28
--- /dev/null
@@ -0,0 +1,22 @@
+byacc        make
+expat
+flex         make
+libX11
+libXdamage
+libXext
+libXrandr
+libXrender
+libXxf86vm
+libdrm
+libelf
+libxcb
+libxshmfence
+linux-headers make
+llvm
+m4            make
+meson         make
+pkgconf       make
+python        make
+xorgproto
+zlib
+zstd
diff --git a/mesa/sources b/mesa/sources
new file mode 100644 (file)
index 0000000..8a7013f
--- /dev/null
@@ -0,0 +1,2 @@
+https://archive.mesa3d.org/mesa-21.1.4.tar.xz
+https://files.pythonhosted.org/packages/source/M/Mako/Mako-1.1.4.tar.gz mako
diff --git a/mesa/version b/mesa/version
new file mode 100644 (file)
index 0000000..b115689
--- /dev/null
@@ -0,0 +1 @@
+21.1.4 1
index bccf61758fa3ed0846ff0cd5e294c4c144d47cbc..7adba2dfa2900fd81ed6cfc93817a1f005db7c49 100644 (file)
@@ -1 +1 @@
-bison make
+byacc make
index 3957d4e410a0623a8d4ebd57b93f9222c373f7ce..ad80fa96f810e210aae1fad7e09988d28b2ff4ef 100644 (file)
@@ -1 +1 @@
-6.9 1
+6.9 2