Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107342 - ebuild request for gsdjvu
Summary: ebuild request for gsdjvu
Status: RESOLVED FIXED
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
URL: http://djvulibre.djvuzone.org/gsdjvu....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-26 16:47 UTC by Giacomo Graziosi
Modified: 2007-03-27 16:50 UTC (History)
4 users (show)

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


Attachments
ebuild for gsdjvu (ghostscript-gnu-8.16-r1.ebuild,4.10 KB, text/plain)
2006-03-21 10:59 UTC, E. Scaglione
Details
'ghostscript-esp-8.15.1_p20060430' modified to support djvu (ghostscript-esp-8.15.1_p20060430.ebuild,5.28 KB, text/plain)
2006-05-27 21:57 UTC, Timothy Stotts
Details
ghostscript-esp-8.15.1_p20060430.ebuild plus djvu support (ghostscript-esp-8.15.1_p20060430.ebuild,5.28 KB, text/plain)
2006-10-21 12:53 UTC, Timothy Stotts
Details
ghostscript-esp-8.15.3.ebuild plus djvu support (ghostscript-esp-8.15.3.ebuild,4.04 KB, text/plain)
2006-10-21 12:54 UTC, Timothy Stotts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giacomo Graziosi 2005-09-26 16:47:50 UTC
djvudigital (package app-text/djvu,
http://djvulibre.djvuzone.org/doc/man/djvudigital.html) requires gsdjvu
(http://djvulibre.djvuzone.org/gsdjvu.html) in order to convert pdf/ps to djvu
format.
Could you please provide and ebuild?
Comment 1 Alexandre Buisse (RETIRED) gentoo-dev 2005-10-07 16:45:50 UTC
Hi,

there seems to be some licencing problems (according to the COPYING of gsdjvu),
so we'll wait for an answer of the upstream developers before providing an ebuild...

Regards,
Alexandre
Comment 2 E. Scaglione 2006-03-21 10:59:55 UTC
Created attachment 82797 [details]
ebuild for gsdjvu

I use this ebuid in my overlay portage and it works for me. The licence conflict, as stated by the FSF, is that the CPL used by gsdjvu states that if you sue AT&T for a patent infringment you loose the rigth to use the software. The gsdjvu software is otherwise free software, the problem is the GNU licence (stricter).
Comment 3 E. Scaglione 2006-03-21 11:10:39 UTC
(In reply to comment #2)
> Created an attachment (id=82797) [edit]
> ebuild for gsdjvu
> 
> I use this ebuid in my overlay portage and it works for me. The licence
> conflict, as stated by the FSF, is that the CPL used by gsdjvu states that if
> you sue AT&T for a patent infringment you loose the rigth to use the software.
> The gsdjvu software is otherwise free software, the problem is the GNU licence
> (stricter).
> 

The ebuild adds a USE flag djvu for ghostscript, so to compile use:
USE=djvu emerge ghostscript

Comment 4 Lorenzo Luengo 2006-05-02 21:21:39 UTC
(In reply to comment #1)
> Hi,
> 
> there seems to be some licencing problems (according to the COPYING of gsdjvu),
> so we'll wait for an answer of the upstream developers before providing an ebuild...
> 
> Regards,
> Alexandre

hums... i think i t is not conflicting, because we are distributing sources separately, but the licensing link should inclde both of them... opinions??
Comment 5 Alexey Spiridonov 2006-05-04 02:01:51 UTC
Alexandre, what exactly is preventing you from adding the ebuild?

The program is licensed under a free software license, the CPL. Some 
people would like it to be licensed under the GPL (so they can integrate 
it with ghostscript or djvulibre), but this process may take years. 

Meanwhile, many people would like to use, and/or hack on the code. If you 
include the ebuild, you'll make their lives easier.

Thanks!

Alexey
Comment 6 Timothy Stotts 2006-05-27 21:57:20 UTC
Created attachment 87704 [details]
'ghostscript-esp-8.15.1_p20060430' modified to support djvu

Attached an ebuild for ghostscript-esp .  Uses 'djvu' use flag in nearly identical fashion as the previously attached ghostscript-gnu ebuild.

--
http://tstotts.net/
Comment 7 E. Scaglione 2006-06-01 14:02:21 UTC
(In reply to comment #5)
> Alexandre, what exactly is preventing you from adding the ebuild?
> 
gsdjvu is a driver for ghostscript (2 actually and a bunch of scripts), it doesn't work without it.

> The program is licensed under a free software license, the CPL. Some 
> people would like it to be licensed under the GPL (so they can integrate 
> it with ghostscript or djvulibre), but this process may take years. 
> 
> Meanwhile, many people would like to use, and/or hack on the code. If you 
> include the ebuild, you'll make their lives easier.
> 
> Thanks!
> 
> Alexey
> 
Comment 8 konrad okurowski 2006-10-01 18:48:06 UTC
Is there a chance for new ebuild because gs-esp 8.15.3 is in portage :)
Comment 9 Timothy Stotts 2006-10-21 12:53:44 UTC
Created attachment 100162 [details]
ghostscript-esp-8.15.1_p20060430.ebuild plus djvu support
Comment 10 Timothy Stotts 2006-10-21 12:54:58 UTC
Created attachment 100163 [details]
ghostscript-esp-8.15.3.ebuild plus djvu support

New djvu-patched ebuild for stable ghostscript-esp 8.15.3.

--
http://tstotts.net/linux/ebuilds.html
Comment 11 Stefan Schweizer (RETIRED) gentoo-dev 2006-10-22 16:54:27 UTC
thanks I added this to gs-esp. WIll add to other ghostscripts also when I get time to do that :)
Comment 12 Perttu Luukko 2007-03-27 16:50:56 UTC
djvudigital with the --words or --lines options fails with

ESP Ghostscript 815.04: Unrecoverable error, exit code 1
djvudigital: cannot locate file "ps2utf8.ps".
+--------------------------------------------------------------------+
| DjVuDigital relies on this file to extract text from postscript    |
| and pdf files. Options --words or --lines cannot work without this |
| file. Please visit http://djvulibre.djvuzone.org/gsdjvu.html.      |
+--------------------------------------------------------------------+

I've tried this with ghostscript-esp 8.15.3 and 8.15.4 ebuilds. Looking at the ebuild, the missing file is copied from the gsdjvu package to the working directory, but it seems it is never copied from there to the system, or at least I am missing that file. Can someone confirm this?

Also, can anyone confirm that gsdjvu actually works with newer ghostscripts, e.g. ghostscript-gpl-8.54? This version is patched with gsdjvu, but the gsdjvu README only mentions building against 8.15. I tried gs-gpl-8.54 and it builds fine with USE="djvu", but djvudigital simply segfaults every time.