[oe-issues] [Bug 3383] zlib: package's debian name should be zlib1g

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Tue Dec 11 11:08:23 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3383





--- Comment #3 from Robert Schuster <thebohemian at gmx.net>  2007-12-11 03:08:22 ---
"If your distro need zlib1g name then provide code which do rename for you
distro only."

Here is an IMHO nice attempt to achieve that. It works by looking for a
DEBIAN_PN_ + pkgname named variable in debian.bbclass. If such a variable with
a non-empty value is found this value is taken as the library package's name.

This has the nice side effect that fragile code like the one that can be found
in the libxml2 recipe (fragile because the python code in the recipe and in
populate_packages must have the same indentation) can be replaced by a simple
variable assignment. Making this assignment weak allows an OE user to customize
package names through local.conf. I've done that in the patch.

For zlib I just need to declare DEBIAN_PN_zlib = "zlib1g" in local.conf and get
the amount of debian compatibility I want.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list