Date: Thursday, March 16, 2023 @ 14:27:52
Author: arojas
Revision: 1421087
archrelease: copy trunk to community-x86_64
Added:
xpra/repos/community-x86_64/PKGBUILD
(from rev 1421086, xpra/trunk/PKGBUILD)
xpra/repos/community-x86_64/keys/
Deleted:
xpra/repos/community-x86_64/PKGBUILD
xpra/repos/community-x86_64/ffmpeg6.patch
xpra/repos/community-x86_64/keys/
---------------+
PKGBUILD | 139 ++++++++++++++++++++++++++------------------------------
ffmpeg6.patch | 95 --------------------------------------
2 files changed, 65 insertions(+), 169 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-16 14:27:39 UTC (rev 1421086)
+++ PKGBUILD 2023-03-16 14:27:52 UTC (rev 1421087)
@@ -1,74 +0,0 @@
-# Maintainer: Giancarlo Razzolini <[email protected]>
-# Contributor: Bug <[email protected]>
-
-pkgname=xpra
-pkgver=4.4.3
-pkgrel=2
-pkgdesc="multi-platform screen and application forwarding system screen for
X11"
-arch=('x86_64')
-url='https://www.xpra.org'
-license=('GPL2')
-depends=('gtk3' 'python' 'libxtst' 'python-cairo' 'python-gobject'
'python-pillow' 'python-lz4'
- 'ffmpeg' 'libvpx' 'xf86-video-dummy' 'libxkbfile' 'libxres'
- 'python-netifaces' 'python-rencode' 'python-opengl'
- 'python-lz4')
-optdepends=('x264: Codec' 'python-dbus: dbus features'
- 'python-pycups: Printing support'
- 'python-cryptography: Cryptography'
- 'python-numpy: GPU accelerated capture and compression for NVIDIA
cards'
- 'gst-python: Sound Forwarding'
- 'opencv: Webcam Forwarding')
-makedepends=('pkgconf' 'pygobject-devel' 'python-setuptools' 'cython'
'uglify-js' 'pandoc')
-backup=('etc/xpra/xpra.conf' 'etc/xpra/xorg.conf'
- 'etc/xpra/conf.d/05_features.conf'
- 'etc/xpra/conf.d/10_network.conf'
- 'etc/xpra/conf.d/12_ssl.conf'
- 'etc/xpra/conf.d/15_file_transfers.conf'
- 'etc/xpra/conf.d/16_printing.conf'
- 'etc/xpra/conf.d/20_sound.conf'
- 'etc/xpra/conf.d/30_picture.conf'
- 'etc/xpra/conf.d/35_webcam.conf'
- 'etc/xpra/conf.d/40_client.conf'
- 'etc/xpra/conf.d/42_client_keyboard.conf'
- 'etc/xpra/conf.d/50_server_network.conf'
- 'etc/xpra/conf.d/55_server_x11.conf'
- 'etc/xpra/conf.d/60_server.conf'
- 'etc/xpra/conf.d/65_proxy.conf'
- 'etc/pam.d/xpra')
-source=($pkgname-$pkgver.tar.xz::$url/src/$pkgname-$pkgver.tar.xz
- $pkgname-$pkgver.tar.xz.asc::$url/src/$pkgname-$pkgver.tar.xz.gpg
- ffmpeg6.patch)
-
-md5sums=('856b0a39b61360e740b9d85cc374169d'
- 'SKIP'
- '80fdd373202346789d79819ecdcd63b4')
-sha1sums=('c9c078fa4296eee752aa3471578e56add7a07933'
- 'SKIP'
- '6b792bbb73f902dc79ef27873916387870b06b5e')
-sha256sums=('8fbb474f8f3aca5c96026477e01056c3df876c33e760cbc753cf0757e0acd70f'
- 'SKIP'
- '93611b74af5ed243874e5e8a67910cc8cc1febd33ef4f2ebf9f33deba765c175')
-validpgpkeys=('C11C0A4DF702EDF6C04F458C18ADB31CF18AD6BB') # Antoine Martin
<[email protected]>
-
-prepare() {
- cd $pkgname-$pkgver
- patch -p1 -i ../ffmpeg6.patch # Fix build with FFmpeg 6
-}
-
-build() {
- cd "${srcdir}/$pkgname-$pkgver"
- python setup.py build
-}
-
-package() {
- cd "${srcdir}/$pkgname-$pkgver"
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- sed -i 's|/build/xpra/pkg/xpra/etc/xpra/xorg.conf|/etc/xpra/xorg.conf|'
"${pkgdir}"/etc/xpra/conf.d/55_server_x11.conf
- mv "${pkgdir}"/lib/* "${pkgdir}"/usr/lib/
- rmdir "${pkgdir}/lib"
- mkdir -p "${pkgdir}"/usr/share/dbus-1
- #Move D-BUS Policy
- mv "${pkgdir}"/{etc,usr/share}/dbus-1/system.d
- #Fix for FS#69804
- chmod +x "${pkgdir}"/usr/bin/*
-}
Copied: xpra/repos/community-x86_64/PKGBUILD (from rev 1421086,
xpra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-16 14:27:52 UTC (rev 1421087)
@@ -0,0 +1,65 @@
+# Maintainer: Giancarlo Razzolini <[email protected]>
+# Contributor: Bug <[email protected]>
+
+pkgname=xpra
+pkgver=4.4.4
+pkgrel=1
+pkgdesc="multi-platform screen and application forwarding system screen for
X11"
+arch=('x86_64')
+url='https://www.xpra.org'
+license=('GPL2')
+depends=('gtk3' 'python' 'libxtst' 'python-cairo' 'python-gobject'
'python-pillow' 'python-lz4'
+ 'ffmpeg' 'libvpx' 'xf86-video-dummy' 'libxkbfile' 'libxres'
+ 'python-netifaces' 'python-rencode' 'python-opengl'
+ 'python-lz4')
+optdepends=('x264: Codec' 'python-dbus: dbus features'
+ 'python-pycups: Printing support'
+ 'python-cryptography: Cryptography'
+ 'python-numpy: GPU accelerated capture and compression for NVIDIA
cards'
+ 'gst-python: Sound Forwarding'
+ 'opencv: Webcam Forwarding')
+makedepends=('pkgconf' 'pygobject-devel' 'python-setuptools' 'cython'
'uglify-js' 'pandoc')
+backup=('etc/xpra/xpra.conf' 'etc/xpra/xorg.conf'
+ 'etc/xpra/conf.d/05_features.conf'
+ 'etc/xpra/conf.d/10_network.conf'
+ 'etc/xpra/conf.d/12_ssl.conf'
+ 'etc/xpra/conf.d/15_file_transfers.conf'
+ 'etc/xpra/conf.d/16_printing.conf'
+ 'etc/xpra/conf.d/20_sound.conf'
+ 'etc/xpra/conf.d/30_picture.conf'
+ 'etc/xpra/conf.d/35_webcam.conf'
+ 'etc/xpra/conf.d/40_client.conf'
+ 'etc/xpra/conf.d/42_client_keyboard.conf'
+ 'etc/xpra/conf.d/50_server_network.conf'
+ 'etc/xpra/conf.d/55_server_x11.conf'
+ 'etc/xpra/conf.d/60_server.conf'
+ 'etc/xpra/conf.d/65_proxy.conf'
+ 'etc/pam.d/xpra')
+source=($pkgname-$pkgver.tar.xz::$url/src/$pkgname-$pkgver.tar.xz
+ $pkgname-$pkgver.tar.xz.asc::$url/src/$pkgname-$pkgver.tar.xz.gpg)
+
+md5sums=('e38bbb822b2d721b8261af566f15f964'
+ 'SKIP')
+sha1sums=('59b8cd5ff1862a7af27d3ff4dc69f54debce27b5'
+ 'SKIP')
+sha256sums=('a0f6bd102a8213df8fadc66e7ec1d6611e841f14d954524e31494ad9bd26c0b1'
+ 'SKIP')
+validpgpkeys=('C11C0A4DF702EDF6C04F458C18ADB31CF18AD6BB') # Antoine Martin
<[email protected]>
+
+build() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ sed -i 's|/build/xpra/pkg/xpra/etc/xpra/xorg.conf|/etc/xpra/xorg.conf|'
"${pkgdir}"/etc/xpra/conf.d/55_server_x11.conf
+ mv "${pkgdir}"/lib/* "${pkgdir}"/usr/lib/
+ rmdir "${pkgdir}/lib"
+ mkdir -p "${pkgdir}"/usr/share/dbus-1
+ #Move D-BUS Policy
+ mv "${pkgdir}"/{etc,usr/share}/dbus-1/system.d
+ #Fix for FS#69804
+ chmod +x "${pkgdir}"/usr/bin/*
+}
Deleted: ffmpeg6.patch
===================================================================
--- ffmpeg6.patch 2023-03-16 14:27:39 UTC (rev 1421086)
+++ ffmpeg6.patch 2023-03-16 14:27:52 UTC (rev 1421087)
@@ -1,95 +0,0 @@
-From a12c75a65f8fe686837aefbd133274f4089f14ea Mon Sep 17 00:00:00 2001
-From: totaam <[email protected]>
-Date: Tue, 28 Feb 2023 14:58:17 +0700
-Subject: [PATCH] ffmpeg 6.0 compatibility: these enums have been removed
-
----
- xpra/codecs/enc_ffmpeg/encoder.pyx | 24 ++++++++++++------------
- 1 file changed, 12 insertions(+), 12 deletions(-)
-
-diff --git a/xpra/codecs/enc_ffmpeg/encoder.pyx
b/xpra/codecs/enc_ffmpeg/encoder.pyx
-index b2b4b1e39..0cf90bde0 100644
---- a/xpra/codecs/enc_ffmpeg/encoder.pyx
-+++ b/xpra/codecs/enc_ffmpeg/encoder.pyx
-@@ -165,7 +165,7 @@ cdef extern from "libavcodec/avcodec.h":
- int AV_CODEC_FLAG_PASS2
- int AV_CODEC_FLAG_GRAY
- int AV_CODEC_FLAG_PSNR
-- int AV_CODEC_FLAG_TRUNCATED
-+ #int AV_CODEC_FLAG_TRUNCATED
- int AV_CODEC_FLAG_INTERLACED_DCT
- int AV_CODEC_FLAG_GLOBAL_HEADER
-
-@@ -173,7 +173,7 @@ cdef extern from "libavcodec/avcodec.h":
-
- int AV_CODEC_CAP_DRAW_HORIZ_BAND
- int AV_CODEC_CAP_DR1
-- int AV_CODEC_CAP_TRUNCATED
-+ #int AV_CODEC_CAP_TRUNCATED
- int AV_CODEC_CAP_DELAY
- int AV_CODEC_CAP_SMALL_LAST_FRAME
- int AV_CODEC_CAP_SUBFRAMES
-@@ -182,10 +182,10 @@ cdef extern from "libavcodec/avcodec.h":
- int AV_CODEC_CAP_FRAME_THREADS
- int AV_CODEC_CAP_SLICE_THREADS
- int AV_CODEC_CAP_PARAM_CHANGE
-- int AV_CODEC_CAP_AUTO_THREADS
-+ #int AV_CODEC_CAP_AUTO_THREADS
- int AV_CODEC_CAP_VARIABLE_FRAME_SIZE
-- int AV_CODEC_CAP_INTRA_ONLY
-- int AV_CODEC_CAP_LOSSLESS
-+ #int AV_CODEC_CAP_INTRA_ONLY
-+ #int AV_CODEC_CAP_LOSSLESS
-
- ctypedef struct AVFrame:
- uint8_t **data
-@@ -541,7 +541,7 @@ cdef extern from "libavformat/avformat.h":
- int AVFMT_FLAG_FLUSH_PACKETS #Flush the AVIOContext every packet
- int AVFMT_FLAG_BITEXACT
- int AVFMT_FLAG_SORT_DTS #try to interleave outputted packets by
dts (using this flag can slow demuxing down)
-- int AVFMT_FLAG_PRIV_OPT #Enable use of private options by
delaying codec open (this could be made default once all code is converted)
-+ #int AVFMT_FLAG_PRIV_OPT #Enable use of private options by
delaying codec open (this could be made default once all code is converted)
- int AVFMT_FLAG_FAST_SEEK #Enable fast, but inaccurate seeks for
some formats
-
- int AVFMT_NOFILE #Demuxer will use avio_open, no opened
file should be provided by the caller
-@@ -728,7 +728,7 @@ CODEC_FLAGS = {
- AV_CODEC_FLAG_PASS2 : "PASS2",
- AV_CODEC_FLAG_GRAY : "GRAY",
- AV_CODEC_FLAG_PSNR : "PSNR",
-- AV_CODEC_FLAG_TRUNCATED : "TRUNCATED",
-+ #AV_CODEC_FLAG_TRUNCATED : "TRUNCATED",
- AV_CODEC_FLAG_INTERLACED_DCT : "INTERLACED_DCT",
- AV_CODEC_FLAG_GLOBAL_HEADER : "GLOBAL_HEADER",
- }
-@@ -750,7 +750,7 @@ FMT_FLAGS = {
- AVFMT_FLAG_FLUSH_PACKETS : "FLUSH_PACKETS",
- AVFMT_FLAG_BITEXACT : "BITEXACT",
- AVFMT_FLAG_SORT_DTS : "SORT_DTS",
-- AVFMT_FLAG_PRIV_OPT : "PRIV_OPT",
-+ #AVFMT_FLAG_PRIV_OPT : "PRIV_OPT",
- AVFMT_FLAG_FAST_SEEK : "FAST_SEEK",
- }
-
-@@ -778,7 +778,7 @@ AVFMT = {
- CAPS = {
- AV_CODEC_CAP_DRAW_HORIZ_BAND : "DRAW_HORIZ_BAND",
- AV_CODEC_CAP_DR1 : "DR1",
-- AV_CODEC_CAP_TRUNCATED : "TRUNCATED",
-+ #AV_CODEC_CAP_TRUNCATED : "TRUNCATED",
- AV_CODEC_CAP_DELAY : "DELAY",
- AV_CODEC_CAP_SMALL_LAST_FRAME : "SMALL_LAST_FRAME",
- AV_CODEC_CAP_SUBFRAMES : "SUBFRAMES",
-@@ -787,10 +787,10 @@ CAPS = {
- AV_CODEC_CAP_FRAME_THREADS : "FRAME_THREADS",
- AV_CODEC_CAP_SLICE_THREADS : "SLICE_THREADS",
- AV_CODEC_CAP_PARAM_CHANGE : "PARAM_CHANGE",
-- AV_CODEC_CAP_AUTO_THREADS : "AUTO_THREADS",
-+ #AV_CODEC_CAP_AUTO_THREADS : "AUTO_THREADS",
- AV_CODEC_CAP_VARIABLE_FRAME_SIZE : "VARIABLE_FRAME_SIZE",
-- AV_CODEC_CAP_INTRA_ONLY : "INTRA_ONLY",
-- AV_CODEC_CAP_LOSSLESS : "LOSSLESS",
-+ #AV_CODEC_CAP_INTRA_ONLY : "INTRA_ONLY",
-+ #AV_CODEC_CAP_LOSSLESS : "LOSSLESS",
- }
- log("CODEC_CAP:")
- print_nested_dict(dict((hex(abs(k)),v) for k,v in CAPS.items()),
print_fn=log.debug)