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
commitfb775404451078cb049647ec7ae947579d2b1639 (patch)
tree5df20969c6c5bedbbae5d29f279f4c261cb876c5 /net-misc/blogtk/files
parentStable on ppc wrt bug 149059 (diff)
downloadhistorical-fb775404451078cb049647ec7ae947579d2b1639.tar.gz
historical-fb775404451078cb049647ec7ae947579d2b1639.tar.bz2
historical-fb775404451078cb049647ec7ae947579d2b1639.zip
Add missing gnome-python-extras dep, bug #101225; fix sandbox violation, bug #115544
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'net-misc/blogtk/files')
-rw-r--r--net-misc/blogtk/files/blogtk-1.1-destdir.patch30
1 files changed, 30 insertions, 0 deletions
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