Hello, On Tue, 08 Mar 2016, Roger Oberholtzer wrote:
On Tue, Mar 8, 2016 at 8:06 AM, David Haller
wrote: Hello,
On Mon, 07 Mar 2016, Roger Oberholtzer wrote:
I made the needed changes and gopchop compiles.
A few ;)
I just did the few to remove compiler errors and warnings. But the printf() corrections you did also seem needed. gopchop has some unneccessarily complicated code, IMHO. But then again, I am a C type of guy.
I've seen much worse, actually, I find it rather readable...
I have a clean compile (from 12.1 to Leap) at http://download.opensuse.org/repositories/home:/dnh/
heavily based on your diffs and .spec, even though I changed/reworked quite a bit too ;)
I was fighting with the libxml2 stuff. It refused to complete the configure step.
Huh? That worked here out of the box after I allowed 'build' to actually install libxml2 (I first commented out all BuildRequires just for the heck of it) and pkgconfig(libxml-2.0) vs. libxml2-devel should not make a difference here. Can you check / mail me / paste.opensuse.org a config.log of one of those failed builds?
I see your different BuildRequires for that and a few other libs. Why are these needing to be specified differently?
Generally, using 'pkgconfig(foo)' for packages that provide it is much cleaner and will work on any distro that supports 'pkgconfig()'-deps (which should be most by now). So, it won't matter if it's foo4-dev, foo-dev, foo-devel, or whatnot that contains the foo.pc, all provide pkgconfig(foo) and all is well. It's sort of being able to use 'BuildRequires: /usr/bin/foo-config' for a package that has a -config script. And the Requires get sorted out by rpm itself (depending on e.g. 'libmpeg2.so.0()(64bit)'), so generally you should not use those unless you know you need them. Which is why the trick with the dummy libmpeg2 (just headers and dummy libs) works, so even as libmpeg2 is "forbidden" in OBS, we can build gopchop "legally" in OBS. And BTW: the libmpeg2 stuff is in libmpeg2-0 and libmpeg2-devel and mpeg2dec, that latter contains (just) the binaries in /usr/bin/ (plus manpages). We should better take this to the -packaging list or PM. -dnh -- / "I dunno, it strikes me that whatever direction you read the Bible, \ \ it ends with the destruction of the world." -- Dave Brown / -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org