Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139024 - Version bump media-gfx/pstoedit-3.44
Summary: Version bump media-gfx/pstoedit-3.44
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 106123 131848 137204
  Show dependency tree
 
Reported: 2006-07-03 08:57 UTC by spiralvoice
Modified: 2007-04-07 01:37 UTC (History)
3 users (show)

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


Attachments
media-gfx/pstoedit-3.44.ebuild (pstoedit-3.44.ebuild,1.45 KB, text/plain)
2006-08-24 18:56 UTC, Tim Cera
Details
media-gfx/pstoedit-3.44.ebuild (pstoedit-3.44.ebuild,1.24 KB, text/plain)
2007-01-06 09:01 UTC, brad walker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spiralvoice 2006-07-03 08:57:16 UTC
New version was released
Comment 1 Tim Cera 2006-08-24 18:56:19 UTC
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.
Comment 2 Martin Mokrejš 2006-09-19 14:55:34 UTC
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 
Comment 3 Martin Mokrejš 2006-09-19 14:55:34 UTC
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
Comment 4 brad walker 2007-01-06 09:01:37 UTC
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 5 brad walker 2007-01-06 09:12:03 UTC
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)
Comment 6 Mikko Tiihonen 2007-03-17 09:21:17 UTC
Bump

The attached ebuild works nicely for ~amd64 too whereas I cannot get the older 3.42 version even to compile.
Comment 7 brad walker 2007-03-17 16:21:57 UTC
update:
arch teams stabilized libemf-1.0.3 some time ago @ bug #160141
Comment 8 Richard Ash 2007-03-23 14:59:15 UTC
Please add to tree as version 3.42 segfaults when built with GCC 4.1.2 on x86. 3.44 works fine.
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2007-04-07 01:02:36 UTC
pstoedit-3.44 committed. Thanks to everyone.
Comment 10 Petteri Räty (RETIRED) gentoo-dev 2007-04-07 01:37:57 UTC
(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.