another version of the split-out panel
authorD.M.D. Ljungmark <spider@gentoo.org>
Thu, 24 Oct 2002 20:00:08 +0000 (20:00 +0000)
committerD.M.D. Ljungmark <spider@gentoo.org>
Thu, 24 Oct 2002 20:00:08 +0000 (20:00 +0000)
gnome-base/gnome-panel/ChangeLog
gnome-base/gnome-panel/files/digest-gnome-panel-1.4.2 [new file with mode: 0644]
gnome-base/gnome-panel/gnome-panel-1.4.2.ebuild [new file with mode: 0644]

index caf2533f1c44b2832a1015e695912fcb9ab06204..3ac18ffe37108057565a1b16a148cf26c640a95b 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for gnome-base/gnome-panel
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/ChangeLog,v 1.22 2002/10/14 15:24:59 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/ChangeLog,v 1.23 2002/10/24 20:00:08 spider Exp $
+
+
+*gnome-panel-1.4.2 (24 oct 2002)
+  24 Oct 2002; Spider <spider@gentoo.org> gnome-panel-1.4.2.ebuild :
+  updated with the new panel from gnome-core too
 
 *gnome-panel-2.0.10 (14 Oct 2002)
   14 Oct 2002; foser <foser@gentoo.org> gnome-panel-2.0.10.ebuild "
diff --git a/gnome-base/gnome-panel/files/digest-gnome-panel-1.4.2 b/gnome-base/gnome-panel/files/digest-gnome-panel-1.4.2
new file mode 100644 (file)
index 0000000..c50aa28
--- /dev/null
@@ -0,0 +1 @@
+MD5 d2caf2e71afcc946d5bceaec1b7ba1d3 gnome-core-1.4.2.tar.bz2 6276384
diff --git a/gnome-base/gnome-panel/gnome-panel-1.4.2.ebuild b/gnome-base/gnome-panel/gnome-panel-1.4.2.ebuild
new file mode 100644 (file)
index 0000000..1922350
--- /dev/null
@@ -0,0 +1,78 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/gnome-panel-1.4.2.ebuild,v 1.1 2002/10/24 20:00:08 spider Exp $
+
+IUSE="kde nls"
+
+inherit libtool
+
+S=${WORKDIR}/gnome-core-${PV}
+DESCRIPTION="Split out panel from gnome-core"
+SRC_URI="mirror://gnome/sources/gnome-core/1.4/gnome-core-${PV}.tar.bz2"
+HOMEPAGE="http://www.gnome.org/"
+SLOT="1.4"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+LICENSE="GPL-2"
+
+RDEPEND="=gnome-base/control-center-1.4*
+       <gnome-base/libglade-0.99.0
+       >=gnome-base/gnome-libs-1.4.1.2-r1
+       >=media-libs/gdk-pixbuf-0.16.0-r1"
+
+DEPEND="${RDEPEND}
+       >=app-text/scrollkeeper-0.2
+       nls? ( sys-devel/gettext
+       >=dev-util/intltool-0.11 )"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       # Libtoolize
+       elibtoolize
+       aclocal -I macros
+       automake --add-missing
+       autoconf
+}
+
+src_compile() {
+       local myconf=""
+       local myldflags=""
+       
+       use nls || myconf="${myconf} --disable-nls"
+
+       if [ "`use kde`" ]
+       then
+               myconf="${myconf} --with-kde-datadir=/usr/share"
+       fi
+
+       # Fix build against gdk-pixbuf-0.12 and later
+       CFLAGS="${CFLAGS} `gdk-pixbuf-config --cflags`"
+
+       ./configure --host=${CHOST} \
+                   --prefix=/usr \
+                   --mandir=/usr/share/man \
+                   --sysconfdir=/etc \
+                   --localstatedir=/var/lib \
+                   ${myconf} || die
+
+       cd panel
+       cp gnome-panel-screenshot.c gnome-panel-screenshot.c.orig
+       cat gnome-panel-screenshot.c.orig | \
+               sed 's:\(^#include <errno.h>\):\1\n#include <locale.h>:' \
+               > gnome-panel-screenshot.c
+       
+       cd ${S}
+       make -C panel
+}
+
+src_install() {
+       make -C panel \
+               prefix=${D}/usr \
+               mandir=${D}/usr/share/man \
+               sysconfdir=${D}/etc \
+               localstatedir=${D}/var/lib \
+               install || die
+       dodoc AUTHORS COPYING* ChangeLog README NEWS
+}
+