Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578862 - app-text/ghostscript-gpl: Misleading USE flag description for 'idn'
Summary: app-text/ghostscript-gpl: Misleading USE flag description for 'idn'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-04-02 16:55 UTC by gentoo_usr
Modified: 2017-02-17 20:36 UTC (History)
0 users

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


Attachments
Add documentation for idn USE flag (idn_description.patch,465 bytes, patch)
2016-04-02 16:55 UTC, gentoo_usr
Details | Diff
Rename 'idn' to 'unicode' and add documentation for it (unicode_description.patch,1.58 KB, patch)
2016-04-02 16:59 UTC, gentoo_usr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo_usr 2016-04-02 16:55:25 UTC
Created attachment 429498 [details, diff]
Add documentation for idn USE flag

Hi there,

Currently we have:

equery uses ghostscript-gpl
[...]
 idn           : Enable support for Internationalized Domain Names
[...]

But digging into the source of ghostscript we discover that 'idn' enables support for non-ASCII passwords in PDF documents using libidn[0].

Below you find a patch which adds a more specific USE flag description for 'idn'.

At a second though, we can even think of renaming the USE flag 'idn' to 'unicode' stating its effect more clearly. Attached is also a patch for that (based on ghostscript-9.18 but should also be applicable to the other ones)

[0] http://www.ghostscript.com/doc/9.15/History9.htm#2010-05-03T164816.934577Z
Comment 1 gentoo_usr 2016-04-02 16:59:08 UTC
Created attachment 429500 [details, diff]
Rename 'idn' to 'unicode' and add documentation for it

Patch for renaming 'idn' to 'unicode' and adding documentation for it.
Note that this patch and the patch for the documentation of 'idn' conflict with each other, so only apply one.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-02-17 20:36:05 UTC
commit 4bb5d2a229101f557ac995767c9283d8d7aa3b9f
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Fri Feb 17 21:35:10 2017 +0100

    app-text/ghostscript-gpl: Rename and clarify idn useflag, bug 578862
    
    Thanks to gentoo_usr@fake-box.com
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-text/ghostscript-gpl/ghostscript-gpl-9.20-r2.ebuild | 8 ++++----
 app-text/ghostscript-gpl/metadata.xml                   | 3 +++
 2 files changed, 7 insertions(+), 4 deletions(-)


Thanks, applied