diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-05 07:12:04 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-05 07:12:04 +0000 |
commit | 9a4c17f71a3a67ced18cbb195a5fa4c366faf845 (patch) | |
tree | 6d45f8dffe6a0cca077cb0955551f9d3bfbfce3f /net-im/linpopup | |
parent | remove old (diff) | |
download | gentoo-2-9a4c17f71a3a67ced18cbb195a5fa4c366faf845.tar.gz gentoo-2-9a4c17f71a3a67ced18cbb195a5fa4c366faf845.tar.bz2 gentoo-2-9a4c17f71a3a67ced18cbb195a5fa4c366faf845.zip |
Fix installation wrt #238613, thanks to Christophe LEFEBVRE.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'net-im/linpopup')
-rw-r--r-- | net-im/linpopup/ChangeLog | 9 | ||||
-rw-r--r-- | net-im/linpopup/files/2.0.4-link.patch | 23 | ||||
-rw-r--r-- | net-im/linpopup/files/linpopup.desktop | 9 | ||||
-rw-r--r-- | net-im/linpopup/linpopup-2.0.4-r1.ebuild | 42 |
4 files changed, 50 insertions, 33 deletions
diff --git a/net-im/linpopup/ChangeLog b/net-im/linpopup/ChangeLog index 571d859e5233..0257f8b93564 100644 --- a/net-im/linpopup/ChangeLog +++ b/net-im/linpopup/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/linpopup -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/ChangeLog,v 1.15 2007/05/06 11:43:30 genone Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/ChangeLog,v 1.16 2009/08/05 07:12:04 ssuominen Exp $ + + 05 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + +files/2.0.4-link.patch, linpopup-2.0.4-r1.ebuild, + -files/linpopup.desktop: + Fix installation wrt #238613, thanks to Christophe LEFEBVRE. 06 May 2007; Marius Mauch <genone@gentoo.org> linpopup-2.0.4-r1.ebuild: Replacing einfo with elog diff --git a/net-im/linpopup/files/2.0.4-link.patch b/net-im/linpopup/files/2.0.4-link.patch new file mode 100644 index 000000000000..71e2b5346b95 --- /dev/null +++ b/net-im/linpopup/files/2.0.4-link.patch @@ -0,0 +1,23 @@ +diff -ur linpopup-2.0.4.orig/Makefile.am linpopup-2.0.4/Makefile.am +--- linpopup-2.0.4.orig/Makefile.am 2003-08-17 03:18:55.000000000 +0300 ++++ linpopup-2.0.4/Makefile.am 2009-08-05 10:10:40.000000000 +0300 +@@ -17,6 +17,5 @@ + $(mkinstalldirs) $(DATA_FILE); \ + rm -fR $(DATA_FILE); \ + touch $(DATA_FILE); \ +- chgrp nobody $(DATA_FILE); \ +- chmod 0666 $(DATA_FILE); \ ++ chmod 0600 $(DATA_FILE); \ + fi +diff -ur linpopup-2.0.4.orig/src/Makefile.am linpopup-2.0.4/src/Makefile.am +--- linpopup-2.0.4.orig/src/Makefile.am 2003-08-17 03:18:40.000000000 +0300 ++++ linpopup-2.0.4/src/Makefile.am 2009-08-05 10:09:53.000000000 +0300 +@@ -56,8 +56,6 @@ + + install-data-local: + @$(NORMAL_INSTALL) +- ln -fs $(PACKAGE) $(DESTDIR)$(bindir)/$(PROGNAME_LNK) + + uninstall-local: + @$(NORMAL_UNINSTALL) +- rm -f $(DESTDIR)$(bindir)/$(PROGNAME_LNK) diff --git a/net-im/linpopup/files/linpopup.desktop b/net-im/linpopup/files/linpopup.desktop deleted file mode 100644 index ee2b99401ffe..000000000000 --- a/net-im/linpopup/files/linpopup.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=LinPopUp -Comment=Send and recieve network messages -Exec=LinPopUp -StartupNotify=false -Terminal=false -Type=Application -Icon=linpopup.xpm -Categories=Application;Network; diff --git a/net-im/linpopup/linpopup-2.0.4-r1.ebuild b/net-im/linpopup/linpopup-2.0.4-r1.ebuild index 8c125be7de95..e0baf0d71c2b 100644 --- a/net-im/linpopup/linpopup-2.0.4-r1.ebuild +++ b/net-im/linpopup/linpopup-2.0.4-r1.ebuild @@ -1,43 +1,41 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/linpopup-2.0.4-r1.ebuild,v 1.3 2007/05/06 11:43:30 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/linpopup-2.0.4-r1.ebuild,v 1.4 2009/08/05 07:12:04 ssuominen Exp $ -inherit gnome2 eutils +EAPI=2 +GCONF_DEBUG=no +inherit autotools eutils gnome2 -DESCRIPTION="GTK2 port of the LinPopUp messaging client for Samba (including Samba 3)" +DESCRIPTION="GTK+ port of the LinPopUp messaging client for Samba (including Samba 3)" HOMEPAGE="http://linpopup2.sourceforge.net/" SRC_URI="mirror://sourceforge/linpopup2/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc x86" -IUSE="gnome" +IUSE="" -RDEPEND=">=x11-libs/gtk+-2 - >=dev-libs/glib-2 - >=net-fs/samba-2.2.8a" +RDEPEND="x11-libs/libX11 + x11-libs/libXmu + x11-libs/gtk+:2" DEPEND="${RDEPEND} dev-util/pkgconfig - x11-libs/libXmu" + x11-proto/xproto" -DOCS="AUTHORS BUGS ChangeLog INSTALL MANUAL NEWS README THANKS TODO" +DOCS="AUTHORS BUGS ChangeLog MANUAL NEWS README THANKS TODO" -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PV}-overflow.patch +src_prepare() { + gnome2_src_prepare + epatch "${FILESDIR}"/${PV}-overflow.patch \ + "${FILESDIR}"/${PV}-link.patch + eautoreconf } src_install() { - # Install icon and .desktop for menu entry - if use gnome ; then - insinto /usr/share/pixmaps - newins ${S}/pixmaps/icon_256.xpm linpopup.xpm - insinto /usr/share/applications - doins ${FILESDIR}/linpopup.desktop - fi - gnome2_src_install + dosym linpopup /usr/bin/LinPopUp || die "dosym failed" + newicon pixmaps/icon_256.xpm ${PN}.xpm + make_desktop_entry ${PN} LinPopUp ${PN} } pkg_postinst() { |