Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215665

Summary: media-libs/wxsvg-1.0 version bump request
Product: Gentoo Linux Reporter: Daniel Black (RETIRED) <dragonheart>
Component: [OLD] LibraryAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED FIXED    
Severity: normal CC: mhaney
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/projects/wxsvg/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 215137    
Attachments: patch for ebuild beta10
wxsvg-1.0_beta10.ebuild.diff
wxsvg-1.0_beta10.ebuild
wxsvg-1.0_beta10.ebuild
wxsvg-1.0_beta10-new-ffmpeg-headers.patch
wxsvg-1.0.ebuild

Description Daniel Black (RETIRED) gentoo-dev 2008-04-01 05:55:49 UTC
a newer version of wxsvg is out. It has some ffmpeg stuff needed for dvdstyler.

freetype patch is now included in upstream however some autoconf stuffing around may be needed.

build complains that "libtoolize --copy --force" is needed.

i haven't tested this against non-dvdstyler ebuilds.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2008-04-01 05:56:20 UTC
Created attachment 147941 [details, diff]
patch for ebuild beta10
Comment 2 Denis Dupeyron (RETIRED) gentoo-dev 2008-04-01 06:19:18 UTC
Same comment as on the dvdstyler bug. We should move this to wxGTK-2.8.

Denis.
Comment 3 Denis Dupeyron (RETIRED) gentoo-dev 2008-04-01 13:18:03 UTC
Created attachment 147970 [details, diff]
wxsvg-1.0_beta10.ebuild.diff

Here's a diff of the ebuild that kinda works for me. Mostly cleanups and bump of the wxGTK dependency to 2.8.

Daniel, 'AT_M4DIR="${S}" eautoreconf' in there is what solves your configuration issues. Also I seem to remember you shouldn't quote ${A}.

Now the bad news. It seems to build cleanly but svgui and calculette segfault (svgview works though). Who's good at gdb ?

Denis.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2008-06-14 15:13:46 UTC
The problem is very simple. svgui and calculette are compiled with static and relative references to the .svg and .xml files they need. 
 
These files are not copied into /usr/bin, so this programs can't start from this folder. 
 
A explicit error message would be kind to explain this problem to users. 
 
If you want to test svgui and calculette, starts these programs from the svgui folder in your wxsvg source directory. In any other folder, it will crash. 
 
Laurent BESSARD 

---

I'm not sure what to make of that.  does dvdstyler work with this version?  if so I'll bump it since dvdstyler is the only package in the tree using wxsvg.
Comment 6 Mark Haney 2008-06-16 12:18:52 UTC
dvdstyler 1.6.2 is supposed to work with this version of wxsvg, however, in no way have I been able to make it work. In fact, I can't get wxsvg to compile from source on any OS other than Debian.
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2008-06-17 02:40:48 UTC
Created attachment 157175 [details]
wxsvg-1.0_beta10.ebuild

this is the ebuild i have in my overlay.  it builds fine but exibits the segfault issues mentioned above.

not sure why upstream thinks it's fine to segfault if it's not run from the source dir, which seems quite shortsighted to me.
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2008-06-23 03:50:01 UTC
and now the new ffmpeg breaks this.  i'll fix it in a bit.
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2008-07-04 16:30:12 UTC
Created attachment 159543 [details]
wxsvg-1.0_beta10.ebuild
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2008-07-04 16:30:46 UTC
Created attachment 159544 [details, diff]
wxsvg-1.0_beta10-new-ffmpeg-headers.patch
Comment 11 Daniel Black (RETIRED) gentoo-dev 2009-01-04 07:57:52 UTC
a 1.0 release was made November 12, 2008
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2009-01-05 00:02:26 UTC
i've been sitting on this for months now.  all i need is your okay.  does it work or not?
Comment 13 Ryan Hill (RETIRED) gentoo-dev 2009-01-17 07:28:31 UTC
Created attachment 178763 [details]
wxsvg-1.0.ebuild

here's an ebuild for 1.0.  can you test if it works with dvdstyler?  it looks like some headers were removed between beta10 and 1.0.
Comment 14 Daniel Black (RETIRED) gentoo-dev 2009-01-17 10:00:50 UTC
works for me - thanks Ryan - sorry about the delay
Comment 15 Ryan Hill (RETIRED) gentoo-dev 2009-01-18 01:57:48 UTC
no worries.  added.