Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building a GanttProject repository package #259

Open
GoogleCodeExporter opened this issue Jun 28, 2015 · 5 comments
Open

Building a GanttProject repository package #259

GoogleCodeExporter opened this issue Jun 28, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Hi,

looking closer at the internal plugin/library structure, I found that 
ganttproject-batik.jar is included but without source code. I compared with the 
separately available batik library, but the latter doesn't work (with e.g. pdf 
exports in ganttproject).

How can ganttproject-batik.jar be reproduced from source (which is a 
precondition for redistributing ganttproject).

I'm working on the integration of ganttproject into Debian.

Thanks in advance,

Roland

Original issue reported on code.google.com by rvsti...@googlemail.com on 24 Jul 2011 at 10:18

@GoogleCodeExporter
Copy link
Author

Hi,
as far as I remember (it was 6 years ago), I took the latest available version 
of batik and avalon libraries which were available at that moment and removed 
classes which looked unused (because those libraries alone were bigger than 
ganttproject itself). I don't remember that I changed any files. So probably if 
you take Batik of that time period, it will work.

If it doesn't, and you still want to build a source oackage, you may choose to 
just remove PDF export. The easiest is to remove the plugin completely, more 
sophisticated way which would keep HTML export is to remove PDF-related libs 
and PDF extension from plugin.xml


Sorry, I am not going to do it myself because we're phasing out FOP based PDF 
export anyway.

Original comment by dbarashev on 25 Jul 2011 at 10:04

  • Added labels: Type-Discussion
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Hi!

Thanks your comments. I will just remove support of ganttproject-batik.jar in 
Debian.

Still, there are some points:

* I'm using fop.jar from the "fop" package in Debian and it seems to differ 
from the one in ganttproject. Which one was used here? 0.95? 1.0?

* I can't find sources for fop-font-metrics.jar - how was this one generated?

* Same holds for ganttproject-htmlpdf.jar...?

* Looking for sources for ganttproject-avalon.jar, I found avalon-framework.jar 
from libavalon-framework-java. How can I check if I'm using a working 
replacement for the "embedded jar" inside ganttproject?

Thanks in advance,

Roland

Original comment by rvsti...@googlemail.com on 26 Jul 2011 at 6:01

@GoogleCodeExporter
Copy link
Author

Hello,

I am also working on building a package of GanttProject (see 
https://bugs.launchpad.net/debian/+bug/123275). I was targeting Ubuntu, but I 
suppose it is the same/similar with a Debian package... (I am quite new to the 
package building scene... ;) )

Because I was lazy, I tried to remove as much libraries as possible (sometimes 
wrongly), for example checkout rc7a1763204051a5bfb0602a3b70546bdb7001aa3

We just finished merging the cleanup branch back into the default branch, so 
all unnecessary libraries are removed. So using the newest default branch 
revision saves you some work... (for example the fop-font-metrics.jar)

Furthermore, the point were I currently got stuck is the fop package. It is 
present in the Ubuntu repositories, but it is a much newer version than we use 
in GanttProject... And this new version has its API (completely) changed. 
Therefore, it is incompatible with GanttProject (which uses 0.24 I believe).
Then again we are planning to replace fop with iText, so updating GanttProject 
to use the new fop API is not likely going to happen.

For the other libraries, I could not (quickly) find a (working) replacement 
yet. So it is work in progress for me as well...

As said, I am quite new in the package building scene, so I only have my 
attempt (complete working GanttProject installation but with some binary 
library blobs included) only locally.
I'll try to put it on LaunchPad tomorrow (or soon). It seems a waste of time to 
have multiple people working on the same!

Original comment by maarten....@gmail.com on 4 Aug 2011 at 12:38

  • Changed title: Building a GanttProject repository package

@GoogleCodeExporter
Copy link
Author

> for example the fop-font-metrics.jar

Yikes... please bring it back. It is required for TTF fonts.

Original comment by dbarashev on 4 Aug 2011 at 8:52

@GoogleCodeExporter
Copy link
Author

Oh... :S Kinda hard to find out what is required or not..!
I have put fop-font-metrics.jar back!

Original comment by maarten....@gmail.com on 4 Aug 2011 at 9:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant