"OpenProj by Projity is a desktop replacement of Microsoft Project. OpenProj has equivalent functionality, a familiar user interface and even opens existing MSProject files. OpenProj is interoperable with Project, with a Gantt Chart and PERT chart etc." In a press release they stated having Sabayon support, but I couldn't find any ebuild in their overlay.
Created attachment 130268 [details] Ebuild for openproj-0.9.3 I wrote an ebuild for the downloadable version of openproj (see attachment). I called it 'openproj-bin' since the source code is not yet available - you can download only a 'jar' archive. The license of openproj, called "Common Public Attribution Licence" is not listed in portage, so it should be included with the ebuild in the 'files' directory. I didn't read it carefully, so I don't know if it is a truly open source licence (I'm not sure since the source code is not provided). I wrote a little patch so that the program can be launched from any directory, and not only from where it is installed (e.g. /opt/openproj/).
Created attachment 130271 [details] The CPAL licence, html format
Created attachment 130272 [details, diff] openproj-0.9.3-fix-launcher.patch
Comment on attachment 130268 [details] Ebuild for openproj-0.9.3 ><HTML><HEAD/><BODY><PRE># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >DESCRIPTION="OpenProj is a free, open source desktop alternative to Microsoft Project" >HOMEPAGE="http://openproj.org/openproj" >SRC_URI="mirror://sourceforge/openproj/openproj-${PV}.tar.gz" > >LICENSE="CPLA" >SLOT="0" >KEYWORDS="~x86" >IUSE="" > >RDEPEND=">=dev-java/sun-jre-bin-1.5.0" >DEPEND="${DEPEND}" > >S="${WORKDIR}/openproj-${PV}" > >src_unpack() { > unpack ${A} > cd "${S}" > epatch "${FILESDIR}/openproj-${PV}-fix-launcher.patch" >} > >src_install() { > local installDir=/opt/openproj-${PV} > insinto /opt > doins -r "${S}" > fperms a+rx ${installDir}/openproj.sh > # Symlink the laucher script > dosym ${installDir}/openproj.sh /usr/bin/openproj > # Symlink the directory and the jar to have them without version number > dosym ${installDir} /opt/openproj >} ></PRE></BODY></HTML>
Created attachment 130279 [details] openproj-bin-0.9.4.ebuild New ebuild
Created attachment 130281 [details, diff] openproj-0.9.4-fix-launcher.patch New version of the patch, since the launcher script has changed in this new version.
Maybe you can use virtual/jre instead of a hard coded jre.
According to upstream, openproj is compatible only with sun's jre, that's why I didn't use virtual/jre.
The ebuild should also look for the sun-jdk and if present, it shouldn't require sun-jre-bin. Tested with sun-jdk.1.5.0.13 and it works.
Attached is a version bump (1.0) with the following enhancements: - RDEPEND virtual/jre instead of the hard coded - Desktop menu entry and icon - Patched launcher script Have fun :)
Created attachment 143204 [details] openproj-bin-1.0.ebuild version bump for 1.0 and some minor enhancements
Created attachment 143206 [details, diff] openproj-1.0-fix-launcher.patch Updated launcher patch
- Version bump 1.0 --> 1.1 - added (and tested) the ~amd64 keyword - tiny launcher patch modification
Created attachment 155687 [details] openproj-bin-1.1.ebuild
Created attachment 155689 [details, diff] openproj-1.1-fix-launcher.patch
Just a quick note: version 1.2 is out. renaming both the ebuild and the launcher pad to 1.2 did the job. HTH, Urs
Straight copy still works for 1.3.1.
any update on when this will actually be in portage or some other overlay. They are up to version 1.3.1 Thanks
I can confirm. The ebuild renamed to 1.3.1 works correctly on amd64.
Why can't i find it in my portage overlay... is there a different openlay than the default one that it is in. Sorry this is my first request like this.
Created attachment 167732 [details] openproj-bin-1.4.ebuild version bump to 1.4
Created attachment 167734 [details] openproj-1.4-fix-launcher.patch version bump to 1.4
openproj-bin-1.4.ebuild installs openproj twice to /opt. on the one hand it goes to /opt/openproj and on the other hand to /opt/openproj-1.4...
(In reply to comment #23) > openproj-bin-1.4.ebuild installs openproj twice to /opt. on the one hand it > goes to /opt/openproj and on the other hand to /opt/openproj-1.4... > i am sorry ... one is just a symlink
Has anybody looked at the source? http://downloads.sourceforge.net/openproj/openproj-1.4-src.tar.gz
I notice these ebuilds are all for openproj-bin. Has anyone made a source ebuild?
Created attachment 206836 [details] =app-office/openproj-1.4 source ;)
Created attachment 206837 [details, diff] For source ebuild only!!
If somebody runs into problems with multiple "cannot find symbol"-messages trying to build OpenProj: it seems to require sun-jdk and fail with icedtea6-bin. See http://bugs.gentoo.org/show_bug.cgi?id=279479#c19 and http://bugs.gentoo.org/show_bug.cgi?id=279479#c22 for details.
(In reply to comment #29) openproj just installed fine. Thanks for the hint. This maybe should be mentioned in the ebuild output messages? Florian
I was able to compile openproj after setting sun-jdk as the system VM. It opens (I can't say more as that is all I tried for now). I tried setting JAVA_PKG_FORCE_VM="sun-jdk-1.6", either in the ebuild itself, either while invoking emerge, and it didn't work, not even when set together with JAVA_PKG_ALLOW_VM_CHANGE="yes". If there's an option to pick a specific JDK for compilation, the ebuild can just use that. (But this is still an issue, I think icedtea was supposed to be sun-compatible, if openproj is looking for sun-specific non-documented code, it should be fixed.)
As this has been maintainer-wanted for three years now, has anyone thought of adding it to the Sunrise overlay at <http://overlays.gentoo.org/proj/sunrise>? I'll do it myself, if nobody else wants to.
(In reply to comment #32) > As this has been maintainer-wanted for three years now, has anyone thought of > adding it to the Sunrise overlay at <http://overlays.gentoo.org/proj/sunrise>? > I'll do it myself, if nobody else wants to. > Please add it to the sunrise.
ive cleaned up & merged openproj-bin-1.4 since i needed it. i'm not about to work on the source one though as i have little java packaging experience.
I also know next to nothing about Gentoo's Java mechanisms, so I'll leave off Sunrising as SpanKY has committed the binary package. It does what I need.
As said on homepage - "As of 2012-10-01, this project may now be found at http://sf.net/projects/projectlibre", so i think this bug should be closed as WONTFIX in favor of bug #436958