summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2005-06-21 23:54:38 +0000
committerPeter Johanson <latexer@gentoo.org>2005-06-21 23:54:38 +0000
commitefebe24dd9a5921d541327340fc7a2275bca2e8c (patch)
tree00af7f060e873e3a38b6fe0b163e4f0b723c8929 /dev-dotnet/libgdiplus
parentVersion bump. (diff)
downloadgentoo-2-efebe24dd9a5921d541327340fc7a2275bca2e8c.tar.gz
gentoo-2-efebe24dd9a5921d541327340fc7a2275bca2e8c.tar.bz2
gentoo-2-efebe24dd9a5921d541327340fc7a2275bca2e8c.zip
Bumpity bump.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-dotnet/libgdiplus')
-rw-r--r--dev-dotnet/libgdiplus/ChangeLog8
-rw-r--r--dev-dotnet/libgdiplus/files/digest-libgdiplus-1.1.81
-rw-r--r--dev-dotnet/libgdiplus/files/libgdiplus-1.1.8-giflib.diff60
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-1.1.8.ebuild60
4 files changed, 128 insertions, 1 deletions
diff --git a/dev-dotnet/libgdiplus/ChangeLog b/dev-dotnet/libgdiplus/ChangeLog
index 4e651021d765..c4e0f0a1b44c 100644
--- a/dev-dotnet/libgdiplus/ChangeLog
+++ b/dev-dotnet/libgdiplus/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-dotnet/libgdiplus
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog,v 1.35 2005/06/06 08:19:49 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog,v 1.36 2005/06/21 23:54:38 latexer Exp $
+
+*libgdiplus-1.1.8 (21 Jun 2005)
+
+ 21 Jun 2005; Peter Johanson <latexer@gentoo.org>
+ +files/libgdiplus-1.1.8-giflib.diff, +libgdiplus-1.1.8.ebuild:
+ Bumpity bump.
06 Jun 2005; David Holm <dholm@gentoo.org> libgdiplus-1.1.7-r1.ebuild:
Added to ~ppc.
diff --git a/dev-dotnet/libgdiplus/files/digest-libgdiplus-1.1.8 b/dev-dotnet/libgdiplus/files/digest-libgdiplus-1.1.8
new file mode 100644
index 000000000000..ab2f76ac877d
--- /dev/null
+++ b/dev-dotnet/libgdiplus/files/digest-libgdiplus-1.1.8
@@ -0,0 +1 @@
+MD5 8b43da0990e43f2e92b7a2bdeb86f725 libgdiplus-1.1.8.tar.gz 1353269
diff --git a/dev-dotnet/libgdiplus/files/libgdiplus-1.1.8-giflib.diff b/dev-dotnet/libgdiplus/files/libgdiplus-1.1.8-giflib.diff
new file mode 100644
index 000000000000..2b8f1553a532
--- /dev/null
+++ b/dev-dotnet/libgdiplus/files/libgdiplus-1.1.8-giflib.diff
@@ -0,0 +1,60 @@
+diff -aur libgdiplus-1.1.8-orig/configure.in libgdiplus-1.1.8/configure.in
+--- libgdiplus-1.1.8-orig/configure.in 2005-06-10 12:12:34.000000000 -0400
++++ libgdiplus-1.1.8/configure.in 2005-06-21 19:23:45.000000000 -0400
+@@ -138,7 +138,7 @@
+ AC_ARG_WITH(libtiff,
+ [AC_HELP_STRING([--without-libtiff], [disable TIFF file IO])])
+ AC_ARG_WITH(libungif,
+- [AC_HELP_STRING([--without-libungif], [disable GIF file IO])])
++ [AC_HELP_STRING([--without-libgif], [disable GIF file IO])])
+ AC_ARG_WITH(libpng,
+ [AC_HELP_STRING([--without-libpng], [disable PNG file IO])])
+
+@@ -195,17 +195,17 @@
+ fi
+
+ dnl Test for libungif
+- if test x$with_libungif != xno && test -z "$LIBUNGIF"; then
+- AC_CHECK_LIB(ungif, DGifOpenFileName,
++ if test x$with_libgif != xno && test -z "$LIBGIF"; then
++ AC_CHECK_LIB(gif, DGifOpenFileName,
+ [AC_CHECK_HEADER(gif_lib.h,
+- UNGIF='ungif'; LIBUNGIF='-lungif',
+- AC_MSG_WARN(*** GIF loader will not be built (ungiflibrary not found) ***))],
+- AC_MSG_WARN(*** GIF loader will not be built (ungiflibrary not found) ***))
++ GIF='ungif'; LIBGIF='-lgif',
++ AC_MSG_WARN(*** GIF loader will not be built (giflibrary not found) ***))],
++ AC_MSG_WARN(*** GIF loader will not be built (giflibrary not found) ***))
+ fi
+
+-if test x$UNGIF != x; then
+- GDIPLUS_LIBS="$GDIPLUS_LIBS $LIBUNGIF"
+- AC_DEFINE(HAVE_LIBUNGIF, 1, Define if gif support is available)
++if test x$GIF != x; then
++ GDIPLUS_LIBS="$GDIPLUS_LIBS $LIBGIF"
++ AC_DEFINE(HAVE_LIBGIF, 1, Define if gif support is available)
+ fi
+
+ dnl Test for libpng
+@@ -276,7 +276,7 @@
+ echo $ECHO_N " - JPEG: "
+ test ! x$JPEG = x && echo yes || echo "no (Get it from http://freshmeat.net/projects/libjpeg)"
+ echo $ECHO_N " - GIF: "
+-test ! x$UNGIF = x && echo yes || echo "no (See http://sourceforge.net/projects/libungif)"
++test ! x$GIF = x && echo yes || echo "no (See http://sourceforge.net/projects/libungif)"
+ echo $ECHO_N " - PNG: "
+ test ! x$PNG = x && echo yes || echo "no (See http://www.libpng.org/pub/png/libpng.html)"
+ echo ""
+diff -aur libgdiplus-1.1.8-orig/src/gifcodec.c libgdiplus-1.1.8/src/gifcodec.c
+--- libgdiplus-1.1.8-orig/src/gifcodec.c 2005-06-13 15:17:10.000000000 -0400
++++ libgdiplus-1.1.8/src/gifcodec.c 2005-06-21 19:23:02.000000000 -0400
+@@ -35,7 +35,7 @@
+ #include "gdipImage.h"
+ #include "gifcodec.h"
+
+-#ifdef HAVE_LIBUNGIF
++#ifdef HAVE_LIBGIF
+
+ #include <gif_lib.h>
+
+Only in libgdiplus-1.1.8/src: gifcodec.c.orig
diff --git a/dev-dotnet/libgdiplus/libgdiplus-1.1.8.ebuild b/dev-dotnet/libgdiplus/libgdiplus-1.1.8.ebuild
new file mode 100644
index 000000000000..486091522ed7
--- /dev/null
+++ b/dev-dotnet/libgdiplus/libgdiplus-1.1.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-1.1.8.ebuild,v 1.1 2005/06/21 23:54:38 latexer Exp $
+
+inherit libtool eutils
+
+DESCRIPTION="Library for using System.Drawing with Mono"
+
+HOMEPAGE="http://www.go-mono.com/"
+
+SRC_URI="http://www.go-mono.com/sources/${PN}-${PV:0:3}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="tiff gif jpeg png"
+
+DEPEND="sys-devel/libtool
+ sys-devel/automake
+ sys-devel/autoconf
+ virtual/x11
+ tiff? ( media-libs/tiff )
+ gif? ( media-libs/giflib )
+ jpeg? ( media-libs/jpeg )
+ png? ( media-libs/libpng )"
+
+RDEPEND=">=dev-lang/mono-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-1.1.4-included-cairo-fix.diff || die
+ epatch ${FILESDIR}/${PN}-1.1.8-giflib.diff || die
+ libtoolize --copy --force || die "libtoolize failed"
+ autoheader || die "autoheader failed"
+ aclocal || die "aclocal failed"
+ autoconf || die "autoconf failed"
+ automake || die "automake failed"
+}
+
+src_compile() {
+ local myconf="--with-cairo=included --disable-glitz"
+ use tiff || myconf="--without-libtiff ${myconf}"
+ use gif || myconf="--without-libgif ${myconf}"
+ use jpeg || myconf="--without-libjpeg ${myconf}"
+ use png || myconf="--without-libpng ${myconf}"
+
+ econf ${myconf} || die
+ # attribute((__stdcall__)) generate warnings on ppc
+ use ppc && sed -i -e 's:-Werror::g' src/Makefile
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ #einstall || die
+
+ dodoc AUTHORS ChangeLog NEWS README
+}