make libwpg disableable

Bug #820863 reported by Yu-Jie Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Yu-Jie Lin

Bug Description

I want to get rid of libwpg dependency, it's not a format I need, and it seems there is no problem with no libwpg.

Tags: build
Revision history for this message
Yu-Jie Lin (livibetter) wrote :
su_v (suv-lp)
tags: added: build
removed: libwpg
Changed in inkscape:
importance: Undecided → Wishlist
Revision history for this message
ScislaC (scislac) wrote :

While I understand the sentiment, libwpg is not a hard dependency. If you don't have the library installed, it doesn't build with it. However, because disabling unnecessary features is not a bad option, I applied the patch and when I configure with --disable-wpg it still configures with Libwpg support.

Please fix the patch for those that have libwpg installed to be able to disable support. BTW, distro are you on that seems to be trying to brute force all possible dependencies for you?

Revision history for this message
Yu-Jie Lin (livibetter) wrote :

That's strange, I have libwpg installed (of course), `./configure --disable-wpg` reported it's "Libwpg: no", and `make` generated inkscape without libwpg support. Also `ldd` confirms libwpg isn't a dependency,.

My distro is Gentoo and libwpg is listed as non-optional dependency. So libwpg and libwpd both have to be installed and only Inkscape has something to do with them.

Revision history for this message
Yu-Jie Lin (livibetter) wrote :

Just a thought, did you run `./autogen.sh`?

Revision history for this message
ScislaC (scislac) wrote :

Indeed I did not run it (sorry), only configure. Everything works as expected. Committed to trunk in r10528. Thank you! Do note, work is going on for a possible change to cmake, so if you're interested in checking into that too, please feel free. Inkscape has a two patch rule, once you have a second patch committed, we'll grant you commit access if you're interested. Cheers!

Changed in inkscape:
status: New → Fix Committed
importance: Wishlist → Low
assignee: nobody → Yu-Jie Lin (livibetter)
milestone: none → 0.49
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.