summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2006-09-25 17:13:17 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2006-09-25 17:13:17 +0000
commitea80ed9d7c83988596602a36b25348e2c7d26b49 (patch)
tree35ab6a0f01b49457a0c408f64691a0a51e08c451 /net-misc/blogtk
parentStable on ppc wrt bug 149059 (diff)
downloadgentoo-2-ea80ed9d7c83988596602a36b25348e2c7d26b49.tar.gz
gentoo-2-ea80ed9d7c83988596602a36b25348e2c7d26b49.tar.bz2
gentoo-2-ea80ed9d7c83988596602a36b25348e2c7d26b49.zip
Add missing gnome-python-extras dep, bug #101225; fix sandbox violation, bug #115544
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'net-misc/blogtk')
-rw-r--r--net-misc/blogtk/ChangeLog7
-rw-r--r--net-misc/blogtk/blogtk-1.1.ebuild7
-rw-r--r--net-misc/blogtk/files/blogtk-1.1-destdir.patch30
3 files changed, 40 insertions, 4 deletions
diff --git a/net-misc/blogtk/ChangeLog b/net-misc/blogtk/ChangeLog
index 11ff845a069a..1a279dfb03c7 100644
--- a/net-misc/blogtk/ChangeLog
+++ b/net-misc/blogtk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/blogtk
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/ChangeLog,v 1.11 2006/09/18 19:24:59 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/ChangeLog,v 1.12 2006/09/25 17:13:17 dang Exp $
+
+ 25 Sep 2006; Daniel Gryniewicz <dang@gentoo.org>
+ +files/blogtk-1.1-destdir.patch, blogtk-1.1.ebuild:
+ Add missing gnome-python-extras dep, bug #101225; fix sandbox violation, bug
+ #115544
18 Sep 2006; Daniel Gryniewicz <dang@gentoo.org> metadata.xml:
Take ownership
diff --git a/net-misc/blogtk/blogtk-1.1.ebuild b/net-misc/blogtk/blogtk-1.1.ebuild
index bfb77ab40cfa..b540899a97cb 100644
--- a/net-misc/blogtk/blogtk-1.1.ebuild
+++ b/net-misc/blogtk/blogtk-1.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/blogtk-1.1.ebuild,v 1.3 2005/03/02 23:38:26 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/blogtk-1.1.ebuild,v 1.4 2006/09/25 17:13:17 dang Exp $
inherit eutils
@@ -18,13 +18,14 @@ IUSE=""
RDEPEND=">=dev-python/pygtk-2.0.0
>=gnome-base/gconf-2.2.0
>=dev-python/gnome-python-2
+ dev-python/gnome-python-extras
amd64? ( >=dev-python/gnome-python-2.6.1 )"
DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS TODO"
src_unpack() {
unpack ${A}
- cd ${S}; epatch ${FILESDIR}/${PN}-1.0-destdir.patch
+ cd ${S}; epatch ${FILESDIR}/${PN}-1.1-destdir.patch
}
src_compile() {
diff --git a/net-misc/blogtk/files/blogtk-1.1-destdir.patch b/net-misc/blogtk/files/blogtk-1.1-destdir.patch
new file mode 100644
index 000000000000..ddfcf5b3dcbb
--- /dev/null
+++ b/net-misc/blogtk/files/blogtk-1.1-destdir.patch
@@ -0,0 +1,30 @@
+diff --exclude-from=/home/dang/.diffrc -u -ruN BloGTK-1.1.orig/Makefile BloGTK-1.1/Makefile
+--- BloGTK-1.1.orig/Makefile 2005-01-08 11:59:58.000000000 -0500
++++ BloGTK-1.1/Makefile 2006-09-25 13:08:14.000000000 -0400
+@@ -10,11 +10,11 @@
+ # autodetect GNOME prefix, change this if you want it elsewhere
+ PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr`
+
+-LIBDIR = $(PREFIX)/lib/blogtk
+-BINDIR = $(PREFIX)/bin
+-DATADIR = $(PREFIX)/share/blogtk
+-APPLICATIONSDIR = $(PREFIX)/share/applications
+-ICONDIR = $(PREFIX)/share/pixmaps
++LIBDIR = $(DESTDIR)$(PREFIX)/lib/blogtk
++BINDIR = $(DESTDIR)$(PREFIX)/bin
++DATADIR = $(DESTDIR)$(PREFIX)/share/blogtk
++APPLICATIONSDIR = $(DESTDIR)$(PREFIX)/share/applications
++ICONDIR = $(DESTDIR)$(PREFIX)/share/pixmaps
+
+ PYFILES := $(shell $(FIND) . -name "*.py" -print)
+
+@@ -28,7 +28,5 @@
+ $(INSTALL) -m 644 data/blogtk-icon.png $(ICONDIR)
+ $(INSTALL) -m 644 data/blogtk.desktop $(APPLICATIONSDIR)
+
+- if test -f /usr/bin/BloGTK; then rm /usr/bin/BloGTK; fi
+-
+- ln -s $(LIBDIR)/BloGTK.py $(BINDIR)/BloGTK
+- chmod +x $(BINDIR)/BloGTK
++ ln -sf $(LIBDIR)/BloGTK.py $(BINDIR)/BloGTK
++ chmod +x $(LIBDIR)/BloGTK.py