public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] merging two packages - upgrade path?
@ 2008-06-05 10:06 Matthias Schwarzott
  2008-06-05 10:41 ` Ulrich Mueller
  2008-06-09 20:40 ` Enrico Weigelt
  0 siblings, 2 replies; 11+ messages in thread
From: Matthias Schwarzott @ 2008-06-05 10:06 UTC (permalink / raw
  To: gentoo-dev

Hi there!

This post is about how to create a nice upgrade path when merging two 
packages.
The packages I care about are media-plugins/vdr-streamdev-{client,server}, 
that we wanted to merge into one media-plugins/vdr-streamdev package.


So there seem to be different options:

1. Just create the new packages and do blocks between split and merged 
versions.

vdr-streamdev-client: DEPEND="!media-plugins/vdr-streamdev"
vdr-streamdev-server: DEPEND="!media-plugins/vdr-streamdev"

vdr-streamdev:
DEPEND="!media-plugins/vdr-streamdev-client
		!media-plugins/vdr-streamdev-server"


2. Same as 1, but create dummy ebuilds vdr-streamdev-client-100 and 
vdr-streamdev-server-100:

vdr-streamdev-server-100:
pkg_setup() {
	eerror "Please unmerge vdr-streamdev-server and emerge vdr-streamdev"
	die
}


3. Let the dummy ebuilds RDEPEND/PDEPEND on the merged version.


I think #1 is the default used in the tree. So is there already some better 
way to do it?
#3 offers the easiest upgrade path but keeps useless dummy ebuilds on the 
system.

Regards
Matthias
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-06-09 21:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 10:06 [gentoo-dev] merging two packages - upgrade path? Matthias Schwarzott
2008-06-05 10:41 ` Ulrich Mueller
2008-06-05 11:02   ` Arun Raghavan
2008-06-05 11:13   ` Matthias Schwarzott
2008-06-05 11:36     ` Rémi Cardona
2008-06-07 11:40       ` Matthias Schwarzott
2008-06-05 11:44     ` Ulrich Mueller
2008-06-05 13:02       ` Marius Mauch
2008-06-09 20:40 ` Enrico Weigelt
2008-06-09 20:51   ` Matthias Schwarzott
2008-06-09 21:22     ` Enrico Weigelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox