Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] x2goserver and nx-libs fixed
@ 2021-05-11 18:54 eoli3n
  2021-05-11 18:59 ` eoli3n
                   ` (51 more replies)
  0 siblings, 52 replies; 53+ messages in thread
From: eoli3n @ 2021-05-11 18:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

There is a new pull request by eoli3n against master on the void-packages repository

https://github.com/eoli3n/void-packages x2goserver
https://github.com/void-linux/void-packages/pull/30805

x2goserver and nx-libs fixed
Fixes #30781 :partying_face: 


A patch file from https://github.com/void-linux/void-packages/pull/30805.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-x2goserver-30805.patch --]
[-- Type: text/x-diff, Size: 7889 bytes --]

From 6290879ceb9a0c1f575baaa8719928930c5355f4 Mon Sep 17 00:00:00 2001
From: eoli3n <jonathan.kirszling@runbox.com>
Date: Mon, 10 May 2021 21:27:15 +0200
Subject: [PATCH 1/4] x2goserver: fix non working package

---
 srcpkgs/x2goserver/INSTALL  |  7 +++++++
 srcpkgs/x2goserver/template | 22 +++++++++++-----------
 2 files changed, 18 insertions(+), 11 deletions(-)
 create mode 100644 srcpkgs/x2goserver/INSTALL

diff --git a/srcpkgs/x2goserver/INSTALL b/srcpkgs/x2goserver/INSTALL
new file mode 100644
index 000000000000..8a14ce3c7a4e
--- /dev/null
+++ b/srcpkgs/x2goserver/INSTALL
@@ -0,0 +1,7 @@
+case "${ACTION}" in
+post)
+    chown root:x2gouser usr/lib/x2go/libx2go-server-db-sqlite3-wrapper
+    chmod 2755 usr/lib/x2go/libx2go-server-db-sqlite3-wrapper
+    chown 0440 etc/sudoers.d/x2goserver
+	;;
+esac
diff --git a/srcpkgs/x2goserver/template b/srcpkgs/x2goserver/template
index 158130a96717..0193238bfa61 100644
--- a/srcpkgs/x2goserver/template
+++ b/srcpkgs/x2goserver/template
@@ -1,28 +1,28 @@
 # Template file for 'x2goserver'
 pkgname=x2goserver
 version=4.1.0.3
-revision=1
+revision=2
 build_style=gnu-makefile
-hostmakedepends="pkg-config perl"
+hostmakedepends="pkg-config perl which"
 makedepends="libssh2-devel"
-depends="perl perl-Config-Simple perl-DBI perl-Capture-Tiny perl-DBD-SQLite bash iproute2 makepasswd openssh lsof xauth perl-File-BaseDir nx-libs perl-File-Which"
+depends="bash iproute2 openssh lsof xauth xhost xwininfo pwgen psmisc xkeyboard-config perl perl-Config-Simple perl-DBI perl-Capture-Tiny perl-DBD-SQLite perl-File-BaseDir perl-File-Which perl-Try-Tiny perl-Switch nx-libs"
 short_desc="Open source graphical Remote Desktop based on NX technology"
-maintainer="eoli3n <jkirsz@gmail.com>"
+maintainer="eoli3n <jonathan.kirszling@runbox.com>"
 license="GPL-2.0-or-later"
 homepage="http://www.x2go.org"
 distfiles="http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=6776aaa354f5a44e349f0b3c176d4988c88a618c2edf46c98a37ae89c069dcd0
 system_groups="x2gouser"
-system_accounts="x2gouser"
 x2gouser_homedir="/var/lib/x2go"
 x2gouser_shell="/bin/false"
 
-post_extract() {
-	# Replace hard-coded /usr/sbin
-	for _file in x2goserver-printing/Makefile x2goserver/Makefile x2goserver-xsession/Makefile libx2go-server-db-perl/Makefile x2goserver-common/Makefile; do
-		vsed -e 's,/sbin,/bin,g' -i "$_file"
+post_patch() {
+    # Replace hard-coded /usr/local
+	for _file in Makefile x2goserver-desktopsharing/Makefile x2goserver-desktopsharing/bin/x2goterminate-desktopsharing libx2go-server-db-perl/Makefile x2goserver-fmbindings/Makefile x2goserver-xsession/Makefile x2goserver-x2goagent/Makefile x2goserver-common/Makefile x2goserver/Makefile x2goserver-extensions/Makefile x2goserver-printing/Makefile x2goserver/man/man8/x2gobasepath.8 x2goserver/man/man8/x2gopath.8; do
+		vsed -e 's,/usr/local,/usr,g' -i "$_file"
 	done
-	for _file in bin/x2golistdesktops bin/x2goresume-session bin/x2gostartagent sbin/x2gocleansessions; do
-		vsed -e 's,/usr/sbin,/usr/bin,g' -i x2goserver/"$_file"
+	# Replace hard-coded /sbin and /usr/sbin
+	for _file in x2goserver-printing/Makefile x2goserver/Makefile x2goserver-xsession/Makefile libx2go-server-db-perl/Makefile x2goserver-common/Makefile x2goserver-desktopsharing/bin/x2goterminate-desktopsharing x2goserver/bin/x2golistdesktops x2goserver/bin/x2goresume-session x2goserver/bin/x2gostartagent x2goserver/sbin/x2gocleansessions; do
+		vsed -e 's,/sbin,/bin,g' -i "$_file"
 	done
 }

From cf5a85cd8173720a79af9f624cceede413a9822d Mon Sep 17 00:00:00 2001
From: eoli3n <jonathan.kirszling@runbox.com>
Date: Mon, 10 May 2021 23:45:00 +0200
Subject: [PATCH 2/4] New Package: perl-Switch-2.17

---
 srcpkgs/perl-Switch/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Switch/template

diff --git a/srcpkgs/perl-Switch/template b/srcpkgs/perl-Switch/template
new file mode 100644
index 000000000000..10e2636eab0c
--- /dev/null
+++ b/srcpkgs/perl-Switch/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Switch'
+pkgname=perl-Switch
+version=2.17
+revision=1
+wrksrc="Switch-${version}"
+build_style=perl-module
+hostmakedepends="pkg-config perl"
+makedepends="perl"
+depends="perl>=5.5"
+short_desc="A switch statement for Perl, do not use if you can use given/when"
+maintainer="eoli3n <jonathan.kirszling@runbox.com>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/pod/Switch"
+distfiles="${CPAN_SITE}/File/CHORNY/Switch-${version}.tar.gz"
+checksum=31354975140fe6235ac130a109496491ad33dd42f9c62189e23f49f75f936d75

From a69aec9b23c3a2c6dd4cfb6bded6f0f8ecc3774c Mon Sep 17 00:00:00 2001
From: eoli3n <jonathan.kirszling@runbox.com>
Date: Tue, 11 May 2021 14:51:09 +0200
Subject: [PATCH 3/4] nx-libs: fix nxagent

---
 srcpkgs/nx-libs-devel    |  1 +
 srcpkgs/nx-libs/template | 13 ++++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)
 create mode 120000 srcpkgs/nx-libs-devel

diff --git a/srcpkgs/nx-libs-devel b/srcpkgs/nx-libs-devel
new file mode 120000
index 000000000000..3aefdeffb22b
--- /dev/null
+++ b/srcpkgs/nx-libs-devel
@@ -0,0 +1 @@
+nx-libs
\ No newline at end of file
diff --git a/srcpkgs/nx-libs/template b/srcpkgs/nx-libs/template
index e0b01308bc97..eb9d2e05e5c5 100644
--- a/srcpkgs/nx-libs/template
+++ b/srcpkgs/nx-libs/template
@@ -1,9 +1,12 @@
 # Template file for 'nx-libs'
 pkgname=nx-libs
 version=3.5.99.26
-revision=1
+revision=2
 build_style=gnu-configure
-make_build_args="CONFIGURE=echo IMAKE_DEFINES=-DUseTIRPC=YES"
+# The rpath for nxagent is USRLIBDIRPATH, which must be where this package
+# provides a symlink to the custom libX11 with NX features
+make_build_args='CONFIGURE=echo IMAKE_DEFINES=-DUseTIRPC=YES
+ USRLIBDIRPATH=\$$ORIGIN/../lib/nx/X11'
 make_install_args="PREFIX=/usr"
 hostmakedepends="autoconf automake libtool pkg-config which imake xkbcomp gccmakedep"
 makedepends="xorgproto zlib-devel libjpeg-turbo-devel libpng-devel
@@ -11,10 +14,10 @@ makedepends="xorgproto zlib-devel libjpeg-turbo-devel libpng-devel
  libXfont2-devel libxml2-devel libXcomposite-devel libXinerama-devel
  libtirpc-devel libXpm-devel font-util xkbcomp"
 short_desc="NX X11 protocol compression libraries"
