summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-10-03 22:27:38 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-10-03 22:27:38 +0000
commit83f12143c65fd4d5792890818223991a7f6c5c90 (patch)
treea7f34ea2400b71bf064d63941592c81151c15c9a /media-gfx
parentok. these are inheritng ebuilds for all kde apps in portage. i pulled in the ... (diff)
downloadgentoo-2-83f12143c65fd4d5792890818223991a7f6c5c90.tar.gz
gentoo-2-83f12143c65fd4d5792890818223991a7f6c5c90.tar.bz2
gentoo-2-83f12143c65fd4d5792890818223991a7f6c5c90.zip
Added Anjuta and tools needed.
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gnome-iconedit/files/digest-gnome-iconedit-1.2.01
-rw-r--r--media-gfx/gnome-iconedit/files/gnome-iconedit.diff62
-rw-r--r--media-gfx/gnome-iconedit/gnome-iconedit-1.2.0.ebuild53
3 files changed, 116 insertions, 0 deletions
diff --git a/media-gfx/gnome-iconedit/files/digest-gnome-iconedit-1.2.0 b/media-gfx/gnome-iconedit/files/digest-gnome-iconedit-1.2.0
new file mode 100644
index 000000000000..3d1f3b0a43c9
--- /dev/null
+++ b/media-gfx/gnome-iconedit/files/digest-gnome-iconedit-1.2.0
@@ -0,0 +1 @@
+MD5 76fcee700222898cc322a12844fb813a gnome-iconedit_1.2.0.orig.tar.gz
diff --git a/media-gfx/gnome-iconedit/files/gnome-iconedit.diff b/media-gfx/gnome-iconedit/files/gnome-iconedit.diff
new file mode 100644
index 000000000000..8ccf777bfeb1
--- /dev/null
+++ b/media-gfx/gnome-iconedit/files/gnome-iconedit.diff
@@ -0,0 +1,62 @@
+--- gnome-iconedit-1.2.0/src/layers.c~ Sat Jul 8 14:47:56 2000
++++ gnome-iconedit-1.2.0/src/layers.c Mon Jul 10 17:16:44 2000
+@@ -304,7 +304,7 @@
+ void
+ ie_primitive_clear_all (IECanvasLayer *layer)
+ {
+- memset (layer->pixbuf, 0x00, layer->rowstride * layer->height);
++ memset (layer->pixbuf, 0x00, (size_t)(layer->rowstride * layer->height));
+ }
+
+ void
+--- gnome-iconedit-1.2.0/src/Makefile.am.orig Sat Jul 8 00:51:52 2000
++++ gnome-iconedit-1.2.0/src/Makefile.am Wed Aug 30 10:34:15 2000
+@@ -95,6 +95,7 @@
+ -lgdk_pixbuf -lz -lpng -lXpm -lxml \
+ $(OAF_LIBS) \
+ -lbonobo-print \
++ -lbonobox \
+ -lbonobo \
+ $(print_libs)
+ endif
+--- gnome-iconedit-1.2.0/src/menus.c.orig Thu Jun 22 13:31:59 2000
++++ gnome-iconedit-1.2.0/src/menus.c Mon Dec 4 11:36:40 2000
+@@ -36,7 +36,8 @@
+ #include <libgnomeprint/gnome-print-preview.h>
+ #include <libgnomeprint/gnome-print-pixbuf.h>
+ #include <libgnomeprint/gnome-font.h>
+-#include <libgnomeprint/gnome-printer-profile.h>
++/* not in gnome-print (0.25) anymore */
++/*#include <libgnomeprint/gnome-printer-profile.h>*/
+ #include <libgnomeprint/gnome-printer-dialog.h>
+ #include <libgnomeprint/gnome-print-master.h>
+ #include <libgnomeprint/gnome-print-master-preview.h>
+--- gnome-iconedit-1.2.0/configure.in.orig Sat Jul 8 15:33:31 2000
++++ gnome-iconedit-1.2.0/configure.in Mon Dec 4 11:55:20 2000
+@@ -93,11 +93,11 @@
+ dnl Whether to use OAF
+
+ AC_MSG_CHECKING(if Bonobo uses OAF)
+-if ( gnome-config --libs bonobo | grep oaf ) > /dev/null 2>&1; then
+- enable_oaf="yes"
+-else
++dnl if ( gnome-config --libs bonobo | grep oaf ) > /dev/null 2>&1; then
++dnl enable_oaf="yes"
++dnl else
+ enable_oaf="no"
+-fi
++dnl fi
+
+ AC_MSG_RESULT("$enable_oaf")
+
+--- gnome-iconedit-1.2.0/src/Iconedit.h.orig Wed Oct 3 23:32:48 2001
++++ gnome-iconedit-1.2.0/src/Iconedit.h Wed Oct 3 23:32:58 2001
+@@ -13,7 +13,7 @@
+ #endif /* __cplusplus */
+
+ /** typedefs **/
+-#include <liboaf/gnome-factory.h>
++#include <libgnorba/gnome-factory.h>
+ #if !defined(ORBIT_DECL_GNOME_Iconedit_Iconedit) && !defined(_GNOME_Iconedit_Iconedit_defined)
+ #define ORBIT_DECL_GNOME_Iconedit_Iconedit 1
+ #define _GNOME_Iconedit_Iconedit_defined 1
diff --git a/media-gfx/gnome-iconedit/gnome-iconedit-1.2.0.ebuild b/media-gfx/gnome-iconedit/gnome-iconedit-1.2.0.ebuild
new file mode 100644
index 000000000000..556bda7367d4
--- /dev/null
+++ b/media-gfx/gnome-iconedit/gnome-iconedit-1.2.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Martin Schlemmer <azarah@gentoo.org>
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Edits icons, what more can you say?"
+SRC_URI="http://210.77.60.218/ftp/ftp.debian.org/pool/main/g/gnome-iconedit/gnome-iconedit_${PV}.orig.tar.gz"
+HOMEPAGE="www.advogato.org/proj/GNOME-Iconedit/"
+
+DEPEND="gnome-base/gnome-libs
+ x11-libs/gtk+
+ media-libs/gdk-pixbuf
+ media-libs/libpng
+ gnome-base/gnome-print"
+# Bonobo support is broken
+# bonobo? ( gnome-base/bonobo )"
+
+
+
+src_unpack() {
+
+ unpack ${A}
+
+ # Fix some compile / #include errors
+ cd ${S}
+ patch -p1 <${FILESDIR}/gnome-iconedit.diff || die
+
+}
+
+src_compile() {
+
+ local myconf
+ use nls || myconf="--disable-nls"
+
+ # Needed by .diff
+ automake
+ autoconf
+
+ ./configure --host=${CHOST} --prefix=/opt/gnome --mandir=/usr/share/man \
+ --infodir=/usr/share/info --with-sysconfdir=/etc/opt/gnome \
+ $myconf || die
+
+ emake || die
+}
+
+src_install () {
+
+ make DESTDIR=${D} install || die
+
+ dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+
+}
+