Hi Max,

I've been trying to contact Matt for awhile now, I actually updated the package to the latest version and committed to unstable. I'd also like to move it to stable for GNOME. Should we make these changes first?

Keith Conger
KeithConger AT earthlink DOT net
http://PimpStation.org

On Mar 7, 2004, at 9:24 AM, Max Horn wrote:

[I am CC'ing this to fink-devel so that other people get a chance to point out potential problems with this]

Hi Matt,


I was wondering if you think it's possible to rename mpeg2dec (partially) to libmpeg2. Lemme first explain the why, and then the how (as I imagine it) :-)


Why
---
* The project is called libmpeg2.
* Their central product is libmpeg2, mpeg2dec is "just" a decoder built on this and provided as a bonus.
* Debian calls it that way, too
* When stuff is based on libmpeg2, then their websites/docs will tell the user to install "libmpeg2" to get mpeg2 support; it's pretty tough for the user to find out that in order to get libmpeg2, they have to install mpeg2dec-dev and mpeg2dec-shlibs ...
* Doing a rename now would still be relatively easy, since little depends on it. The longer one waits, the more troublesome it becomes.


How
---
A simple way would be to just change the -dev and -shlibs splitoff to provide libmpeg2(-dev) and libmpeg2-shlibs. But that doesn't scale to well, should we require versioning the lib in the future.
Rather, I'd consider really renaming the package, or at least the splitoffs; that is, you could still call the main pkg mpeg2dec, but just rename the splitoffs.


Of course, that has to be done properly in order to avoid transition problem. First off, the only package which depends on mpeg2dec is gst-plugins. Changing that to depend on "mpeg2dec | libmpegs2" etc. would be a trivial thing.

Then, the new libmpeg2(-dev)/libmpeg2-shlibs would replace (and possibly conflict, needs testing) the old mpeg2dec-dev/mpeg2-shlibs splitoffs.

The main potential update problem I see are people who installed mpeg2dec & mpeg2dec-shlibs. When such a user then tries to do a "fink install libmpeg2", that would fail due to package conflicts (unless some nice improvements took place while I was gone :-). But getting an update of "mpeg2dec" or an update-all working could be done by changing the dependencies of mpeg2dec (the new one) to:
Depends: mpeg2dec-shlibs (= 0.4.0b-3) | libmpeg2-shlibs (= %v-%r), ...
I.e. the new mpeg2dec would work with both the old mpeg2dec-shlibs and the new libmpeg2-shlibs





Cheers,


Max



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to