[arch-commits] Commit in nx/repos/testing-x86_64 (PKGBUILD PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Thu Apr 25 06:44:58 UTC 2019


    Date: Thursday, April 25, 2019 @ 06:44:57
  Author: andyrtr
Revision: 352110

archrelease: copy trunk to testing-x86_64

Added:
  nx/repos/testing-x86_64/PKGBUILD
    (from rev 352109, nx/trunk/PKGBUILD)
Deleted:
  nx/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  263 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 133 insertions(+), 130 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-25 06:44:45 UTC (rev 352109)
+++ PKGBUILD	2019-04-25 06:44:57 UTC (rev 352110)
@@ -1,130 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgbase=nx
-pkgname=('libxcomp' 'nxproxy' 'nx-x11' 'nxagent' 'nx-headers')
-pkgver=3.5.99.20
-pkgrel=1
-arch=('x86_64')
-url="https://arctica-project.org"
-license=('GPL')
-# https://github.com/ArcticaProject/nx-libs/blob/3.6.x/nx-libs.spec
-makedepends=(# runtime dependencies from subpackages
-             'libjpeg-turbo' 'libpng' 'gcc-libs'
-             'libxml2' 'xkeyboard-config' 'xorg-xkbcomp'
-             'xorg-xkbcomp' 'libxfont2' 'libxinerama'
-             'xorg-font-util'  'pixman'
-             'libxrandr' 'libxtst' 'libxcomposite' 'libxpm' 'libxdamage'
-             # make dependencies
-             'xorgproto' 'imake'
-)
-source=(https://github.com/ArcticaProject/nx-libs/archive/$pkgver/nx-libs-$pkgver.tar.gz)
-sha256sums=('32964e2fe511a410924d4d5821a0e95bc7326ff303c28d817e6fcf9bff19a42d')
-validpgpkeys=('1AD23D1B8F087A35AB74BDE9F4A7678C9C6B0B2B' # X2go Git Administrator <git-admin at x2go.org>
-              '9BFBAEE86C0AA5FFBF2207829AF46B3025771B31') # Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
-
-build() {
-  cd "${srcdir}/nx-libs-$pkgver"
-  
-  # let makepkg zip the man files
-  sed -i "s:gzip:#gzip:g" Makefile
-
-  make \
-    PREFIX=/usr \
-    CONFIGURE="./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --includedir=/usr/include" \
-    IMAKE_DEFINES="-DUseTIRPC=YES"
-    
-  # fake install
-  mkdir $srcdir/fakeinstall
-  make install \
-       PREFIX=/usr \
-       DESTDIR="$srcdir/fakeinstall" \
-       LIBDIR=/usr/lib \
-       SHLIBDIR=/usr/lib \
-       INSTALL_DIR="install -dm0755" \
-       INSTALL_FILE="install -pm0644" \
-       INSTALL_PROGRAM="install -pm0755"
-}
-
-package_libxcomp() {
-  
-  pkgdesc="NX X compression library"
-  depends=('libjpeg-turbo' 'libpng' 'gcc-libs')
-	
-  install -dm755 ${pkgdir}/usr/lib
-  cp -a ${srcdir}/fakeinstall/usr/lib/libXcomp.so* ${pkgdir}/usr/lib
-}
-
-package_nxproxy() {
-
-  pkgdesc="NX proxy"
-  depends=('libxcomp' )
-  
-  install -dm755 ${pkgdir}/usr/{bin,share/man/man1}
-  cp -a ${srcdir}/fakeinstall/usr/share/man/man1/nxproxy.1 ${pkgdir}/usr/share/man/man1
-  # the wrapper
-  cp -a ${srcdir}/fakeinstall/usr/bin/nxproxy ${pkgdir}/usr/bin
-}
-
-package_nx-x11() {
- 
-  pkgdesc="NX-X11 lib for the NX framework"
-  depends=('libxcomp')
-	
-  install -dm755 ${pkgdir}/usr/{lib/nx/X11,share/nx}
-  cp -aR ${srcdir}/fakeinstall/usr/lib/nx/X11/* ${pkgdir}/usr/lib/nx/X11
-  cp -aR ${srcdir}/fakeinstall/usr/lib/libNX* ${pkgdir}/usr/lib
-  
-  # fonts symlink
-  ln -vsf /usr/share/fonts ${pkgdir}/usr/share/nx/fonts
-}
-
-package_nxagent() {
-  
-  pkgdesc="NX X server based on Xnest"
-  backup=(etc/nxagent/keystrokes.cfg)
-  depends=('nx-x11' 'libxcomp' 'libxml2' 'xkeyboard-config' 'xorg-xkbcomp'
-           'xorg-xkbcomp' 'libxfont2' 'libxinerama'
-           'xorg-font-util'  'libxfont2' 'libxinerama' 'pixman'
-           'libxrandr' 'libxtst' 'libxcomposite' 'libxpm' 'libxdamage')
-  conflicts=('nx-xcompext')
-	
-  install -dm755 ${pkgdir}/usr/{bin,lib/nx/bin,share/nx,share/man/man1,share/pixmaps}
-  cp -a ${srcdir}/fakeinstall/usr/lib/nx/bin/nxagent ${pkgdir}/usr/lib/nx/bin
-  cp -a ${srcdir}/fakeinstall/usr/share/man/man1/nxagent.1 ${pkgdir}/usr/share/man/man1
-  cp -a ${srcdir}/fakeinstall/usr/share/pixmaps/nxagent.xpm ${pkgdir}/usr/share/pixmaps
-
-  # the wrapper
-  cp -a ${srcdir}/fakeinstall/usr/bin/nxagent ${pkgdir}/usr/bin
-  
-  # additional files for documentation
-  cp -a ${srcdir}/fakeinstall/usr/share/nx/SecurityPolicy ${pkgdir}/usr/share/nx
-  
-  cp -a ${srcdir}/fakeinstall/usr/lib/libXcompshad.so* ${pkgdir}/usr/lib
-  
-  # Needed for nxagent to find the keymap directory
-  install -dm755 ${pkgdir}/usr/lib/X11/xkb
-  touch ${pkgdir}/usr/lib/X11/xkb/keymap.dir
-  
-  install -dm755 ${pkgdir}/etc/nxagent
-  cp -a ${srcdir}/fakeinstall/etc/nxagent/keystrokes.cfg ${pkgdir}/etc/nxagent
-
-  # add symlinks required for proper Xinerama support # FS#41037
-  install -dm755 ${pkgdir}/usr/lib/nx/X11/Xinerama
-  cd ${pkgdir}/usr/lib/nx/X11/Xinerama
-  ln -sv /usr/lib/libX11.so.6 libNX_X11.so.6
-  ln -sv /usr/lib/libXext.so.6 libNX_Xext.so.6
-  ln -sv /usr/lib/libNX_Xinerama.so.1 libNX_Xinerama.so.1
-}
-
-package_nx-headers() {
-
-  pkgdesc="NX headers"
-  
-  install -dm755 ${pkgdir}/usr/include
-  cp -aR ${srcdir}/fakeinstall/usr/include/* ${pkgdir}/usr/include
-
-  # drop unneeded headers
-  rm -rf ${pkgdir}/usr/include/GL
-  rm -rf ${pkgdir}/usr/include/nx-X11/{extensions/XK*.h,nx-X11/extensions/*Xv*.h,nx-X11/Xtrans}
-}
-

Copied: nx/repos/testing-x86_64/PKGBUILD (from rev 352109, nx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-25 06:44:57 UTC (rev 352110)
@@ -0,0 +1,133 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgbase=nx
+pkgname=('libxcomp' 'nxproxy' 'nx-x11' 'nxagent' 'nx-headers')
+pkgver=3.5.99.20
+pkgrel=2
+arch=('x86_64')
+#url="https://arctica-project.org"
+url="https://wiki.x2go.org/doku.php"
+license=('GPL')
+# https://github.com/ArcticaProject/nx-libs/blob/3.6.x/nx-libs.spec
+makedepends=(# runtime dependencies from subpackages
+             'libjpeg-turbo' 'libpng' 'gcc-libs'
+             'libxml2' 'xkeyboard-config' 'xorg-xkbcomp'
+             'xorg-xkbcomp' 'libxfont2' 'libxinerama'
+             'xorg-font-util'  'pixman'
+             'libxrandr' 'libxtst' 'libxcomposite' 'libxpm' 'libxdamage'
+             # make dependencies
+             'xorgproto' 'imake'
+)
+#source=(https://github.com/ArcticaProject/nx-libs/archive/$pkgver/nx-libs-$pkgver.tar.gz)
+source=(https://code.x2go.org/releases/source/nx-libs/nx-libs-$pkgver-1-full.tar.gz{,.asc})
+sha256sums=('d7b7aeb1ea93eef753a0bbe72e5c9501156ca067ca86af8dbbc4a2ce28f7e7cf'
+            'SKIP')
+validpgpkeys=('1AD23D1B8F087A35AB74BDE9F4A7678C9C6B0B2B' # X2go Git Administrator <git-admin at x2go.org>
+              '9BFBAEE86C0AA5FFBF2207829AF46B3025771B31') # Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+
+build() {
+  cd "${srcdir}/nx-libs-$pkgver-1"
+  
+  # let makepkg zip the man files
+  sed -i "s:gzip:#gzip:g" Makefile
+
+  make \
+    PREFIX=/usr \
+    CONFIGURE="./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --includedir=/usr/include" \
+    IMAKE_DEFINES="-DUseTIRPC=YES"
+    
+  # fake install
+  mkdir $srcdir/fakeinstall
+  make install \
+       PREFIX=/usr \
+       DESTDIR="$srcdir/fakeinstall" \
+       LIBDIR=/usr/lib \
+       SHLIBDIR=/usr/lib \
+       INSTALL_DIR="install -dm0755" \
+       INSTALL_FILE="install -pm0644" \
+       INSTALL_PROGRAM="install -pm0755"
+}
+
+package_libxcomp() {
+  
+  pkgdesc="NX X compression library"
+  depends=('libjpeg-turbo' 'libpng' 'gcc-libs')
+	
+  install -dm755 ${pkgdir}/usr/lib
+  cp -a ${srcdir}/fakeinstall/usr/lib/libXcomp.so* ${pkgdir}/usr/lib
+}
+
+package_nxproxy() {
+
+  pkgdesc="NX proxy"
+  depends=('libxcomp' )
+  
+  install -dm755 ${pkgdir}/usr/{bin,share/man/man1}
+  cp -a ${srcdir}/fakeinstall/usr/share/man/man1/nxproxy.1 ${pkgdir}/usr/share/man/man1
+  # the wrapper
+  cp -a ${srcdir}/fakeinstall/usr/bin/nxproxy ${pkgdir}/usr/bin
+}
+
+package_nx-x11() {
+ 
+  pkgdesc="NX-X11 lib for the NX framework"
+  depends=('libxcomp')
+	
+  install -dm755 ${pkgdir}/usr/{lib/nx/X11,share/nx}
+  cp -aR ${srcdir}/fakeinstall/usr/lib/nx/X11/* ${pkgdir}/usr/lib/nx/X11
+  cp -aR ${srcdir}/fakeinstall/usr/lib/libNX* ${pkgdir}/usr/lib
+  
+  # fonts symlink
+  ln -vsf /usr/share/fonts ${pkgdir}/usr/share/nx/fonts
+}
+
+package_nxagent() {
+  
+  pkgdesc="NX X server based on Xnest"
+  backup=(etc/nxagent/keystrokes.cfg)
+  depends=('nx-x11' 'libxcomp' 'libxml2' 'xkeyboard-config' 'xorg-xkbcomp'
+           'xorg-xkbcomp' 'libxfont2' 'libxinerama'
+           'xorg-font-util'  'libxfont2' 'libxinerama' 'pixman'
+           'libxrandr' 'libxtst' 'libxcomposite' 'libxpm' 'libxdamage')
+  conflicts=('nx-xcompext')
+	
+  install -dm755 ${pkgdir}/usr/{bin,lib/nx/bin,share/nx,share/man/man1,share/pixmaps}
+  cp -a ${srcdir}/fakeinstall/usr/lib/nx/bin/nxagent ${pkgdir}/usr/lib/nx/bin
+  cp -a ${srcdir}/fakeinstall/usr/share/man/man1/nxagent.1 ${pkgdir}/usr/share/man/man1
+  cp -a ${srcdir}/fakeinstall/usr/share/pixmaps/nxagent.xpm ${pkgdir}/usr/share/pixmaps
+
+  # the wrapper
+  cp -a ${srcdir}/fakeinstall/usr/bin/nxagent ${pkgdir}/usr/bin
+  
+  # additional files for documentation
+  cp -a ${srcdir}/fakeinstall/usr/share/nx/SecurityPolicy ${pkgdir}/usr/share/nx
+  
+  cp -a ${srcdir}/fakeinstall/usr/lib/libXcompshad.so* ${pkgdir}/usr/lib
+  
+  # Needed for nxagent to find the keymap directory
+  install -dm755 ${pkgdir}/usr/lib/X11/xkb
+  touch ${pkgdir}/usr/lib/X11/xkb/keymap.dir
+  
+  install -dm755 ${pkgdir}/etc/nxagent
+  cp -a ${srcdir}/fakeinstall/etc/nxagent/keystrokes.cfg ${pkgdir}/etc/nxagent
+
+  # add symlinks required for proper Xinerama support # FS#41037
+  install -dm755 ${pkgdir}/usr/lib/nx/X11/Xinerama
+  cd ${pkgdir}/usr/lib/nx/X11/Xinerama
+  ln -sv /usr/lib/libX11.so.6 libNX_X11.so.6
+  ln -sv /usr/lib/libXext.so.6 libNX_Xext.so.6
+  ln -sv /usr/lib/libNX_Xinerama.so.1 libNX_Xinerama.so.1
+}
+
+package_nx-headers() {
+
+  pkgdesc="NX headers"
+  
+  install -dm755 ${pkgdir}/usr/include
+  cp -aR ${srcdir}/fakeinstall/usr/include/* ${pkgdir}/usr/include
+
+  # drop unneeded headers
+  rm -rf ${pkgdir}/usr/include/GL
+  rm -rf ${pkgdir}/usr/include/nx-X11/{extensions/XK*.h,nx-X11/extensions/*Xv*.h,nx-X11/Xtrans}
+}
+


More information about the arch-commits mailing list