X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id F084ADC0D14 for ; Fri, 29 May 2015 04:58:43 +0000 (UTC) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id B5E66DC00AF for ; Fri, 29 May 2015 04:58:38 +0000 (UTC) Received: by pacux9 with SMTP id ux9so567922pac.3 for ; Thu, 28 May 2015 21:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=+qDEnovw5+ESTgp1BpPHHNcesTEJ+5FRdIqC+3Nx3cc=; b=sNbjtJI1LyUGAhVEHFVi7z9tzGF4xleYfv2yVyiZFXYhMxz/RTaLTSC0uhDBsfYM/Y Mz8FQXbxFhMWGXsxXSh6lIlfHdH9eUiZAB285BdSKfhJYt3+gaMV8IWYSWWLZyFhFQqm EoGkVq1PJSCX1kh5RlUFjvw6WunLs76riUOTQCoaJ8kGbfckTJhMjoyeUy648uVbS7Sk BoT43WUG9eLfnihLiO8WECmVuIXwfRJVdq9ofaEQUqgbr3fbM6Dj3hS3WtkJ2+oqUsHl U4o84BHB169mnuCBadpcDDI2UMgcK3hOGaJZIQXd5GXp9NDg6EE8NyNGxg4YtWBJ7idS miIQ== X-Received: by 10.68.206.7 with SMTP id lk7mr11630320pbc.52.1432875517567; Thu, 28 May 2015 21:58:37 -0700 (PDT) Received: from muslin ([50.0.225.244]) by mx.google.com with ESMTPSA id z12sm4057937pbt.29.2015.05.28.21.58.36 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 May 2015 21:58:37 -0700 (PDT) Date: Thu, 28 May 2015 21:58:44 -0700 From: Isaac Dunham To: Andrew Hills Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] testing/tigervnc-client: new aport Message-ID: <20150529045844.GA543@muslin> References: <1432873473-24671-1-git-send-email-ahills@ednos.net> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1432873473-24671-1-git-send-email-ahills@ednos.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: ClamAV using ClamSMTP On Fri, May 29, 2015 at 12:24:33AM -0400, Andrew Hills wrote: > http://tigervnc.org/ > A high-performance, platform-neutral VNC client" > > Note: TigerVNC also provides a server, but building it is more > effort than it is worth. It's recommended to install a different > VNC server; this builds only vncviewer. > --- > testing/tigervnc-client/APKBUILD | 43 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 testing/tigervnc-client/APKBUILD > > diff --git a/testing/tigervnc-client/APKBUILD b/testing/tigervnc-client/APKBUILD > new file mode 100644 > index 0000000..7f84cdc > --- /dev/null > +++ b/testing/tigervnc-client/APKBUILD > @@ -0,0 +1,43 @@ > +# Contributor: Andrew Hills > +# Maintainer: Andrew Hills > +_basepkg=tigervnc > +pkgname=$_basepkg-client > +pkgver=1.4.3 > +pkgrel=0 > +pkgdesc="A high-performance, platform-neutral VNC client" > +url="http://tigervnc.org/" > +arch="all" > +license="GPL2" > +depends="libjpeg-turbo libx11 fltk zlib libxext libxtst libxdamage gcc" This is wrong. All library dependencies should be picked up automatically. (Also, "gcc" isn't the gcc libraries, but the compiler.) > +depends_dev="" > +makedepends="$depends_dev cmake zlib-dev libjpeg-turbo-dev libx11-dev fltk-dev libxext-dev libxtst-dev libxdamage-dev" > +install="" > +subpackages="$pkgname-doc" > +source="saveas-https://github.com/TigerVNC/tigervnc/archive/v$pkgver.tar.gz/$_basepkg-$pkgver.tar.gz" > + > +_builddir="$srcdir/$_basepkg-$pkgver" > +build() { > + cd "$_builddir" > + mkdir build && cd build || return 1 > + cmake -G "Unix Makefiles" -Wno-dev \ > + -DCMAKE_INSTALL_PREFIX=/usr \ > + -DENABLE_GNUTLS=OFF \ > + -DENABLE_NLS=OFF \ > + -DENABLE_PAM=OFF \ > + .. || return 1 > + make This will work for native builds, but seems incomplete. > +} > + > +package() { > + cd "$_builddir"/build > + make DESTDIR="$pkgdir" install || exit 1 > + # Apparently, these can't be disabled via cmake > + for superfluous in x0vncserver vncserver vncconfig vncpasswd; do > + rm "$pkgdir"/usr/share/man/man1/$superfluous.1 \ > + "$pkgdir"/usr/bin/$superfluous > + done > +} > + > +md5sums="2177ee42fa1a3902b6feeaa7747f1c2a tigervnc-1.4.3.tar.gz" > +sha256sums="0b2603db2b32dfd6e48f6f59618bd9819d187bfbb0c16218637d074a69756824 tigervnc-1.4.3.tar.gz" > +sha512sums="4c740211de5a93470019350ad4b233ed0e9d2464fda8eb6ec0206c01deb6cd8e8df0e9f792ce00c9e7553a39cbe40cb80b7c74dd5469ae4ced79d33046f76b95 tigervnc-1.4.3.tar.gz" > -- > 2.4.2 > > > > --- > Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org > Help: alpine-aports+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---