Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17652 - CUPS PDF printer ebuild highly desirable.
Summary: CUPS PDF printer ebuild highly desirable.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-16 17:24 UTC by Nick Palmer
Modified: 2003-07-15 08:28 UTC (History)
1 user (show)

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


Attachments
Initial ebuild for cups-pdf (cups-pdf-1.0_beta.ebuild,1.13 KB, text/plain)
2003-03-17 13:17 UTC, Nick Palmer
Details
Source.tar.gz for cups-pdf (cups-pdf.tar.gz,3.66 KB, application/gzip)
2003-03-17 13:18 UTC, Nick Palmer
Details
Digest for cups-pdf (digest-cups-pdf-1.0_beta,58 bytes, application/octet-stream)
2003-03-17 13:19 UTC, Nick Palmer
Details
Patch for cups-pdfgen to fix owner issue. (cups-pdf.patch,57 bytes, patch)
2003-03-17 13:27 UTC, Nick Palmer
Details | Diff
Patch to make the ebuild work and apply the patch to cups-pdfgen (cups-pdf-1.0_beta.ebuild.patch,311 bytes, patch)
2003-03-17 13:45 UTC, Nick Palmer
Details | Diff
New ebuild. Matches authors version number and fixes a few bugs. (cups-pdf-0.2_beta.ebuild,1.13 KB, application/octet-stream)
2003-03-18 13:33 UTC, Nick Palmer
Details
New ebuild for new version with patch. (cups-pdf-0.2_beta4.ebuild,1.08 KB, text/plain)
2003-03-19 17:11 UTC, Nick Palmer
Details
net-print/cups-pdf/cups-pdf-1.0_pre3.ebuild (cups-pdf-1.0_pre3.ebuild,2.02 KB, text/plain)
2003-06-02 04:27 UTC, TGL
Details
/usr/portage/licenses/cups-pdf (cups-pdf,715 bytes, text/plain)
2003-06-26 14:32 UTC, TGL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Palmer 2003-03-16 17:24:34 UTC
Located at:
http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/
There is a great little system for making a centralized Virtual Printer for
printing to PDF files. It would be great to make an ebuild for this system, as I
think more people would use it if they new it existed.

I have emailed the author about doing so, and will post an ebuild for it asap.
It should be a really easy ebuild.

Reproducible: Always
Steps to Reproduce:
Comment 1 Thomas Raschbacher gentoo-dev 2003-03-17 09:49:02 UTC
ok i'm waiting for the ebuild then :)
Comment 2 Nick Palmer 2003-03-17 13:17:10 UTC
Created attachment 9531 [details]
Initial ebuild for cups-pdf
Comment 3 Nick Palmer 2003-03-17 13:18:40 UTC
Created attachment 9532 [details]
Source.tar.gz for cups-pdf
Comment 4 Nick Palmer 2003-03-17 13:19:44 UTC
Created attachment 9534 [details]
Digest for cups-pdf
Comment 5 Nick Palmer 2003-03-17 13:24:14 UTC
As promissed here is an ebuild for this system. Note that the author is not yet versioning this system, but the page says that it is a beta of the 1.0 version, so that is the version I have set on the ebuild. I have emailed the author and asked him if he would be willing to begin versioning the system. I will let you know if he decides on a different intital version number.

Also, I have noted a small flaw in the system where by a users files are not oned by the user. I will submit a patch shortly, and then try to modify the ebuild to apply it. I have also sent the patch to the author for inclusion in the next version.
Comment 6 Nick Palmer 2003-03-17 13:27:11 UTC
Created attachment 9535 [details, diff]
Patch for cups-pdfgen to fix owner issue.
Comment 7 Nick Palmer 2003-03-17 13:45:04 UTC
Created attachment 9541 [details, diff]
Patch to make the ebuild work and apply the patch to cups-pdfgen

I am a complete dork. The ebuild I submitted is completely broken. Fogive me.
It is my first ebuild ever. :)

Here is a patch that fixes it.
Comment 8 Nick Palmer 2003-03-18 13:33:58 UTC
Created attachment 9569 [details]
New ebuild. Matches authors version number and fixes a few bugs.

The author chose a different version number, and further testing reveals a
couple of issues with my ebuild. I am learning though. I think this one has
everything right. If you notice something I have done wrong please let me know
so that I can improve. I intend to write more ebuilds as I find the need, and
want to get them right the first time. ;)
Comment 9 Nick Palmer 2003-03-19 17:11:26 UTC
Created attachment 9617 [details]
New ebuild for new version with patch.

The author chose a different patch for the owner issue that avoids a security
issue with my suggeted patch. The version number has been bumped, so this is a
new ebuild to reflect all those changes. :) Share and enjoy.
Comment 10 TGL 2003-06-02 02:50:07 UTC
Hoping that this will go someday into portage, I would like to add that I've been successfully using this ebuild for about two months, and that it's a far better and easier way to produce pdfs than the usual samba trick (at least for people who don't need to do it from windows). 
Thanks a lot Nick.
Comment 11 TGL 2003-06-02 04:27:34 UTC
Created attachment 12662 [details]
net-print/cups-pdf/cups-pdf-1.0_pre3.ebuild

Oh, I've seen there are new versions. Here is an updated ebuild for the latest
one, 1.0_pre3.

Changes:
 - simplified $DESCRIPTION
 - corrected $SRC_URI and $S
 - removed the "cups-pdfgen" installation (no more needed, has been merged in
the C code)
 - added a README.gentoo because there was no documentation at all (created
from the webpage content)
 - set $KEYWORDS to "~x86"

Note that license says it's free software, but not explicitly GPL. So I don't
now exactly what to put in $LICENSE.

Note also that the output directory changed from "/var/tmp/cups-pdf/" to
"/var/spool/cups-pdf/".
Comment 12 Thomas Raschbacher gentoo-dev 2003-06-10 03:28:39 UTC
thanks!

i'll add it as soon as i'm home again (16.June)

regards
Comment 13 Thomas Raschbacher gentoo-dev 2003-06-26 14:05:35 UTC
since i'm not the only printing team member now: reassign'in
Comment 14 TGL 2003-06-26 14:32:22 UTC
Created attachment 13907 [details]
/usr/portage/licenses/cups-pdf

Just in case you want the real license, here it is. I've called it "cups-pdf",
I've thought it was appropriate :)
Comment 15 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-15 08:28:34 UTC
thx, now in portage :)