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 02B9DDC6855 for ; Mon, 10 Aug 2015 13:59:18 +0000 (UTC) Received: from lithium.8pit.net (lithium.8pit.net [141.101.32.65]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 7B674DC0BD8 for ; Mon, 10 Aug 2015 13:59:17 +0000 (UTC) Received: from localhost (ip5f5ac946.dynamic.kabel-deutschland.de [95.90.201.70]); by lithium.8pit.net (OpenSMTPD) with ESMTPSA id ae79b2d4; TLS version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; for ; Mon, 10 Aug 2015 15:59:15 +0200 (CEST) Date: Mon, 10 Aug 2015 15:59:12 +0200 From: =?iso-8859-1?Q?S=F6ren?= Tempel To: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] main/fish: upgrade to 2.2.0 Message-ID: <20150810135912.GA22595@francium.lan> References: <1439213303-30671-1-git-send-email-soeren+git@soeren-tempel.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="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <1439213303-30671-1-git-send-email-soeren+git@soeren-tempel.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: ClamAV using ClamSMTP This is kind of obsolete now because fish was already upgraded in main, the only difference in this diff is that bindir was changed to /bin. If this is not desired than this patch can be rejected now. On 10.08.15, S=F6ren Tempel wrote: > Also change the bindir to /bin and add /bin/fish to /etc/shells. > --- > main/fish/APKBUILD | 34 ++++++++++++++++++-----------= ----- > main/fish/fish.post-install | 3 +++ > main/fish/fish.post-upgrade | 1 + > main/fish/fish.pre-deinstall | 3 +++ > main/fish/include-select-header.patch | 10 ++++++++++ > 5 files changed, 35 insertions(+), 16 deletions(-) > create mode 100644 main/fish/fish.post-install > create mode 120000 main/fish/fish.post-upgrade > create mode 100644 main/fish/fish.pre-deinstall > create mode 100644 main/fish/include-select-header.patch >=20 > diff --git a/main/fish/APKBUILD b/main/fish/APKBUILD > index 4d44133..1c4a792 100644 > --- a/main/fish/APKBUILD > +++ b/main/fish/APKBUILD > @@ -1,30 +1,29 @@ > # Contributor: William Pitcock > # Maintainer: William Pitcock > pkgname=3Dfish > -pkgver=3D2.1.2 > -pkgrel=3D1 > +pkgver=3D2.2.0 > +pkgrel=3D0 > pkgdesc=3D"a modern interactive commandline shell" > url=3D"http://www.fishshell.com/" > arch=3D"all" > - > -# guessed from fish/fish.cpp *gag* > -license=3D"GPL" > - > +license=3D"GPL2" > depends=3D"" > depends_dev=3D"ncurses-dev" > -makedepends=3D"$depends_dev autoconf automake libtool" > -install=3D"" > +makedepends=3D"$depends_dev autoconf automake libtool doxygen" > +install=3D"$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-dein= stall" > subpackages=3D"$pkgname-doc" > source=3D"http://fishshell.com/files/$pkgver/fish-$pkgver.tar.gz > - fish-safe-strerror.patch" > + include-select-header.patch > + fish-safe-strerror.patch" > =20 > _builddir=3D"$srcdir"/fish-$pkgver > prepare() { > - local i > cd "$_builddir" > + > + local i=3D > for i in $source; do > case $i in > - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; > + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1 ;; > esac > done > =20 > @@ -33,9 +32,9 @@ prepare() { > =20 > build() { > cd "$_builddir" > - > ./configure --prefix=3D/usr \ > - --sysconfdir=3D/etc || return 1 > + --sysconfdir=3D/etc \ > + --bindir=3D/bin || return 1 > make || return 1 > } > =20 > @@ -44,9 +43,12 @@ package() { > make install DESTDIR=3D"$pkgdir" || return 1 > } > =20 > -md5sums=3D"9cc73b46040174a1643d59d49ad28a48 fish-2.1.2.tar.gz > +md5sums=3D"f6c3d940148593ff6648adb07986cbcb fish-2.2.0.tar.gz > +9f34cc8d83592ebf75242bd3f695dedb include-select-header.patch > 50547af78aef0c4d45904e79cd637e0e fish-safe-strerror.patch" > -sha256sums=3D"c6c20d5ca3a2a0168461de8abfe85f9e6b255132698ea0109998d4ab68= f9f6dd fish-2.1.2.tar.gz > +sha256sums=3D"a76339fd14ce2ec229283c53e805faac48c3e99d9e3ede9d82c0554acf= c7b77a fish-2.2.0.tar.gz > +3a6b68370b936726036da6804e82ee4831fec1463ac9832c83f917b02e77e8aa includ= e-select-header.patch > dd13865f8b45ea616cb37678268ecee65ce4539575ee98ab503633c7b2145edd fish-s= afe-strerror.patch" > -sha512sums=3D"4f8f0133094d4d2295546a5b96e044646de2266364610368210b0db529= b2d865c1b389f01f311b9b6d6d6dcd2a29040b7a9499d491605ae52a765a76d83db2a5 fis= h-2.1.2.tar.gz > +sha512sums=3D"210047f56b105a3d372f03d3a2de41661ed18001e3c8fa053ae4aa4308= 9118d4467837ea022bc44f9877ecc3d0563b365f97920c002faccebaa663c4f079e9e0 fis= h-2.2.0.tar.gz > +c7d4e43d0e8cf1fe4f1fc8d4aac995860520ec80c8bb397fed84739817b1b01830ecbf2d= 761db2cd95d0aa5fa959d54165413d7d9cd4b814791cf895086e417e include-select-he= ader.patch > f23d3b3db8fd9ac28f04a638478183abdebcf0dfbf50989625897741ebd19a771d6cd2ba= eae08b6c5887013fdba84118b2429b17cf541260ab894f173c81db17 fish-safe-strerro= r.patch" > diff --git a/main/fish/fish.post-install b/main/fish/fish.post-install > new file mode 100644 > index 0000000..43608db > --- /dev/null > +++ b/main/fish/fish.post-install > @@ -0,0 +1,3 @@ > +#!/bin/sh > +add-shell '/bin/fish' > +exit 0 > diff --git a/main/fish/fish.post-upgrade b/main/fish/fish.post-upgrade > new file mode 120000 > index 0000000..7fa98c8 > --- /dev/null > +++ b/main/fish/fish.post-upgrade > @@ -0,0 +1 @@ > +fish.post-install > \ No newline at end of file > diff --git a/main/fish/fish.pre-deinstall b/main/fish/fish.pre-deinstall > new file mode 100644 > index 0000000..0761690 > --- /dev/null > +++ b/main/fish/fish.pre-deinstall > @@ -0,0 +1,3 @@ > +#!/bin/sh > +remove-shell '/bin/fish' > +exit 0 > diff --git a/main/fish/include-select-header.patch b/main/fish/include-se= lect-header.patch > new file mode 100644 > index 0000000..267efb0 > --- /dev/null > +++ b/main/fish/include-select-header.patch > @@ -0,0 +1,10 @@ > +--- fish-2.2.0.orig/iothread.cpp > ++++ fish-2.2.0/iothread.cpp > +@@ -11,6 +11,7 @@ > + #include > + #include > + #include > ++#include > +=20 > + #ifdef _POSIX_THREAD_THREADS_MAX > + #if _POSIX_THREAD_THREADS_MAX < 64 > --=20 > 2.5.0 >=20 >=20 >=20 > --- > Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org > Help: alpine-aports+help@lists.alpinelinux.org > --- >=20 S=F6ren. --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---