Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24545 - avidemux-0.9 forces libxml2 loop
Summary: avidemux-0.9 forces libxml2 loop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-15 14:36 UTC by Alastair Tse (RETIRED)
Modified: 2003-07-21 12:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
avidemux-0.9-libxml2.5.7.patch (avidemux-0.9-libxml2.5.7.patch,717 bytes, patch)
2003-07-19 07:50 UTC, Alastair Tse (RETIRED)
Details | Diff
Ebuild+patch in a tarball (avidemux-0.9-r1.tar.gz,1.78 KB, application/x-gzip)
2003-07-20 03:29 UTC, Marc Hildebrand (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Tse (RETIRED) gentoo-dev 2003-07-15 14:36:17 UTC
avidemux-0.9 and avidemux-2.0.2 depends on <=dev-libs/libxml2-2.5.6 which causes
problems because libxml2-2.5.8 is stable.

this means people with that installed at recursively going back and forth
between these two versions. can that dep be changed to something more friendly
like :

>=dev-libs/libxml2-2.5 

or is there some reason it won't work with libxml2-2.5.[78] ?

or maybe just bump >=avidemux-2.0.4 to stable?
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-15 14:58:03 UTC
sure, this reason:

g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/libxml2    -I.. -IADM_library -I../ADM_library  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -ffast-math -fomit-frame-pointer -fno-exceptions -fno-check-new   -c -o prefs.o `test -f prefs.cpp || echo './'`prefs.cpp
prefs.cpp:56: function `int * __xmlSaveNoEmptyTags()' is initialized like a variable
prefs.cpp:57: function `int * __xmlIndentTreeOutput()' is initialized like a variable
make[3]: *** [prefs.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/avidemux-0.9/work/avidemux-0.9/avidemux'


problem is, 0.9 is slot 0
2.x is slot 2
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-15 14:58:27 UTC
Marc: any suggestions ?
Comment 3 Marc Hildebrand (RETIRED) gentoo-dev 2003-07-15 22:15:55 UTC
Yepp, get rid of 0.9. ;)
To be serious, I personally regard 2.0.10 as stable in the realms of my video-editing habits.
The libxml-issues are mentioned on the avidemux website.
So we need a way to unmerge 0.9 when merging 2.0.10.
When the 2.0.x versions started I used another  slot on purpose, the two versions worked side by side quite nicely. Now however there is a problem.
I know how to solve his on my system, how does gentoo usually handle such a situation? Block 0.9 by 2.0.10 and >libxml-2.5.6 by avidemux-0.9?
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-07-15 23:22:06 UTC
block is eg.
! media-video/avidemux

Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-07-19 07:46:46 UTC
attached is a patch that fixes the libxml2-2.5.7 compile problem. 

also, you might want to update the deps to use media-libs/libmad instead of media-sound/mad.

Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-07-19 07:50:51 UTC
Created attachment 14703 [details, diff]
avidemux-0.9-libxml2.5.7.patch

here's the patch. dunno if it is suitable to forward upstream. feel free to do
that on my behalf
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2003-07-19 07:52:01 UTC
oh, and probably you should update 0.9's deps to be gtk1 only like:

=x11-libs/gtk+-1.2* 
Comment 8 Nick Hadaway 2003-07-19 10:57:34 UTC
I know it's not .9... but 2.0.10-r1 is now in portage and needs testing. :)
Comment 9 Marc Hildebrand (RETIRED) gentoo-dev 2003-07-20 03:29:19 UTC
Created attachment 14744 [details]
Ebuild+patch in a tarball

Well...
I took My old 0.9-ebuild, merged a bit of Nick`s neat 2.0.10-r1 ebuild, applied
Alastairs patch and voila!
This one`s tested on a x86 and a ~x86 machine, both installed and worked well.
Please test if you find the time.
Marc.
Comment 10 Marc Hildebrand (RETIRED) gentoo-dev 2003-07-20 03:54:53 UTC
lemme guess, no mail?
Comment 11 Martin Holzer (RETIRED) gentoo-dev 2003-07-20 04:26:10 UTC
you are good ;)
Comment 12 Martin Holzer (RETIRED) gentoo-dev 2003-07-21 12:02:50 UTC
added with minor changes