Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 83838
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Frank Aune <faune@broadpark.no>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 83838 depends on: Show dependency tree
Bug 83838 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-03-02 09:04 0000
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 From Gregorio Guidi (RETIRED) 2005-03-02 09:32:27 0000 -------
You should discuss the default value with the kpdf maintainers, not with us.

------- Comment #2 From Simone Gotti (RETIRED) 2005-03-02 12:48:07 0000 -------
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 From Frank Aune 2005-03-02 12:55:36 0000 -------
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 From Frank Aune 2005-03-02 12:58:16 0000 -------
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 From Gregorio Guidi (RETIRED) 2005-03-02 15:49:38 0000 -------
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 From Gregorio Guidi (RETIRED) 2005-03-03 02:57:55 0000 -------
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 From Carsten Lohrke 2005-03-03 09:21:23 0000 -------
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 From Gregorio Guidi (RETIRED) 2005-03-03 09:52:44 0000 -------
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 From Frank Aune 2005-03-04 13:29:49 0000 -------
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 From Gregorio Guidi (RETIRED) 2005-03-05 05:26:40 0000 -------
> 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 From Gregorio Guidi (RETIRED) 2005-07-15 02:57:52 0000 -------
This can be closed now. 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug