SHA256
1
0
forked from pool/xpra

Accepting request 644871 from home:alois:branches:X11:Utilities

- Update to version 2.4
  * SSH client integration (paramiko)
  * builtin server support for TCP socket upgrades to SSH
    (paramiko)
  * automatic TCP port allocation
  * expose desktop-sessions as VNC via mdns
  * add zeroconf backend
  * register more URL schemes
  * window content type heuristics configuration
  * use content type it to better tune automatic encoding
    selection
  * automatic video scaling
  * bandwidth-limit management in video encoders
  * HTML5 client mpeg1 and h264 decoding
  * HTML5 client support for forwarding of URL open requests
  * HTML5 client Internet Explorer 11 compatibility
  * HTML5 client toolbar improvements
  * HTML5 fullscreen mode support
  * limit video dimensions to cap CPU and bandwidth usage
  * keyboard layout handling fixes
  * better memory management and resource usage
  * new default GUI welcome screen
  * desktop file for starting shadow servers more easily
  * clipboard synchronization with multiple clients
  * use notifications bubbles for more important events
  * workarounds for running under Wayland with GTK3
  * modal windows enabled by default
  * support xdg base directory specification and socket file time
  * improved python3 support (still client only)
  * multi-window shadow servers on MacOS and MS Windows
  * buildbot upgrade
  * more reliable unit tests
  * fixes and workarounds for Java client applications
  * locally authenticated users can shutdown proxy servers
  * restrict potential privileged information leakage
  * enhanced per-client window filtering
  * remove extra pixel copy in opengl enabled client
  * clip pointer events to the actual window content size
  * new platforms: Ubuntu Cosmic, Fedora 29
- Refreshed xpra-paths.patch
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/644871
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=4
This commit is contained in:
Luigi Baldoni 2018-10-26 13:42:46 +00:00 committed by Git OBS Bridge
parent 27a7ab543c
commit eb5f628dd8
5 changed files with 96 additions and 100 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a46582a12ba012a5998804c39896303d2e83e850120b1421cbe46484a9f4371
size 2306080

3
xpra-2.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d3b5d00cb6eaf9baeb29bb1b1170121611d82719fdfcf7f8839641d86e89f2e
size 2431760

View File

@ -1,21 +1,17 @@
Index: xpra-2.3.2/setup.py
Index: xpra-2.4/setup.py
===================================================================
--- xpra-2.3.2.orig/setup.py
+++ xpra-2.3.2/setup.py
@@ -1500,11 +1500,10 @@ else:
if OPENBSD:
man_path = "man"
--- xpra-2.4.orig/setup.py
+++ xpra-2.4/setup.py
@@ -1513,7 +1513,7 @@ else:
add_data_files("%s/man1" % man_path, ["man/xpra.1", "man/xpra_launcher.1", "man/xpra_browser.1"])
- add_data_files("share/xpra", ["README", "COPYING"])
add_data_files("share/xpra/icons", glob.glob("icons/*"))
add_data_files("share/applications", ["xdg/xpra-launcher.desktop", "xdg/xpra-browser.desktop", "xdg/xpra.desktop"])
add_data_files("share/applications", ["xdg/xpra-shadow.desktop", "xdg/xpra-launcher.desktop", "xdg/xpra-browser.desktop", "xdg/xpra.desktop"])
add_data_files("share/mime/packages", ["xdg/application-x-xpraconfig.xml"])
- add_data_files("share/icons", ["xdg/xpra.png", "xdg/xpra-mdns.png"])
+ add_data_files("share/pixmaps", ["xdg/xpra.png", "xdg/xpra-mdns.png"])
- add_data_files("share/icons", ["xdg/xpra.png", "xdg/xpra-mdns.png", "xdg/xpra-shadow.png"])
+ add_data_files("share/pixmaps", ["xdg/xpra.png", "xdg/xpra-mdns.png", "xdg/xpra-shadow.png"])
add_data_files("share/appdata", ["xdg/xpra.appdata.xml"])
add_data_files('share/xpra/', ["bell.wav"])
add_data_files('share/xpra/http-headers', glob.glob("http-headers/*"))
@@ -1579,7 +1578,7 @@ else:
#here, we override build and install so we can
@@ -1586,7 +1586,7 @@ else:
if pam_ENABLED:
copytodir("etc/pam.d/xpra", "/etc/pam.d")
@ -24,7 +20,7 @@ Index: xpra-2.3.2/setup.py
if service_ENABLED:
#Linux init service:
if os.path.exists("/bin/systemctl"):
@@ -1590,7 +1589,9 @@ else:
@@ -1597,7 +1597,9 @@ else:
else:
copytodir("service/xpra", "/etc/init.d")
if os.path.exists("/etc/sysconfig"):
@ -35,3 +31,11 @@ Index: xpra-2.3.2/setup.py
elif os.path.exists("/etc/default"):
copytodir("etc/sysconfig/xpra", "/etc/default")
if sd_listen_ENABLED:
@@ -1711,7 +1713,6 @@ else:
if scripts_ENABLED:
scripts += ["scripts/xpra", "scripts/xpra_launcher", "scripts/xpra_browser"]
-add_data_files(share_xpra, ["README", "COPYING"])
add_data_files(share_xpra, ["bell.wav"])
add_data_files("%shttp-headers" % share_xpra, glob.glob("http-headers/*"))
add_data_files("%sicons" % share_xpra, glob.glob("icons/*png"))

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Fri Oct 26 09:24:17 UTC 2018 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 2.4
* SSH client integration (paramiko)
* builtin server support for TCP socket upgrades to SSH
(paramiko)
* automatic TCP port allocation
* expose desktop-sessions as VNC via mdns
* add zeroconf backend
* register more URL schemes
* window content type heuristics configuration
* use content type it to better tune automatic encoding
selection
* automatic video scaling
* bandwidth-limit management in video encoders
* HTML5 client mpeg1 and h264 decoding
* HTML5 client support for forwarding of URL open requests
* HTML5 client Internet Explorer 11 compatibility
* HTML5 client toolbar improvements
* HTML5 fullscreen mode support
* limit video dimensions to cap CPU and bandwidth usage
* keyboard layout handling fixes
* better memory management and resource usage
* new default GUI welcome screen
* desktop file for starting shadow servers more easily
* clipboard synchronization with multiple clients
* use notifications bubbles for more important events
* workarounds for running under Wayland with GTK3
* modal windows enabled by default
* support xdg base directory specification and socket file time
* improved python3 support (still client only)
* multi-window shadow servers on MacOS and MS Windows
* buildbot upgrade
* more reliable unit tests
* fixes and workarounds for Java client applications
* locally authenticated users can shutdown proxy servers
* restrict potential privileged information leakage
* enhanced per-client window filtering
* remove extra pixel copy in opengl enabled client
* clip pointer events to the actual window content size
* new platforms: Ubuntu Cosmic, Fedora 29
- Refreshed xpra-paths.patch
- Spec cleanup
-------------------------------------------------------------------
Mon Oct 8 07:48:43 UTC 2018 - aloisio@gmx.com

109
xpra.spec
View File

