[zypp-devel] Porting zypp to rpm5

Hi, we've had a chat with duncanmv on irc about porting zypp to rpm5 earlier today - and he asked to keep the list informed of the current status, so here's a quick update: libzypp builds [not tested if it actually works yet] with the attached patch (yes, I know it's ugly -- didn't pay much attention to keeping compatibility in the first step, this was more to evaluate how much work it takes). We also don't ship hal, and were pleased to find the proper #ifdefs are already there when patching out the dep -- they just weren't activated in the build system. The second patch I've attached does that. ttyl bero

On Monday 01 June 2009 00:52:47 Bernhard Rosenkränzer wrote:
Hi, we've had a chat with duncanmv on irc about porting zypp to rpm5 earlier today - and he asked to keep the list informed of the current status, so here's a quick update:
Thanks for the patches. I'll incorporate them into libzypp ASAP. Just need a rpm5 for testing it. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Monday 01 June 2009 00:52:47 Bernhard Rosenkränzer wrote:
We also don't ship hal, and were pleased to find the proper #ifdefs are already there when patching out the dep -- they just weren't activated in the build system. The second patch I've attached does that.
The #ifdefs are present but they are not proper. They simply avoid the need to link libhal, but ther's no substitution for the required functionality. At least the CD/DVD device detection and detection of automounted CDs currently requires hal. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Tuesday 16 June 2009 14:55:16 Michael Andres wrote:
On Monday 01 June 2009 00:52:47 Bernhard Rosenkränzer wrote:
We also don't ship hal, and were pleased to find the proper #ifdefs are already there when patching out the dep -- they just weren't activated in the build system. The second patch I've attached does that.
The #ifdefs are present but they are not proper. They simply avoid the need to link libhal, but ther's no substitution for the required functionality. At least the CD/DVD device detection and detection of automounted CDs currently requires hal.
libzypp-6.8.2 allows to build without HAL. CD/DVD device detection is then limited to /dev/dvd and and /dev/cdrom. Code is in media/MediaCD.cc, in case you want to enhance it. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Monday 01 June 2009 00:52:47 Bernhard Rosenkränzer wrote:
Hi, we've had a chat with duncanmv on irc about porting zypp to rpm5 earlier today - and he asked to keep the list informed of the current status, so here's a quick update:
libzypp builds [not tested if it actually works yet] with the attached patch (yes, I know it's ugly -- didn't pay much attention to keeping compatibility in the first step, this was more to evaluate how much work it takes).
We also don't ship hal, and were pleased to find the proper #ifdefs are already there when patching out the dep -- they just weren't activated in the build system. The second patch I've attached does that.
JFYI: libzypp-6.8.3 (git:master) builds with rpm-5 and without hal. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Bernhard Rosenkränzer
-
Michael Andres