Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622506 - app-text/ghostscript-gpl add openjpeg use flag
Summary: app-text/ghostscript-gpl add openjpeg use flag
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-06-23 09:27 UTC by LABBE Corentin
Modified: 2017-08-01 16:37 UTC (History)
1 user (show)

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


Attachments
app-text/ghostscript-9.21 patch for disabling openjpeg build (ghostscript-disable-openjpeg.patch,2.30 KB, patch)
2017-06-23 09:29 UTC, LABBE Corentin
Details | Diff
add openjpeg use flag to app-text/ghostscript-gpl (ghostscript-add-openjpeg-useflag.patch,1.42 KB, patch)
2017-06-23 09:34 UTC, LABBE Corentin
Details | Diff
Permit ghostscript-gpl to build with disable-openjpeg (0001-ghostscript-gpl-Add-upstream-patch-for-building-with.patch,3.81 KB, patch)
2017-06-23 11:45 UTC, LABBE Corentin
Details | Diff
add openjpeg use flag to app-text/ghostscript-gpl (0002-app-text-ghostscript-gpl-Add-openjpeg-use-flag.patch,2.25 KB, patch)
2017-06-23 11:45 UTC, LABBE Corentin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description LABBE Corentin 2017-06-23 09:27:43 UTC
app-text/ghostscript-gpl support building without openjpeg, so it need an openjpeg use flag.
But on 9.21 an upstream  patch is needed (ghostscript bug #697677 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff_plain;h=b8b1d543f)
Comment 1 LABBE Corentin 2017-06-23 09:29:48 UTC
Created attachment 477656 [details, diff]
app-text/ghostscript-9.21 patch for disabling openjpeg build
Comment 2 LABBE Corentin 2017-06-23 09:34:09 UTC
Created attachment 477658 [details, diff]
add openjpeg use flag to app-text/ghostscript-gpl
Comment 3 LABBE Corentin 2017-06-23 09:52:14 UTC
I just see that my patch are not good enough, I will try to generate them against the git tree
Comment 4 LABBE Corentin 2017-06-23 11:45:03 UTC
Created attachment 477660 [details, diff]
Permit ghostscript-gpl to build with disable-openjpeg
Comment 5 LABBE Corentin 2017-06-23 11:45:38 UTC
Created attachment 477662 [details, diff]
add openjpeg use flag to app-text/ghostscript-gpl
Comment 6 LABBE Corentin 2017-08-01 07:35:57 UTC
Patch updated in a pullrequest https://github.com/gentoo/gentoo/pull/5229
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2017-08-01 16:37:04 UTC
When you disable openjpeg you dont have a standard-compliant pdf interpreter anymore, and that's not something I want to support.

Building against the bundled openjpeg code is against Gentoo policies.

So I dont see any point in this.