upg lcms2 pbget vlc

add sane
This commit is contained in:
joborun linux 2023-01-04 01:57:53 +02:00
parent f3dabe9be1
commit 75301c1e8c
15 changed files with 324 additions and 13 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/bash
pkmv#!/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"
@ -7,7 +7,7 @@
pkgname=lcms2
pkgver=2.14
pkgrel=01
pkgrel=02
pkgdesc='Small-footprint color management engine, version 2'
arch=('x86_64')
url='http://www.littlecms.com/'
@ -42,3 +42,5 @@ license=('MIT')
sha256sums=(28474ea6f6591c4d4cee972123587001a4e6e353412a41b3e9e82219818d5740) # lcms2-2.14.tar.gz
## 81d943c05a66f5ddcbab930e0db2ce5cf7e2de28a31d33905e62805e2c1a4eba lcms2-2.14-02-x86_64.pkg.tar.xz

View File

@ -2,7 +2,7 @@
pkgname=lcms2
pkgver=2.14
pkgrel=1
pkgrel=2
pkgdesc='Small-footprint color management engine, version 2'
arch=('x86_64')
url='http://www.littlecms.com/'

View File

@ -0,0 +1,40 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date: Sun, 12 Jun 2022 23:59:05 +0300
Subject: [PATCH] anv: force MEDIA_INTERFACE_DESCRIPTOR_LOAD reemit after
3D->GPGPU switch
Seems to fix a hang in Age of Empire 4 where the HW is hung on a
PIPE_CONTROL after a GPGPU_WALKER but no
MEDIA_INTERFACE_DESCRIPTOR_LOAD was emitted since the switch from 3D
to GPGPU.
This would happen in the following case :
vkCmdBindPipeline(COMPUTE, cs_pipeline);
vkCmdDispatch(...);
vkCmdBindPipeline(GRAPHICS, gfx_pipeline);
vkCmdDraw(...);
vkCmdDispatch(...);
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
---
src/intel/vulkan/genX_cmd_buffer.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c
index 1aa997f2ade2..2e9979c8f63e 100644
--- a/src/intel/vulkan/genX_cmd_buffer.c
+++ b/src/intel/vulkan/genX_cmd_buffer.c
@@ -5955,6 +5955,11 @@ genX(flush_pipeline_select)(struct anv_cmd_buffer *cmd_buffer,
}
#endif
+#if GFX_VERx10 == 120
+ if (pipeline == _3D)
+ cmd_buffer->state.compute.pipeline_dirty = true;
+#endif
+
/* From "BXML » GT » MI » vol1a GPU Overview » [Instruction]
* PIPELINE_SELECT [DevBWR+]":
*

View File

@ -1,6 +1,6 @@
real 16m58.224s
user 55m1.777s
sys 2m44.461s
real 15m38.918s
user 52m45.063s
sys 2m27.698s

View File

@ -1,6 +1,6 @@
pkgname=pbget
pkgver=2021.12
pkgrel=01
pkgrel=03
pkgdesc='Retrieve PKGBUILDs and local source files from Git, ABS and the AUR for makepkg.'
arch=(any)
url="https://xyne.dev/projects/pbget"
@ -18,7 +18,9 @@ package ()
license=(GPL)
validpgpkeys=('EC3CBE7F607D11E663149E811D1F0DC78F173680') # xyne.dev
validpgpkeys=('D89FAAEB4CECAFD199A2F5E612C6F735F7A9A519')
sha256sums=(45a63dd2188ab76a9f5a6160a2f25b7e1b1f780eb4208c17674c1568268fc8b8 # pbget-2021.12.tar.xz
df94439e285c93203126733d4727174626e929f77e6dd235e049b6c1aa10bcc7) # pbget-2021.12.tar.xz.sig
sha256sums=(45a63dd2188ab76a9f5a6160a2f25b7e1b1f780eb4208c17674c1568268fc8b8 # pbget-2021.12.tar.xz
8453cfd07dce7a337194b5e4dda3396f08331c04292e5998ad6769689d37d2a3) # pbget-2021.12.tar.xz.sig

30
pbget/PKGBUILD-aur Normal file
View File

@ -0,0 +1,30 @@
#Maintainer: Xyne <gro xunilhcra enyx, backwards>
pkgname=pbget
pkgver=2021.12
pkgrel=3
pkgdesc='Retrieve PKGBUILDs and local source files from Git, ABS and the AUR for makepkg.'
arch=(any)
license=(GPL)
url="https://xyne.dev/projects/pbget"
depends=(git pm2ml python3 python3-aur python3-xcgf python3-xcpf)
source=(
https://xyne.dev/projects/pbget/src/pbget-2021.12.tar.xz
https://xyne.dev/projects/pbget/src/pbget-2021.12.tar.xz.sig
)
sha512sums=(
286cf77c13caabefd24d583bb5b5b04ce2467a299507e0c64cb21f53004ab4eac8db878f48dde31e15f9ac50b761262e87c8dc7cfb9acb4b74a315f25e31cda0
96269f75c7d11eea8ee0ca5890de7cbd2ece102269963eab1942503447d1604325ce36d5f88bb3124624b88be97bb607758ca0ffa6dde91bea51a7703f34c8e3
)
md5sums=(
0d5bd5b5f676c34226571275a07cbad7
a180313e00fecc8b19701b0285ea33c9
)
validpgpkeys=('D89FAAEB4CECAFD199A2F5E612C6F735F7A9A519')
package ()
{
cd "$srcdir/$pkgname-$pkgver"
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}
# vim: set ts=2 sw=2 et:

View File

@ -1 +1,2 @@
gpg -v --recv-key 1D1F0DC78F173680
#gpg -v --recv-key 1D1F0DC78F173680
gpg -v --recv-key 12C6F735F7A9A519

2
sane/66-saned.rules Normal file
View File

@ -0,0 +1,2 @@
# udev rule for saned (SANE scanning daemon) to be able to write on usb port
ENV{libsane_matched}=="yes", ENV{DEVNAME}!="", RUN+="/usr/bin/setfacl -m g:saned:rw $env{DEVNAME}"

106
sane/PKGBUILD Normal file
View File

@ -0,0 +1,106 @@
#!/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=backends
pkgname=sane
pkgver=1.1.1
pkgrel=02
pkgdesc="Scanner Access Now Easy w/o systemd or avahi"
arch=(x86_64)
url="http://www.sane-project.org/"
# NOTE: libgphoto2 can be moved to makedepends once the package also provides
# libgphoto2_port.so
depends=(bash cairo gcc-libs glibc libgphoto2 libnl libpng libxml2 libieee1284
net-snmp openssl v4l-utils)
makedepends=(autoconf-archive glib2 libjpeg-turbo libtiff libusb python texlive-latexextra)
provides=(libsane.so)
source=("https://gitlab.com/sane-project/${_name}/-/archive/${pkgver}/${_name}-${pkgver}.tar.gz"
"66-${pkgname}d.rules"
"${pkgname}.sysusers")
# From initial build 1.1.1-02
# ==> WARNING: Library listed in 'depends' is not required by any files: libcurl.so
# ==> WARNING: Library listed in 'depends' is not required by any files: libgobject-2.0.so
# ==> WARNING: Library listed in 'depends' is not required by any files: libpoppler-glib.so
#
prepare() {
cd "${_name}-${pkgver}"
# create version files, so that autotools macros can use them:
# https://gitlab.com/sane-project/backends/-/issues/440
echo "${pkgver}" > .tarball-version
echo "${pkgver}" > .version
autoreconf -fiv
}
build() {
cd "${_name}-${pkgver}"
./configure --prefix=/usr \
--disable-locking \
--disable-rpath \
--docdir="/usr/share/doc/${pkgname}" \
--enable-pthread \
--localstatedir=/var \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--without-avahi \
--without-libcurl \
--with-pic \
--without-poppler-glib \
--without-systemd \
--with-usb
# circumvent overlinking in libraries
sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' -i libtool
make
}
package() {
depends+=(libgphoto2.so libtiff.so libusb-1.0.so)
cd "${_name}-${pkgver}"
make DESTDIR="${pkgdir}" install
# generate udev udev+hwdb
install -vdm 755 "${pkgdir}/usr/lib/udev/rules.d/"
tools/sane-desc -m udev+hwdb -s doc/descriptions/ > "${pkgdir}/usr/lib/udev/rules.d/65-${pkgname}.rules"
tools/sane-desc -m udev+hwdb -s doc/descriptions-external/ >> "${pkgdir}/usr/lib/udev/rules.d/65-${pkgname}.rules"
# generate udev hwdb
install -vdm 755 "${pkgdir}/usr/lib/udev/hwdb.d/"
tools/sane-desc -m hwdb -s doc/descriptions/ > "${pkgdir}/usr/lib/udev/hwdb.d/20-${pkgname}.hwdb"
# NOTE: an empty new line is required between the two .desc collections
printf "\n" >> "${pkgdir}/usr/lib/udev/hwdb.d/20-${pkgname}.hwdb"
tools/sane-desc -m hwdb -s doc/descriptions-external/ >> "${pkgdir}/usr/lib/udev/hwdb.d/20-${pkgname}.hwdb"
# # systemd integration
# install -vDm 644 "../${pkgname}d.socket" \
# -t "${pkgdir}/usr/lib/systemd/system/"
# install -vDm 644 "../${pkgname}d.service" \
# "${pkgdir}/usr/lib/systemd/system/${pkgname}d@.service"
install -vDm 644 "../66-${pkgname}d.rules" "${pkgdir}/usr/lib/udev/rules.d/"
# sysusers.d
install -vDm 644 "../${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
# remove old ChangeLogs
rm -rvf "${pkgdir}/usr/share/doc/${pkgname}/ChangeLogs/"
# add files below /etc/sane.d to backup array
cd "${pkgdir}"
# trick extract_function_variable() in makepkg into not detecting the
# backup array modification and adding remaining configuration files
[[ /usr/bin/true ]] && backup=( ${backup[@]} $(find "etc/${pkgname}.d/" -type f) )
}
#---- license gpg-key sha256sums ----
license=(GPL2)
sha256sums=(4caa9155b797e8b83abc88bcbfc8212155d388311c3ba077bbcf9c98ed78ca0e # backends-1.1.1.tar.gz
0e98982ff1550b16b098f7563569c203aab5f7b4172717bec0d42eab15fb875b # 66-saned.rules
ac9183a0f4379106550c972374b8e36277d8e7f480ca931f0af87550892942e7) # sane.sysusers

106
sane/PKGBUILD-arch Normal file
View File

@ -0,0 +1,106 @@
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: David Runge <dvzrv@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Contributor: Simo L. <neotuli@yahoo.com>
# Contributor: eric <eric@archlinux.org>
_name=backends
pkgname=sane
pkgver=1.1.1
pkgrel=2
pkgdesc="Scanner Access Now Easy"
arch=(x86_64)
url="http://www.sane-project.org/"
license=(GPL2)
# NOTE: libgphoto2 can be moved to makedepends once the package also provides
# libgphoto2_port.so
depends=(bash cairo gcc-libs glibc libgphoto2 libnl libpng libxml2 libieee1284
net-snmp openssl v4l-utils)
makedepends=(autoconf-archive avahi curl glib2 libjpeg-turbo libtiff libusb
poppler-glib python systemd texlive-latexextra)
provides=(libsane.so)
source=("https://gitlab.com/sane-project/${_name}/-/archive/${pkgver}/${_name}-${pkgver}.tar.gz"
"66-${pkgname}d.rules"
"${pkgname}.sysusers"
"${pkgname}d.service"
"${pkgname}d.socket"
)
sha512sums=('3713f452956fe94cc7f2d15fee764411c1e289d5ff94a095d4a4ee43fae0479e7dbd1b97d85cd9a70ad9cd5458e5c38bcdbd170bcd6ac244083c987094fb36bd'
'd0d1b6bd6fbb04d610e7186e26d04c2233a620cc7c731ca3acd7fb860dd033fbe99d8974ffa1dd59c8affcc4aa2664d76ab3dfd6f7b2a734b31d7e3832359c41'
'd8cd194b57eff2249df2b8d540a892e518aa3e3bba6387211ed21230dc235e98c49b71f262f0b1007e8c859c59776410840376244e0aec1f06363881b2c81fd8'
'baf2cf2fdff689f776973ac4f69ea02b131f2a1a754a8d52a8e8ad33b0e559ba286649a891723a7ad94b2bcb01ec88155d43c36eaeb35e47fbc8ea80c49c5d47'
'a23ceeeb02bd9e214702003a3165886858ecbdd93df89cd37ad5f00581745454548ccda0ab656f2dc0acbf2896a8781568c786797e64a07014be003d6140a093')
b2sums=('341f007ee36e660092dffb4c27ade08dd4fd23fb9986b9ddb0a84348f9ed50fd053ad0ced1a24eb670fe1adcdb9ebbde5178dc559d57ceb01f40d2d79d565ed4'
'c9c6ba224b9b27f4ecc6b1ded6621a8abb52b1ded2d9078e4cad31177290b788e286fad74545a5cb09e1f6726515adc22003988eb646dc986e87f1a8061a0e27'
'2a4ddc9849562e3a0adcaec1859391e3f37a63f25c27dbc140cabd697bd65b89a0fc812c4516cbdfb36d1f30844df34934b3c1c59650101f54fc1ac0acb3f5d9'
'272b4860dbd3f2b69eedfed4532cf8a388629c003c9a0e0ee98defbc2023e07edc26275a17f56ea9fd4d90e9b3b6532c5b10d1e2b91e6ab4df242ac44101d802'
'5e9f0350a1553fc75aea88ce355fb68b881e3b2194ac0e3c6f3cecdae79111fb1db1cfe3b4933eca15af5f985fc6b89e4d9af3844b6e9cfd542828b6b9e57ed9')
prepare() {
cd "${_name}-${pkgver}"
# create version files, so that autotools macros can use them:
# https://gitlab.com/sane-project/backends/-/issues/440
echo "${pkgver}" > .tarball-version
echo "${pkgver}" > .version
autoreconf -fiv
}
build() {
cd "${_name}-${pkgver}"
./configure --prefix=/usr \
--disable-locking \
--disable-rpath \
--docdir="/usr/share/doc/${pkgname}" \
--enable-pthread \
--localstatedir=/var \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--with-avahi \
--with-libcurl \
--with-pic \
--with-poppler-glib \
--with-systemd \
--with-usb
# circumvent overlinking in libraries
sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' -i libtool
make
}
package() {
depends+=(libavahi-client.so libavahi-common.so libcurl.so libgphoto2.so
libgobject-2.0.so libpoppler-glib.so libsystemd.so libtiff.so libusb-1.0.so)
cd "${_name}-${pkgver}"
make DESTDIR="${pkgdir}" install
# generate udev udev+hwdb
install -vdm 755 "${pkgdir}/usr/lib/udev/rules.d/"
tools/sane-desc -m udev+hwdb -s doc/descriptions/ > "${pkgdir}/usr/lib/udev/rules.d/65-${pkgname}.rules"
tools/sane-desc -m udev+hwdb -s doc/descriptions-external/ >> "${pkgdir}/usr/lib/udev/rules.d/65-${pkgname}.rules"
# generate udev hwdb
install -vdm 755 "${pkgdir}/usr/lib/udev/hwdb.d/"
tools/sane-desc -m hwdb -s doc/descriptions/ > "${pkgdir}/usr/lib/udev/hwdb.d/20-${pkgname}.hwdb"
# NOTE: an empty new line is required between the two .desc collections
printf "\n" >> "${pkgdir}/usr/lib/udev/hwdb.d/20-${pkgname}.hwdb"
tools/sane-desc -m hwdb -s doc/descriptions-external/ >> "${pkgdir}/usr/lib/udev/hwdb.d/20-${pkgname}.hwdb"
# systemd integration
install -vDm 644 "../${pkgname}d.socket" \
-t "${pkgdir}/usr/lib/systemd/system/"
install -vDm 644 "../${pkgname}d.service" \
"${pkgdir}/usr/lib/systemd/system/${pkgname}d@.service"
install -vDm 644 "../66-${pkgname}d.rules" "${pkgdir}/usr/lib/udev/rules.d/"
# sysusers.d
install -vDm 644 "../${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
# remove old ChangeLogs
rm -rvf "${pkgdir}/usr/share/doc/${pkgname}/ChangeLogs/"
# add files below /etc/sane.d to backup array
cd "${pkgdir}"
# trick extract_function_variable() in makepkg into not detecting the
# backup array modification and adding remaining configuration files
[[ /usr/bin/true ]] && backup=( ${backup[@]} $(find "etc/${pkgname}.d/" -type f) )
}

1
sane/clean Normal file
View File

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

16
sane/deps Normal file
View File

@ -0,0 +1,16 @@
cairo
libgphoto2
libpng
libxml2
libieee1284
net-snmp
v4l-utils
autoconf-archive
libjpeg-turbo
libtiff
libusb
python
texlive-latexextra
libgit2
gettext
automake

1
sane/sane.sysusers Normal file
View File

@ -0,0 +1 @@
u saned - "SANE daemon user" - -

6
sane/time Normal file
View File

@ -0,0 +1,6 @@
real 3m33.760s
user 3m20.925s
sys 0m16.117s

View File

@ -23,7 +23,6 @@ freetype2
fribidi
harfbuzz
fontconfig
libxml2
libplacebo
gst-plugins-base-libs
live-media
@ -85,7 +84,6 @@ autoconf
automake
gettext
at-spi2-core
libglvnd
wayland-protocols
libgit2
sdl12-compat