-maintainer="eoli3n <jkirsz@gmail.com>"
+maintainer="eoli3n <jonathan.kirszling@runbox.com>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/ArcticaProject/nx-libs"
-distfiles="https://github.com/ArcticaProject/nx-libs/archive/$version/$pkgname-$version.tar.gz"
+distfiles="${homepage}/archive/$version/$pkgname-$version.tar.gz"
 checksum=3ce7ca4e6b57b3a2d7588b2d0f4009036d2566a8925ca2c62f08a8dc0df50357
 python_version=3
 nocross="imake attempts to run target executables on host"
@@ -50,7 +53,7 @@ post_install() {
 	rm -rf ${DESTDIR}/usr/include/GL
 }
 
-nx-libs-devel_install() {
+nx-libs-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"
 	pkg_install() {

From 8c9303b81e95162d9fc57b1053cf25176a8305dd Mon Sep 17 00:00:00 2001
From: eoli3n <jonathan.kirszling@runbox.com>
Date: Tue, 11 May 2021 14:51:33 +0200
Subject: [PATCH 4/4] x2goclient: updated maintainer email address

---
 srcpkgs/x2goclient/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/x2goclient/template b/srcpkgs/x2goclient/template
index 76dbc1e2f258..d0bcfecc0ad8 100644
--- a/srcpkgs/x2goclient/template
+++ b/srcpkgs/x2goclient/template
@@ -13,7 +13,7 @@ makedepends="qt5-svg-devel qt5-x11extras-devel libldap-devel
  libssh-devel libXpm-devel cups-devel"
 depends="nx-libs"
 short_desc="Graphical Qt5 client for X2Go"
-maintainer="eoli3n <jkirsz@gmail.com>"
+maintainer="eoli3n <jonathan.kirszling@runbox.com>"
 license="GPL-2.0-or-later"
 homepage="http://www.x2go.org"
 distfiles="http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${version}.tar.gz"

^ permalink raw reply	[flat|nested] 53+ messages in thread

end of thread, other threads:[~2021-05-31 23:01 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 18:54 [PR PATCH] x2goserver and nx-libs fixed eoli3n
2021-05-11 18:59 ` eoli3n
2021-05-11 19:01 ` eoli3n
2021-05-11 19:14 ` [PR PATCH] [Updated] " eoli3n
2021-05-11 19:52 ` [PR REVIEW] " ahesford
2021-05-11 19:52 ` ahesford
2021-05-11 19:52 ` ahesford
2021-05-11 19:52 ` ahesford
2021-05-11 19:52 ` ahesford
2021-05-11 19:52 ` ahesford
2021-05-11 19:52 ` ahesford
2021-05-11 19:52 ` ahesford
2021-05-11 19:52 ` ahesford
2021-05-11 19:52 ` ahesford
2021-05-11 19:52 ` ahesford
2021-05-11 19:58 ` eoli3n
2021-05-11 20:01 ` eoli3n
2021-05-11 20:09 ` eoli3n
2021-05-11 20:10 ` ahesford
2021-05-11 20:18 ` eoli3n
2021-05-11 20:18 ` eoli3n
2021-05-11 20:41 ` eoli3n
2021-05-11 21:05 ` eoli3n
2021-05-11 21:07 ` eoli3n
2021-05-11 21:13 ` eoli3n
2021-05-11 21:41 ` ahesford
2021-05-11 21:41 ` eoli3n
2021-05-11 21:42 ` eoli3n
2021-05-11 21:42 ` ahesford
2021-05-11 21:44 ` eoli3n
2021-05-11 21:45 ` eoli3n
2021-05-11 22:15 ` [PR PATCH] [Updated] " eoli3n
2021-05-11 22:16 ` [PR REVIEW] " eoli3n
2021-05-11 22:16 ` ahesford
2021-05-11 22:18 ` ahesford
2021-05-11 22:20 ` [PR PATCH] [Updated] " eoli3n
2021-05-11 22:21 ` eoli3n
2021-05-11 22:23 ` eoli3n
2021-05-11 22:28 ` [PR PATCH] [Updated] " eoli3n
2021-05-11 23:48 ` ahesford
2021-05-11 23:55 ` ahesford
2021-05-12  7:43 ` [PR PATCH] [Updated] " eoli3n
2021-05-12  8:23 ` eoli3n
2021-05-12  8:24 ` eoli3n
2021-05-12 13:58 ` [PR PATCH] [Updated] " ahesford
2021-05-12 13:58 ` ahesford
2021-05-12 20:16 ` eoli3n
2021-05-24  2:30 ` ahesford
2021-05-24  9:03 ` eoli3n
2021-05-27  9:01 ` eoli3n
2021-05-31 20:27 ` ahesford
2021-05-31 22:19 ` eoli3n
2021-05-31 23:01 ` [PR PATCH] [Closed]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).