summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2013-07-24 23:17:04 +0000
committerChris Reffett <creffett@gentoo.org>2013-07-24 23:17:04 +0000
commit98ad6ba6fa82897c80cbfd751cc1c186c8755df1 (patch)
treeca651685307266a83f58507368c811d5359fb837 /app-office/openproj-bin
parentadd bug tracker no. to masking reason of net-libs/libotr (diff)
downloadgentoo-2-98ad6ba6fa82897c80cbfd751cc1c186c8755df1.tar.gz
gentoo-2-98ad6ba6fa82897c80cbfd751cc1c186c8755df1.tar.bz2
gentoo-2-98ad6ba6fa82897c80cbfd751cc1c186c8755df1.zip
Revbump to fix desktop file validation wrt bug 477602
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 42618354)
Diffstat (limited to 'app-office/openproj-bin')
-rw-r--r--app-office/openproj-bin/ChangeLog8
-rw-r--r--app-office/openproj-bin/files/openproj-1.4.desktop10
-rw-r--r--app-office/openproj-bin/openproj-bin-1.4-r1.ebuild50
3 files changed, 67 insertions, 1 deletions
diff --git a/app-office/openproj-bin/ChangeLog b/app-office/openproj-bin/ChangeLog
index 7395c1705383..2ce760de97c1 100644
--- a/app-office/openproj-bin/ChangeLog
+++ b/app-office/openproj-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/openproj-bin
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openproj-bin/ChangeLog,v 1.4 2013/07/21 11:12:05 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openproj-bin/ChangeLog,v 1.5 2013/07/24 23:17:04 creffett Exp $
+
+*openproj-bin-1.4-r1 (24 Jul 2013)
+
+ 24 Jul 2013; Chris Reffett <creffett@gentoo.org> +files/openproj-1.4.desktop,
+ +openproj-bin-1.4-r1.ebuild:
+ Revbump to fix desktop file validation wrt bug 477602
21 Jul 2013; Agostino Sarubbo <ago@gentoo.org> openproj-bin-1.4.ebuild:
Stable for amd64, wrt bug #477338
diff --git a/app-office/openproj-bin/files/openproj-1.4.desktop b/app-office/openproj-bin/files/openproj-1.4.desktop
new file mode 100644
index 000000000000..1a973c04790b
--- /dev/null
+++ b/app-office/openproj-bin/files/openproj-1.4.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=OpenProj
+Comment=Project Management
+Comment[fr]=Gestion de projet
+Exec=openproj %F
+Icon=openproj
+Terminal=false
+Type=Application
+Categories=Office;ProjectManagement;
+MimeType=application/x-openproj;
diff --git a/app-office/openproj-bin/openproj-bin-1.4-r1.ebuild b/app-office/openproj-bin/openproj-bin-1.4-r1.ebuild
new file mode 100644
index 000000000000..64225231d925
--- /dev/null
+++ b/app-office/openproj-bin/openproj-bin-1.4-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/openproj-bin/openproj-bin-1.4-r1.ebuild,v 1.1 2013/07/24 23:17:04 creffett Exp $
+
+EAPI=5
+
+inherit eutils
+
+MY_PN=${PN/-bin}
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="A free and open source desktop alternative to Microsoft Project"
+HOMEPAGE="http://openproj.org/"
+SRC_URI="mirror://sourceforge/openproj/${MY_P}.tar.gz
+ http://openproj.cvs.sourceforge.net/viewvc/openproj/openproj_build/resources/openproj.png?revision=1.1 -> ${MY_PN}-1.1.png"
+
+LICENSE="CPAL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ cp "${DISTDIR}"/${MY_PN}-*.png ./ || die
+ cd "${S}"
+ rm -rf license openproj.bat readme.html
+}
+
+src_prepare() {
+ sed -i \
+ -e "/^OPENPROJ_HOME0=/s:=.*:=/opt/${MY_PN}:" \
+ openproj.sh || die
+}
+
+src_install() {
+ local d="/opt/${MY_PN}"
+ insinto ${d}
+ doins -r * || die
+ fperms a+rx ${d}/openproj.sh
+
+ dodir /opt/bin
+ dosym ../${MY_PN}/openproj.sh /opt/bin/openproj || die
+
+ newmenu "${FILESDIR}/${MY_PN}-1.4.desktop" "${MY_PN}.desktop" || die
+ newmenu ../${MY_PN}-*.png ${MY_PN}.png || die
+}