diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-05 02:21:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-05 02:21:01 +0000 |
commit | 11bc02fcd27d8dee1963f45ecce07a5914203e90 (patch) | |
tree | ce3043585b1bc2d0a8fd17c1a0231560ec91c5da /app-misc/gwine/files | |
parent | New PHP versions, fix lots of bugs, add Suhosin support. (diff) | |
download | gentoo-2-11bc02fcd27d8dee1963f45ecce07a5914203e90.tar.gz gentoo-2-11bc02fcd27d8dee1963f45ecce07a5914203e90.tar.bz2 gentoo-2-11bc02fcd27d8dee1963f45ecce07a5914203e90.zip |
Cleanup more packaging crap that gwine bundles #169370 by Fatal1ty.
(Portage version: 2.1.2-r14)
Diffstat (limited to 'app-misc/gwine/files')
-rw-r--r-- | app-misc/gwine/files/gwine-0.10.1-package.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-misc/gwine/files/gwine-0.10.1-package.patch b/app-misc/gwine/files/gwine-0.10.1-package.patch new file mode 100644 index 000000000000..b9dc249f6407 --- /dev/null +++ b/app-misc/gwine/files/gwine-0.10.1-package.patch @@ -0,0 +1,38 @@ +let portage handle the packaging details + +--- Makefile.PL ++++ Makefile.PL +@@ -232,9 +232,7 @@ + + ########################################### + ## Install Free Desktop files +- 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'; + + ## Install gwine.desktop + my $desktop_install = "\tinstall -d $INSTALL_DIRS/applications/\n"; +@@ -244,21 +242,16 @@ + ## 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 |