From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OSHE7-0000M0-Gr for garchives@archives.gentoo.org; Fri, 25 Jun 2010 22:18:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C116E0AF3; Fri, 25 Jun 2010 22:17:46 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 590AAE0AF3 for ; Fri, 25 Jun 2010 22:17:46 +0000 (UTC) Received: by wwb17 with SMTP id 17so1343327wwb.40 for ; Fri, 25 Jun 2010 15:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=FwXEVF0RO7Sbv0KHbc75UKaGCQfmcTCz00WrjbSIAhM=; b=M1sW4mkvUqMLme3MapErNiXTLTF1ZoeBy76fD55cWRbBpKL6pp3YvOn+vDmpmg574l 7hYKnhH3r5TTzWkch5FCthFCd4P1Fbf06wOfrtwOBsD7eo1ZQo2IbGtDV78gwW+YUdWT BeAVhd8N2Eh3bbuHK3HTIciHvlh176n5WO1ek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=Y7JHyk9K+/mf4ky9YEOc92LBpL49pTgFaVVkcDfiWg9fmVXHzrZqnpMU5oKGFZOiiF HnJA4G7rZZfn6+exwADHmKOZGyfKZl+Z0ip0ehBzUQF1QvVTubJAT2zuKrGtjd288ftc X4ezWe7zTJbKfWESHHLc2jpKponKQeqkfoh7Y= Received: by 10.227.146.200 with SMTP id i8mr1112407wbv.169.1277504265627; Fri, 25 Jun 2010 15:17:45 -0700 (PDT) Received: from nazgul.localnet (196-210-140-126.dynamic.isadsl.co.za [196.210.140.126]) by mx.google.com with ESMTPS id n61sm2866248wed.6.2010.06.25.15.17.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 25 Jun 2010 15:17:44 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] FYI: Rules for distro-friendly packages Date: Sat, 26 Jun 2010 00:14:30 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.34-ck-r1; KDE/4.4.4; x86_64; ; ) References: <20100625201738.GA4789@nibiru.local> <201006252357.54628.volkerarmin@googlemail.com> In-Reply-To: <201006252357.54628.volkerarmin@googlemail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006260014.30449.alan.mckinnon@gmail.com> X-Archives-Salt: d9590106-3795-4cf4-a581-2f36be800fb1 X-Archives-Hash: a48893b373e0ff555cdc97e0ca507dde On Friday 25 June 2010 23:57:54 Volker Armin Hemmann wrote: > On Freitag 25 Juni 2010, Enrico Weigelt wrote: > > Hi folks, > > > > > > I'm currently collecting a set of rules which upstream developers > > should follow to make distro maintainer's life easier. > > > > Comments welcomed :) > > > > > > cu > > no bundled libs. > > when you change the tarball fucking change the version number. I forgot that one. Sun are INFAMOUS for that with the jdk.. > and what Alan said. Some more: Don't depend on some arb version number of libs. Nothing worse than being forced to use some lib 4 versions behind current when current actually works just fine Test your code under realistic conditions. Unit tests exist for a reason, read 'em Read flameeyes's blog. You might not agree with everything he says, but consider it all carefully as a technical position. He makes good points. Don't try and re-invent the wheel with sucky roll-your-own build systems. auto* sucks, but by and large they suck less than anything you can come up with considering your more limited resources. No hardcoded locations. If I want to install to /opt/csw/package/, then I should be able to do it, it makes zero difference to upstream if I do The entire package under the same license if possible. This doesn't always work out - a GPL package may include someone else's BSD code who is not willing to re-license it. So be it. But please do make an effort to get everything under the same license, it makes decisions so much easier for your users to make. Maintain the README, NEWS, INSTALL, ChangeLog, etc. We users actually do read them, and up to date metadata gives us a warm fuzzy where we feel good about your code -- alan dot mckinnon at gmail dot com