upg python-setuptools ostree mariadb dpxygen

added fftw fribidi fuse2 gdk-pixbuff2 ghostscript gssfonts gts jbig2dec libfabric netpbm
This commit is contained in:
joborun linux 2024-02-19 00:34:45 +02:00
parent 56576cf004
commit fbd5421442
73 changed files with 3822 additions and 113 deletions

View File

@ -5,18 +5,27 @@
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
#pkgbase=doxygen
pkgbase=doxygen
#pkgname=('doxygen' 'doxygen-docs')
pkgname=doxygen
pkgver=1.10.0
pkgrel=01
pkgrel=02
pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
url='http://www.doxygen.nl'
makedepends=('cmake' 'gcc-libs' 'flex' 'qt6-base' 'ghostscript'
'texlive-latexextra' 'graphviz' 'python'
'texlive-fontutils' 'texlive-fontsrecommended' 'texlive-plaingeneric')
makedepends=(clang cmake flex fmt gcc-libs ghostscript glibc graphviz llvm python qt6-base
spdlog sqlite texlive-fontsrecommended texlive-fontutils texlive-latexextra texlive-plaingeneric)
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/doxygen/doxygen/archive/Release_${pkgver//./_}.tar.gz)
_pick() {
local p="$1" f d; shift
for f; do
d="$srcdir/$p/${f#$pkgdir/}"
mkdir -p "$(dirname "$d")"
mv "$f" "$d"
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
done
}
prepare() {
cd ${pkgname}-Release_${pkgver//./_}
# Install the man pages in the right place
@ -25,54 +34,61 @@ prepare() {
}
build() {
cd ${pkgname}-Release_${pkgver//./_}
cmake -B build \
cmake -B build -S $pkgbase-Release_${pkgver//./_} \
-DCMAKE_BUILD_TYPE:STRING=None \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DDOC_INSTALL_DIR:PATH=share/doc/doxygen \
-Dbuild_doc:BOOL=OFF \
-Dbuild_wizard:BOOL=ON
make -C build
export CAIRO_DEBUG_PDF=1 # https://github.com/doxygen/doxygen/issues/9319
# make -C build docs -j1
-Dbuild_doc:BOOL=ON \
-Dbuild_wizard:BOOL=ON \
-Duse_sys_spdlog:BOOL=ON \
-Duse_sys_sqlite3:BOOL=ON \
-Duse_libclang:BOOL=ON
cmake --build build --verbose
cmake --build build --target docs
}
check() {
cd ${pkgname}-Release_${pkgver//./_}
make -C build tests
ctest --test-dir build --output-on-failure
}
#package_doxygen() {
package() {
pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
depends=('gcc-libs')
optdepends=('graphviz: for caller/callee graph generation'
'qt6-base: for doxywizard')
package_doxygen() {
depends=(
clang
fmt libfmt.so
gcc-libs
glibc
sqlite libsqlite3.so
)
optdepends=(
'graphviz: for caller/callee graph generation'
'qt6-base: for doxywizard'
'texlive-fontsrecommended: for generating LaTeX, Postscript and PDF output'
'texlive-fontutils: for generating LaTeX, Postscript and PDF output'
'texlive-latexextra: for generating LaTeX, Postscript and PDF output'
'texlive-plaingeneric: for generating LaTeX, Postscript and PDF output'
)
cd ${pkgname}-Release_${pkgver//./_}
make -C build DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/share/doc"
DESTDIR="$pkgdir" cmake --install build
(
cd "$pkgdir"
_pick $pkgbase-docs usr/share/doc
)
install -vDm 644 $pkgbase-Release_${pkgver//./_}/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
#package_doxygen-docs() {
# pkgdesc='Developer documentation for doxygen'
#
# cd ${pkgbase}-Release_${pkgver//./_}
# make -C build DESTDIR="${pkgdir}" install
#
# rm -rf "${pkgdir}/usr/bin"
# rm -rf "${pkgdir}/usr/share/man"
# mv -v $pkgname/* "$pkgdir"
# install -vDm 644 $pkgbase-Release_${pkgver//./_}/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
#}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL')
license=(GPL-2.0-or-later)
sha256sums=(795692a53136ca9bb9a6cd72656968af7858a78be7d6d011e12ab1dce6b9533c) # doxygen-1.10.0.tar.gz
## a8c266d87cfc35eca01d2aa104591f9b6da17e32316f66a8ce5c8b38d33943dd doxygen-1.10.0-01-x86_64.pkg.tar.lz
## e973cff224f41eb8e3705cd3d0a8eb82de82caac7b3fa0b2a7468420543a31e9 doxygen-1.10.0-02-x86_64.pkg.tar.lz

View File

@ -1,22 +1,48 @@
# Maintainer: Jakub Klinkovský <lahwaacz at archlinux dot org>
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Dan McGee <dan@archlinux.org>
pkgbase=doxygen
pkgname=('doxygen' 'doxygen-docs')
pkgname=(doxygen doxygen-docs)
pkgver=1.10.0
pkgrel=1
pkgrel=2
pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
url='http://www.doxygen.nl'
arch=('x86_64')
license=('GPL')
makedepends=('cmake' 'gcc-libs' 'flex' 'qt6-base' 'ghostscript'
'texlive-latexextra' 'texlive-fontutils' 'texlive-fontsrecommended' 'texlive-plaingeneric'
'graphviz' 'python')
arch=(x86_64)
license=(GPL-2.0-or-later)
makedepends=(
clang
cmake
flex
fmt
gcc-libs
ghostscript
glibc
graphviz
llvm
python
qt6-base
spdlog
sqlite
texlive-fontsrecommended
texlive-fontutils
texlive-latexextra
texlive-plaingeneric
)
source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/doxygen/doxygen/archive/Release_${pkgver//./_}.tar.gz)
sha256sums=('795692a53136ca9bb9a6cd72656968af7858a78be7d6d011e12ab1dce6b9533c')
sha512sums=('d8731796d5513ff5939c234f32f7f31aabc45f5557947741a330b3d33b368fb5ad770ef1d3d7384a402d98229eafeb1f955ef76e9932310b83c1d35a2eef500f')
b2sums=('e9eaf70e106aa022bb0edc99082e6bccd5c6879c41be40ce69d2d5e4eb7d1c5ff078fd8f9132206bf546fa78aab7f8bef4584fd1f2d6e1e84b01d2e65933375e')
_pick() {
local p="$1" f d; shift
for f; do
d="$srcdir/$p/${f#$pkgdir/}"
mkdir -p "$(dirname "$d")"
mv "$f" "$d"
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
done
}
prepare() {
cd ${pkgbase}-Release_${pkgver//./_}
# Install the man pages in the right place
@ -25,43 +51,53 @@ prepare() {
}
build() {
cd ${pkgbase}-Release_${pkgver//./_}
cmake -B build \
cmake -B build -S $pkgbase-Release_${pkgver//./_} \
-DCMAKE_BUILD_TYPE:STRING=None \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DDOC_INSTALL_DIR:PATH=share/doc/doxygen \
-Dbuild_doc:BOOL=ON \
-Dbuild_wizard:BOOL=ON
make -C build
export CAIRO_DEBUG_PDF=1 # https://github.com/doxygen/doxygen/issues/9319
make -C build docs -j1
-Dbuild_wizard:BOOL=ON \
-Duse_sys_spdlog:BOOL=ON \
-Duse_sys_sqlite3:BOOL=ON \
-Duse_libclang:BOOL=ON
cmake --build build --verbose
cmake --build build --target docs
}
check() {
cd ${pkgbase}-Release_${pkgver//./_}
make -C build tests
ctest --test-dir build --output-on-failure
}
package_doxygen() {
pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
depends=('gcc-libs')
optdepends=('graphviz: for caller/callee graph generation'
'qt6-base: for doxywizard')
depends=(
clang
fmt libfmt.so
gcc-libs
glibc
sqlite libsqlite3.so
)
optdepends=(
'graphviz: for caller/callee graph generation'
'qt6-base: for doxywizard'
'texlive-fontsrecommended: for generating LaTeX, Postscript and PDF output'
'texlive-fontutils: for generating LaTeX, Postscript and PDF output'
'texlive-latexextra: for generating LaTeX, Postscript and PDF output'
'texlive-plaingeneric: for generating LaTeX, Postscript and PDF output'
)
cd ${pkgbase}-Release_${pkgver//./_}
make -C build DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/share/doc"
DESTDIR="$pkgdir" cmake --install build
(
cd "$pkgdir"
_pick $pkgbase-docs usr/share/doc
)
install -vDm 644 $pkgbase-Release_${pkgver//./_}/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
package_doxygen-docs() {
pkgdesc='Developer documentation for doxygen'
cd ${pkgbase}-Release_${pkgver//./_}
make -C build DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/bin"
rm -rf "${pkgdir}/usr/share/man"
mv -v $pkgname/* "$pkgdir"
install -vDm 644 $pkgbase-Release_${pkgver//./_}/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
# vim: ts=2 sw=2 et:

View File

@ -10,5 +10,11 @@ texlive-plaingeneric
bison
libgit2
libglvnd
graphite
rav1e
clang
fmt
llvm
spdlog

192
fftw/PKGBUILD Normal file
View File

@ -0,0 +1,192 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=fftw
pkgver=3.3.10
pkgrel=06
pkgdesc="A library for computing the discrete Fourier transform (DFT)"
url="http://www.fftw.org/"
makedepends=(cmake gcc-fortran openmpi)
source=(http://www.fftw.org/$pkgname-$pkgver.tar.gz)
_build_types=(single double long-double quad)
_soname=3.6.10
_pick() {
local p="$1" f d; shift
for f; do
d="$srcdir/$p/${f#$pkgdir/}"
mkdir -p "$(dirname "$d")"
mv "$f" "$d"
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
done
}
prepare() {
local _i
# fix wrong soname in FFTW3LibraryDepends.cmake
sed -e "s/3.6.9/$_soname/" -i $pkgname-$pkgver/CMakeLists.txt
mv -v $pkgname-$pkgver $pkgname-$pkgver-single
for _i in {1..3}; do
cp -av $pkgname-$pkgver-single $pkgname-$pkgver-"${_build_types[$_i]}"
done
}
build() {
local _name
local _configure=(
./configure
--prefix=/usr
--enable-shared
--enable-threads
--enable-mpi
--enable-openmp
MPILIBS="$(mpicc --showme:link)"
)
local _configure_single=(
--enable-sse
--enable-avx
--enable-single
)
local _configure_double=(
--enable-sse2
--enable-avx
)
local _configure_long_double=(
--enable-long-double
)
local _configure_quad=(
--disable-mpi
--enable-quad-precision
)
local _cmake_options=(
-B build
-S $pkgname-$pkgver-$_build_types
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=None
-D ENABLE_OPENMP=ON
-D ENABLE_THREADS=ON
-D ENABLE_FLOAT=ON
-D ENABLE_LONG_DOUBLE=ON
-D ENABLE_QUAD_PRECISION=ON
-D ENABLE_SSE=ON
-D ENABLE_SSE2=ON
-D ENABLE_AVX=ON
-D ENABLE_AVX2=ON
)
# create missing FFTW3LibraryDepends.cmake
# https://bugs.archlinux.org/task/67604
cmake "${_cmake_options[@]}"
# fix broken IMPORTED_LOCATION: https://github.com/FFTW/fftw3/issues/130#issuecomment-1030280157
sed -e 's|\(IMPORTED_LOCATION_NONE\).*|\1 "/usr/lib/libfftw3.so.3"|' -i build/FFTW3LibraryDepends.cmake
export F77='gfortran'
# use upstream default CFLAGS while keeping our -march/-mtune
CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math"
for _name in "${_build_types[@]}"; do
(
cd $pkgname-$pkgver-$_name
case $_name in
single)
"${_configure[@]}" "${_configure_single[@]}"
;;
double)
"${_configure[@]}" "${_configure_double[@]}"
;;
long-double)
"${_configure[@]}" "${_configure_long_double[@]}"
;;
quad)
"${_configure[@]}" "${_configure_quad[@]}"
;;
esac
# fix overlinking because of libtool
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
)
done
for _name in "${_build_types[@]}"; do
make -C $pkgname-$pkgver-$_name
done
}
check() {
local _name
for _name in "${_build_types[@]}"; do
make smallcheck -C $pkgname-$pkgver-$_name/tests
done
}
package_fftw() {
depends=(
bash
gcc-libs
glibc
)
optdepends=('fftw-openmpi: for OpenMPI integration')
provides=(
libfftw3q_threads.so
libfftw3q_omp.so
libfftw3q.so
libfftw3l_threads.so
libfftw3l_omp.so
libfftw3l.so
libfftw3f_threads.so
libfftw3f_omp.so
libfftw3f.so
libfftw3_threads.so
libfftw3_omp.so
libfftw3.so
)
local _name
for _name in "${_build_types[@]}"; do
make DESTDIR="$pkgdir" install -C $pkgname-$pkgver-$_name
done
(
cd "$pkgdir"
_pick $pkgbase-openmpi usr/include/fftw3-mpi.h
_pick $pkgbase-openmpi usr/include/fftw3{,l}-mpi.f03
_pick $pkgbase-openmpi usr/lib/libfftw3{,f,l}_mpi.{a,so}
_pick $pkgbase-openmpi usr/lib/libfftw3{,f,l}_mpi.so.${_soname%%.*}
_pick $pkgbase-openmpi usr/lib/libfftw3{,f,l}_mpi.so.$_soname
)
install -vDm 644 $pkgname-$pkgver-$_build_types/{AUTHORS,ChangeLog,NEWS,README,TODO} -t "$pkgdir/usr/share/doc/$pkgname"
# install missing FFTW3LibraryDepends.cmake
install -vDm 644 build/FFTW3LibraryDepends.cmake -t "$pkgdir/usr/lib/cmake/fftw3/"
}
package_fftw-openmpi() {
pkgdesc+=" - OpenMPI libraries"
depends=(
fftw
glibc
openmpi
)
provides=(
libfftw3l_mpi.so
libfftw3f_mpi.so
libfftw3_mpi.so
)
mv -v $pkgname/* "$pkgdir"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(GPL2)
sha256sums=(56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467) # fftw-3.3.10.tar.gz
## 42f6557cc93373e863235f94a3636cf4c767af3e80c78604810bda09bbc4503e fftw-3.3.10-06-x86_64.pkg.tar.lz

192
fftw/PKGBUILD-arch Normal file
View File

@ -0,0 +1,192 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: David Runge <dvzrv@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgbase=fftw
pkgname=(fftw fftw-openmpi)
pkgver=3.3.10
pkgrel=6
pkgdesc="A library for computing the discrete Fourier transform (DFT)"
arch=(x86_64)
url="http://www.fftw.org/"
license=(GPL-2.0-or-later)
makedepends=(
bash
cmake
gcc-fortran
gcc-libs
glibc
openmpi
)
source=(http://www.fftw.org/$pkgname-$pkgver.tar.gz)
sha512sums=('2d34b5ccac7b08740dbdacc6ebe451d8a34cf9d9bfec85a5e776e87adf94abfd803c222412d8e10fbaa4ed46f504aa87180396af1b108666cde4314a55610b40')
b2sums=('3663872bd95a01d2c79af185f53918e1d1a9c91c620082402772c07f25b9b77d4920a78dc686fac6b51aa961b8d62b7e2cef3f3031e096bed40ced80b59b29d5')
_build_types=(single double long-double quad)
_soname=3.6.10
_pick() {
local p="$1" f d; shift
for f; do
d="$srcdir/$p/${f#$pkgdir/}"
mkdir -p "$(dirname "$d")"
mv "$f" "$d"
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
done
}
prepare() {
local _i
# fix wrong soname in FFTW3LibraryDepends.cmake
sed -e "s/3.6.9/$_soname/" -i $pkgname-$pkgver/CMakeLists.txt
mv -v $pkgname-$pkgver $pkgname-$pkgver-single
for _i in {1..3}; do
cp -av $pkgname-$pkgver-single $pkgname-$pkgver-"${_build_types[$_i]}"
done
}
build() {
local _name
local _configure=(
./configure
--prefix=/usr
--enable-shared
--enable-threads
--enable-mpi
--enable-openmp
MPILIBS="$(mpicc --showme:link)"
)
local _configure_single=(
--enable-sse
--enable-avx
--enable-single
)
local _configure_double=(
--enable-sse2
--enable-avx
)
local _configure_long_double=(
--enable-long-double
)
local _configure_quad=(
--disable-mpi
--enable-quad-precision
)
local _cmake_options=(
-B build
-S $pkgname-$pkgver-$_build_types
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_BUILD_TYPE=None
-D ENABLE_OPENMP=ON
-D ENABLE_THREADS=ON
-D ENABLE_FLOAT=ON
-D ENABLE_LONG_DOUBLE=ON
-D ENABLE_QUAD_PRECISION=ON
-D ENABLE_SSE=ON
-D ENABLE_SSE2=ON
-D ENABLE_AVX=ON
-D ENABLE_AVX2=ON
)
# create missing FFTW3LibraryDepends.cmake
# https://bugs.archlinux.org/task/67604
cmake "${_cmake_options[@]}"
# fix broken IMPORTED_LOCATION: https://github.com/FFTW/fftw3/issues/130#issuecomment-1030280157
sed -e 's|\(IMPORTED_LOCATION_NONE\).*|\1 "/usr/lib/libfftw3.so.3"|' -i build/FFTW3LibraryDepends.cmake
export F77='gfortran'
# use upstream default CFLAGS while keeping our -march/-mtune
CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math"
for _name in "${_build_types[@]}"; do
(
cd $pkgname-$pkgver-$_name
case $_name in
single)
"${_configure[@]}" "${_configure_single[@]}"
;;
double)
"${_configure[@]}" "${_configure_double[@]}"
;;
long-double)
"${_configure[@]}" "${_configure_long_double[@]}"
;;
quad)
"${_configure[@]}" "${_configure_quad[@]}"
;;
esac
# fix overlinking because of libtool
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
)
done
for _name in "${_build_types[@]}"; do
make -C $pkgname-$pkgver-$_name
done
}
check() {
local _name
for _name in "${_build_types[@]}"; do
make smallcheck -C $pkgname-$pkgver-$_name/tests
done
}
package_fftw() {
depends=(
bash
gcc-libs
glibc
)
optdepends=('fftw-openmpi: for OpenMPI integration')
provides=(
libfftw3q_threads.so
libfftw3q_omp.so
libfftw3q.so
libfftw3l_threads.so
libfftw3l_omp.so
libfftw3l.so
libfftw3f_threads.so
libfftw3f_omp.so
libfftw3f.so
libfftw3_threads.so
libfftw3_omp.so
libfftw3.so
)
local _name
for _name in "${_build_types[@]}"; do
make DESTDIR="$pkgdir" install -C $pkgname-$pkgver-$_name
done
(
cd "$pkgdir"
_pick $pkgbase-openmpi usr/include/fftw3-mpi.h
_pick $pkgbase-openmpi usr/include/fftw3{,l}-mpi.f03
_pick $pkgbase-openmpi usr/lib/libfftw3{,f,l}_mpi.{a,so}
_pick $pkgbase-openmpi usr/lib/libfftw3{,f,l}_mpi.so.${_soname%%.*}
_pick $pkgbase-openmpi usr/lib/libfftw3{,f,l}_mpi.so.$_soname
)
install -vDm 644 $pkgname-$pkgver-$_build_types/{AUTHORS,ChangeLog,NEWS,README,TODO} -t "$pkgdir/usr/share/doc/$pkgname"
# install missing FFTW3LibraryDepends.cmake
install -vDm 644 build/FFTW3LibraryDepends.cmake -t "$pkgdir/usr/lib/cmake/fftw3/"
}
package_fftw-openmpi() {
pkgdesc+=" - OpenMPI libraries"
depends=(
fftw
glibc
openmpi
)
provides=(
libfftw3l_mpi.so
libfftw3f_mpi.so
libfftw3_mpi.so
)
mv -v $pkgname/* "$pkgdir"
}

1
fftw/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,fftw-*tar.gz}

5
fftw/deps Normal file
View File

@ -0,0 +1,5 @@
openmpi
cmake
gcc-fortran

6
fftw/time Normal file
View File

@ -0,0 +1,6 @@
real 21m18.980s
user 20m12.075s
sys 1m41.452s

47
fribidi/PKGBUILD Normal file
View File

@ -0,0 +1,47 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=fribidi
pkgver=1.0.13
pkgrel=02
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
url="https://github.com/fribidi/fribidi"
depends=(glibc)
makedepends=(meson)
provides=(libfribidi.so)
source=("$url/releases/download/v$pkgver/fribidi-$pkgver.tar.xz")
prepare() {
cd fribidi-$pkgver
}
build() {
local meson_options=(
)
arch-meson fribidi-$pkgver build "${meson_options[@]}"
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(LGPL)
sha256sums=(7fa16c80c81bd622f7b198d31356da139cc318a63fc7761217af4130903f54a2) # fribidi-1.0.13.tar.xz
## cf85613438ced7dd763c3b7795baafc6029887efe123006632e1f0fb4398713e fribidi-1.0.13-02-x86_64.pkg.tar.lz

43
fribidi/PKGBUILD-arch Normal file
View File

@ -0,0 +1,43 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Nezmer <Nezmer@gmail.com>
pkgname=fribidi
pkgver=1.0.13
pkgrel=2
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
url="https://github.com/fribidi/fribidi"
arch=(x86_64)
license=(LGPL)
depends=(
glibc
)
makedepends=(
meson
)
provides=(libfribidi.so)
source=("$url/releases/download/v$pkgver/fribidi-$pkgver.tar.xz")
b2sums=('8cc31220304ddbdeb0047b30ed9084921920b32ad3f1bdcf29ecbb2fafbd430c391bc99bb7f205546ff8482aea1ef7ed369da71deb3474aa623fc2aeace1b62a')
prepare() {
cd fribidi-$pkgver
}
build() {
local meson_options=(
)
arch-meson fribidi-$pkgver build "${meson_options[@]}"
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 sts=-1 et:
##

1
fribidi/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,fribidi-*.tar.xz}

3
fribidi/deps Normal file
View File

@ -0,0 +1,3 @@
meson

6
fribidi/time Normal file
View File

@ -0,0 +1,6 @@
real 0m8.311s
user 0m11.744s
sys 0m1.207s

61
fuse2/PKGBUILD Normal file
View File

@ -0,0 +1,61 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=fuse2
pkgver=2.9.9
pkgrel=04
pkgdesc='Interface for userspace programs to export a filesystem to the Linux kernel'
url='https://github.com/libfuse/libfuse'
depends=('glibc' 'fuse-common')
makedepends=('pkg-config')
provides=(fuse=$pkgver) # TODO: remove it once all packages start to use 'fuse2' name
replaces=('fuse')
conflicts=('fuse')
options=('!emptydirs')
source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.gz{,.asc}
conditionally-define-closefrom.patch)
prepare() {
cd fuse-$pkgver
patch -Np1 -i ${srcdir}/conditionally-define-closefrom.patch
autoreconf -i
}
build() {
cd fuse-$pkgver
UDEV_RULES_PATH=/usr/lib/udev/rules.d MOUNT_FUSE_PATH=/usr/bin ./configure --prefix=/usr --libdir=/usr/lib --enable-lib --enable-util --disable-example
make
}
package() {
cd fuse-$pkgver
make DESTDIR="${pkgdir}" install
# Remove init script in wrong path
# Don't add our own for now, as fusectl fs oopses on 2.6.18
rm -r "${pkgdir}"/etc/init.d
# static device nodes are handled by udev
rm -r "${pkgdir}"/dev
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL2')
validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <Nikolaus@rath.org>
sha256sums=(d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5 # fuse-2.9.9.tar.gz
2306ebb33ecc560701f1b569cff3b1cee3dd1c02b46462a9f2c5ba0e5c263a51 # fuse-2.9.9.tar.gz.asc
1e8b0a1b2bbaa335d92a3c46e31c928dcd53abe011214a0cbbfa7c11a3a68f1a) # conditionally-define-closefrom.patch
## 8ee437fee90369897de8958ddc2e2f69bc5b9298f86122f97bc1c6450d2138bc fuse2-2.9.9-04-x86_64.pkg.tar.lz

53
fuse2/PKGBUILD-arch Normal file
View File

@ -0,0 +1,53 @@
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Mark Rosenstand <mark@archlinux.org>
pkgname=fuse2
pkgver=2.9.9
pkgrel=4
pkgdesc='Interface for userspace programs to export a filesystem to the Linux kernel'
url='https://github.com/libfuse/libfuse'
arch=('x86_64')
license=('GPL2')
depends=('glibc' 'fuse-common')
makedepends=('pkg-config')
provides=(fuse=$pkgver) # TODO: remove it once all packages start to use 'fuse2' name
replaces=('fuse')
conflicts=('fuse')
options=('!emptydirs')
source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.gz{,.asc}
conditionally-define-closefrom.patch)
sha1sums=('943ba651b14bc4a3c6fd959ed4b8c04f4a59032d'
'SKIP'
'90750cd0839c1ee427314241f9ea5f054c3335d8')
sha512sums=('3d82fafd04f2924299bb09d2bb144935fa004a43fb9a6568e2e1cc5a60fded2efa1711029a0d7f12b3e6e4501f7217f2ee3545646d89da8dece083cb390f23e2'
'SKIP'
'0836d1693bea203b562a86c992107ee48766f41bb05a31e9af41009d2270ac84d7881aa5bc2a11ed478cd03985876aca5080341ddea701a12a630a36e1b1a80b')
validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <Nikolaus@rath.org>
prepare() {
cd fuse-$pkgver
patch -Np1 -i ${srcdir}/conditionally-define-closefrom.patch
autoreconf -i
}
build() {
cd fuse-$pkgver
UDEV_RULES_PATH=/usr/lib/udev/rules.d MOUNT_FUSE_PATH=/usr/bin ./configure --prefix=/usr --libdir=/usr/lib --enable-lib --enable-util --disable-example
make
}
package() {
cd fuse-$pkgver
make DESTDIR="${pkgdir}" install
# Remove init script in wrong path
# Don't add our own for now, as fusectl fs oopses on 2.6.18
rm -r "${pkgdir}"/etc/init.d
# static device nodes are handled by udev
rm -r "${pkgdir}"/dev
}
##

1
fuse2/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,fuse-2*tar.gz*}

View File

@ -0,0 +1,60 @@
From 5a43d0f724c56f8836f3f92411e0de1b5f82db32 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Sat, 24 Jul 2021 22:02:45 +0100
Subject: [PATCH] util/ulockmgr_server.c: conditionally define closefrom (fix
glibc-2.34+)
closefrom(3) has joined us in glibc-land from *BSD and Solaris. Since
it's available in glibc 2.34+, we want to detect it and only define our
fallback if the libc doesn't provide it.
Bug: https://bugs.gentoo.org/803923
Signed-off-by: Sam James <sam@gentoo.org>
---
configure.ac | 1 +
util/ulockmgr_server.c | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/configure.ac b/configure.ac
index 9946a0efa..a2d481aa9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,7 @@ fi
AC_CHECK_FUNCS([fork setxattr fdatasync splice vmsplice utimensat])
AC_CHECK_FUNCS([posix_fallocate])
+AC_CHECK_FUNCS([closefrom])
AC_CHECK_MEMBERS([struct stat.st_atim])
AC_CHECK_MEMBERS([struct stat.st_atimespec])
diff --git a/util/ulockmgr_server.c b/util/ulockmgr_server.c
index 273c7d923..a04dac5c6 100644
--- a/util/ulockmgr_server.c
+++ b/util/ulockmgr_server.c
@@ -22,6 +22,10 @@
#include <sys/socket.h>
#include <sys/wait.h>
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
struct message {
unsigned intr : 1;
unsigned nofd : 1;
@@ -124,6 +128,7 @@ static int receive_message(int sock, void *buf, size_t buflen, int *fdp,
return res;
}
+#if !defined(HAVE_CLOSEFROM)
static int closefrom(int minfd)
{
DIR *dir = opendir("/proc/self/fd");
@@ -141,6 +146,7 @@ static int closefrom(int minfd)
}
return 0;
}
+#endif
static void send_reply(int cfd, struct message *msg)
{

5
fuse2/deps Normal file
View File

@ -0,0 +1,5 @@
fuse-common
autoconf
automake
gettext

1
fuse2/key Normal file
View File

@ -0,0 +1 @@
gpg --recv-keys D113FCAC3C4E599F

6
fuse2/time Normal file
View File

@ -0,0 +1,6 @@
real 0m22.080s
user 0m19.611s
sys 0m2.230s

79
gdk-pixbuf2/PKGBUILD Normal file
View File

@ -0,0 +1,79 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
#pkgbase=gdk-pixbuf2
pkgname=(gdk-pixbuf2) # gdk-pixbuf2-docs)
pkgver=2.42.10
pkgrel=02
pkgdesc="An image loading library"
url="https://wiki.gnome.org/Projects/GdkPixbuf"
depends=(glib2 libpng libtiff libjpeg shared-mime-info)
makedepends=(gobject-introspection git meson gi-docgen python-docutils)
optdepends=(
"libwmf: Load .wmf and .apm"
"libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and .raf"
"libavif: Load .avif"
"libheif: Load .heif, .heic, and .avif"
"libjxl: Load .jxl"
"librsvg: Load .svg, .svgz, and .svg.gz"
"webp-pixbuf-loader: Load .webp"
)
_commit=9ac257eb38f772fec4253e8051743029e75a2acd # tags/2.42.10^0
source=("git+https://gitlab.gnome.org/GNOME/gdk-pixbuf.git#commit=$_commit"
gdk-pixbuf-query-loaders.hook)
pkgver() {
cd gdk-pixbuf
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd gdk-pixbuf
}
build() {
arch-meson gdk-pixbuf build \
-D builtin_loaders=all \
-D gtk_doc=true \
-D installed_tests=false
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package_gdk-pixbuf2() {
provides=(libgdk_pixbuf-2.0.so)
install=gdk-pixbuf2.install
meson install -C build --destdir "$pkgdir"
mkdir -p doc/usr/share
mv {"$pkgdir",doc}/usr/share/doc
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
}
#package_gdk-pixbuf2-docs() {
# pkgdesc+=" (documentation)"
# depends=()
#
# mv doc/* "$pkgdir"
#}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(LGPL)
sha256sums=(SKIP
9fb71d95e6a212779eb0f88dde5a3cee0df7f4d9183f8f9ce286f8cdc14428f0) # gdk-pixbuf-query-loaders.hook
## 0d92c8bb7114d52ec96b29da65575f3bdee07304e9d71e5b44648593ba0504cf gdk-pixbuf2-2.42.10-02-x86_64.pkg.tar.lz

72
gdk-pixbuf2/PKGBUILD-arch Normal file
View File

@ -0,0 +1,72 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgbase=gdk-pixbuf2
pkgname=(gdk-pixbuf2 gdk-pixbuf2-docs)
pkgver=2.42.10
pkgrel=2
pkgdesc="An image loading library"
url="https://wiki.gnome.org/Projects/GdkPixbuf"
arch=(x86_64)
license=(LGPL)
depends=(glib2 libpng libtiff libjpeg shared-mime-info)
makedepends=(gobject-introspection git meson gi-docgen python-docutils)
optdepends=(
"libwmf: Load .wmf and .apm"
"libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and .raf"
"libavif: Load .avif"
"libheif: Load .heif, .heic, and .avif"
"libjxl: Load .jxl"
"librsvg: Load .svg, .svgz, and .svg.gz"
"webp-pixbuf-loader: Load .webp"
)
_commit=9ac257eb38f772fec4253e8051743029e75a2acd # tags/2.42.10^0
source=(
"git+https://gitlab.gnome.org/GNOME/gdk-pixbuf.git#commit=$_commit"
gdk-pixbuf-query-loaders.hook
)
sha256sums=('SKIP'
'9fb71d95e6a212779eb0f88dde5a3cee0df7f4d9183f8f9ce286f8cdc14428f0')
pkgver() {
cd gdk-pixbuf
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd gdk-pixbuf
}
build() {
arch-meson gdk-pixbuf build \
-D builtin_loaders=all \
-D gtk_doc=true \
-D installed_tests=false
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package_gdk-pixbuf2() {
provides=(libgdk_pixbuf-2.0.so)
install=gdk-pixbuf2.install
meson install -C build --destdir "$pkgdir"
mkdir -p doc/usr/share
mv {"$pkgdir",doc}/usr/share/doc
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
}
package_gdk-pixbuf2-docs() {
pkgdesc+=" (documentation)"
depends=()
mv doc/* "$pkgdir"
}
# vim:set sw=2 sts=-1 et:
##

1
gdk-pixbuf2/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,gdk-pixbuf}

11
gdk-pixbuf2/deps Normal file
View File

@ -0,0 +1,11 @@
libpng
libtiff
libjpeg-turbo
shared-mime-info
gobject-introspection
git
meson
gi-docgen
python-docutils

View File

@ -0,0 +1,11 @@
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so
[Action]
Description = Probing GDK-Pixbuf loader modules...
When = PostTransaction
Exec = /usr/bin/gdk-pixbuf-query-loaders --update-cache

View File

@ -0,0 +1,3 @@
pre_remove() {
rm -f /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
}

6
gdk-pixbuf2/time Normal file
View File

@ -0,0 +1,6 @@
real 2m12.082s
user 2m59.607s
sys 0m15.570s

View File

@ -0,0 +1,119 @@
Description: Allow the build timestamp to be externally set
In order to make Ghostscript output reproducible, we need a way to
set the build timestamp to other values than the current time.
We now consistently use gp_get_realtime() instead of directly calling
time() or gp_get_usertime() and make gp_get_realtime() use the value
found in the SOURCE_DATE_EPOCH environment variable if set. Also,
environment timezone is fixed to UTC if SOURCE_DATE_EPOCH is used to
avoid variations.
Author: Eduard Sanou <dhole@openmailbox.org>
Author: Peter De Wachter <pdewacht@gmail.com>
Bug-Debian: https://bugs.debian.org/794004
Last-Update: 2015-07-30
---
This patch header follows DEP-3: https://dep.debian.net/deps/dep3/
--- a/base/gp_unix.c
+++ b/base/gp_unix.c
@@ -19,6 +19,7 @@
#ifdef __MINGW32__
# include "windows_.h"
#endif
+#include "errno_.h"
#include "pipe_.h"
#include "string_.h"
#include "time_.h"
@@ -148,6 +149,7 @@
gp_get_realtime(long *pdt)
{
struct timeval tp;
+ const char *env;
#if gettimeofday_no_timezone /* older versions of SVR4 */
{
@@ -167,6 +169,26 @@
}
#endif
+ env = getenv("SOURCE_DATE_EPOCH");
+ if (env) {
+ char *end;
+ long timestamp;
+
+ errno = 0;
+ timestamp = strtol(env, &end, 10);
+ if (env == end || *end || errno != 0) {
+ lprintf("Ghostscript: SOURCE_DATE_EPOCH is not a number!\n");
+ timestamp = 0;
+ }
+
+ tp.tv_sec = timestamp;
+ tp.tv_usec = 0;
+
+ /* We need to fix the environment timezone to get reproducible */
+ /* results when parsing the result of gp_get_realtime. */
+ setenv("TZ", "UTC", 1);
+ }
+
/* tp.tv_sec is #secs since Jan 1, 1970 */
pdt[0] = tp.tv_sec;
--- a/devices/vector/gdevpdf.c
+++ b/devices/vector/gdevpdf.c
@@ -427,6 +427,7 @@
*/
{
struct tm tms;
+ long secs_ns[2];
time_t t;
char buf[1+2+4+2+2+2+2+2+1+2+1+2+1+1+1]; /* (D:yyyymmddhhmmssZhh'mm')\0 */
int timeoffset;
@@ -438,7 +439,8 @@
timesign = 'Z';
timeoffset = 0;
#else
- time(&t);
+ gp_get_realtime(secs_ns);
+ t = secs_ns[0];
tms = *gmtime(&t);
tms.tm_isdst = -1;
timeoffset = (int)difftime(t, mktime(&tms)); /* tz+dst in seconds */
--- a/devices/vector/gdevpdfe.c
+++ b/devices/vector/gdevpdfe.c
@@ -199,6 +199,7 @@
{
/* We don't write a day time because we don't have a time zone. */
struct tm tms;
+ long secs_ns[2];
time_t t;
char buf1[4+1+2+1+2+1]; /* yyyy-mm-dd\0 */
@@ -206,7 +207,8 @@
memset(&t, 0, sizeof(t));
memset(&tms, 0, sizeof(tms));
#else
- time(&t);
+ gp_get_realtime(secs_ns);
+ t = secs_ns[0];
tms = *localtime(&t);
#endif
gs_sprintf(buf1,
--- a/devices/vector/gdevpsu.c
+++ b/devices/vector/gdevpsu.c
@@ -183,6 +183,7 @@
fprintf(f, "%%%%Creator: %s %ld (%s)\n", gs_product, (long)gs_revision,
dev->dname);
{
+ long secs_ns[2];
time_t t;
struct tm tms;
@@ -190,7 +191,8 @@
memset(&t, 0, sizeof(t));
memset(&tms, 0, sizeof(tms));
#else
- time(&t);
+ gp_get_realtime(secs_ns);
+ t = secs_ns[0];
tms = *localtime(&t);
#endif
fprintf(f, "%%%%CreationDate: %d/%02d/%02d %02d:%02d:%02d\n",

144
ghostscript/PKGBUILD Normal file
View File

@ -0,0 +1,144 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=ghostscript
pkgname=(ghostscript ghostxps ghostpcl)
pkgver=10.02.1
pkgrel=01
pkgdesc="An interpreter for the PostScript language"
url="https://www.ghostscript.com/"
depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec'
'libtiff' 'lcms2' 'libpaper' 'ijs' 'openjpeg2' 'libidn' 'poppler-data'
'cairo' 'glibc' 'libx11' 'gdk-pixbuf2' 'glib2')
makedepends=('gtk3' 'gnutls' 'glu' 'freeglut')
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver//./}/ghostpdl-${pkgver}.tar.xz
#https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/ghostpdl-${pkgver/.0//}/ghostpdl-${pkgver}.tar.xz
2010_add_build_timestamp_setting.patch)
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/SHA512SUMS
### update jbig2dec first! ###
prepare() {
cd ghostpdl-${pkgver}
# *** remove after final decision ***
# new in 9.54.0:
# https://www.ghostscript.com/doc/9.54.0/News.htm
# 1) inclusion of the tesseract/leptonica sources for OCR capabilities
# at the moment we do not support linking with tesseract/leptonica shared libraries.
# As is normal with such included libraries, deleting those directories and (re)running
# configure (on Unix like systems) will automatically build without the OCR functionality.
# increases package size ghostpcl 2.7->4.9MB | ghostscript 18->23MB | ghostxps 2,7->4.9MB
# https://www.ghostscript.com/doc/9.54.0/VectorDevices.htm#UseOCR -
# this doesn't seem to be worth to keep enabled until linking with shared libs is supported
rm -r tesseract leptonica
# 2) new directory addition in the source tree: "extract/".
# It contains the implementation for the writing of docx format files used by the
# new "docxwrite" device. This is *not* a "thirdparty library".
# For distribution package maintainers, if you want your packaged Ghostscript to include
# the "docxwrite" device, do not delete this directory.
# ^ this one doesn't affect package size - so let's keep it
# force it to use system-libs
rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib
# using tree freetype because of https://bugs.archlinux.org/task/56849
# lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way
# http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=40dc5b409c6262b18b4bf5386b5482ead4c511e3
# libs link unwanted to libgpdl that isn't installed
rm -rf gpdl
# Remove internal CMaps (CMaps from poppler-data are used instead)
rm -r Resource/CMap
# Debian: # allow the build timestamp to be externally set
patch -Np1 -i ../2010_add_build_timestamp_setting.patch
}
build() {
cd ghostpdl-${pkgver}
./configure --prefix=/usr \
--with-ijs \
--with-jbig2dec \
--with-x \
--with-drivers=ALL \
--with-fontpath=/usr/share/fonts/gsfonts \
--without-versioned-path \
--enable-fontconfig \
--enable-freetype \
--enable-openjpeg \
--with-system-libtiff \
--with-libpaper \
--disable-compile-inits #--help # needed for linking with system-zlib
make so
}
package_ghostscript() {
optdepends=('gtk3: needed for gsx')
cd ghostpdl-${pkgver}
make -j1 DESTDIR="${pkgdir}" soinstall
# split pkg cleanup
rm -v "${pkgdir}"/usr/bin/{gpcl6*,gxps*}
rm -v "${pkgdir}"/usr/lib/{libgpcl6*,libgxps.so*}
# gsc collides with gambit gambit-c
mv "${pkgdir}"/usr/bin/{gsc,gs}
ln -s gs "${pkgdir}"/usr/bin/ghostscript
ln -s /usr/share/man/man1/gs.1.gz "${pkgdir}"/usr/share/man/man1/ghostscript.1
# remove obsolete lpr bsd/Unix related files
rm -rv "${pkgdir}"/usr/bin/{lprsetup.sh,unix-lpr.sh}
# install the CMaps from poppler-data
ln -s /usr/share/poppler/cMap "${pkgdir}"/usr/share/ghostscript/Resource/CMap
install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
}
package_ghostxps() {
pkgdesc="${pkgdesc/PostScript/XPS document}"
depends=("ghostscript=${pkgver}-${pkgrel}")
cd ghostpdl-${pkgver}
make DESTDIR="${pkgdir}" install-gxps install-so-gxps
rm -r "${pkgdir}"/usr/include
# fix file conflict - FS#70238
rm -r "${pkgdir}"/usr/lib/libgxps.so
install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
}
package_ghostpcl() {
pkgdesc="${pkgdesc/PostScript/PCL 6}"
depends=("ghostscript=${pkgver}-${pkgrel}")
cd ghostpdl-${pkgver}
make DESTDIR="${pkgdir}" install-gpcl6 install-so-gpcl6
rm -r "${pkgdir}"/usr/include
install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('AGPL3' 'custom')
sha256sums=(01f4b699f031566b04cec495506811866e17896b26847c14e5333fb3adfc0619 # ghostpdl-10.02.1.tar.xz
ce6ce3cca271d12de97d99e847f47c1fece0be2b663861654baa217857c00339) # 2010_add_build_timestamp_setting.patch
## 8a419083fd250476211a1df3999ef1a9214aebbf519f5e5c21a94da3e76ca714 ghostpcl-10.02.1-01-x86_64.pkg.tar.lz
## dda250246bfbd9bfa3368cae9a3d61bf2638373ee809777b6d0d098b54b970c5 ghostscript-10.02.1-01-x86_64.pkg.tar.lz
## b1bb1127ffc94e672c0a9acb0432491488d45c45a9b3b01f1bd08b6ee548a801 ghostxps-10.02.1-01-x86_64.pkg.tar.lz

130
ghostscript/PKGBUILD-arch Normal file
View File

@ -0,0 +1,130 @@
# Maintainer: AndyRTR <andyrtr@archlinux.org>
pkgbase=ghostscript
pkgname=(ghostscript ghostxps ghostpcl)
pkgver=10.02.1
pkgrel=1
pkgdesc="An interpreter for the PostScript language"
url="https://www.ghostscript.com/"
arch=('x86_64')
license=('AGPL3' 'custom')
depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec'
'libtiff' 'lcms2' 'libpaper' 'ijs' 'openjpeg2' 'libidn' 'poppler-data'
'cairo' 'glibc' 'libx11' 'gdk-pixbuf2' 'glib2')
makedepends=('gtk3' 'gnutls' 'glu' 'freeglut')
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver//./}/ghostpdl-${pkgver}.tar.xz
#https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/ghostpdl-${pkgver/.0//}/ghostpdl-${pkgver}.tar.xz
2010_add_build_timestamp_setting.patch)
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/SHA512SUMS
sha512sums=('0179a2394c244fba6e6df2cb53877e3968becc2ea497e018b88203289feb549726e372e716e7cd74a1f648b4662eac27a9ead21fd57b9f63428170be72f9e810'
'cd7794ee4f28b11177021b950196385200b610127ed6cb94a45e3202b690b721a0dfcc0276ff39448d4dab64c1b31a76e6c323696a8315aad9edc22077f18a3d')
### update jbig2dec first! ###
prepare() {
cd ghostpdl-${pkgver}
# *** remove after final decision ***
# new in 9.54.0:
# https://www.ghostscript.com/doc/9.54.0/News.htm
# 1) inclusion of the tesseract/leptonica sources for OCR capabilities
# at the moment we do not support linking with tesseract/leptonica shared libraries.
# As is normal with such included libraries, deleting those directories and (re)running
# configure (on Unix like systems) will automatically build without the OCR functionality.
# increases package size ghostpcl 2.7->4.9MB | ghostscript 18->23MB | ghostxps 2,7->4.9MB
# https://www.ghostscript.com/doc/9.54.0/VectorDevices.htm#UseOCR -
# this doesn't seem to be worth to keep enabled until linking with shared libs is supported
rm -r tesseract leptonica
# 2) new directory addition in the source tree: "extract/".
# It contains the implementation for the writing of docx format files used by the
# new "docxwrite" device. This is *not* a "thirdparty library".
# For distribution package maintainers, if you want your packaged Ghostscript to include
# the "docxwrite" device, do not delete this directory.
# ^ this one doesn't affect package size - so let's keep it
# force it to use system-libs
rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib
# using tree freetype because of https://bugs.archlinux.org/task/56849
# lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way
# http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=40dc5b409c6262b18b4bf5386b5482ead4c511e3
# libs link unwanted to libgpdl that isn't installed
rm -rf gpdl
# Remove internal CMaps (CMaps from poppler-data are used instead)
rm -r Resource/CMap
# Debian: # allow the build timestamp to be externally set
patch -Np1 -i ../2010_add_build_timestamp_setting.patch
}
build() {
cd ghostpdl-${pkgver}
./configure --prefix=/usr \
--with-ijs \
--with-jbig2dec \
--with-x \
--with-drivers=ALL \
--with-fontpath=/usr/share/fonts/gsfonts \
--without-versioned-path \
--enable-fontconfig \
--enable-freetype \
--enable-openjpeg \
--with-system-libtiff \
--with-libpaper \
--disable-compile-inits #--help # needed for linking with system-zlib
make so
}
package_ghostscript() {
optdepends=('gtk3: needed for gsx')
cd ghostpdl-${pkgver}
make -j1 DESTDIR="${pkgdir}" soinstall
# split pkg cleanup
rm -v "${pkgdir}"/usr/bin/{gpcl6*,gxps*}
rm -v "${pkgdir}"/usr/lib/{libgpcl6*,libgxps.so*}
# gsc collides with gambit gambit-c
mv "${pkgdir}"/usr/bin/{gsc,gs}
ln -s gs "${pkgdir}"/usr/bin/ghostscript
ln -s /usr/share/man/man1/gs.1.gz "${pkgdir}"/usr/share/man/man1/ghostscript.1
# remove obsolete lpr bsd/Unix related files
rm -rv "${pkgdir}"/usr/bin/{lprsetup.sh,unix-lpr.sh}
# install the CMaps from poppler-data
ln -s /usr/share/poppler/cMap "${pkgdir}"/usr/share/ghostscript/Resource/CMap
install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
}
package_ghostxps() {
pkgdesc="${pkgdesc/PostScript/XPS document}"
depends=("ghostscript=${pkgver}-${pkgrel}")
cd ghostpdl-${pkgver}
make DESTDIR="${pkgdir}" install-gxps install-so-gxps
rm -r "${pkgdir}"/usr/include
# fix file conflict - FS#70238
rm -r "${pkgdir}"/usr/lib/libgxps.so
install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
}
package_ghostpcl() {
pkgdesc="${pkgdesc/PostScript/PCL 6}"
depends=("ghostscript=${pkgver}-${pkgrel}")
cd ghostpdl-${pkgver}
make DESTDIR="${pkgdir}" install-gpcl6 install-so-gpcl6
rm -r "${pkgdir}"/usr/include
install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
}
##

1
ghostscript/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,ghostpdl*.tar.xz}

24
ghostscript/deps Normal file
View File

@ -0,0 +1,24 @@
libxt
libcups
fontconfig
libpng
libjpeg-turbo
jbig2dec
libtiff
lcms2
libpaper
ijs
openjpeg2
libidn
poppler-data
cairo
libx11
gdk-pixbuf2
gtk3
glu
freeglut
at-spi2-core
libglvnd
graphite

6
ghostscript/time Normal file
View File

@ -0,0 +1,6 @@
real 8m31.600s
user 8m5.508s
sys 0m33.100s

40
gsfonts/PKGBUILD Normal file
View File

@ -0,0 +1,40 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
_name=urw-base35-fonts
pkgname=gsfonts
pkgver=20200910
pkgrel=03
pkgdesc="(URW)++ base 35 font set"
url="https://github.com/ArtifexSoftware/urw-base35-fonts"
source=($url/archive/$pkgver/$_name-$pkgver.tar.gz)
package() {
local _config _config_path
cd $_name-$pkgver
install -vDm 644 fonts/*.otf -t "$pkgdir/usr/share/fonts/$pkgname/"
install -vDm 644 appstream/*.xml -t "$pkgdir/usr/share/metainfo"
install -vdm 755 "$pkgdir/usr/share/fontconfig/conf.default/"
for _config in fontconfig/*.conf; do
_config_path="$pkgdir/usr/share/fontconfig/conf.avail/69-${_config##*/}"
install -vDm 644 "$_config" "$_config_path"
ln -srt "$pkgdir/usr/share/fontconfig/conf.default/" "$_config_path"
done
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(AGPL3)
sha256sums=(e0d9b7f11885fdfdc4987f06b2aa0565ad2a4af52b22e5ebf79e1a98abd0ae2f) # urw-base35-fonts-20200910.tar.gz
## 7cc524cdf019cb0dfaf837ea313cd751657871931ce293893bbc7952add293a4 gsfonts-20200910-03-x86_64.pkg.tar.lz

32
gsfonts/PKGBUILD-arch Normal file
View File

@ -0,0 +1,32 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Firmicus <francois.archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
_name=urw-base35-fonts
pkgname=gsfonts
pkgver=20200910
pkgrel=3
pkgdesc="(URW)++ base 35 font set"
url="https://github.com/ArtifexSoftware/urw-base35-fonts"
arch=(any)
license=(AGPL3)
source=($url/archive/$pkgver/$_name-$pkgver.tar.gz)
sha512sums=('71fb27baadf5abc4ff624cdede02038681acd5fffdc728a5b2e7808713b80cb2f2174f90a1862e69d390c4434c49d5167ab095100032fa3ba80b586eb8ae51d1')
b2sums=('77305946e6ab6e576cca7b62da731709bf4acaeb7181f89aef032f922acfaad59735a651d73ff8793c2cf32a23f45efaf5322568892023d4eae9b2278f681890')
package() {
local _config _config_path
cd $_name-$pkgver
install -vDm 644 fonts/*.otf -t "$pkgdir/usr/share/fonts/$pkgname/"
install -vDm 644 appstream/*.xml -t "$pkgdir/usr/share/metainfo"
install -vdm 755 "$pkgdir/usr/share/fontconfig/conf.default/"
for _config in fontconfig/*.conf; do
_config_path="$pkgdir/usr/share/fontconfig/conf.avail/69-${_config##*/}"
install -vDm 644 "$_config" "$_config_path"
ln -srt "$pkgdir/usr/share/fontconfig/conf.default/" "$_config_path"
done
}
##

1
gsfonts/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,urw-base35-fonts*.tar.gz}

2
gsfonts/deps Normal file
View File

@ -0,0 +1,2 @@

6
gsfonts/time Normal file
View File

@ -0,0 +1,6 @@
real 0m2.392s
user 0m2.170s
sys 0m0.400s

40
gts/PKGBUILD Normal file
View File

@ -0,0 +1,40 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gts
pkgver=0.7.6.121130
_snap=gts-snapshot-121130
pkgrel=02
pkgdesc='Provides useful functions to deal with 3D surfaces meshed with interconnected triangles'
url='http://gts.sourceforge.net/'
depends=('glib2' 'netpbm')
#source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
source=("http://gts.sourceforge.net/tarballs/${_snap}.tar.gz")
build() {
# cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${_snap}"
./configure --prefix=/usr
make
}
package() {
# cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${_snap}"
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('LGPL')
sha256sums=(c23f72ab74bbf65599f8c0b599d6336fabe1ec2a09c19b70544eeefdc069b73b) # gts-snapshot-121130.tar.gz
## 45c2a204916d0a9a6c63b0e389559e6d3ef1aaab900a1f4f800f08c8cc01241c gts-0.7.6.121130-02-x86_64.pkg.tar.lz

31
gts/PKGBUILD-arch Normal file
View File

@ -0,0 +1,31 @@
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Thomas Dziedzic <gostrc at gmail>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
pkgname=gts
pkgver=0.7.6.121130
_snap=gts-snapshot-121130
pkgrel=2
pkgdesc='Provides useful functions to deal with 3D surfaces meshed with interconnected triangles'
url='http://gts.sourceforge.net/'
license=('LGPL')
arch=('x86_64')
depends=('glib2' 'netpbm')
#source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
source=("http://gts.sourceforge.net/tarballs/${_snap}.tar.gz")
sha256sums=('c23f72ab74bbf65599f8c0b599d6336fabe1ec2a09c19b70544eeefdc069b73b')
build() {
# cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${_snap}"
./configure --prefix=/usr
make
}
package() {
# cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${_snap}"
make DESTDIR="${pkgdir}" install
}
##

1
gts/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,gts-snapshot*tar.gz*}

1
gts/deps Normal file
View File

@ -0,0 +1 @@
netpbm

6
gts/time Normal file
View File

@ -0,0 +1,6 @@
real 0m31.491s
user 0m28.799s
sys 0m2.696s

55
jbig2dec/PKGBUILD Normal file
View File

@ -0,0 +1,55 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
### jbig2dec new releases require a rebuild for the following packages: ghostscript, mupdf, python-pymupdf, zathura-pdf-mupdf ###
pkgname=jbig2dec
_commit=1d1347e38a55e657dcc4c8f1c77bb3a26bfc9ff3 # = master 2023-10-07 = v2.3
pkgver=0.20
#_gsver=gs9530
pkgrel=01
pkgdesc='Decoder implementation of the JBIG2 image compression format'
url='https://jbig2dec.com/'
depends=('libpng' 'glibc')
makedepends=('git')
# tarball is not yet available
source=(#"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/${_gsver}/${pkgname}-${pkgver}.tar.gz"
"git+https://github.com/ArtifexSoftware/jbig2dec.git#commit=$_commit"
)
pkgver() {
cd $pkgname
git describe --tags | sed 's/^Release.//;s/\([^-]*-g\)/\1/;s/-/+/g;'
}
prepare() {
cd ${pkgname} #-${pkgver}
# autoreconf -vfi
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd ${pkgname} #-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${pkgname} #-${pkgver}
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL3')
sha256sums=(SKIP)
## 57732af3ab31567d83d372b48548d7aed7c3ceae209b268869f9e1aa16d55f2e jbig2dec-0.20-01-x86_64.pkg.tar.lz

47
jbig2dec/PKGBUILD-arch Normal file
View File

@ -0,0 +1,47 @@
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer: Robin Candau <antiz@archlinux.org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Bartłomiej Piotrowski
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
### jbig2dec new releases require a rebuild for the following packages: ghostscript, mupdf, python-pymupdf, zathura-pdf-mupdf ###
pkgname=jbig2dec
_commit=1d1347e38a55e657dcc4c8f1c77bb3a26bfc9ff3 # = master 2023-10-07 = v2.3
pkgver=0.20
#_gsver=gs9530
pkgrel=1
pkgdesc='Decoder implementation of the JBIG2 image compression format'
url='https://jbig2dec.com/'
arch=('x86_64')
license=('GPL3')
depends=('libpng' 'glibc')
makedepends=('git')
# tarball is not yet available
source=(#"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/${_gsver}/${pkgname}-${pkgver}.tar.gz"
"git+https://github.com/ArtifexSoftware/jbig2dec.git#commit=$_commit"
)
sha512sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^Release.//;s/\([^-]*-g\)/\1/;s/-/+/g;'
}
prepare() {
cd ${pkgname} #-${pkgver}
# autoreconf -vfi
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd ${pkgname} #-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${pkgname} #-${pkgver}
make DESTDIR="${pkgdir}" install
}
##

1
jbig2dec/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,jbig2dec}

6
jbig2dec/deps Normal file
View File

@ -0,0 +1,6 @@
libpng
git
autoconf
automake

6
jbig2dec/time Normal file
View File

@ -0,0 +1,6 @@
real 0m15.250s
user 0m13.801s
sys 0m1.782s

48
libfabric/PKGBUILD Normal file
View File

@ -0,0 +1,48 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libfabric
pkgver=1.20.0
pkgrel=01
pkgdesc="User-space API for OpenFabrics Interfaces (OFI)"
url="https://ofiwg.github.io/libfabric/"
depends=(glibc gcc-libs numactl)
options=(!lto)
source=(https://github.com/ofiwg/libfabric/releases/download/v${pkgver}/libfabric-${pkgver}.tar.bz2)
prepare() {
cd ${pkgname}-${pkgver}
autoreconf -fvi
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd ${pkgname}-${pkgver}
make test
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(GPL2)
sha256sums=(7fbbaeb0e15c7c4553c0ac5f54e4ef7aecaff8a669d4ba96fa04b0fc780b9ddc) # libfabric-1.20.0.tar.bz2
## f54cfdfc185a874a1fcd79e427f907e6069b9d81885eb8ad67cad1d33e906ac8 libfabric-1.20.0-01-x86_64.pkg.tar.lz

36
libfabric/PKGBUILD-arch Normal file
View File

@ -0,0 +1,36 @@
# Maintainer: Bruno Pagani <archange@archlinux.org>
pkgname=libfabric
pkgver=1.20.0
pkgrel=1
pkgdesc="User-space API for OpenFabrics Interfaces (OFI)"
arch=(x86_64)
url="https://ofiwg.github.io/libfabric/"
license=(GPL2)
depends=(glibc gcc-libs numactl)
options=(!lto)
source=(https://github.com/ofiwg/libfabric/releases/download/v${pkgver}/libfabric-${pkgver}.tar.bz2)
sha512sums=('8d6ce8959e9a8d1807e276e35ed0ca3b423247fce2cd6916d9dfec44aff2c665a9cc48571a8ffbf85fd87af3a021ced9b911bace8921a4bd73b8c923f8340f82')
prepare() {
cd ${pkgname}-${pkgver}
autoreconf -fvi
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd ${pkgname}-${pkgver}
make test
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
##

1
libfabric/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,libfabric*.tar.bz2}

2
libfabric/deps Normal file
View File

@ -0,0 +1,2 @@
autoconf
automake

6
libfabric/time Normal file
View File

@ -0,0 +1,6 @@
real 9m27.974s
user 9m20.255s
sys 0m16.155s

View File

@ -8,7 +8,7 @@
pkgbase=mariadb
pkgname=('mariadb-libs' 'mariadb-clients' 'mariadb' 'mytop')
pkgdesc='Fast SQL database server, derived from MySQL w/o systemd and zstd'
pkgver=11.2.3
pkgver=11.3.2
pkgrel=01
url='https://mariadb.org/'
makedepends=('boost' 'bzip2' 'cmake' 'cracklib' 'curl' 'jemalloc' 'judy' 'krb5' 'libaio'
@ -249,13 +249,13 @@ license=('GPL')
#validpgpkeys=('199369E5404BD5FC7D2FE43BCBCB082A1BB943DB') # MariaDB Package Signing Key <package-signing-key@mariadb.org>
validpgpkeys=('177F4010FE56CA3336300305F1656F24C74CD1D8') # MariaDB Signing Key <signing-key@mariadb.org>
sha256sums=(14a0bba0c2847eb3f69a4637f55798f8abe10904cd1dd22899c9b0a39c43e35f # mariadb-11.2.3.tar.gz
352fd00a362318e22e1ddffe817c4c50b6197d9d616ae6585ad9edbdfca806a8 # mariadb-11.2.3.tar.gz.asc
sha256sums=(5570778f0a2c27af726c751cda1a943f3f8de96d11d107791be5b44a0ce3fb5c # mariadb-11.3.2.tar.gz
894f2adf533cf758dbdfe8a2192f999edafe7caa2c7fdee85943e8abec38f4b7 # mariadb-11.3.2.tar.gz.asc
711b4e7cf40e2b1ab132655a8d64f5a721027296f7a5731ffa70b504b3d805cd # mariadb.sysusers.conf
5ff8916c32c87ac45f05171669ff94e5a1a81c6bd7e6516b63fd9db8723916fc) # mariadb.tmpfile.conf
## 114186990260555ca78a150eb5b0df397d7b41054f953677db1fdfdf4f8b45fe mariadb-11.2.3-01-x86_64.pkg.tar.lz
## e32d1b096fd1cec00dee274b4024a81df508da0e0c6ac561e278d9bac818e4d1 mariadb-clients-11.2.3-01-x86_64.pkg.tar.lz
## 75f6e1052af667a4f92cee67b4750c53d29a6366632d521685ddde04a0426181 mariadb-libs-11.2.3-01-x86_64.pkg.tar.lz
## f22b25013dc40a0358415deebd11dc697e0352e9c4d8e15513c1a79d24b83928 mytop-11.2.3-01-x86_64.pkg.tar.lz
## 3fba6f3a7ccd69a8f9de866715c8a43b14cde10bb2050b135b4c476f1633d41e mariadb-11.3.2-01-x86_64.pkg.tar.lz
## 3e2858644f014bf4a799232503a25a34b74b1f60acba4bb9613997e957253cca mariadb-clients-11.3.2-01-x86_64.pkg.tar.lz
## 85ec480a3b5e877ff4b47be4222bca0d2a3d6178e25113afd97f9036a5c75b3b mariadb-libs-11.3.2-01-x86_64.pkg.tar.lz
## 56f05eb78c70d3cec61138a5280ba615fb79169f611a0308b3abc1ee068e08ae mytop-11.3.2-01-x86_64.pkg.tar.lz

View File

@ -4,7 +4,7 @@
pkgbase=mariadb
pkgname=('mariadb-libs' 'mariadb-clients' 'mariadb' 'mytop')
pkgdesc='Fast SQL database server, derived from MySQL'
pkgver=11.2.3
pkgver=11.3.2
pkgrel=1
arch=('x86_64')
license=('GPL')
@ -18,7 +18,7 @@ validpgpkeys=('177F4010FE56CA3336300305F1656F24C74CD1D8') # MariaDB Signing Key
# https://mariadb.com/kb/en/library/mirror-sites-for-mariadb/
source=("https://rsync.osuosl.org/pub/mariadb/mariadb-${pkgver}/source/mariadb-${pkgver}.tar.gz"{,.asc}
'0001-arch-specific.patch')
sha256sums=('14a0bba0c2847eb3f69a4637f55798f8abe10904cd1dd22899c9b0a39c43e35f'
sha256sums=('5570778f0a2c27af726c751cda1a943f3f8de96d11d107791be5b44a0ce3fb5c'
'SKIP'
'3289efb3452d199aec872115f35da3f1d6fd4ce774615076690e9bc8afae1460')

83
netpbm/PKGBUILD Normal file
View File

@ -0,0 +1,83 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=netpbm
pkgver=10.86.40
pkgrel=01
pkgdesc="A toolkit for manipulation of graphic images"
url="http://netpbm.sourceforge.net/"
depends=('bash' 'gcc-libs' 'glibc' 'jbigkit' 'libjpeg-turbo' 'libpng'
'libtiff' 'libxml2' 'perl' 'zlib')
makedepends=('subversion')
options=('!makeflags')
# Get docs with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/
source=(https://downloads.sourceforge.net/project/netpbm/super_stable/$pkgver/netpbm-$pkgver.tgz
https://sources.archlinux.org/other/packages/netpbm/netpbm-doc-31Jan2014.tar.xz{,.sig}
netpbm-CAN-2005-2471.patch netpbm-security-code.patch netpbm-security-scripts.patch
reproducible-man-gzip.patch)
prepare() {
cd $pkgname-$pkgver
patch -p1 < ../netpbm-CAN-2005-2471.patch
patch -p1 < ../netpbm-security-code.patch
patch -p1 < ../netpbm-security-scripts.patch
patch -p1 < ../reproducible-man-gzip.patch
cp config.mk.in config.mk
[ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
echo "NETPBM_DOCURL = file://${srcdir}/doc" >> config.mk
echo 'TIFFLIB = libtiff.so' >> config.mk
echo 'JPEGLIB = libjpeg.so' >> config.mk
echo 'PNGLIB = libpng.so' >> config.mk
echo 'ZLIB = libz.so' >> config.mk
echo 'JBIGLIB = /usr/lib/libjbig.a' >> config.mk
sed -i 's|misc|share/netpbm|' common.mk
sed -e 's|/sharedlink|/lib|' -e 's|/staticlink|/lib|' -i lib/Makefile
sed -i 's|install.manwebmain install.manweb install.man|install.man|' GNUmakefile
}
build() {
cd $pkgname-$pkgver
make
# Generating useful man pages with html doc
# TODO: Enable when we have it updated
# make MAKEMAN="${srcdir}/$pkgname-$pkgver/buildtools/makeman" USERGUIDE="-v ." \
# -C ../doc -f "${srcdir}/$pkgname-$pkgver/buildtools/manpage.mk" manpages
}
package() {
cd $pkgname-$pkgver
make pkgdir="${pkgdir}/usr" PKGMANDIR=share/man install-run install-dev
# Replace obsolete utility
echo -e '#!/bin/sh\npamditherbw $@ | pamtopnm\n' > "${pkgdir}/usr/bin/pgmtopbm"
# Licensing. Note that each program in the package has a separate license.
install -D -m644 "${srcdir}/$pkgname-$pkgver/doc/copyright_summary" \
"${pkgdir}/usr/share/licenses/${pkgname}/copyright_summary.txt"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom' 'BSD' 'GPL' 'LGPL')
validpgpkeys=('5357F3B111688D88C1D88119FCF2CB179205AC90')
sha256sums=(7098c0926474303c6fe2d17c0dfb88f24622d1b3a590b6d75495d62ea933b324 # netpbm-10.86.40.tgz
74bcf840ee643c6917330c382484010cb99c004a3fcf05391bebcac63815acb3 # netpbm-doc-31Jan2014.tar.xz
9313d3001433c66014fd4be21c853ded915d81b6085e342b13d91b8909bd3ff1 # netpbm-doc-31Jan2014.tar.xz.sig
7348274b72b8285add042d0f45d124c9833206ee3440bd1846cfc792b9b4d5e5 # netpbm-CAN-2005-2471.patch
698645215d46bcee515d75847fc550ce99c5fcb6fae63dacdba1d773f327c80e # netpbm-security-code.patch
5ee27b4187577cbb9e85f6b36c5e5a421e03927f9195f888be7be2b647a5ac9d # netpbm-security-scripts.patch
b0be94fbfbf247552c5cc3f1cdd93e2d549f59c3d218350ccc1bea44e9bebc9b) # reproducible-man-gzip.patch
## f93ee0c6248bb301256089c96dd56cc59e806d9ff14f9c1c541a568f962fff7a netpbm-10.86.40-01-x86_64.pkg.tar.lz

80
netpbm/PKGBUILD-arch Normal file
View File

@ -0,0 +1,80 @@
# Maintainer:
pkgname=netpbm
pkgver=10.86.40
pkgrel=1
pkgdesc="A toolkit for manipulation of graphic images"
arch=('x86_64')
license=('custom' 'BSD' 'GPL' 'LGPL')
url="http://netpbm.sourceforge.net/"
depends=(
'bash'
'gcc-libs'
'glibc'
'jbigkit'
'libjpeg-turbo'
'libpng'
'libtiff'
'libxml2'
'perl'
'zlib'
)
makedepends=('subversion')
options=('!makeflags')
# Get docs with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/
source=(https://downloads.sourceforge.net/project/netpbm/super_stable/$pkgver/netpbm-$pkgver.tgz
https://sources.archlinux.org/other/packages/netpbm/netpbm-doc-31Jan2014.tar.xz{,.sig}
netpbm-CAN-2005-2471.patch netpbm-security-code.patch netpbm-security-scripts.patch
reproducible-man-gzip.patch)
sha256sums=('7098c0926474303c6fe2d17c0dfb88f24622d1b3a590b6d75495d62ea933b324'
'74bcf840ee643c6917330c382484010cb99c004a3fcf05391bebcac63815acb3'
'SKIP'
'7348274b72b8285add042d0f45d124c9833206ee3440bd1846cfc792b9b4d5e5'
'698645215d46bcee515d75847fc550ce99c5fcb6fae63dacdba1d773f327c80e'
'5ee27b4187577cbb9e85f6b36c5e5a421e03927f9195f888be7be2b647a5ac9d'
'b0be94fbfbf247552c5cc3f1cdd93e2d549f59c3d218350ccc1bea44e9bebc9b')
validpgpkeys=('5357F3B111688D88C1D88119FCF2CB179205AC90')
prepare() {
cd $pkgname-$pkgver
patch -p1 < ../netpbm-CAN-2005-2471.patch
patch -p1 < ../netpbm-security-code.patch
patch -p1 < ../netpbm-security-scripts.patch
patch -p1 < ../reproducible-man-gzip.patch
cp config.mk.in config.mk
[ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
echo "NETPBM_DOCURL = file://${srcdir}/doc" >> config.mk
echo 'TIFFLIB = libtiff.so' >> config.mk
echo 'JPEGLIB = libjpeg.so' >> config.mk
echo 'PNGLIB = libpng.so' >> config.mk
echo 'ZLIB = libz.so' >> config.mk
echo 'JBIGLIB = /usr/lib/libjbig.a' >> config.mk
sed -i 's|misc|share/netpbm|' common.mk
sed -e 's|/sharedlink|/lib|' -e 's|/staticlink|/lib|' -i lib/Makefile
sed -i 's|install.manwebmain install.manweb install.man|install.man|' GNUmakefile
}
build() {
cd $pkgname-$pkgver
make
# Generating useful man pages with html doc
# TODO: Enable when we have it updated
# make MAKEMAN="${srcdir}/$pkgname-$pkgver/buildtools/makeman" USERGUIDE="-v ." \
# -C ../doc -f "${srcdir}/$pkgname-$pkgver/buildtools/manpage.mk" manpages
}
package() {
cd $pkgname-$pkgver
make pkgdir="${pkgdir}/usr" PKGMANDIR=share/man install-run install-dev
# Replace obsolete utility
echo -e '#!/bin/sh\npamditherbw $@ | pamtopnm\n' > "${pkgdir}/usr/bin/pgmtopbm"
# Licensing. Note that each program in the package has a separate license.
install -D -m644 "${srcdir}/$pkgname-$pkgver/doc/copyright_summary" \
"${pkgdir}/usr/share/licenses/${pkgname}/copyright_summary.txt"
}
##

78
netpbm/PKGBUILD-arch.old Normal file
View File

@ -0,0 +1,78 @@
# Maintainer:
pkgname=netpbm
pkgver=10.73.43
pkgrel=1
pkgdesc="A toolkit for manipulation of graphic images"
arch=('x86_64')
license=('custom' 'BSD' 'GPL' 'LGPL')
url="http://netpbm.sourceforge.net/"
depends=('perl' 'libpng' 'libtiff' 'libxml2')
makedepends=('jbigkit' 'subversion')
options=('!makeflags')
# Get docs with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/
source=(https://downloads.sourceforge.net/project/netpbm/super_stable/$pkgver/netpbm-$pkgver.tgz
https://sources.archlinux.org/other/packages/netpbm/netpbm-doc-31Jan2014.tar.xz{,.sig}
netpbm-CAN-2005-2471.patch netpbm-security-code.patch netpbm-security-scripts.patch
reproducible-man-gzip.patch use-source-date-epoch.patch)
sha256sums=('f9fd9a7f932258224d1925bfce61396a15e0fad93e3853d6324ac308d1adebf8'
'74bcf840ee643c6917330c382484010cb99c004a3fcf05391bebcac63815acb3'
'SKIP'
'991aba7897e0710687369b4e2edfba1397ecd77d62578eac496afbc47b5ca970'
'343a72eb67edb338bc593d823ced770a0fe44c4c1fa4f4ac1934b84da4431579'
'2c397588d9cba2c40dee55c07713d5e77e0e04245db939fdc1962d7de4cf4a33'
'8e3efdb4fcbfdc8e9a5c8e9663c7d6b9ecef3a2379ce38d2acc5669c339f6814'
'68055341833f482c6910a56c2fdfe046978a1a92fd8442a2a9209c82ce3e4d13')
validpgpkeys=('5357F3B111688D88C1D88119FCF2CB179205AC90')
prepare() {
cd $pkgname-$pkgver
patch -p1 < ../netpbm-CAN-2005-2471.patch
patch -p1 < ../netpbm-security-code.patch
patch -p1 < ../netpbm-security-scripts.patch
patch -p1 < ../reproducible-man-gzip.patch
patch -p1 < ../use-source-date-epoch.patch
# sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' buildtools/makeman
# sed -i 's|@python|@python2|' buildtools/manpage.mk
cp config.mk.in config.mk
[ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
echo "NETPBM_DOCURL = file://${srcdir}/doc" >> config.mk
echo 'TIFFLIB = libtiff.so' >> config.mk
echo 'JPEGLIB = libjpeg.so' >> config.mk
echo 'PNGLIB = libpng.so' >> config.mk
echo 'ZLIB = libz.so' >> config.mk
echo 'JBIGLIB = /usr/lib/libjbig.a' >> config.mk
sed -i 's|misc|share/netpbm|' common.mk
sed -i 's|/link|/lib|' lib/Makefile
sed -i 's|install.manwebmain install.manweb install.man|install.man|' GNUmakefile
}
build() {
cd $pkgname-$pkgver
make
# Generating useful man pages with html doc
# TODO: Enable when we have it updated
# make MAKEMAN="${srcdir}/$pkgname-$pkgver/buildtools/makeman" USERGUIDE="-v ." \
# -C ../doc -f "${srcdir}/$pkgname-$pkgver/buildtools/manpage.mk" manpages
}
package() {
cd $pkgname-$pkgver
make pkgdir="${pkgdir}/usr" PKGMANDIR=share/man install-run install-dev
# Removing dummy man pages
rm "${pkgdir}"/usr/share/man/man{1,3,5}/*
# make MAKEMAN="${srcdir}/$pkgname-$pkgver/buildtools/makeman" MANDIR="${pkgdir}/usr/share/man" \
# -C ../doc -f "${srcdir}/$pkgname-$pkgver/buildtools/manpage.mk" installman
# Replace obsolete utility
echo -e '#!/bin/sh\npamditherbw $@ | pamtopnm\n' > "${pkgdir}/usr/bin/pgmtopbm"
# Licensing. Note that each program in the package has a separate license.
install -D -m644 "${srcdir}/$pkgname-$pkgver/doc/copyright_summary" \
"${pkgdir}/usr/share/licenses/${pkgname}/copyright_summary.txt"
}

1
netpbm/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,netpbm*tgz,netpbm-*.tar.xz}

7
netpbm/deps Normal file
View File

@ -0,0 +1,7 @@
jbigkit
libjpeg-turbo
libpng
libtiff
libxml2
subversion

1
netpbm/key Normal file
View File

@ -0,0 +1 @@
gpg --recv-key FCF2CB179205AC90

View File

@ -0,0 +1,16 @@
--- netpbm-10.29/converter/other/pstopnm.c.CAN-2005-2471 2005-08-15 02:39:46.000000000 +0200
+++ netpbm-10.29/converter/other/pstopnm.c 2005-08-16 15:38:15.000000000 +0200
@@ -896,11 +896,11 @@
ghostscriptProg, arg0,
deviceopt, outfileopt, gopt, ropt, textalphabitsopt,
"-q", "-dNOPAUSE",
- "-dSAFER", "-");
+ "-dPARANOIDSAFER", "-");
}
execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt,
- textalphabitsopt, "-q", "-dNOPAUSE", "-dSAFER", "-", NULL);
+ textalphabitsopt, "-q", "-dNOPAUSE", "-dPARANOIDSAFER", "-", NULL);
pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)",
ghostscriptProg, errno, strerror(errno));

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,312 @@
diff --git a/converter/other/anytopnm b/converter/other/anytopnm
index acf8813..335312a 100755
--- a/converter/other/anytopnm
+++ b/converter/other/anytopnm
@@ -537,12 +534,17 @@ typeDescription=`file "$file" | cut -d: -f2- | cut -c2-`
determineType "$file" "$mimeType" "$typeDescription" "$fileExtension"
if [ "$filetype" = "unknown" ]; then
- echo "$progname: unknown file type. " \
- "'file' says mime type is '$mimeType', " 1>&2
- echo "type description is '$typeDescription'" 1>&2
+ if [ -d "$tempdir" ] ; then
+ rm -rf "$tempdir"
+ fi
+
exit 1
fi
convertIt $file $filetype
+if [ -d "$tempdir" ] ; then
+ rm -rf "$tempdir"
+fi
+
exit 0
diff --git a/editor/pnmmargin b/editor/pnmmargin
index 0f57d1d..e0d3625 100755
--- a/editor/pnmmargin
+++ b/editor/pnmmargin
@@ -90,6 +86,7 @@ else
-white | -black )
pnmpad $plainopt $color \
-left=$size -right=$size -top=$size -bottom=$size $tmp1
+ rm -rf "$tempdir"
exit
;;
* )
@@ -103,4 +100,4 @@ else
pnmcat -tb $plainopt $tmp3 $tmp4 $tmp3
fi
-
+rm -rf "$tempdir"
diff --git a/editor/ppmfade b/editor/ppmfade
index 027fc79..8eb094f 100755
--- a/editor/ppmfade
+++ b/editor/ppmfade
@@ -40,6 +40,7 @@ exec perl -w -x -S -- "$0" "$@"
#
##############################################################################
use strict;
+use File::Temp "tempdir";
my $SPREAD = 1;
my $SHIFT = 2;
@@ -137,20 +138,26 @@ if ($first_file ne "undefined") {
print("Frames are " . $width . "W x " . $height . "H\n");
+#
+# We create a tmp-directory right here
+#
+my $tmpdir = tempdir("ppmfade.XXXXXX", CLEANUP => 1);
+
+
if ($first_file eq "undefined") {
print "Fading from black to ";
- system("ppmmake \\#000 $width $height >junk1$$.ppm");
+ system("ppmmake \\#000 $width $height >$tmpdir/junk1$$.ppm");
} else {
print "Fading from $first_file to ";
- system("cp", $first_file, "junk1$$.ppm");
+ system("cp", $first_file, "$tmpdir/junk1$$.ppm");
}
if ($last_file eq "undefined") {
print "black.\n";
- system("ppmmake \\#000 $width $height >junk2$$.ppm");
+ system("ppmmake \\#000 $width $height >$tmpdir/junk2$$.ppm");
} else {
print "$last_file\n";
- system("cp", $last_file, "junk2$$.ppm");
+ system("cp", $last_file, "$tmpdir/junk2$$.ppm");
}
#
@@ -158,14 +165,14 @@ if ($last_file eq "undefined") {
#
# Here's what our temporary files are:
-# junk1$$.ppm: The original (fade-from) image
-# junk2$$.ppm: The target (fade-from) image
-# junk3$$.ppm: The frame of the fade for the current iteration of the
-# the for loop.
-# junk1a$$.ppm: If the fade involves a ppmmix sequence from one intermediate
-# image to another, this is the first frame of that
-# sequence.
-# junk2a$$.ppm: This is the last frame of the above-mentioned ppmmix sequence
+# $tmpdir/junk1$$.ppm: The original (fade-from) image
+# $tmpdir/junk2$$.ppm: The target (fade-from) image
+# $tmpdir/junk3$$.ppm: The frame of the fade for the current iteration of the
+# the for loop.
+# $tmpdir/junk1a$$.ppm: If the fade involves a ppmmix sequence from one intermediate
+# image to another, this is the first frame of that
+# sequence.
+# $tmpdir/junk2a$$.ppm: This is the last frame of the above-mentioned ppmmix sequence
my $i; # Frame number
for ($i = 1; $i <= $nframes; $i++) {
@@ -173,147 +180,147 @@ for ($i = 1; $i <= $nframes; $i++) {
if ($mode eq $SPREAD) {
if ($i <= 10) {
my $n = $spline20[$i] * 100;
- system("ppmspread $n junk1$$.ppm >junk3$$.ppm");
+ system("ppmspread $n $tmpdir/junk1$$.ppm >$tmpdir/junk3$$.ppm");
} elsif ($i <= 20) {
my $n;
$n = $spline20[$i] * 100;
- system("ppmspread $n junk1$$.ppm >junk1a$$.ppm");
+ system("ppmspread $n $tmpdir/junk1$$.ppm >$tmpdir/junk1a$$.ppm");
$n = (1-$spline20[$i-10]) * 100;
- system("ppmspread $n junk2$$.ppm >junk2a$$.ppm");
+ system("ppmspread $n $tmpdir/junk2$$.ppm >$tmpdir/junk2a$$.ppm");
$n = $spline10[$i-10];
- system("ppmmix $n junk1a$$.ppm junk2a$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1a$$.ppm $tmpdir/junk2a$$.ppm >$tmpdir/junk3$$.ppm");
} else {
my $n = (1-$spline20[$i-10])*100;
- system("ppmspread $n junk2$$.ppm >junk3$$.ppm");
+ system("ppmspread $n $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
}
} elsif ($mode eq $SHIFT) {
if ($i <= 10) {
my $n = $spline20[$i] * 100;
- system("ppmshift $n junk1$$.ppm >junk3$$.ppm");
+ system("ppmshift $n $tmpdir/junk1$$.ppm >$tmpdir/junk3$$.ppm");
} elsif ($i <= 20) {
my $n;
$n = $spline20[$i] * 100;
- system("ppmshift $n junk1$$.ppm >junk1a$$.ppm");
+ system("ppmshift $n $tmpdir/junk1$$.ppm >$tmpdir/junk1a$$.ppm");
$n = (1-$spline20[$i-10])*100;
- system("ppmshift $n junk2$$.ppm >junk2a$$.ppm");
+ system("ppmshift $n $tmpdir/junk2$$.ppm >$tmpdir/junk2a$$.ppm");
$n = $spline10[$i-10];
- system("ppmmix $n junk1a$$.ppm junk2a$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1a$$.ppm $tmpdir/junk2a$$.ppm >$tmpdir/junk3$$.ppm");
} else {
my $n = (1-$spline20[$i-10]) * 100;
- system("ppmshift $n junk2$$.ppm >junk3$$.ppm");
+ system("ppmshift $n $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
}
} elsif ($mode eq $RELIEF) {
if ($i == 1) {
- system("ppmrelief junk1$$.ppm >junk1r$$.ppm");
+ system("ppmrelief $tmpdir/junk1$$.ppm >$tmpdir/junk1r$$.ppm");
}
if ($i <= 10) {
my $n = $spline10[$i];
- system("ppmmix $n junk1$$.ppm junk1r$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1$$.ppm $tmpdir/junk1r$$.ppm >$tmpdir/junk3$$.ppm");
} elsif ($i <= 20) {
my $n = $spline10[$i-10];
- system("ppmmix $n junk1r$$.ppm junk2r$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1r$$.ppm $tmpdir/junk2r$$.ppm >$tmpdir/junk3$$.ppm");
} else {
my $n = $spline10[$i-20];
- system("ppmmix $n junk2r$$.ppm junk2$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk2r$$.ppm $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
}
if ($i == 10) {
- system("ppmrelief junk2$$.ppm >junk2r$$.ppm");
+ system("ppmrelief $tmpdir/junk2$$.ppm >$tmpdir/junk2r$$.ppm");
}
} elsif ($mode eq $OIL) {
if ($i == 1) {
- system("ppmtopgm junk1$$.ppm | pgmoil >junko$$.ppm");
- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
- ">junk1o$$.ppm");
+ system("ppmtopgm $tmpdir/junk1$$.ppm | pgmoil >$tmpdir/junko$$.ppm");
+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
+ ">$tmpdir/junk1o$$.ppm");
}
if ($i <= 10) {
my $n = $spline10[$i];
- system("ppmmix $n junk1$$.ppm junk1o$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1$$.ppm $tmpdir/junk1o$$.ppm >$tmpdir/junk3$$.ppm");
} elsif ($i <= 20) {
my $n = $spline10[$i-10];
- system("ppmmix $n junk1o$$.ppm junk2o$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1o$$.ppm $tmpdir/junk2o$$.ppm >$tmpdir/junk3$$.ppm");
} else {
my $n = $spline10[$i-20];
- system("ppmmix $n junk2o$$.ppm junk2$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk2o$$.ppm $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
}
if ($i == 10) {
- system("ppmtopgm junk2$$.ppm | pgmoil >junko$$.ppm");
- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
- ">junk2o$$.ppm");
+ system("ppmtopgm $tmpdir/junk2$$.ppm | pgmoil >$tmpdir/junko$$.ppm");
+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
+ ">$tmpdir/junk2o$$.ppm");
}
} elsif ($mode eq $EDGE) {
if ($i == 1) {
- system("ppmtopgm junk1$$.ppm | pgmedge >junko$$.ppm");
- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
- ">junk1o$$.ppm");
+ system("ppmtopgm $tmpdir/junk1$$.ppm | pgmedge >$tmpdir/junko$$.ppm");
+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
+ ">$tmpdir/junk1o$$.ppm");
}
if ($i <= 10) {
my $n = $spline10[$i];
- system("ppmmix $n junk1$$.ppm junk1o$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1$$.ppm $tmpdir/junk1o$$.ppm >$tmpdir/junk3$$.ppm");
} elsif ($i <= 20) {
my $n = $spline10[$i-10];
- system("ppmmix $n junk1o$$.ppm junk2o$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1o$$.ppm $tmpdir/junk2o$$.ppm >$tmpdir/junk3$$.ppm");
} else {
my $n = $spline10[$i-20];
- system("ppmmix $n junk2o$$.ppm junk2$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk2o$$.ppm $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
}
if ($i == 10) {
- system("ppmtopgm junk2$$.ppm | pgmedge >junko$$.ppm");
- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
- ">junk2o$$.ppm");
+ system("ppmtopgm $tmpdir/junk2$$.ppm | pgmedge >$tmpdir/junko$$.ppm");
+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
+ ">$tmpdir/junk2o$$.ppm");
}
} elsif ($mode eq $BENTLEY) {
if ($i == 1) {
- system("ppmtopgm junk1$$.ppm | pgmbentley >junko$$.ppm");
- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
- ">junk1o$$.ppm");
+ system("ppmtopgm $tmpdir/junk1$$.ppm | pgmbentley >$tmpdir/junko$$.ppm");
+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
+ ">$tmpdir/junk1o$$.ppm");
}
if ($i <= 10) {
my $n = $spline10[$i];
- system("ppmmix $n junk1$$.ppm junk1o$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1$$.ppm $tmpdir/junk1o$$.ppm >$tmpdir/junk3$$.ppm");
} elsif ($i <= 20) {
my $n = $spline10[$i-10];
- system("ppmmix $n junk1o$$.ppm junk2o$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1o$$.ppm $tmpdir/junk2o$$.ppm >$tmpdir/junk3$$.ppm");
} else {
my $n = $spline10[$i-20];
- system("ppmmix $n junk2o$$.ppm junk2$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk2o$$.ppm $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
}
if ($i == 10) {
- system("ppmtopgm junk2$$.ppm | pgmbentley >junko$$.ppm");
- system("rgb3toppm junko$$.ppm junko$$.ppm junko$$.ppm " .
- ">junk2o$$.ppm");
+ system("ppmtopgm $tmpdir/junk2$$.ppm | pgmbentley >$tmpdir/junko$$.ppm");
+ system("rgb3toppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm $tmpdir/junko$$.ppm " .
+ ">$tmpdir/junk2o$$.ppm");
}
} elsif ($mode eq $BLOCK) {
if ($i <= 10) {
my $n = 1 - 1.9*$spline20[$i];
- system("pamscale $n junk1$$.ppm | " .
- "pamscale -width $width -height $height >junk3$$.ppm");
+ system("pamscale $n $tmpdir/junk1$$.ppm | " .
+ "pamscale -width $width -height $height >$tmpdir/junk3$$.ppm");
} elsif ($i <= 20) {
my $n = $spline10[$i-10];
- system("ppmmix $n junk1a$$.ppm junk2a$$.ppm >junk3$$.ppm");
+ system("ppmmix $n $tmpdir/junk1a$$.ppm $tmpdir/junk2a$$.ppm >$tmpdir/junk3$$.ppm");
} else {
my $n = 1 - 1.9*$spline20[31-$i];
- system("pamscale $n junk2$$.ppm | " .
- "pamscale -width $width -height $height >junk3$$.ppm");
+ system("pamscale $n $tmpdir/junk2$$.ppm | " .
+ "pamscale -width $width -height $height >$tmpdir/junk3$$.ppm");
}
if ($i == 10) {
- system("cp", "junk3$$.ppm", "junk1a$$.ppm");
- system("pamscale $n junk2$$.ppm | " .
- "pamscale -width $width -height $height >junk2a$$.ppm");
+ system("cp", "$tmpdir/junk3$$.ppm", "$tmpdir/junk1a$$.ppm");
+ system("pamscale $n $tmpdir/junk2$$.ppm | " .
+ "pamscale -width $width -height $height >$tmpdir/junk2a$$.ppm");
}
} elsif ($mode eq $MIX) {
my $fade_factor = sqrt(1/($nframes-$i+1));
- system("ppmmix $fade_factor junk1$$.ppm junk2$$.ppm >junk3$$.ppm");
+ system("ppmmix $fade_factor $tmpdir/junk1$$.ppm $tmpdir/junk2$$.ppm >$tmpdir/junk3$$.ppm");
} else {
print("Internal error: impossible mode value '$mode'\n");
}
my $outfile = sprintf("%s.%04d.ppm", $base_name, $i);
- system("cp", "junk3$$.ppm", $outfile);
+ system("cp", "$tmpdir/junk3$$.ppm", $outfile);
}
#
# Clean up shop.
#
-system("rm junk*$$.ppm");
+system("rm $tmpdir/junk*$$.ppm");
exit(0);

View File

@ -0,0 +1,16 @@
diff -aur netpbm-10.73.31.old/buildtools/manpage.mk netpbm-10.73.31/buildtools/manpage.mk
--- netpbm-10.73.31.old/buildtools/manpage.mk 2020-05-28 18:41:20.400790506 +0200
+++ netpbm-10.73.31/buildtools/manpage.mk 2020-05-28 18:50:50.444143414 +0200
@@ -388,9 +388,9 @@
.PHONY : installman
installman: report
set -x
- for f in $(wildcard $(MAN1)); do if [ -f $$f ]; then gzip <$$f >$(MANDIR)/man1/$$f.gz; fi; done
- for f in $(wildcard $(MAN3)); do if [ -f $$f ]; then gzip <$$f >$(MANDIR)/man3/$$f.gz; fi; done
- for f in $(wildcard $(MAN5)); do if [ -f $$f ]; then gzip <$$f >$(MANDIR)/man5/$$f.gz; fi; done
+ for f in $(wildcard $(MAN1)); do if [ -f $$f ]; then gzip -n <$$f >$(MANDIR)/man1/$$f.gz; fi; done
+ for f in $(wildcard $(MAN3)); do if [ -f $$f ]; then gzip -n <$$f >$(MANDIR)/man3/$$f.gz; fi; done
+ for f in $(wildcard $(MAN5)); do if [ -f $$f ]; then gzip -n <$$f >$(MANDIR)/man5/$$f.gz; fi; done
# This will uninstall the man pages.

6
netpbm/time Normal file
View File

@ -0,0 +1,6 @@
real 1m46.754s
user 1m38.721s
sys 0m9.906s

View File

@ -0,0 +1,13 @@
Only in netpbm-10.73.31/buildtools/: depend.mk
diff -aur netpbm-10.73.31.old/buildtools/stamp-date netpbm-10.73.31/buildtools/stamp-date
--- netpbm-10.73.31.old/buildtools/stamp-date 2020-05-30 17:34:29.833395465 +0200
+++ netpbm-10.73.31/buildtools/stamp-date 2020-05-30 17:48:52.910091897 +0200
@@ -9,7 +9,7 @@
# documentation. This software is provided "as is" without express or
# implied warranty.
#
-DATE=$(date)
+DATE="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}")"
LOGNAME_OR_UNKNOWN=${LOGNAME:-UNKNOWN}
USER=${USER:-$LOGNAME_OR_UNKNOWN}
if [ "$USER" = "UNKNOWN" ]; then

View File

@ -7,8 +7,8 @@
#_name=libostree
pkgname=ostree
_commit=3b4f5e36ee6b83313d4a4afc8dacb5bb9367ee2b # tags/v2024.1^{}
pkgver=2024.1
_commit=d43386f15dd1a64fb153b1763a64bfc258cf7fc0 # tags/v2024.3^{}
pkgver=2024.3
pkgrel=01
pkgdesc="Operating system and container binary deployment and upgrades - w/o systemd & avahi"
url="https://ostreedev.github.io/ostree/"
@ -99,4 +99,5 @@ sha256sums=(SKIP
SKIP
6cc1e10db1f8c744eec5d128ad7bcd5aa92a8da167784f6727d832c9a4c545bb) # ostree-2023.1-use_fuse3.patch
## 3e9369e83b1d74ab600be10c7f65ccde4c65b45de6778af4a98311d14a07bfd6 ostree-2024.1-01-x86_64.pkg.tar.lz
## ba56e25e2e337f08a951b3c653cd23b938bd368a860e203e71754dff66e30c11 ostree-2024.3-01-x86_64.pkg.tar.lz

View File

@ -3,8 +3,8 @@
# Contributor: Mirco Tischler <mt-ml at gmx dot de>
pkgname=ostree
_commit=3b4f5e36ee6b83313d4a4afc8dacb5bb9367ee2b # tags/v2024.1^{}
pkgver=2024.1
_commit=d43386f15dd1a64fb153b1763a64bfc258cf7fc0 # tags/v2024.3^{}
pkgver=2024.3
pkgrel=1
pkgdesc="Operating system and container binary deployment and upgrades"
url="https://ostreedev.github.io/ostree/"

View File

@ -8,7 +8,7 @@
pkgname=python-setuptools
pkgver=69.0.3
_commit=b07d2f58233f9a99a820901924e263645c57a7c6
pkgrel=01
pkgrel=03
epoch=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
url="https://pypi.org/project/setuptools/"
@ -16,9 +16,9 @@ depends=('python-jaraco.text' 'python-more-itertools' 'python-ordered-set' 'pyth
'python-platformdirs' 'python-tomli' 'python-validate-pyproject')
makedepends=('git' 'python-setuptools')
checkdepends=('python-jaraco.envs' 'python-jaraco.path' 'python-pip'
'python-pytest-fixture-config' 'python-pytest-virtualenv' 'python-wheel'
'python-pytest-enabler' 'python-pytest-mypy' 'python-pytest-timeout' 'python-sphinx'
'python-build' 'python-ini2toml' 'python-tomli-w')
'python-wheel' 'python-pytest-enabler' 'python-pytest-mypy'
'python-pytest-timeout' 'python-sphinx' 'python-build'
'python-ini2toml' 'python-tomli-w')
provides=('python-distribute')
replaces=('python-distribute')
#source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz"
@ -99,29 +99,29 @@ check() { (
--ignore tools/finalize.py
)}
#check() { (
# # Workaround UTF-8 tests by setting LC_CTYPE
# export LC_CTYPE=en_US.UTF-8
#
# # https://github.com/pypa/setuptools/pull/810
# export PYTHONDONTWRITEBYTECODE=1
#
# # cd setuptools-$pkgver
# cd setuptools
# # 1,4: subtle difference introduced by devendoring
# # rest: skipping broken tests using "setuptools_sdist", "setuptools_wheel" (or "venv" which uses the latter)
# # and fails with pip
# # 2: pip failures related to devendoring,
# # 3,5: TODO
# # 6: jaraco.develop is not packaged
# PYTHONPATH="$PWD"/build/lib python -m pytest \
# --deselect setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg \
# --deselect setuptools/tests/test_virtualenv.py \
# --deselect setuptools/tests/test_editable_install.py::test_editable_with_prefix \
# --deselect setuptools/_normalization.py::setuptools._normalization.safe_version \
# --deselect setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_honors_fetch_params \
# --ignore tools/finalize.py
#)}
check() { (
# Workaround UTF-8 tests by setting LC_CTYPE
export LC_CTYPE=en_US.UTF-8
# https://github.com/pypa/setuptools/pull/810
export PYTHONDONTWRITEBYTECODE=1
# cd setuptools-$pkgver
cd setuptools
# 1,4: subtle difference introduced by devendoring
# rest: skipping broken tests using "setuptools_sdist", "setuptools_wheel" (or "venv" which uses the latter)
# and fails with pip
# 2: pip failures related to devendoring,
# 3,5: TODO
# 6: jaraco.develop is not packaged
PYTHONPATH="$PWD"/build/lib python -m pytest \
--deselect setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg \
--deselect setuptools/tests/test_virtualenv.py \
--deselect setuptools/tests/test_editable_install.py::test_editable_with_prefix \
--deselect setuptools/_normalization.py::setuptools._normalization.safe_version \
--deselect setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_honors_fetch_params \
--ignore tools/finalize.py
)}
package() {
# cd setuptools-$pkgver
@ -145,5 +145,4 @@ sha256sums=(SKIP
#echo "you must rename this package to meet SF naming before you move to the repo"
#echo "mv $(ls -l $pkgname*pkg.tar.lz) $pkgname-$epoch_$pkgver-$pkgrel-$arch.pkg.tar.lz >pkg-mv.log"
## ecf1b88f3909c8698fed4c95ecd108acdbb268a0b4faf9ecd6bba7d273e7986e python-setuptools-1_69.0.3-01-x86_64.pkg.tar.lz
## c0f529520a7c573f2d9be20b90bfa9998855619b610b8bbd1515a47e1339bcd7 python-setuptools-1_69.0.3-03-x86_64.pkg.tar.lz

View File

@ -5,7 +5,7 @@
pkgname=python-setuptools
pkgver=69.0.3
_commit=b07d2f58233f9a99a820901924e263645c57a7c6
pkgrel=1
pkgrel=3
epoch=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
arch=('any')
@ -14,8 +14,8 @@ url="https://pypi.org/project/setuptools/"
depends=('python-jaraco.text' 'python-more-itertools' 'python-ordered-set' 'python-packaging'
'python-platformdirs' 'python-tomli' 'python-validate-pyproject')
makedepends=('git' 'python-setuptools')
checkdepends=('python-jaraco.envs' 'python-jaraco.path' 'python-pip' 'python-pytest-fixture-config'
'python-pytest-virtualenv' 'python-wheel' 'python-pytest-enabler' 'python-pytest-mypy'
checkdepends=('python-jaraco.envs' 'python-jaraco.path' 'python-pip'
'python-wheel' 'python-pytest-enabler' 'python-pytest-mypy'
'python-pytest-timeout' 'python-sphinx' 'python-build' 'python-ini2toml'
'python-tomli-w')
provides=('python-distribute')

View File

@ -10,8 +10,6 @@ python-setuptools
python-jaraco.envs
python-jaraco.path
python-pip
python-pytest-fixture-config
python-pytest-virtualenv
python-wheel
python-pytest-enabler
python-pytest-mypy