New version was released
Created attachment 95039 [details] media-gfx/pstoedit-3.44.ebuild Version 3.44 is the only version that compiles for me. I attached the ebuild that I used, version bump from 3.42 with the patch removed.
This ebuild still suffers from the bug #137204: >>> Compiling source in /var/tmp/portage/pstoedit-3.44/work/pstoedit-3.44 ... * Running elibtoolize in: pstoedit-3.44 * Applying portage-1.5.10.patch ... * Applying max_cmd_len-1.5.14.patch ... * Applying sed-1.5.6.patch ... * econf: updating pstoedit-3.44/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pstoedit-3.44/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-emf --with-libemf-include=/usr/include/libEMF --with-libplot --build=i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes ... checking for main in -lming... yes checking mingpp.h usability... no checking mingpp.h presence... yes configure: WARNING: mingpp.h: present but cannot be compiled configure: WARNING: mingpp.h: check for missing prerequisite headers? configure: WARNING: mingpp.h: see the Autoconf documentation configure: WARNING: mingpp.h: section "Present But Cannot Be Compiled" configure: WARNING: mingpp.h: proceeding with the preprocessor's result configure: WARNING: mingpp.h: in the future, the compiler will take precedence configure: WARNING: ## --------------------------------------- ## configure: WARNING: ## Report this to wglunz34_AT_pstoedit.net ## configure: WARNING: ## --------------------------------------- ## checking for mingpp.h... yes ... if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.44\" -DPACKAGE_STRING=\"pstoedit\ 3.44\" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.44\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBGD=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC -I/usr/include/libEMF -DHAVE_LIBEMF -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR="\"/usr/share/pstoedit\"" -DPSTOEDITLIBDIR="\"/usr/lib/pstoedit\"" -DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -D_LITTLE_ENDIAN -g -MT drvswf.lo -MD -MP -MF ".deps/drvswf.Tpo" -c -o drvswf.lo drvswf.cpp; \ then mv -f ".deps/drvswf.Tpo" ".deps/drvswf.Plo"; else rm -f ".deps/drvswf.Tpo"; exit 1; fi i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.44\" "-DPACKAGE_STRING=\"pstoedit 3.44\"" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.44\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBGD=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC -I/usr/include/libEMF -DHAVE_LIBEMF -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" -DPSTOEDITLIBDIR=\"/usr/lib/pstoedit\" -DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -D_LITTLE_ENDIAN -g -MT drvswf.lo -MD -MP -MF .deps/drvswf.Tpo -c drvswf.cpp -fPIC -DPIC -o .libs/drvswf.o /usr/include/mingpp.h: In member function
This ebuild still suffers from the bug #137204: >>> Compiling source in /var/tmp/portage/pstoedit-3.44/work/pstoedit-3.44 ... * Running elibtoolize in: pstoedit-3.44 * Applying portage-1.5.10.patch ... * Applying max_cmd_len-1.5.14.patch ... * Applying sed-1.5.6.patch ... * econf: updating pstoedit-3.44/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pstoedit-3.44/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-emf --with-libemf-include=/usr/include/libEMF --with-libplot --build=i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes ... checking for main in -lming... yes checking mingpp.h usability... no checking mingpp.h presence... yes configure: WARNING: mingpp.h: present but cannot be compiled configure: WARNING: mingpp.h: check for missing prerequisite headers? configure: WARNING: mingpp.h: see the Autoconf documentation configure: WARNING: mingpp.h: section "Present But Cannot Be Compiled" configure: WARNING: mingpp.h: proceeding with the preprocessor's result configure: WARNING: mingpp.h: in the future, the compiler will take precedence configure: WARNING: ## --------------------------------------- ## configure: WARNING: ## Report this to wglunz34_AT_pstoedit.net ## configure: WARNING: ## --------------------------------------- ## checking for mingpp.h... yes ... if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.44\" -DPACKAGE_STRING=\"pstoedit\ 3.44\" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.44\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBGD=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC -I/usr/include/libEMF -DHAVE_LIBEMF -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR="\"/usr/share/pstoedit\"" -DPSTOEDITLIBDIR="\"/usr/lib/pstoedit\"" -DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -D_LITTLE_ENDIAN -g -MT drvswf.lo -MD -MP -MF ".deps/drvswf.Tpo" -c -o drvswf.lo drvswf.cpp; \ then mv -f ".deps/drvswf.Tpo" ".deps/drvswf.Plo"; else rm -f ".deps/drvswf.Tpo"; exit 1; fi i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.44\" "-DPACKAGE_STRING=\"pstoedit 3.44\"" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.44\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBGD=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC -I/usr/include/libEMF -DHAVE_LIBEMF -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" -DPSTOEDITLIBDIR=\"/usr/lib/pstoedit\" -DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -D_LITTLE_ENDIAN -g -MT drvswf.lo -MD -MP -MF .deps/drvswf.Tpo -c drvswf.cpp -fPIC -DPIC -o .libs/drvswf.o /usr/include/mingpp.h: In member function void SWFText::addString(const char*, float*): /usr/include/mingpp.h:631: error: cannot convert float* to int* for argument 3 to void SWFText_addString(void*, const char*, int*) make[1]: *** [drvswf.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/pstoedit-3.44/work/pstoedit-3.44/src' make: *** [all-recursive] Error 1 !!! ERROR: media-gfx/pstoedit-3.44 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile pstoedit-3.44.ebuild, line 49: Called die
Created attachment 105597 [details] media-gfx/pstoedit-3.44.ebuild Changes: Dependencies: added: -- readded flash support w/ming-0.3.0 (docs/readme.txt claims it works) -- added media-gfx/imagemagick w/USE imagemagick (make imagemagick feature non-automagic) removed: -- sys-libs/zlib (inherited via media-libs/libpng) -- media-libs/libexif (nowhere in pstoedit-3.44.tar.gz references exif) moved: -- virtual/ghostscript -> DEPEND (configure checks for gs) version change: -- >=media-libs/libemf-1.0.3 (upstream solved bug #29724 with libemf-1.0.3; i've requested libemf-1.0.3 stabilization (bug #160401)) Setup: with USE imagemagick, check for media-gfx/imagemagick c++ bindings (configure checks for Magick++.h) Build: removed bug #29274 workaround (configure will find libEMF/emf.h w/libemf-1.0.3) econf using --with-FEATURE on use flags; fixes bug #137204 (requires ming-0.3 or builds with --without-swf) and fixes automagic features Installation: fix source documentation locations (all in ${S}/doc)
Comment on attachment 105597 [details] media-gfx/pstoedit-3.44.ebuild Changes: Dependencies: added: -- readded flash support w/ming-0.3.0 (docs/readme.txt claims it works) -- added media-gfx/imagemagick w/USE imagemagick (make imagemagick feature non-automagic) removed: -- sys-libs/zlib (inherited via media-libs/libpng) -- media-libs/libexif (nowhere in pstoedit-3.44.tar.gz references exif) moved: -- virtual/ghostscript -> DEPEND (configure checks for gs) version change: -- >=media-libs/libemf-1.0.3 (upstream solved bug #29724 with libemf-1.0.3; i've requested libemf-1.0.3 stabilization (bug #160401)) Setup: with USE imagemagick, check for media-gfx/imagemagick c++ bindings (configure checks for Magick++.h) removed '-pedantic' stripping (upstream resolved bug #39557, comment #1; configure defines SPECIAL_CXXFLAGS w/"-DBUGGYGPP") removed quoting patch Build: removed bug #29724 workaround (configure will find libEMF/emf.h w/libemf-1.0.3) econf using --with-FEATURE on use flags; fixes bug #137204 (requires ming-0.3 or builds with --without-swf) and fixes automagic features Installation: fix source documentation locations (all in ${S}/doc)
Bump The attached ebuild works nicely for ~amd64 too whereas I cannot get the older 3.42 version even to compile.
update: arch teams stabilized libemf-1.0.3 some time ago @ bug #160141
Please add to tree as version 3.42 segfaults when built with GCC 4.1.2 on x86. 3.44 works fine.
pstoedit-3.44 committed. Thanks to everyone.
(In reply to comment #9) > pstoedit-3.44 committed. Thanks to everyone. > Just to note that this ebuild does not have swf use flag because the needed ming version is package.masked.