Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GanttProject
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Cyril Graf
n00b
n00b


Joined: 01 May 2015
Posts: 25
Location: Nyen (Ingria)

PostPosted: Fri Oct 27, 2017 6:58 pm    Post subject: GanttProject Reply with quote

Dear comrades :P , I need some help with GanttProject installation...

First I've added the sabayon overlay:
Code:
$ sudo layman -a sabayon


Then I made these nececarily config changes:
Code:
# required by app-office/ganttproject-bin (argument)
=app-office/ganttproject-bin-2.0.10 ~amd64


...and finally there was a problem:
Code:
$ sudo emerge -av app-office/ganttproject-bin

==> SIZE ganttproject-2.0.10.zip ... done.

==> PASV ... done.    ==> RETR ganttproject-2.0.10.zip ...
No such file ‘ganttproject-2.0.10.zip’.

>>> Downloading 'http://ganttproject.googlecode.com/files/ganttproject-2.0.10.zip'
--2017-10-27 21:30:43--  http://ganttproject.googlecode.com/files/ganttproject-2.0.10.zip
Resolving ganttproject.googlecode.com... 64.233.164.82, 2a00:1450:4010:c0d::52
Connecting to ganttproject.googlecode.com|64.233.164.82|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-10-27 21:30:43 ERROR 404: Not Found.


Why? What did I do wrong?

And I want to ask another two questions. How can I change the timeline mode from 'weeks' to dates or months? Is it possible to show multiple timeline captions of entries that start at same date (the Ganttproject showes only one of them).
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Fri Oct 27, 2017 7:14 pm    Post subject: Re: GanttProject Reply with quote

Cyril Graf wrote:
Why? What did I do wrong?

Nothing simple ebuild is out of date, latest version available is 2.8.5 (at this url https://dl.ganttproject.biz/ganttproject-2.8.5/ganttproject-2.8.5-r2179.zip).
But it is not enough to rename ebuild.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Fri Oct 27, 2017 7:44 pm    Post subject: Reply with quote

Try this ebuild (you should create a local overlay)
app-office/ganttproject-bin/ganttproject-bin-2.8.5.ebuild:
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"

inherit eutils

REV="r2179"
MY_P=${PN/-bin}-${PV}
DESCRIPTION="A tool for creating a project schedule by means of Gantt chart and resource load chart"
HOMEPAGE="http://ganttproject.sourceforge.net/"
SRC_URI="https://dl.ganttproject.biz/${MY_P}/${MY_P}-${REV}.zip"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="app-arch/unzip
   >=virtual/jdk-1.7"
RDEPEND="virtual/jre"

S="${WORKDIR}/${MY_P}-${REV}"

src_prepare() {
   default
   rm "${S}/"{ganttproject.command,ganttproject.exe,ganttproject.bat,HouseBuildingSample.gan} || die "rm failed"
}

src_install() {
   insinto /opt/${MY_PN}
    doins -r eclipsito.jar lib/ logging.properties "plugins-${PV}/"
    
   insopts -m0755
   doins ${PN/-bin}
   
   dosym "${ED%/}"/opt/"${MY_PN}/"${PN/-bin} /opt/bin/${PN/-bin}

   doicon "${S}/plugins-${PV}/ganttproject/data/resources/icons/ganttproject.png"
   make_desktop_entry ${PN/-bin} "GanttProject" "/opt/bin/${PN/-bin}" "Java;Office;ProjectManagement"
}

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Cyril Graf
n00b
n00b


Joined: 01 May 2015
Posts: 25
Location: Nyen (Ingria)

PostPosted: Fri Oct 27, 2017 8:21 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try this ebuild (you should create a local overlay)

Now it works!
Thank you so much!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum