[opensuse-packaging] [Ann] New package: pdfgrep
Hello all, please give this program and package a test / lookover. If all works, I plan to submit it to Factory. OBS: https://build.opensuse.org/package/show?package=pdfgrep&project=home%3Adnh Repo: http://download.opensuse.org/repositories/home:/dnh/ Any comments are appreciated. -dnh PS: a fine example, why *I* don't like versioned libfooN packages. In the set I build for, I'd have to find what distribution has what from libpoppler4 to libpoppler7 and do a %if 0%{?suse_version} cascade. Fun? Not. I'd prefer "libpoppler >= $ver" and "multiversion" should take care of the rest, though one might want a UI in zypper/yast to manage "multiversion", best together with a "cleanup" feature to remove old versions (but the last N, for example). At least, the libpopplerN seem to provide "poppler". -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Friday 01 October 2010 09:02:04 David Haller wrote:
PS: a fine example, why I don't like versioned libfooN packages. In the set I build for, I'd have to find what distribution has what from libpoppler4 to libpoppler7 and do a %if 0%{?suse_version} cascade. Fun? Not. I'd prefer "libpoppler >= $ver" and "multiversion" should take care of the rest, though one might want a UI in zypper/yast to manage "multiversion", best together with a "cleanup" feature to remove old versions (but the last N, for example). At least, the libpopplerN seem to provide "poppler".
Why are you doing that at all? You should be able to just do e.g. BuildRequires: libpoppler-devel and then the rpm will automatically add the dependency on the right library version. Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, On Fri, 01 Oct 2010, Andreas Jaeger wrote:
On Friday 01 October 2010 09:02:04 David Haller wrote:
PS: a fine example, why I don't like versioned libfooN packages. In the set I build for, I'd have to find what distribution has what from libpoppler4 to libpoppler7 and do a %if 0%{?suse_version} cascade. Fun? Not. I'd prefer "libpoppler >= $ver" and "multiversion" should take care of the rest, though one might want a UI in zypper/yast to manage "multiversion", best together with a "cleanup" feature to remove old versions (but the last N, for example). At least, the libpopplerN seem to provide "poppler".
Why are you doing that at all? You should be able to just do e.g. BuildRequires: libpoppler-devel
and then the rpm will automatically add the dependency on the right library version.
It will add a require on libpopplerN? So that libpopplerN get's pulled in when installing the binary rpm? Oh, wait, the automatic require on libpoppler.so.N should suffice. *hand -> forehead* -dnh -- I didn't know it was impossible when I did it. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
El 01/10/10 11:45, David Haller escribió:
It will add a require on libpopplerN? So that libpopplerN get's pulled in when installing the binary rpm? Oh, wait, the automatic require on libpoppler.so.N should suffice. *hand -> forehead*
Yes, as usual, Do not add library package dependencies to spec files unless strictly needed. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, On Fri, 01 Oct 2010, Cristian Rodríguez wrote:
El 01/10/10 11:45, David Haller escribió:
It will add a require on libpopplerN? So that libpopplerN get's pulled in when installing the binary rpm? Oh, wait, the automatic require on libpoppler.so.N should suffice. *hand -> forehead*
Yes, as usual, Do not add library package dependencies to spec files unless strictly needed.
Fixed. Anything else? Comments? Suggestions? Otherwise, I'll do the sr ASAP. -dnh, who's been temporarily out of order -- ``Hello, my userid is root and if you feed me caffeine, nobody gets hurt.'' -- AdB -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi David, On Friday 01 October 2010 09:02:04 am David Haller wrote:
please give this program and package a test / lookover.
If all works, I plan to submit it to Factory.
Tested on openSUSE 11.3 / x86-64, it seems to work just fine. Very useful package, I hope it enters the standard package set soon. All it's missing from my perspective (but not your fault of course) is a -l option as grep has. I only tested as a user, I didn't look at the spec file nor the source code - no time for this, sorry. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Andreas Jaeger
-
Cristian Rodríguez
-
David Haller
-
Jean Delvare