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
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')
-rw-r--r--app-misc/gwine/ChangeLog8
-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
-rw-r--r--app-misc/gwine/gwine-0.10.3.ebuild34
4 files changed, 109 insertions, 1 deletions
diff --git a/app-misc/gwine/ChangeLog b/app-misc/gwine/ChangeLog
index d6bba4ab2b79..f19156af7273 100644
--- a/app-misc/gwine/ChangeLog
+++ b/app-misc/gwine/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/gwine
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gwine/ChangeLog,v 1.9 2007/03/05 02:21:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gwine/ChangeLog,v 1.10 2007/03/05 02:34:01 vapier Exp $
+
+*gwine-0.10.3 (05 Mar 2007)
+
+ 05 Mar 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/gwine-0.10.3-package.patch, +gwine-0.10.3.ebuild:
+ Version bump.
05 Mar 2007; Mike Frysinger <vapier@gentoo.org>
+files/gwine-0.10.1-package.patch, gwine-0.10.1.ebuild:
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
diff --git a/app-misc/gwine/gwine-0.10.3.ebuild b/app-misc/gwine/gwine-0.10.3.ebuild
new file mode 100644
index 000000000000..0a779a3a5133
--- /dev/null
+++ b/app-misc/gwine/gwine-0.10.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gwine/gwine-0.10.3.ebuild,v 1.1 2007/03/05 02:34:01 vapier Exp $
+
+inherit eutils gnome2 perl-app
+
+DESCRIPTION="Gnome application to manage your wine cellar"
+HOMEPAGE="http://home.gna.org/gwine/"
+SRC_URI="http://download.gna.org/gwine/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/perl-5.8.0
+ >=dev-perl/glib-perl-0.90
+ >=dev-perl/gtk2-perl-0.90
+ >=dev-perl/gnome2-perl-1.021
+ >=dev-perl/gtk2-gladexml-1.003
+ dev-perl/gnome2-gconf
+ dev-perl/libintl-perl
+ dev-perl/DateTime"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.10.3-package.patch
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+ gnome2_gconf_install
+}