Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83838 - DRM support for KPDF should be DISabled by default
Summary: DRM support for KPDF should be DISabled by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 09:04 UTC by Frank Aune
Modified: 2005-07-15 02:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Aune 2005-03-02 09:04:30 UTC
In KPDF 0.4 packaged in KDE3.4.0, they support the Adobe DRM specs which prevent users to print certain documents with DRM-restrictions. Since this is silly anyway (for various reasons), it should be disabled by default.

This is done with ./configure --enable-kpdf-drm=no

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-02 09:32:27 UTC
You should discuss the default value with the kpdf maintainers, not with us.
Comment 2 Simone Gotti (RETIRED) gentoo-dev 2005-03-02 12:48:07 UTC
We (kde herd) already spoked about this and I proposed to add an useflag to enable/disable it. So if the use flag is not enabled by the user the drm is disabled too. I'll also be happy to add an einfo informing the user on what DRM is and what it will do.
Comment 3 Frank Aune 2005-03-02 12:55:36 UTC
Why should I talk to the kpdf-maintainers about this? They provide the packages the option of enabling or disabling DRM support in kpdf through their configure script. This means the different distributor packagers need to decide if they are going to enable DRM or not. 

Since Gentoo runs ./configure for each package it is installing, what is the problem of passing --enable-kpdf-drm=no to configure? This is done a number of times other places, so I fail to see the problem for kpdf. 

I think the useflag approach seems sensible, especially that you have to specifically request DRM support for it to be enabled.
Comment 4 Frank Aune 2005-03-02 12:58:16 UTC
I of course meant that DRM in kpdf should be DISabled by default. The way configure now works, it enabled DRM by default and you need to pass ./configure --enable-kpdf-drm=no to disable it. 
Comment 5 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-02 15:49:38 UTC
Oops, my fault, I forgot to mention that kde-base/kdegraphics already has
a useflag to enable/disable DRM in kpdf as discussed before. In my 
previous comment, I was referring to the decision of making the useflag 
enabled or disabled by default (DRM is enabled by default in the sources).

Now I see that I forgot to add the same flag to kde-base/kpdf... I can change 
that when I find some time...
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-03 02:57:55 UTC
Now added 'nodrm' flag to kdpf, which is the same flag used by kdegraphics and xpdf.
If that's sufficient, maybe we can close this bug?
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-03 09:21:23 UTC
Gregorio: no* use flags were never a good idea and need to be extinct >>  http://thread.gmane.org/gmane.linux.gentoo.devel/25197
Comment 8 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-03 09:52:44 UTC
I just used what we already have. And it has no effect on dependencies, so it's equivalent a positive flag, it could even be called 'free-pdf-printing', for instance...
Comment 9 Frank Aune 2005-03-04 13:29:49 UTC
Since DRM will (probably) become an issue for FOSS in the near future, isnt the best approach to use a system wide USE-flag and not package specific USE-flags? If for example +DRM is set in USE-flags, DRM-support is enabled where applicable. Else its -DRM by default.

Or do you see a need for a user who want some packages to support DRM, and some to not? "--Difficult to see the future, always in motion it is." ;-)
Comment 10 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-05 05:26:40 UTC
> isnt the best approach to use a system wide USE-flag and not package specific USE-flags?
This will be an issue only when we will have a lot of applications using it in the tree...

Update: in kde-3.5 (or before, if the change will be backported) DRM will be configurable with a GUI option.
http://webcvs.kde.org/kdegraphics/kpdf/configure.in.in?rev=1.20&view=log
Comment 11 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-15 02:57:52 UTC
This can be closed now.