[opensuse-packaging] perl-Gnome2-Wnck / perl-Gtk2-Uniqueq
Hello Mates, actually i'm wondering whay such packages in devel:languages:perl are not building. The Logs are in http://bit.ly/kEGuXF and http://bit.ly/jbpf4b. It builds for all released Versions but not for Factory. Maybe anyone knows more? cu Sascha -- Sincerely Yours Sascha Manns open-slx Community & Support Agent openSUSE Membership Comitee openSUSE Marketing Team Web: http://saigkill.homelinux.net German Community Portal: http://community.open-slx.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Mon, 2011-05-23 at 11:01 +0200, Sascha Manns wrote:
Hello Mates,
actually i'm wondering whay such packages in devel:languages:perl are not building.
The Logs are in http://bit.ly/kEGuXF and http://bit.ly/jbpf4b.
It builds for all released Versions but not for Factory.
No package 'unique-1.0' found
=> Libunique in Factory was bumped to the GNOME 3 releases. You need to change the BuildRequires to: buildRequires: pkgconfig(unique-1.0) This will get you the right devel package for libunique 1.0 again (libunique1-devel) Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello Mates, hello Dominique, sorry for the late answer, but the perl-Gtk2-Unique Build was the whole time blocked, so i just can test it today... "Dimstar / Dominique Leuenberger" <dimstar@opensuse.org> wrote at Monday 23 May 2011:
actually i'm wondering whay such packages in devel:languages:perl are not building.
The Logs are in http://bit.ly/kEGuXF and http://bit.ly/jbpf4b.
It builds for all released Versions but not for Factory.
No package 'unique-1.0' found
=> Libunique in Factory was bumped to the GNOME 3 releases. You need to change the BuildRequires to: buildRequires: pkgconfig(unique-1.0)
This will get you the right devel package for libunique 1.0 again (libunique1-devel) That works perfectly. Thanks a lot.
Now i tried it out in package perl-Gnome2-Wnck [1] too with: BuildRequires: libwnck-devel >= 2.20.0 We have libwnck in Factory (3.0.0) and Gnome:Factory (3.0.2) So i tried: pkgconfig(wnck-3.0.0) and pkgconfig(wnck-3.0.2) pkgconfig(libwnck-3.0.0) and pkgconfig(libwnck-3.0.2) But it doesn't work. Has anyone an idea how to fix it? [1] https://build.opensuse.org/package/show?package=perl-Gnome2- Wnck&project=devel%3Alanguages%3Aperl -- Sincerely Yours Sascha Manns open-slx Community & Support Agent openSUSE Membership Comitee openSUSE Marketing Team Web: http://saigkill.homelinux.net German Community Portal: http://community.open-slx.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Now i tried it out in package perl-Gnome2-Wnck [1] too with: BuildRequires: libwnck-devel >= 2.20.0
We have libwnck in Factory (3.0.0) and Gnome:Factory (3.0.2) So i tried: pkgconfig(wnck-3.0.0) and pkgconfig(wnck-3.0.2) pkgconfig(libwnck-3.0.0) and pkgconfig(libwnck-3.0.2)
Sacha, Tje pkgconfig name is NOT a representation of the version (That would be terrible) of the library, but more a representation of their general API life. For libwnck 3 (part of the gnome 3 stack), the name is pkgconfig(libwnck-3.0) IT is not going to change with the micro steps. Very likely not even with the minors, as long as the API is not going to terribly change. (The easiest is to get the -devel file and check the filelist. a /usr/lib/pkgconfig/libwnck-3.0.pc will represent a BuildRequires as above). Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi Dominique, hi list, "Dimstar / Dominique Leuenberger" <dimstar@opensuse.org> wrote at Sunday 29 May 2011:
Tje pkgconfig name is NOT a representation of the version (That would be terrible) of the library, but more a representation of their general API life. Aha. Ok, thanks for clarification :-)
For libwnck 3 (part of the gnome 3 stack), the name is pkgconfig(libwnck-3.0) So i've tried out: %if 0%{?suse_version} <= 1140 BuildRequires: libwnck-devel >= 2.20.0 %else BuildRequires: pkgconfig(libwnck-3.0) %endif
All build but not factory. In normal case it should match with %else. Now i have the old error: Package libwnck-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libwnck-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libwnck-1.0' found at Makefile.PL line 46 *** can not find package libwnck-1.0 >= 2.20.0 *** check that it is properly installed and available in PKG_CONFIG_PATH at Makefile.PL line 46 Maybe i have to patch the Makefile? Have a nice day... Greetings Sascha -- Sincerely Yours Sascha Manns open-slx Community & Support Agent openSUSE Membership Comitee openSUSE Marketing Team Web: http://saigkill.homelinux.net German Community Portal: http://community.open-slx.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sun, 2011-05-29 at 15:07 +0200, Sascha Manns wrote:
Now i have the old error: Package libwnck-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libwnck-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libwnck-1.0' found at Makefile.PL line 46 *** can not find package libwnck-1.0 >= 2.20.0 *** check that it is properly installed and available in PKG_CONFIG_PATH at Makefile.PL line 46
Maybe i have to patch the Makefile?
The point there is that configure is looking for a package libwnck-1.0 So you actually want to BuildRequire: pkgconfig(libwnck-1.0). If you offer the package libwcnk-3.0, you will have to adapt the package to the new library version. Using pkgconfig() style buildRequires helps you out of the misery to care about how a package is actually named; renamed -devel packages are just not a problem anymore. And in plus, configure always tells you what it's missing, in your case: *** can not find package libwnck-1.0 >= 2.20.0 Hth, Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Dimstar / Dominique Leuenberger
-
Sascha Manns