summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-05 02:34:01 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-05 02:34:01 +0000
commitba29eb1b5a18444f945f61c5d92a922f021fdd69 (patch)
tree8f8ac691c904ba90a615184f5236731b85a1f793 /app-misc/gwine/files
parentCleanup more packaging crap that gwine bundles #169370 by Fatal1ty. (diff)
downloadgentoo-2-ba29eb1b5a18444f945f61c5d92a922f021fdd69.tar.gz
gentoo-2-ba29eb1b5a18444f945f61c5d92a922f021fdd69.tar.bz2
gentoo-2-ba29eb1b5a18444f945f61c5d92a922f021fdd69.zip
Version bump.
(Portage version: 2.1.2-r14)
Diffstat (limited to 'app-misc/gwine/files')
-rw-r--r--app-misc/gwine/files/digest-gwine-0.10.33
-rw-r--r--app-misc/gwine/files/gwine-0.10.3-package.patch65
2 files changed, 68 insertions, 0 deletions
diff --git a/app-misc/gwine/files/digest-gwine-0.10.3 b/app-misc/gwine/files/digest-gwine-0.10.3
new file mode 100644
index 000000000000..23c3b931f8b3
--- /dev/null
+++ b/app-misc/gwine/files/digest-gwine-0.10.3
@@ -0,0 +1,3 @@
+MD5 a6adf89cf90220eb30e98ef19d6dd5a8 gwine-0.10.3.tar.gz 590073
+RMD160 a497e3baac7e2d1dee2d90d7d54ae070e02ed7a9 gwine-0.10.3.tar.gz 590073
+SHA256 301292750136d2c6559c6ac0d1973875ce7bd3eaf5eac7d9e4c18f02f56a297a gwine-0.10.3.tar.gz 590073
diff --git a/app-misc/gwine/files/gwine-0.10.3-package.patch b/app-misc/gwine/files/gwine-0.10.3-package.patch
new file mode 100644
index 000000000000..3e26b7ef61d3
--- /dev/null
+++ b/app-misc/gwine/files/gwine-0.10.3-package.patch
@@ -0,0 +1,65 @@
+let portage handle the packaging details
+
+--- Makefile.PL
++++ Makefile.PL
+@@ -259,9 +259,7 @@
+ my $self = shift;
+
+ ## INSTALL_DIR = dir where data go
+- my $INSTALL_DIRS = '';
+- if (exists $ENV{XDG_DATA_DIRS}) { $INSTALL_DIRS = '$(XDG_DATA_DIRS)' }
+- else { $INSTALL_DIRS = '$(DESTDIR)$(PREFIX)/share' }
++ my $INSTALL_DIRS = '$(DESTDIR)$(PREFIX)/share';
+
+ ###########################################
+ ## MO files
+@@ -270,10 +268,7 @@
+ my $update_mo = "update_mo :\n";
+ $update_mo .= "\tmake -C po update-mo\n";
+ # install mo files
+- my $mopath = '';
+- if (exists $ENV{LOCALE_PREFIX}) {
+- $mopath = "$ENV{LOCALE_PREFIX}/share/locale"
+- } else { $mopath = '$(DESTDIR)$(PREFIX)/share/locale' }
++ my $mopath = '$(DESTDIR)$(PREFIX)/share/locale';
+ my $mo_install = '';
+ my $mo_uninstall = '';
+ foreach my $po (<po/*.po>) {
+@@ -327,8 +322,6 @@
+ # update Scrollkeeper database
+ my $pkglocalstatedir = `scrollkeeper-config --pkglocalstatedir`;
+ chomp $pkglocalstatedir;
+- $doc_install .= "\tscrollkeeper-update -p \$(DESTDIR)$pkglocalstatedir -o \$(DESTDIR)$omfdir/gwine\n" unless $::deb_pkg;
+- $doc_uninstall .= "\tscrollkeeper-update -p \$(DESTDIR)$pkglocalstatedir\n" unless $::deb_pkg;
+ # uninstall
+ foreach (@doc_install) {
+ next if m/^\s*install -d/;
+@@ -368,27 +361,21 @@
+ ## Install gwine.desktop
+ my $desktop_install = "\tinstall -d $INSTALL_DIRS/applications/\n";
+ $desktop_install .= "\tinstall -m 644 gwine.desktop $INSTALL_DIRS/applications/gwine.desktop\n";
+- $desktop_install .= "\tupdate-desktop-database\n" unless $::deb_pkg;
+ my $desktop_uninstall = "\trm -f $INSTALL_DIRS/applications/gwine.desktop\n";
+
+ ## Install gwine.xml
+ my $mime_install = "\tinstall -d $INSTALL_DIRS/mime/packages/\n";
+ $mime_install .= "\tinstall -m 644 gwine.xml $INSTALL_DIRS/mime/packages/gwine.xml\n";
+- $mime_install .= "\tupdate-mime-database $INSTALL_DIRS/mime\n" unless $::deb_pkg;
+ my $mime_uninstall = "\trm -f $INSTALL_DIRS/mime/packages/gwine.xml\n";
+
+ ###########################################
+ ## Install gconf schemas
+ my $gconf_install = '';
+ my $gconf_uninstall = '';
+- if ($::install_gconf_schema) {
+- $gconf_install = "\tgconftool --install-schema-file=gwine.schemas\n"
+- } elsif ($::deb_pkg) {
+ # Place schema in /etc/gconf/schemas (it seems dh_gconf searches here)
+ $gconf_install = "\tinstall -d \$(DESTDIR)/etc/gconf/schemas\n";
+ $gconf_install .= "\tinstall -m 644 gwine.schemas \$(DESTDIR)/etc/gconf/schemas\n";
+- $gconf_uninstall = "\trm \$(DESTDIR)/etc/gconf/schemas\n"
++ $gconf_uninstall = "\trm \$(DESTDIR)/etc/gconf/schemas\n";
+- }
+
+ <<EOT;
+ $update_mo