Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363703 - media-gfx/inkscape: fedora patch to be compatible with latest libwpd/libwpg
Summary: media-gfx/inkscape: fedora patch to be compatible with latest libwpd/libwpg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 374997 (view as bug list)
Depends on:
Blocks: 363699
  Show dependency tree
 
Reported: 2011-04-15 12:20 UTC by Pacho Ramos
Modified: 2011-07-13 20:53 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Sergey Ilinykh 2011-04-26 21:45:45 UTC
the patch works fine
Comment 2 Tim Harder gentoo-dev 2011-04-29 09:32:34 UTC
Fixed in the latest revbump in CVS.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-07-12 06:30:51 UTC
Please reopen - libwpd/libwpg support is broken again in the inkscape-0.48.2 ebuild (added earlier today).


# emerge inkscape
[...]
  CXX    extension/internal/wpg-input.o
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include/freetype2  -pthread -DORBIT2=1 -I/usr/i
nclude/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -
I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fopenmp -I/usr/include/ImageMagick    -I/usr/incl
ude/libwpg-0.2 -I/usr/include/libwpd-0.9     -I/usr/include/poppler   -pthread -I/usr/include/poppler/gli
b -I/usr/include/poppler -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/us
r/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/u
sr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/pango-1.0   -DPOTRACE=\
"potrace\" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/u
sr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk
-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-
2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/l
ib64/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/inc
lude/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/lib64/gtk-2.0/include -I/usr/include/
atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/incl
ude/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0   -I..
/cxxtest  -I./bind/javainc -I./bind/javainc/linux   -Werror=format-security -Wall -Wformat -Wformat-secur
ity -W -D_FORTIFY_SOURCE=2   -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -W
no-unused-parameter -march=native -O2 -pipe -fno-strict-aliasing -fopenmp -c -o extension/internal/wpg-in
put.o extension/internal/wpg-input.cpp
extension/internal/wpg-input.cpp:58:44: fatal error: libwpg/WPGStreamImplementation.h: No such file or directory
compilation terminated.
make[2]: *** [extension/internal/wpg-input.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.48.2/work/inkscape-0.48.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.48.2/work/inkscape-0.48.2'
make: *** [all] Error 2
 * ERROR: media-gfx/inkscape-0.48.2 failed (compile phase):
 *   emake failed
Comment 4 Pacho Ramos gentoo-dev 2011-07-13 10:52:48 UTC
*** Bug 374997 has been marked as a duplicate of this bug. ***
Comment 5 Tim Harder gentoo-dev 2011-07-13 19:23:17 UTC
Can someone attach their full build log with the error? It builds fine for me, but I think the issue now may be with systems that have both the old and new slots of libwpd/libwpg installed.
Comment 6 Oldrich Jedlicka 2011-07-13 20:09:58 UTC
(In reply to comment #5)
> Can someone attach their full build log with the error? It builds fine for me,
> but I think the issue now may be with systems that have both the old and new
> slots of libwpd/libwpg installed.

I don't have the build log, but I can confirm that uninstalling libwpg:0.1 (and keeping libwpg:0.2) fixed the compilation issue for me.
Comment 7 Tim Harder gentoo-dev 2011-07-13 20:53:13 UTC
This should be fixed in CVS again for 0.48.2 on systems with both slots of libwpg installed.