diff options
author | Ekin Akoglu <ekinakoglu@gmail.com> | 2017-03-10 09:35:13 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-10 09:39:18 +0000 |
commit | 99cb09e77a0c38c40af4bdd76cb0e9ea2e276a99 (patch) | |
tree | 3f258481319460d8b02ad21805389f86af730494 /office/ganttproject/ganttproject.SlackBuild | |
parent | 50bfa12c572e618c7a211825d75ad4ef6634f07e (diff) |
office/ganttproject: Updated for version 2.8.3 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/ganttproject/ganttproject.SlackBuild')
-rw-r--r-- | office/ganttproject/ganttproject.SlackBuild | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/office/ganttproject/ganttproject.SlackBuild b/office/ganttproject/ganttproject.SlackBuild index 703a91a1783b..e298b8d7a413 100644 --- a/office/ganttproject/ganttproject.SlackBuild +++ b/office/ganttproject/ganttproject.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for ganttproject +# Copyright 2017 Ekin Akoglu, Erdemli, Mersin, Turkey | ekinakoglu@gmail.com # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org - # Copyright 2013 Chris Abela, Malta # All rights reserved. # @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ganttproject -VERSION=${VERSION:-2.7.1} +VERSION=${VERSION:-2.8.3} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,11 +57,22 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# build.xml in version 2.8.3 is truncated and does not build with apache-ant +# revert it to the build.xml in version 2.7.1 +patch -p0 < $CWD/build.xml.patch + +# Fix wrong jar names in plugins XML files +patch -p0 < $CWD/biz.ganttproject.core.patch +patch -p0 < $CWD/biz.ganttproject.impex.msproject2.patch +patch -p0 < $CWD/org.ganttproject.chart.pert.patch +patch -p0 < $CWD/org.ganttproject.impex.htmlpdf.patch + cd ganttproject-builder ant cd dist-bin cp -a eclipsito.jar ganttproject plugins $PKG/opt/ganttproject +mv $PKG/opt/ganttproject/plugins $PKG/opt/ganttproject/plugins-$VERSION chmod 755 $PKG/opt/ganttproject/ganttproject # This is for CLI users: @@ -98,9 +109,9 @@ EOF # Standard stuff: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd ../../ganttproject +cd .. cp -a \ - AUTHORS LICENSE README ../ganttproject-builder/HouseBuildingSample.gan \ + AUTHORS LICENSE README HouseBuildingSample.gan \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |