From c1d3da9ca87c414100b1cb969e36b8d7d05b9a74 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 10 Aug 2022 09:16:34 +0100 Subject: added ovmf, lolcat, spice, and squashfstools --- repo/acpica/acpica.xibuild | 25 + repo/acpica/disable-werror.patch | 13 + repo/acpica/iasl.xibuild | 7 + repo/alsa-plugins/pulseaudio-alsa.xibuild | 2 +- repo/bash/bash.xibuild | 2 + repo/catch2/catch2.xibuild | 2 +- repo/dino/dino.xibuild | 32 + repo/dino/mobile-ui.patch | 967 +++++++++++++++++++++ ...Tools-do-not-build-BrotliCompress-RH-only.patch | 43 + ...g-remove-package-private-Brotli-include-p.patch | 49 ++ repo/edk2/build-hack.patch | 13 + repo/edk2/disable-werror.patch | 11 + repo/edk2/edk2-ovmf.xibuild | 19 + repo/edk2/edk2.xibuild | 84 ++ repo/hdparm/hdparm.xibuild | 27 + repo/i2c-tools/i2c-tools.xibuild | 4 + repo/imagemagick/imagemagick.xibuild | 4 +- repo/linux-firmware/linux-firmware.xibuild | 2 +- repo/linux-headers/linux-headers.xibuild | 2 +- repo/linux-libre/linux-libre-src.xibuild | 2 +- repo/linux-libre/linux-libre.xibuild | 10 +- repo/linux/linux.xibuild | 2 +- repo/lolcat/lolcat.xibuild | 19 + repo/mesa/mesa.xibuild | 2 +- repo/meson/meson.xibuild | 2 +- repo/nuspell/nuspell.xibuild | 30 + .../polkit-gnome-authentication-agent-1.desktop | 88 ++ repo/polkit-gnome/polkit-gnome.xibuild | 30 + repo/polkit/alpine-polkit.pam | 7 + repo/polkit/polkit-common.pre-install | 6 + repo/polkit/polkit-common.pre-upgrade | 6 + repo/polkit/polkit.initd | 12 + repo/polkit/polkit.xibuild | 68 +- repo/ronn/fix-ruby-3.1-compat.patch | 24 + repo/ronn/mustache-1.X.patch | 50 ++ repo/ronn/ronn.xibuild | 53 ++ repo/ruby-kramdown/gemspec.patch | 18 + repo/ruby-kramdown/ruby-kramdown.xibuild | 48 + repo/ruby-mustache/fix-test-race-condition.patch | 36 + repo/ruby-mustache/ruby-mustache.xibuild | 46 + repo/ruby-mustache/skip-simplecov.patch | 13 + repo/ruby-nokogiri/gemspec-fix-deps.patch | 15 + repo/ruby-nokogiri/ruby-nokogiri.xibuild | 62 ++ repo/ruby-nokogiri/shutdown-libxml2-warning.patch | 12 + .../test-helper-remove-unnecessary-deps.patch | 22 + repo/spice-gtk/disable-test-relying-on-usb.patch | 22 + repo/spice-gtk/fix-pkgconfig-version.patch | 13 + repo/spice-gtk/spice-gtk.xibuild | 46 + repo/spice-vdagent/spice-vdagent.xibuild | 33 + repo/spice-vdagent/spice-vdagentd.initd | 13 + repo/squashfs-tools/fix-compat.patch | 12 + repo/squashfs-tools/squashfs-tools.xibuild | 27 + repo/xipkg/xipkg.xibuild | 12 +- repo/xiutils/shmk.xibuild | 7 + repo/xiutils/xitui.xibuild | 4 +- repo/xiutils/xiutils.xibuild | 7 +- 56 files changed, 2132 insertions(+), 55 deletions(-) create mode 100644 repo/acpica/acpica.xibuild create mode 100644 repo/acpica/disable-werror.patch create mode 100644 repo/acpica/iasl.xibuild create mode 100644 repo/dino/dino.xibuild create mode 100644 repo/dino/mobile-ui.patch create mode 100644 repo/edk2/0008-BaseTools-do-not-build-BrotliCompress-RH-only.patch create mode 100644 repo/edk2/0009-MdeModulePkg-remove-package-private-Brotli-include-p.patch create mode 100644 repo/edk2/build-hack.patch create mode 100644 repo/edk2/disable-werror.patch create mode 100644 repo/edk2/edk2-ovmf.xibuild create mode 100644 repo/edk2/edk2.xibuild create mode 100644 repo/hdparm/hdparm.xibuild create mode 100644 repo/lolcat/lolcat.xibuild create mode 100644 repo/nuspell/nuspell.xibuild create mode 100644 repo/polkit-gnome/polkit-gnome-authentication-agent-1.desktop create mode 100644 repo/polkit-gnome/polkit-gnome.xibuild create mode 100644 repo/polkit/alpine-polkit.pam create mode 100644 repo/polkit/polkit-common.pre-install create mode 100644 repo/polkit/polkit-common.pre-upgrade create mode 100644 repo/polkit/polkit.initd create mode 100644 repo/ronn/fix-ruby-3.1-compat.patch create mode 100644 repo/ronn/mustache-1.X.patch create mode 100644 repo/ronn/ronn.xibuild create mode 100644 repo/ruby-kramdown/gemspec.patch create mode 100644 repo/ruby-kramdown/ruby-kramdown.xibuild create mode 100644 repo/ruby-mustache/fix-test-race-condition.patch create mode 100644 repo/ruby-mustache/ruby-mustache.xibuild create mode 100644 repo/ruby-mustache/skip-simplecov.patch create mode 100644 repo/ruby-nokogiri/gemspec-fix-deps.patch create mode 100644 repo/ruby-nokogiri/ruby-nokogiri.xibuild create mode 100644 repo/ruby-nokogiri/shutdown-libxml2-warning.patch create mode 100644 repo/ruby-nokogiri/test-helper-remove-unnecessary-deps.patch create mode 100644 repo/spice-gtk/disable-test-relying-on-usb.patch create mode 100644 repo/spice-gtk/fix-pkgconfig-version.patch create mode 100644 repo/spice-gtk/spice-gtk.xibuild create mode 100644 repo/spice-vdagent/spice-vdagent.xibuild create mode 100644 repo/spice-vdagent/spice-vdagentd.initd create mode 100644 repo/squashfs-tools/fix-compat.patch create mode 100644 repo/squashfs-tools/squashfs-tools.xibuild create mode 100644 repo/xiutils/shmk.xibuild (limited to 'repo') diff --git a/repo/acpica/acpica.xibuild b/repo/acpica/acpica.xibuild new file mode 100644 index 0000000..dcc24ce --- /dev/null +++ b/repo/acpica/acpica.xibuild @@ -0,0 +1,25 @@ +#!/bin/sh + +NAME="acpica" +DESC="ACPI Component Architecture utilities" + +MAKEDEPS=" flex bison" + +PKG_VER=20210930 +SOURCE="https://acpica.org/sites/acpica/files/acpica-unix-$PKG_VER.tar.gz" + +ADDITIONAL=" +disable-werror.patch +" + +prepare () { + apply_patches +} + +build() { + make +} + +package() { + make install DESTDIR="$PKG_DEST" +} diff --git a/repo/acpica/disable-werror.patch b/repo/acpica/disable-werror.patch new file mode 100644 index 0000000..da0c7c8 --- /dev/null +++ b/repo/acpica/disable-werror.patch @@ -0,0 +1,13 @@ +diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config +index a1f0313..8c4e8e7 100644 +--- a/generate/unix/Makefile.config ++++ b/generate/unix/Makefile.config +@@ -194,7 +194,7 @@ CWARNINGFLAGS = \ + -Wall\ + -Wbad-function-cast\ + -Wdeclaration-after-statement\ +- -Werror\ ++ -Wno-pointer-to-int-cast\ + -Wformat=2\ + -Wmissing-declarations\ + -Wmissing-prototypes\ diff --git a/repo/acpica/iasl.xibuild b/repo/acpica/iasl.xibuild new file mode 100644 index 0000000..8cd90ca --- /dev/null +++ b/repo/acpica/iasl.xibuild @@ -0,0 +1,7 @@ +#!/bin/sh + +DESC="ACPI ASL compiler" + +package () { + add_from_main usr/bin/iasl +} diff --git a/repo/alsa-plugins/pulseaudio-alsa.xibuild b/repo/alsa-plugins/pulseaudio-alsa.xibuild index 942ee75..738e80a 100644 --- a/repo/alsa-plugins/pulseaudio-alsa.xibuild +++ b/repo/alsa-plugins/pulseaudio-alsa.xibuild @@ -1,7 +1,7 @@ #!/bin/sh DESC="Config files required for alsa to work with pulseaudio" -DESP="alsa-plugins" +DEPS="alsa-plugins" package () { mkdir -p $PKG_DEST/etc/alsa/conf.d diff --git a/repo/bash/bash.xibuild b/repo/bash/bash.xibuild index 63626b5..81b85c0 100644 --- a/repo/bash/bash.xibuild +++ b/repo/bash/bash.xibuild @@ -24,3 +24,5 @@ postinstall () { echo "/bin/bash" >> /etc/shells fi } + + diff --git a/repo/catch2/catch2.xibuild b/repo/catch2/catch2.xibuild index f493465..3774bbf 100644 --- a/repo/catch2/catch2.xibuild +++ b/repo/catch2/catch2.xibuild @@ -21,10 +21,10 @@ check() { cd build # ApprovalTests is broken https://github.com/catchorg/Catch2/issues/1780 CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "ApprovalTests" + cd .. } package() { - cd $BUILD_ROOT DESTDIR="$PKG_DEST" cmake --install build } diff --git a/repo/dino/dino.xibuild b/repo/dino/dino.xibuild new file mode 100644 index 0000000..8f40781 --- /dev/null +++ b/repo/dino/dino.xibuild @@ -0,0 +1,32 @@ +#!/bin/sh + +NAME="dino" +DESC="Modern Jabber/XMPP client" + +MAKEDEPS=" cmake glib glib-networking gpgme gspell gst-libav gst-plugins-base gtk3 libgcrypt libgee libhandy1 libnice libqrencode libsignal-protocol-c libsoup libsrtp ninja sqlite vala webrtc-audio-processing" + +PKG_VER=0.3.0 +SOURCE="https://github.com/dino/dino/releases/download/v$PKG_VER/dino-$PKG_VER.tar.gz" + +ADDITIONAL=" +mobile-ui.patch +" + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-tests + make +} + +check() { + build/xmpp-vala-test + build/signal-protocol-vala-test +} + +package() { + make DESTDIR="$PKG_DEST" install +} diff --git a/repo/dino/mobile-ui.patch b/repo/dino/mobile-ui.patch new file mode 100644 index 0000000..f274acf --- /dev/null +++ b/repo/dino/mobile-ui.patch @@ -0,0 +1,967 @@ +diff --git a/cmake/FindHandy.cmake b/cmake/FindHandy.cmake +new file mode 100644 +index 00000000..49148f0f +--- /dev/null ++++ b/cmake/FindHandy.cmake +@@ -0,0 +1,11 @@ ++include(PkgConfigWithFallback) ++find_pkg_config_with_fallback(Handy ++ PKG_CONFIG_NAME libhandy-1 ++ LIB_NAMES libhandy-1 ++ INCLUDE_NAMES handy.h ++) ++ ++include(FindPackageHandleStandardArgs) ++find_package_handle_standard_args(Handy ++ REQUIRED_VARS Handy_LIBRARY ++ VERSION_VAR Handy_VERSION) +diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt +index e052785a..f6c3edc7 100644 +--- a/main/CMakeLists.txt ++++ b/main/CMakeLists.txt +@@ -11,6 +11,7 @@ find_packages(MAIN_PACKAGES REQUIRED + GTK3 + ICU + Gspell ++ Handy + ) + + set(RESOURCE_LIST +diff --git a/main/data/add_conversation/select_jid_fragment.ui b/main/data/add_conversation/select_jid_fragment.ui +index 50bc0e36..be56e710 100644 +--- a/main/data/add_conversation/select_jid_fragment.ui ++++ b/main/data/add_conversation/select_jid_fragment.ui +@@ -1,82 +1,88 @@ + + +