Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331981 - =app-text/jpdftweak-1.1 - Version bump.
Summary: =app-text/jpdftweak-1.1 - Version bump.
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: EBUILD, PATCH
: 350087 409169 (view as bug list)
Depends on: 352246 472674 475552
Blocks:
  Show dependency tree
 
Reported: 2010-08-10 06:18 UTC by Christian Faulhammer (RETIRED)
Modified: 2017-12-07 11:01 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
jpdftweak-1.1.ebuild (file_331981.txt,923 bytes, text/plain)
2013-06-08 13:45 UTC, Tom Wijsman (TomWij) (RETIRED)
Details
New ebuild, adding jmupdf to the classpath (jpdftweak-1.1.ebuild,1.04 KB, text/plain)
2013-10-19 15:40 UTC, Bodo Graumann
Details
patch to make jpdftweak build with jmupdf-0.4.1 (jpdftweak-1.1-jmupdf-0.4.1.patch,15.56 KB, patch)
2013-10-19 15:41 UTC, Bodo Graumann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Faulhammer (RETIRED) gentoo-dev 2010-08-10 06:18:05 UTC
Thanks
Comment 1 tman 2010-09-08 13:01:06 UTC
it would be nice if it will be bump to latest version. thanks
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2011-01-08 14:21:03 UTC
*** Bug 350087 has been marked as a duplicate of this bug. ***
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2012-03-22 10:44:54 UTC
*** Bug 409169 has been marked as a duplicate of this bug. ***
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-08 13:45:19 UTC
Dependency jmupdf is needed in order to proceed, tracked in bug #472674.

Will attach progress ebuild.
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-08 13:45:40 UTC
Created attachment 350408 [details]
jpdftweak-1.1.ebuild
Comment 6 Bodo Graumann 2013-10-19 15:38:59 UTC
In order for jpdftweak to build, I had to include jmupdf into the classpath with the ebuild. See the updated ebuild, I'll attach.
Secondly I had to make a small change to make it work with itext-5.2.0 (creating an itext BaseColor from awt.Color, but only at one instance).
More importantly in order for jpdftweak to work with jmupdf-0.4.1, several changes were needed. I had to remove the transparent-option, as jmupdf seems to use its ImageType, set to ARGB, instead. Also jmupdf has changed a bit in its module structure and regarding enums.
Please be aware that I'm not too familiar with the codebase of jpdftweak and jmupdf. So maybe I removed functionality by accident.
As the itext-related change was minor, I put both into a single patch. I'll attach that too, of course.
Comment 7 Bodo Graumann 2013-10-19 15:40:13 UTC
Created attachment 361338 [details]
New ebuild, adding jmupdf to the classpath
Comment 8 Bodo Graumann 2013-10-19 15:41:03 UTC
Created attachment 361340 [details, diff]
patch to make jpdftweak build with jmupdf-0.4.1
Comment 9 Jonas Stein gentoo-dev 2016-12-03 15:44:22 UTC
all dependencies are ready now. 
Can we push jpdftweak-1.1 and close the bug?
Comment 10 James Le Cuirot gentoo-dev 2017-12-06 21:59:19 UTC
Sorry to have to do this but I'm afraid this needs to be closed as CANTFIX unless upstream can take action. Its dependency jmudpf is not only unmaintained but can only be built with Java 7 (which has just been dropped) and more importantly, it has vulnerabilities. I recommend that upstream either adopt jmupdf or use an alternative.
Comment 11 Bodo Graumann 2017-12-07 10:38:16 UTC
This is a pity, though I guess it really cannot be helped. Upstream seems to only add occasional bug fixes.
For those looking for a replacement: most of the functionality of jpdftweak is—albeit in a less accessible manner—available in pdftk from the command line.

Btw, James, in your last sentence you probably did not mean to say "jmupdf".
Comment 12 James Le Cuirot gentoo-dev 2017-12-07 11:01:27 UTC
(In reply to Bodo Graumann from comment #11)
> For those looking for a replacement: most of the functionality of jpdftweak
> is—albeit in a less accessible manner—available in pdftk from the command
> line.
Unfortunately pdftk is also on life support because gcj is masked. It not may go for a while but the situation isn't great.

(In reply to Bodo Graumann from comment #11)
> Btw, James, in your last sentence you probably did not mean to say "jmupdf".
By adopt, I meant that upstream could revive the jmupdf project and deal with the issues. I was slightly inaccurate though, jmupdf itself does not have vulnerabilities but it bundles a version of mupdf that does. It may not be hard to unbundle mupdf and the latest version may just work. Then it's just the Java 7 issues that need to be dealt with. Please do look into this if it is important to you, I just don't have the time myself.