X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 192051EBFF3 for ; Thu, 6 Jan 2011 17:26:28 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 0D06FAE4002; Thu, 6 Jan 2011 17:26:27 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0nWvZBOzQ1JY; Thu, 6 Jan 2011 17:26:26 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id E2F07AE4001; Thu, 6 Jan 2011 17:26:24 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 80DB2621BE0E1; Thu, 6 Jan 2011 17:26:23 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (unknown [10.65.65.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 20027621BE0E0; Thu, 6 Jan 2011 17:26:20 +0000 (UTC) Date: Thu, 6 Jan 2011 18:26:08 +0100 From: Natanael Copa To: Teran McKinney Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] JFS Utils APKBUILD Message-ID: <20110106182608.53fda243@ncopa-desktop.nor.wtbts.net> In-Reply-To: <20110105232039.11dcf60e@blackmesa> References: <20110105232039.11dcf60e@blackmesa> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel 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-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Wed, 5 Jan 2011 23:20:39 +0000 Teran McKinney wrote: > Hey everyone, > > I've been giving Alpine a try and have been really impressed so far. > However, I was disappointed by the lack of a jfsutils package. You are the first one to ask for it. > Because of that, built it and have a build script attached. Nice! This is the kind we like! > It's my first time building for Alpine, so there are probably a few > problems with it. You may also want to change the maintainer field to > one of you guys, as I'm not positive if I want to commit to being a > packager just yet. I'm also aware that the patch gives root@silentgnu > rather than my email. If this is important to change, let me know and > I'll fix it. Very good first APKBUILD. We always add first apkbuild to testing dir. Then we have the autobuilder build it, we download from http and does some basic testing to verify it still works, then we move it to 'main'. Nitpick: /home/ncopa/aports/.git/rebase-apply/patch:32: trailing whitespace. build () { warning: 1 line adds whitespace errors. and yes, I prefer not to have first time committers as maintainers. > Also, what is depends_dev for? How does it compare to makedepends? depends_dev is added to the -dev pacakges' runtime depends. example: pkgname=libfoo makedepends=libbar-dev subpackages="$pkgname-dev $pkgname-doc" now will libfoo-dev and libfoo-doc be built. Since libfoo is linked to libbar, libbar will be pulled in as a runtime depend for libfoo. Lets say that libfoo-dev has a /usr/lib/pkgconfig/libfoo.pc file which says: Requires: bar-2.0 Libs: -L${libdir} -lfoo -lbar It means that what ever that builds against libfoo-dev will also need libbar-dev. In fact any app that does pkg-config check on libfoo will also look for libbar and the configure script will fail. Even if there is no configure script it might fail on the linking stage due to -lbar. So, in order to pull in libbar-dev we need to add libbar-dev to libfoo-dev's runtime depends. This is what depends_dev does. > abuild -r wouldn't pull it in automatically. Maybe it should. depends_dev is a hack. You can do: depends_dev="libfoo-dev" makedepends="$depends_dev other-dev" (If you have time and energy, I would appreciate if you (or someone else) could include that in the wiki some place.) > Thanks, > Teran > > PS: Please CC me on replies as I'm not yet on this list. I always hit "reply-all" incase ppl are not on list. I applied it moved it to testing, changed you to Cotnributor and me as maintainer and fixed the whitespace damage. Could you please download it from edge/testing and give it a basic test run and let me know if it works? Then I'll move it back to main. Thanks! --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---