Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156460 - PDF manipulator prototype
Summary: PDF manipulator prototype
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
Depends on:
Reported: 2006-11-27 15:41 UTC by Werner Janjic
Modified: 2010-01-08 17:26 UTC (History)
1 user (show)

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

app-text/cabaret-3.2.4.ebuild (cabaret-3.2.4.ebuild,1.13 KB, text/plain)
2008-03-28 04:10 UTC, Jeremy Johnson
app-text/cabaretstage-3.2.7.ebuild (cabaretstage-3.2.7.ebuild,1.44 KB, text/plain)
2009-01-21 12:39 UTC, Henning Schild
ebuild for app-text/cabarestage-4.2.1 (cabaretstage-4.2.1.ebuild,1.42 KB, text/plain)
2010-01-08 17:18 UTC, Jeremy Johnson

Note You need to log in before you can comment on or make changes to this bug.
Description Werner Janjic 2006-11-27 15:41:34 UTC

As on announced, there is a new pdf manipulator that is fully implemented in Java. Would be nice if there would be an ebuild provided in the future for installing it.

It is an implementation of a PDF manipulator which is written in Java. For personal use it is free.

The URL is


Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2007-09-14 14:18:55 UTC
seems this request hasn't turned into an ebuild yet. If you want to help with it, it's not that hard to write one:

If you need further help, feel free to ask on forums or #gentoo-dev-help or #gentoo-sunrise on irc (latter is also useful if you want to maintain the app yourself)

note: we're not turning you down for this request in any way, it's just that we don't have ressources to fix all of them. though if you're willing to help, it would be more than nice to do so, as that is what we definately need :)
Comment 2 Jeremy Johnson 2008-03-28 03:16:24 UTC
This should be a very trivial ebuild to create.
Fetch-restrictions should be enabled, so that user first goes to
to download either the x86-32 or x86-64 versions
Then simply unzip to e.g. /opt/
Then add /opt/cabaret_3.2.4 to $PATH so that the java executable cabaretstage can be found.

This makes filling in pdf forms a cinch and you can export the fdf file either as fdf,csv,or xfdf. When you save your filled-in pdf, the fdf data is not flattened into the pdf so that you can later make changes. This should save a lot of headaches this tax season (I just finished filling in a half dozen tax forms with acroread but if I make any changes I now have to retype the document) 

Comment 3 Jeremy Johnson 2008-03-28 04:10:18 UTC
Created attachment 147496 [details]

This is a proposed ebuild.
The SRC_URI doesn't work correctly.
I'm working at an amd64 laptop but when I build the digest, ebuild chooses the URI for x86 instead of amd64, so my test x86? (x86-32version) is incorrectly chosen instead of the correct amd64?(x86-64version)
Comment 4 Jeremy Johnson 2008-03-28 05:18:19 UTC
I just discovered that cabaretstage will not run from a symlink
/usr/bin/cabaret -> /opt/cabaretstage_3.2.4/cabaretstage
but runs just fine if the full path is specified:
#/opt/cabaretstage_3.2.4 1040.pdf

so the ebuild will need to correct some java environment variable
or modifify user's $PATH.
Comment 5 Henning Schild 2009-01-21 12:39:30 UTC
Created attachment 179172 [details]

I wrote an ebuild for a recent version of cabaretstage. Please consider reopening that bug.
Comment 6 Jeremy Johnson 2010-01-08 17:18:15 UTC
Created attachment 215697 [details]
ebuild for app-text/cabarestage-4.2.1

Newest release 11/18/09 of cabaretstage
Tested on x86-32 and x86-64 and works fine.

Just copy to your overlay, e.g. /usr/local/portage/app-text/cabaretstage/
and build Manifest:
cd /usr/local/portage/app-text/cabaretstage
GENTOO_MIRRORS="" ebuild cabaretstage-4.2.1.ebuild  digest
Then "emerge -uv cabarestage"

Newest free version allows one not only to complete and save pdf forms, 
but, in design mode, to create new forms or edit existing forms.
For example, one can open a Federal fillable pdf form which doesn't do calculations, and then add simple simple calculations such as sums or products.
One can also use javascript to do more complex calculations.

These are features which have been sorely lacking for linux users using
acroread, okular, scribus, pdfedit and latex eform package.
acroread (for linux) now allows one to save a document as well as add annotations but last time I checked there was no version of Adobe Creator 
available for linux. Okular can now fill in pdf forms, but calculations don't
work and some fields like date entry don't work. scribus allows one to create
pdf forms from scratch but can't import pdf forms. pdfedit  allows one to edit
the postscript directly, but it's unwieldy. The LaTeX package eform allows one
to create excellent pdf forms with javascript, but can't modify existing forms
(although one can add fields to an overlay on top of an existing pdf).

Maybe cabaretstage could be moved from overlay to portage?
Comment 7 Jeremy Johnson 2010-01-08 17:26:31 UTC
Please consider adding to portage.