diff --git a/ostree/PKGBUILD b/ostree/PKGBUILD index af51a67..b5d7a7b 100644 --- a/ostree/PKGBUILD +++ b/ostree/PKGBUILD @@ -9,17 +9,15 @@ pkgname=ostree pkgver=2023.6 _commit=cf09e9f4e8f10d772a04ebe0ca9f66698e837f6a # tags/v2023.6 -pkgrel=02 +pkgrel=03 pkgdesc="Operating system and container binary deployment and upgrades - w/o systemd & avahi" url="https://ostreedev.github.io/ostree/" depends=(bash fuse3 gcc-libs glibc libgpg-error libsodium sh util-linux zlib) - makedepends=(curl e2fsprogs git glib2 gobject-introspection gpgme gtk-doc libarchive libsoup libxslt mkinitcpio openssl python xz) #checkdepends=(cpio elfutils gjs parallel python-yaml syslinux) checkdepends=(cpio elfutils gjs parallel python-yaml syslinux) source=(git+https://github.com/ostreedev/ostree#tag=$_commit - git+https://github.com/mendsley/bsdiff git+https://gitlab.gnome.org/GNOME/libglnx.git $pkgname-2023.1-use_fuse3.patch) @@ -56,7 +54,8 @@ build() { --disable-static \ --enable-experimental-api \ --enable-gtk-doc \ - --with-builtin-grub2-mkconfig \ + --with-grub2-mkconfig-path=/usr/bin/grub-mkconfig \ + --with-modern-grub \ --with-curl \ --with-dracut=yesbutnoconf \ --with-ed25519-libsodium \ @@ -101,5 +100,4 @@ sha256sums=(SKIP SKIP 6cc1e10db1f8c744eec5d128ad7bcd5aa92a8da167784f6727d832c9a4c545bb) # ostree-2023.1-use_fuse3.patch -## cf827791e3bf29bb2efadc149545e6eb338097faa1492f2579d66f451a3f042f ostree-2023.6-02-x86_64.pkg.tar.lz - +## 595bbaa320814ec588760e6e4ad7b8da794544bd7640c0f976db9c97bd711790 ostree-2023.6-03-x86_64.pkg.tar.lz diff --git a/ostree/PKGBUILD-arch b/ostree/PKGBUILD-arch index 2e2b209..a176471 100644 --- a/ostree/PKGBUILD-arch +++ b/ostree/PKGBUILD-arch @@ -5,7 +5,7 @@ pkgname=ostree _commit=cf09e9f4e8f10d772a04ebe0ca9f66698e837f6a # tags/v2023.6 pkgver=2023.6 -pkgrel=2 +pkgrel=3 pkgdesc="Operating system and container binary deployment and upgrades" url="https://ostreedev.github.io/ostree/" arch=(x86_64) @@ -89,11 +89,12 @@ build() { --disable-static --enable-experimental-api --enable-gtk-doc - --with-builtin-grub2-mkconfig --with-curl --with-dracut=yesbutnoconf --with-ed25519-libsodium + --with-grub2-mkconfig-path=/usr/bin/grub-mkconfig --with-mkinitcpio + --with-modern-grub --with-openssl ) diff --git a/qpdf/PKGBUILD b/qpdf/PKGBUILD new file mode 100644 index 0000000..a2e0dae --- /dev/null +++ b/qpdf/PKGBUILD @@ -0,0 +1,77 @@ +#!/usr/bin/bash +# JOBoRun : Jwm OpenBox Obarun RUNit +# Maintainer : Joe Bo Run +# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" +# Website : https://pozol.eu +#-----------------------------------------| DESCRIPTION |--------------------------------------- + +#pkgbase=qpdf +pkgname=('qpdf') # 'qpdf-docs') +pkgver=11.6.0 +pkgrel=01 +pkgdesc="QPDF: A Content-Preserving PDF Transformation System" +url="https://github.com/qpdf/qpdf" +makedepends=('libjpeg-turbo' 'zlib' 'gnutls' 'cmake' + 'texlive-bin' 'texlive-binextra' 'texlive-fontsrecommended' 'python-sphinx' 'python-sphinx_rtd_theme' 'texlive-latexextra') +source=(https://github.com/qpdf/qpdf/releases/download/v$pkgver/${pkgname}-${pkgver}.tar.gz{,.asc}) +# howto build the docs: +# https://github.com/qpdf/qpdf/blob/main/build-scripts/build-doc + +build() { + cd ${pkgbase}-${pkgver} + cmake -B build \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -D BUILD_STATIC_LIBS:BOOL=OFF \ + -D REQUIRE_CRYPTO_GNUTLS:BOOL=ON \ + -D REQUIRE_CRYPTO_OPENSSL:BOOL=OFF \ + -D ENABLE_QTC:BOOL=ON \ + -D BUILD_DOC:BOOL=OFF + make -C build +} + +check() { + cd ${pkgbase}-${pkgver} + make -C build test +} + +#package_qpdf() { +package() { + depends=('libjpeg-turbo' 'zlib' 'gnutls' + 'openssl' 'glibc' 'gcc-libs') + + cd ${pkgbase}-${pkgver} + make -C build DESTDIR="${pkgdir}" install + + install -Dm644 completions/bash/qpdf "${pkgdir}/usr/share/bash-completion/completions/qpdf" + install -Dm644 completions/zsh/_qpdf "${pkgdir}/usr/share/zsh/site-functions/_qpdf" + + rm -rf "${pkgdir}"/usr/share/doc + + mkdir -m755 -p "${pkgdir}"/usr/share/licenses/${pkgbase} + install -m644 {Artistic-2.0,LICENSE.txt} "${pkgdir}"/usr/share/licenses/${pkgbase}/ +} + +#package_qpdf-docs() { +# pkgdesc+=" (documentation)" +# +# cd ${pkgbase}-${pkgver} +# mkdir -m755 -p "${pkgdir}"/usr/share/doc/qpdf/singlehtml +# pushd build/manual/doc-dist +# cp -a manual-single-page-html/* "${pkgdir}"/usr/share/doc/qpdf/singlehtml/ +# install -Dm644 qpdf-manual.pdf "${pkgdir}"/usr/share/doc/qpdf/qpdf-manual.pdf +# popd +# make -C build/examples DESTDIR="${pkgdir}" install +#} + +#---- arch license gpg-key & sha256sums ---- + +arch=(x86_64) + +license=('custom:Artistic-2.0' 'Apache') + +validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt " + +sha256sums=(b137500168b49b26da8fe59d99bdd56562d7983b9db965a6a487515a2bf82607 # qpdf-11.6.0.tar.gz + f230801fdf103339f39faf341c33512174671c27539ab9866a9bb237463de020) # qpdf-11.6.0.tar.gz.asc + +## 9a7741ea4d36a45241f9fa81fbba576a33456e32e6abbb74262c147aeae9a9d4 qpdf-11.6.0-01-x86_64.pkg.tar.lz diff --git a/qpdf/PKGBUILD-arch b/qpdf/PKGBUILD-arch new file mode 100644 index 0000000..e3d615d --- /dev/null +++ b/qpdf/PKGBUILD-arch @@ -0,0 +1,68 @@ +# Maintainer: AndyRTR +# Contributor: Miguel Revilla +# Contributor: David Sotelo +# Contributor: Nuno Araujo + +pkgbase=qpdf +pkgname=('qpdf' 'qpdf-docs') +pkgver=11.6.0 +pkgrel=1 +pkgdesc="QPDF: A Content-Preserving PDF Transformation System" +arch=('x86_64') +url="https://github.com/qpdf/qpdf" +license=('custom:Artistic-2.0' 'Apache') +makedepends=('libjpeg-turbo' 'zlib' 'gnutls' 'cmake' + 'texlive-bin' 'texlive-binextra' 'texlive-fontsrecommended' 'python-sphinx' 'python-sphinx_rtd_theme' 'texlive-latexextra') +# https://github.com/qpdf/qpdf/releases/download/v11.6.0/qpdf-11.6.0.sha256 +source=(https://github.com/qpdf/qpdf/releases/download/v$pkgver/${pkgname}-${pkgver}.tar.gz{,.asc}) +sha256sums=('b137500168b49b26da8fe59d99bdd56562d7983b9db965a6a487515a2bf82607' + 'SKIP') +validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt " + +# howto build the docs: +# https://github.com/qpdf/qpdf/blob/main/build-scripts/build-doc + +build() { + cd ${pkgbase}-${pkgver} + cmake -B build \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -D BUILD_STATIC_LIBS:BOOL=OFF \ + -D REQUIRE_CRYPTO_GNUTLS:BOOL=ON \ + -D REQUIRE_CRYPTO_OPENSSL:BOOL=OFF \ + -D ENABLE_QTC:BOOL=ON \ + -D BUILD_DOC:BOOL=ON + make -C build +} + +check() { + cd ${pkgbase}-${pkgver} + make -C build test +} + +package_qpdf() { + depends=('libjpeg-turbo' 'zlib' 'gnutls' + 'openssl' 'glibc' 'gcc-libs') + + cd ${pkgbase}-${pkgver} + make -C build DESTDIR="${pkgdir}" install + + install -Dm644 completions/bash/qpdf "${pkgdir}/usr/share/bash-completion/completions/qpdf" + install -Dm644 completions/zsh/_qpdf "${pkgdir}/usr/share/zsh/site-functions/_qpdf" + + rm -rf "${pkgdir}"/usr/share/doc + + mkdir -m755 -p "${pkgdir}"/usr/share/licenses/${pkgbase} + install -m644 {Artistic-2.0,LICENSE.txt} "${pkgdir}"/usr/share/licenses/${pkgbase}/ +} + +package_qpdf-docs() { + pkgdesc+=" (documentation)" + + cd ${pkgbase}-${pkgver} + mkdir -m755 -p "${pkgdir}"/usr/share/doc/qpdf/singlehtml + pushd build/manual/doc-dist + cp -a manual-single-page-html/* "${pkgdir}"/usr/share/doc/qpdf/singlehtml/ + install -Dm644 qpdf-manual.pdf "${pkgdir}"/usr/share/doc/qpdf/qpdf-manual.pdf + popd + make -C build/examples DESTDIR="${pkgdir}" install +} diff --git a/qpdf/clean b/qpdf/clean new file mode 100644 index 0000000..467f7c3 --- /dev/null +++ b/qpdf/clean @@ -0,0 +1 @@ +rm -rf {src,pkg,qpdf*.tar.gz*} diff --git a/qpdf/deps b/qpdf/deps new file mode 100644 index 0000000..4892be9 --- /dev/null +++ b/qpdf/deps @@ -0,0 +1,11 @@ +libjpeg-turbo +cmake +texlive-bin +texlive-basic +python-sphinx +python-sphinx_rtd_theme +texlive-latexextra +texlive-binextra +texlive-fontsrecommended + + diff --git a/qpdf/key b/qpdf/key new file mode 100644 index 0000000..f4fc1c9 --- /dev/null +++ b/qpdf/key @@ -0,0 +1 @@ +gpg -v --recv-key 8A75D10998012C7E diff --git a/qpdf/time b/qpdf/time new file mode 100644 index 0000000..89e6b73 --- /dev/null +++ b/qpdf/time @@ -0,0 +1,6 @@ + + +real 6m26.077s +user 5m47.265s +sys 0m40.948s +