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.
You should discuss the default value with the kpdf maintainers, not with us.
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.
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.
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.
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...
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?
Gregorio: no* use flags were never a good idea and need to be extinct >> http://thread.gmane.org/gmane.linux.gentoo.devel/25197
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...
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." ;-)
> 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
This can be closed now.