diff options
Diffstat (limited to 'media-gfx/k3d')
-rw-r--r-- | media-gfx/k3d/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/k3d/Manifest | 3 | ||||
-rw-r--r-- | media-gfx/k3d/files/digest-k3d-0.5.0.37 | 1 | ||||
-rw-r--r-- | media-gfx/k3d/files/k3d-0.5.0.37-nls.patch | 48 | ||||
-rw-r--r-- | media-gfx/k3d/k3d-0.5.0.37.ebuild | 93 |
5 files changed, 152 insertions, 1 deletions
diff --git a/media-gfx/k3d/ChangeLog b/media-gfx/k3d/ChangeLog index 35a6d83b87cc..1d801167a31a 100644 --- a/media-gfx/k3d/ChangeLog +++ b/media-gfx/k3d/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/k3d # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.24 2006/02/02 03:19:59 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.25 2006/02/02 20:40:45 vanquirius Exp $ + +*k3d-0.5.0.37 (02 Feb 2006) + + 02 Feb 2006; Marcelo Goes <vanquirius@gentoo.org> + +files/k3d-0.5.0.37-nls.patch, +k3d-0.5.0.37.ebuild: + 0.5.0.37 version bump. 02 Feb 2006; Marcelo Goes <vanquirius@gentoo.org> k3d-0.5.0.34.ebuild: Make modular X friendly. diff --git a/media-gfx/k3d/Manifest b/media-gfx/k3d/Manifest index ddd90a076f83..9707d89f5a12 100644 --- a/media-gfx/k3d/Manifest +++ b/media-gfx/k3d/Manifest @@ -1,7 +1,10 @@ MD5 89e101426ebc23238397b38f5b694e15 ChangeLog 3549 MD5 f422c293ed6d2f4f51162353a19008a0 files/digest-k3d-0.5.0.33 66 MD5 20e100fbbfd6cb1cee996065d9a66660 files/digest-k3d-0.5.0.34 66 +MD5 343942ad2f2bca35c9b68ff5e716c8fc files/digest-k3d-0.5.0.37 66 MD5 496ef774e987945057662901c2f855ee files/k3d-0.5.0.34-nls.patch 1610 +MD5 9955c43875db44f779d1e64142747ab8 files/k3d-0.5.0.37-nls.patch 1724 MD5 b4275fc98b9707d8361812632919ef93 k3d-0.5.0.33.ebuild 2030 MD5 8457926992e542c81999ad3552b0d409 k3d-0.5.0.34.ebuild 2098 +MD5 cc230162bb977339a5ed2ce03d3003fb k3d-0.5.0.37.ebuild 2098 MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161 diff --git a/media-gfx/k3d/files/digest-k3d-0.5.0.37 b/media-gfx/k3d/files/digest-k3d-0.5.0.37 new file mode 100644 index 000000000000..a1692fc80b4f --- /dev/null +++ b/media-gfx/k3d/files/digest-k3d-0.5.0.37 @@ -0,0 +1 @@ +MD5 1e0d26d4867c2f07e25060e295818e21 k3d-0.5.0.37.tar.bz2 4518681 diff --git a/media-gfx/k3d/files/k3d-0.5.0.37-nls.patch b/media-gfx/k3d/files/k3d-0.5.0.37-nls.patch new file mode 100644 index 000000000000..f5ae33fdbb0c --- /dev/null +++ b/media-gfx/k3d/files/k3d-0.5.0.37-nls.patch @@ -0,0 +1,48 @@ +diff --exclude='*~' -Naur k3d-0.5.0.37.orig/application/main.cpp k3d-0.5.0.37/application/main.cpp +--- k3d-0.5.0.37.orig/application/main.cpp 2006-02-02 17:22:31.000000000 -0200 ++++ k3d-0.5.0.37/application/main.cpp 2006-02-02 17:23:20.000000000 -0200 +@@ -685,10 +685,12 @@ + { + const std::string program_name = boost::filesystem::path(argv[0], boost::filesystem::native).leaf(); + ++#ifdef ENABLE_NLS + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, K3D_LOCALE); + bind_textdomain_codeset(PACKAGE, "UTF-8"); + textdomain(PACKAGE); ++#endif + + logbufs_t logbufs; + +diff --exclude='*~' -Naur k3d-0.5.0.37.orig/bug-buddy/main.cpp k3d-0.5.0.37/bug-buddy/main.cpp +--- k3d-0.5.0.37.orig/bug-buddy/main.cpp 2006-02-02 17:22:34.000000000 -0200 ++++ k3d-0.5.0.37/bug-buddy/main.cpp 2006-02-02 17:23:58.000000000 -0200 +@@ -532,10 +532,12 @@ + { + const std::string program_name = boost::filesystem::path(argv[0], boost::filesystem::native).leaf(); + ++#ifdef ENABLE_NLS + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, K3D_LOCALE); + bind_textdomain_codeset(PACKAGE, "UTF-8"); + textdomain(PACKAGE); ++#endif + + Gtk::Main main(&argc, &argv); + +diff --exclude='*~' -Naur k3d-0.5.0.37.orig/k3dsdk/i18n.h k3d-0.5.0.37/k3dsdk/i18n.h +--- k3d-0.5.0.37.orig/k3dsdk/i18n.h 2006-02-02 17:22:33.000000000 -0200 ++++ k3d-0.5.0.37/k3dsdk/i18n.h 2006-02-02 17:24:50.000000000 -0200 +@@ -23,12 +23,6 @@ + + #define _(String) (String) + #define N_(String) (String) +- #define textdomain(String) +- #define gettext(String) (String) +- #define dgettext(Domain, String) (String) +- #define dcgettext(Domain, String, Type) (String) +- #define bindtextdomain(Domain, Directory) +- #define bind_textdomain_codeset(Domain, Codeset) + + #endif // !ENABLE_NLS + diff --git a/media-gfx/k3d/k3d-0.5.0.37.ebuild b/media-gfx/k3d/k3d-0.5.0.37.ebuild new file mode 100644 index 000000000000..49e09fde0fda --- /dev/null +++ b/media-gfx/k3d/k3d-0.5.0.37.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.5.0.37.ebuild,v 1.1 2006/02/02 20:40:45 vanquirius Exp $ + +inherit eutils + +DESCRIPTION="A free 3D modeling, animation, and rendering system" +HOMEPAGE="http://k3d.sourceforge.net/" +SRC_URI="mirror://sourceforge/k3d/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="expat gnome graphviz imagemagick javascript jpeg nls openexr plib png python qt svg tiff truetype xml2" + +DEPEND="virtual/opengl + virtual/glu + dev-libs/boost + expat? ( dev-libs/expat ) + xml2? ( dev-libs/libxml2 ) + !xml2? ( dev-libs/expat ) + truetype? ( >=media-libs/freetype-2 ) + gnome? ( gnome-base/libgnome ) + imagemagick? ( media-gfx/imagemagick ) + jpeg? ( media-libs/jpeg ) + dev-cpp/glibmm + dev-cpp/gtkmm + >=x11-libs/gtkglext-1.0.6-r3 + openexr? ( media-libs/openexr ) + plib? ( media-libs/plib ) + png? ( media-libs/libpng ) + python? ( >=dev-lang/python-2.3 ) + qt? ( =x11-libs/qt-3* ) + tiff? ( media-libs/tiff ) + =dev-libs/libsigc++-2.0* + svg? ( gnome-base/librsvg )" + +RDEPEND="${DEPEND} + ( || ( + ( x11-libs/libXmu + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM ) + virtual/x11 ) + )" + +DEPEND="${DEPEND} + ( || ( + ( media-libs/mesa ) + virtual/x11 ) + )" + +src_unpack() { + unpack ${A} + # bug 112144 + epatch "${FILESDIR}"/${PN}-0.5.0.37-nls.patch +} + +src_compile() { + local myconf="--with-ngui" + if use expat || ! use xml2 ; then + myconf="--without-libxml2" + else + myconf="--with-libxml2" + fi + + econf \ + $(use_enable nls) \ + --with-external-boost \ + $(use_with truetype freetype2) \ + $(use_with gnome) \ + $(use_with graphviz) \ + $(use_with imagemagick) \ + $(use_with javascript) \ + $(use_with jpeg) \ + $(use_with openexr) \ + $(use_with plib) \ + $(use_with png) \ + $(use_with python) \ + $(use_with qt) \ + $(use_with svg svg-icons) \ + $(use_with tiff) \ + ${myconf} \ + || die + emake || die +} + +src_install() { + make install DESTDIR="${D}" || die + dodoc AUTHORS NEWS README TODO + #missing dir + dodir /usr/share/k3d/shaders/layered +} |