Re: multi-distro support

2011-01-17 Thread Benjamin Drung
Am Montag, den 17.01.2011, 16:07 +0100 schrieb IOhannes m zmoelnig:
 otoh, i think it would be nice to be able to handle such things in a
 centralized repository (like pkg-multimedia), in order to keep duplicate
 afforts at a minimum.

You can use a separate git branches for the every distribution. git will
help you with merges. That's what we do if we have to keep changes for
Ubuntu (for example, add lame to the build dependencies).

-- 
Benjamin Drung
Debian  Ubuntu Developer


signature.asc
Description: This is a digitally signed message part
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Re: multi-distro support

2011-01-17 Thread Alessio Treglia
Take a look at these, you may find them very useful:

http://raphaelhertzog.com/2010/09/27/different-dependencies-between-debian-and-ubuntu-but-common-source-package/
http://raphaelhertzog.com/2010/11/05/managing-distribution-specific-patches-with-a-common-source-package/


-- 
Alessio Treglia          | www.alessiotreglia.com
Debian Developer         | ales...@debian.org
Ubuntu Core Developer    | quadris...@ubuntu.com
0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Re: multi-distro support

2011-01-17 Thread Benjamin Drung
Am Montag, den 17.01.2011, 16:28 +0100 schrieb Alessio Treglia:
 Take a look at these, you may find them very useful:
 
 http://raphaelhertzog.com/2010/09/27/different-dependencies-between-debian-and-ubuntu-but-common-source-package/
 http://raphaelhertzog.com/2010/11/05/managing-distribution-specific-patches-with-a-common-source-package/

This doesn't work for Build-Depends.

-- 
Benjamin Drung
Debian  Ubuntu Developer


signature.asc
Description: This is a digitally signed message part
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Re: multi-distro support

2011-01-17 Thread Alessio Treglia
On Mon, Jan 17, 2011 at 5:26 PM, Benjamin Drung bdr...@ubuntu.com wrote:
 This doesn't work for Build-Depends.

Correct, one needs to adjust build-dependencies by hand so in that
case the only way is introducing a delta.

-- 
Alessio Treglia          | www.alessiotreglia.com
Debian Developer         | ales...@debian.org
Ubuntu Core Developer    | quadris...@ubuntu.com
0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Re: multi-distro support

2011-01-17 Thread Jonas Smedegaard

On Mon, Jan 17, 2011 at 05:26:42PM +0100, Benjamin Drung wrote:

Am Montag, den 17.01.2011, 16:28 +0100 schrieb Alessio Treglia:

Take a look at these, you may find them very useful:

http://raphaelhertzog.com/2010/09/27/different-dependencies-between-debian-and-ubuntu-but-common-source-package/
http://raphaelhertzog.com/2010/11/05/managing-distribution-specific-patches-with-a-common-source-package/


This doesn't work for Build-Depends.


Use CDBS and resolve DEB_BUILD_DEPENDS conditional to vendor.

It is a policy violation in Debian to resolve build-dependencies during 
build, so above is only updated when DEB_MAINTAINER_MODE=1.



 - Jonas

--
 * Jonas Smedegaard - idealist  Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: Digital signature
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers