X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by lists.alpinelinux.org (Postfix) with ESMTP id 6C75E170000BA for ; Mon, 23 Feb 2009 13:05:49 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so1794819fgg.25 for ; Mon, 23 Feb 2009 05:05:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=o/1WF6nR3yVz5XEf5vYnEqNEkx/43rI4vRs6cbUT2xY=; b=L168/pR5xzHcVJTPAeMYfQrApCswLi45jmlmxG9OCPAzXDekuGx0SM0+8cKvrdZNjn suyUJ2IsNKhqdhOBxjCtz2/u/raacqORT90nlDPvD+Sn2GouR6KYJk8kkKrQtpuLp+y8 5KwjbI4vQYOT4O4Y/0oQgkxNIkwg6SSpiHiAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=Q2FeRl4IIfQ4P2MdXHC0/i2Hrv+/1UiSv8yIVoHE/79wKeJVqCilciWXOlZ18xEKem HZ/VfNi7mcyYt9CsuU6V8479wLi14tfvYhZUokcah2NCfJL3UIjAScPREJ1Q4hlgyFD9 QdJK5RpkMI+A4P34rG/L4FrE6lAsEYE1ITxvU= Received: by 10.86.94.11 with SMTP id r11mr2878041fgb.11.1235394347719; Mon, 23 Feb 2009 05:05:47 -0800 (PST) Received: from ?10.65.65.1? (149-182-13.oke2-bras2.adsl.tele2.no [90.149.182.13]) by mx.google.com with ESMTPS id l19sm6427673fgb.37.2009.02.23.05.05.45 (version=SSLv3 cipher=RC4-MD5); Mon, 23 Feb 2009 05:05:46 -0800 (PST) Subject: Re: [alpine-devel] testing/libtiff From: Natanael Copa To: Michael Mason Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: References: Content-Type: text/plain Date: Mon, 23 Feb 2009 14:05:44 +0100 Message-Id: <1235394344.992.53.camel@nc> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 Content-Transfer-Encoding: 7bit On Fri, 2009-02-20 at 21:51 +0000, Michael Mason wrote: > Please add. > Trying to get hylafax and iaxmodem working. They need this. cool! the install file was missing so I cannot commit. Care to send a new/aditional patch? that corrects? Please see comments below. > > > > > > > differences > between files > attachment > (0001-libtiff-for-alpine-linux.patch) > > From 3c77756598d2603e37a391b93b8705db598b8751 Mon Sep 17 00:00:00 2001 > From: ms13sp > Date: Fri, 20 Feb 2009 19:41:29 +0000 > Subject: [PATCH] libtiff for alpine linux > > --- > testing/libtiff/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ > 1 files changed, 36 insertions(+), 0 deletions(-) > create mode 100644 testing/libtiff/APKBUILD > > diff --git a/testing/libtiff/APKBUILD b/testing/libtiff/APKBUILD > new file mode 100644 > index 0000000..44776e8 > --- /dev/null > +++ b/testing/libtiff/APKBUILD > @@ -0,0 +1,36 @@ > +# Contributor: Ms13sp > +# Maintainer: Ms13sp > +pkgname=libtiff > +pkgshort=tiff generally, I try to use the same package name as the source package. I think this pkgname should be "tiff". I checked up what gentoo did. They call it "tiff". > +pkgver=3.8.2 > +pkgrel=0 > +pkgdesc="Provides support for the Tag Image File Format or TIFF" > +url="http://www.libtiff.org/" > +license="GPL" > +depends="" > +makedepends="uclibc++-dev" if you need uclibc++-dev you almost always need to add uclibc++ to depends as well. run 'scanelf -Rn pkg' and see if any files are linked against uclibc++ and add uclibc++ to depends. That said, gentoo have a useflag for nocxx so I think you can disable the c++ stuff. Probably with ./configure --disable-cxx or similar. I suggest that you disable c++ libs unless you really need them. > +install="libtiff.install" this file is needed to build the package but was exculded from the patch. I cannot commit as it would break the building. > +subpackages="$pkgname-doc $pkgname-dev" > +source="ftp://ftp.remotesensing.org/pub/$pkgname/$pkgshort-$pkgver.tar.gz > + $install > + " > + > +build() { > + cd "$srcdir/$pkgshort-$pkgver" > + > + export CXX="g++-uc" This is the "correct" way to get your stuff linked to uclibc++ rather than gnu g++. Very well. > + ./configure --prefix=/usr \ > + --sysconfdir=/etc \ > + --mandir=/usr/share/man \ > + --infodir=/usr/share/info As mentioned above, check if you can add --disable-cxx or similar here. > + make || return 1 > + make DESTDIR="$pkgdir" install > + > + # install -m755 -D "$srcdir"/$pkgname.initd > "$pkgdir"/etc/init.d/$pkgname > + # install -m644 -D "$srcdir"/$pkgname.confd > "$pkgdir"/etc/conf.d/$pkgname dead code. they only waste space ;) > +} > + > +md5sums="fbb6f446ea4ed18955e2714934e5b698 tiff-3.8.2.tar.gz > +b730b3d200f52027868378ad5ee0226b libtiff.install" > -- > 1.6.1.3 Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---