@ -19,8 +19,9 @@
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
%global __requires_exclude ^typelib\\(GtkosxApplication\\).*$
Name: xpra
Version: 2.3.4
Version: 2.4
Release: 0
Summary: Remote display server for applications and desktops
License: GPL-2.0+ AND BSD-3-Clause AND LGPL-3.0+ AND MIT
@ -53,7 +54,7 @@ BuildRequires: pkgconfig(libswscale) >= 4
BuildRequires: pkgconfig(pycairo)
BuildRequires: pkgconfig(pygtk-2.0)
#Leap 15 and tumbleweed
%if 0%{?suse_version} > 1500 || ( 0%{?sle_version} == 150000 && 0%{?is_opensuse} )
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(vpx) >= 1.4.0
%endif
BuildRequires: pkgconfig(libwebp) >= 0.4
@ -130,97 +131,35 @@ install -m0644 %{SOURCE1} -t xdg
# set fillup dir
sed -i 's|__FILLUPDIR__|%{_fillupdir}|' setup.py
# fix shebang
sed -i 's|^#!.*|#!%{__python2}|' scripts/auth_dialog scripts/xdg-open
sed -i 's|^#!.*|#!%__python2|' scripts/auth_dialog scripts/xdg-open
#Tumbleweed (%if 0%{?suse_version} > 1500)
%build
%python2_build \
--verbose \
%if 0%{?suse_version} > 1500
%build
%python2_build \
--verbose \
--with-enc_ffmpeg \
--with-dec_avcodec2 \
--with-csc_swscale \
--with-vpx \
--with-webp \
--with-Xdummy \
--with-Xdummy_wrapper \
--without-opengl \
--with-service
%install
%python2_install \
--skip-build \
--verbose \
--with-enc_ffmpeg \
--with-dec_avcodec2 \
--with-csc_swscale \
%endif
%if 0%{?suse_version} == 1500
--with-vpx \
--with-webp \
--with-Xdummy \
--with-Xdummy_wrapper \
--without-opengl \
--with-service
%else
# Leap 15.x
%if 0%{?sle_version} == 150000 && 0%{?is_opensuse}
%build
%python2_build \
--verbose \
--with-dec_avcodec2 \
--with-csc_swscale \
--with-vpx \
--with-webp \
--with-Xdummy \
--with-Xdummy_wrapper \
--without-enc_ffmpeg \
--without-opengl \
--with-service
%install
%python2_install \
--skip-build \
--verbose \
--with-dec_avcodec2 \
--with-csc_swscale \
--with-vpx \
--with-webp \
--with-Xdummy \
--with-Xdummy_wrapper \
--without-enc_ffmpeg \
--without-opengl \
--with-service
#everything else
%else
%build
%python2_build \
--verbose \
--with-dec_avcodec2 \
--with-csc_swscale \
--with-webp \
--with-Xdummy \
--with-Xdummy_wrapper \
%endif
%if 0%{?suse_version} < 1500
--without-vpx \
--without-enc_ffmpeg \
%endif
--with-dec_avcodec2 \
--with-csc_swscale \
--with-webp \
--with-Xdummy \
--with-Xdummy_wrapper \
--without-opengl \
--with-service
%install
%python2_install \
--skip-build \
--verbose \
--with-dec_avcodec2 \
--with-csc_swscale \
--with-webp \
--with-Xdummy \
--with-Xdummy_wrapper \
--without-vpx \
--without-enc_ffmpeg \
--without-opengl \
--with-service
%endif
%endif
--verbose
#Install nvenc.keys file
mkdir -p %{buildroot}%{_sysconfdir}/xpra
@ -259,6 +198,7 @@ mkdir -p %{_rundir}/%{name} || exit 1
%doc README NEWS
%license COPYING
%dir %{_datadir}/xpra
%dir %{_datadir}/xpra/content-type
%dir %{_datadir}/xpra/http-headers
%dir %{_libexecdir}/xpra
%dir %{_sysconfdir}/pam.d
@ -288,18 +228,23 @@ mkdir -p %{_rundir}/%{name} || exit 1
%{_datadir}/appdata/xpra.appdata.xml
%{_datadir}/applications/xpra-browser.desktop
%{_datadir}/applications/xpra-launcher.desktop
%{_datadir}/applications/xpra-shadow.desktop
%{_datadir}/applications/xpra.desktop
%{_datadir}/pixmaps/xpra-mdns.png
%{_datadir}/pixmaps/xpra-shadow.png
%{_datadir}/pixmaps/xpra.png
%{_datadir}/mime/packages/application-x-xpraconfig.xml
%{_datadir}/xpra/bell.wav
%{_datadir}/xpra/content-type/10_role.conf
%{_datadir}/xpra/content-type/30_title.conf
%{_datadir}/xpra/content-type/50_class.conf
%{_datadir}/xpra/http-headers/00_nocache.txt
%{_datadir}/xpra/http-headers/10_content_security_policy.txt
%{_datadir}/xpra/icons
%{_libexecdir}/cups/backend/xpraforwarder
%{_mandir}/man1/xpra.1%{ext_man}
%{_mandir}/man1/xpra_browser.1%{ext_man}
%{_mandir}/man1/xpra_launcher.1%{ext_man}
%{_mandir}/man1/xpra.1%{?ext_man}
%{_mandir}/man1/xpra_browser.1%{?ext_man}
%{_mandir}/man1/xpra_launcher.1%{?ext_man}
%{_sysusersdir}/xpra.conf
%{_tmpfilesdir}/xpra.conf
%{_unitdir}/xpra.service