Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112887 - wxSVG (new ebuild)
Summary: wxSVG (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo wxWidgets project
URL: http://wxsvg.sourceforge.net/
Whiteboard:
Keywords: EBUILD
: 156632 (view as bug list)
Depends on:
Blocks: 109894
  Show dependency tree
 
Reported: 2005-11-18 02:09 UTC by Jesse Adelman
Modified: 2007-01-28 20:07 UTC (History)
9 users (show)

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


Attachments
media-libs/wxSVG-1.0_beta2.ebuild (wxSVG-1.0_beta2.ebuild,620 bytes, text/plain)
2005-11-18 17:36 UTC, Jesse Adelman
Details
media-libs/wxSVG/wxSVG-1.0_beta4.ebuild.patch (wxSVG-1.0_beta4.ebuild.patch,971 bytes, patch)
2005-12-19 14:58 UTC, Jesse Adelman
Details | Diff
wxSVG-1.0_beta4.ebuild (wxSVG-1.0_beta4.ebuild,764 bytes, application/octet-stream)
2005-12-22 07:42 UTC, Rodrigo Queiro
Details
wxsvg.tar.bz2 (wxsvg.tar.bz2,1.22 KB, application/octet-stream)
2006-01-29 14:07 UTC, James
Details
media-libs/wxSVG-1.0_beta5.ebuild (wxSVG-1.0_beta5.ebuild,804 bytes, text/plain)
2006-03-01 03:12 UTC, Thomas Kuther
Details
wxSVG-1.0_beta6.ebuild (wxSVG-1.0_beta6.ebuild,802 bytes, text/plain)
2006-04-25 17:17 UTC, Cymen Vig
Details
wxSVG-1.0_beta7.ebuild (wxSVG-1.0_beta7.ebuild,872 bytes, text/plain)
2006-12-31 22:50 UTC, Craig Lawson
Details
wxsvg-1.0_beta7-r1.ebuild (wxsvg-1.0_beta7-r1.ebuild,1002 bytes, text/plain)
2007-01-12 00:25 UTC, Wojciech Myrda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Adelman 2005-11-18 02:09:26 UTC
From their description: 

wxSVG is C++ library to create, manipulate and render SVG files.

If no one steps up, I'll create an ebuild tomorrow for attachment here. This is
a dependency of the new versions of DVD Styler 1.5-series, and perhaps others.
Comment 1 Jesse Adelman 2005-11-18 17:36:05 UTC
Created attachment 73159 [details]
media-libs/wxSVG-1.0_beta2.ebuild

As far as I can tell, the only hard dependency is for x11-libs/wxGTK, and that
is reflected within. It installs fine, but I haven't built an ebuild for a
dependent application (like DVD Styler), which I will do tomorrow. Please test
and critique! :)
Comment 2 Jesse Adelman 2005-12-19 14:58:47 UTC
Created attachment 75147 [details, diff]
media-libs/wxSVG/wxSVG-1.0_beta4.ebuild.patch

patch against previous ebuild attachment #73159 [details]. Adds required >=wxGTK-2.6* dependency, and configures wxwidgets configure environment to force compillation against wxGTK-2.6.X libraries. Note that this upstream rev is required for dvdstyler-1.5_beta3. Please let me know if there's anything wrong here. Thanks! :)
Comment 3 Rodrigo Queiro 2005-12-22 07:42:52 UTC
Created attachment 75330 [details]
wxSVG-1.0_beta4.ebuild

This latest attachment is equivalent to the previous ebuild posted, but more professional, i.e. no hardcoded version information, conventional variable names.
Comment 4 Scott Shawcroft (RETIRED) gentoo-dev 2005-12-26 23:34:16 UTC
Works for me!

Portage 2.1_pre2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-suspend2-r7 i686)
=================================================================
System uname: 2.6.14-suspend2-r7 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.0_pre12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r1, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -mtune=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -mtune=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect digest distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl doc dv dvd dvdr dvdread effects emboss encode esd exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm ggi gif gimpprint glitz glut gmp gpm gstreamer gtk gtk2 gtkhtml guile i8x0 idn imagemagick imlib inkjar ipv6 ithreads java jpeg junit lcms ldap libg++ libwww lua mad mhash mikmod mmx mng mono motif mozsvg mozxmlterm mp3 mpeg mysql ncurses network nls nptl ogg oggvorbis openal opengl oss pam pcre pdflib perl php plotutils plugin png ppds pthreads python qt quicktime readline samba sdl speex spell sqlite sse sse2 ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vhosts vorbis win32codecs wmf xine xinerama xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 5 James 2006-01-29 14:07:31 UTC
Created attachment 78473 [details]
wxsvg.tar.bz2

This patch adds the media-libs/wxsvg ebuild.
Comment 6 James 2006-01-29 14:09:04 UTC
Comment on attachment 78473 [details]
wxsvg.tar.bz2

media-libs/wxsvg/wxsvg-1.0_beta5.ebuild
Comment 7 Thomas Kuther 2006-03-01 03:12:43 UTC
Created attachment 81025 [details]
media-libs/wxSVG-1.0_beta5.ebuild

updated ebuild:

a) little ugly naming, as latest version is wxsvg-1.0b5_1.tar.gz
b) added "libtoolize --copy --force", otherwhise sanity check fails (are there any nice .eclass functions for that?)

needed for http://bugs.gentoo.org/show_bug.cgi?id=109894
Comment 8 Cymen Vig 2006-04-25 17:17:37 UTC
Created attachment 85504 [details]
wxSVG-1.0_beta6.ebuild

wxSVG-1.0_beta6.ebuild is the beta5 ebuild with the removal of _1 from the filename. Works for me.
Comment 9 Sander Sweers 2006-07-29 14:54:31 UTC
The einstall line should be replaced by: make DESTDIR=${D} install || die "failed to install"

einstall is not to be used directly in ebuilds
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-11-29 09:51:00 UTC
*** Bug 156632 has been marked as a duplicate of this bug. ***
Comment 11 Craig Lawson 2006-12-31 22:50:37 UTC
Created attachment 105065 [details]
wxSVG-1.0_beta7.ebuild

ebuild for wxSVG 1.0 beta 7.
As per comment 9, replace einstall.

wxSVG beta 7 is required by dvdstyler 1.5 beta 7 (see bug 109894).
Compiles and works for me on x86.
Comment 12 Bernard Cafarelli gentoo-dev 2007-01-04 05:35:19 UTC
1.0_beta7 compiles fine and lets dvdstyler run here on ~amd64:

Portage 2.1.2_rc4-r5 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-beyond2 x86_64)
=================================================================
System uname: 2.6.19-beyond2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Gentoo Base System version 1.12.8
Last Sync: Thu, 04 Jan 2007 11:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="fr fr_FR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/custom-kernels"
SYNC="rsync://rsync.cafarelli.fr/gentoo-portage"
USE="X a52 aac aalib aim alsa amd64 audiofile bash-completion beagle berkdb bitmap-fonts bonobo bzip2 cairo cddb cdr cli cracklib crypt cscope cups curl dbus dga dlloader dri dts dvb dvd dvdr dvdread emboss encode exif expat ffmpeg fftw flac foomaticdb fortran ftp galago gcj gd gdbm gif gimp glitz glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imap imlib ipv6 isdnlog jabber java jikes joystick jpeg lcms libcaca libg++ libnotify lirc live mad matroska mbox mikmod mime mng modplug mono mp3 mpeg msn musicbrainz nas ncurses nls nptl nptlonly nsplugin nvidia objc offensive ogg openal opengl oscar oss pam pcmcia pcre pda pdf perl php pic png posix ppds pppd python qt3 qt4 quicktime readline real recode reflection ruby samba scanner sdl seamonkey session slang smp speex spell spl sqlite sqlite3 ssl startup-notification subtitles svg tcl tcltk tcpd tetex theora threads tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis wifi wma wmf wxwindows x264 xcomposite xface xine xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="fr fr_FR" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="none nvidia nouveau"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 13 Wojciech Myrda 2007-01-12 00:25:06 UTC
Created attachment 106612 [details]
wxsvg-1.0_beta7-r1.ebuild

I updated this ebuild a little bit. There are 2 use flags. One of them for cairo is not active at the time as it didn't compile for me probably because of it requiring older version of it, but still it is good to know its there.
Comment 14 Ryan Hill (RETIRED) gentoo-dev 2007-01-28 04:38:11 UTC
i'll take this.  we need it for the dvdstyler bump (bug #109894), which is blocking wxGTK-2.4 removal.
Comment 15 Ryan Hill (RETIRED) gentoo-dev 2007-01-28 20:07:36 UTC
i've added media-libs/wxsvg to portage, without cairo support for now.

thanks everyone for the ebuild.