Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 137865

Summary: Confusion regarding the "nodrm" use flag..
Product: Gentoo Linux Reporter: Eric Norm <enorm1>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: trivial    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eric Norm 2006-06-24 11:31:06 UTC
# emerge --info
Portage 2.1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.14-hardened-r8 i686)
=================================================================
System uname: 2.6.14-hardened-r8 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/mythtv"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow 3dnowext X a52 aac alsa apache2 apm avi berkdb bitmap-fonts bzip2 cdparanoia cli crypt divx4linux dri dts dvd dvdr dvdread eds emboss encode fame ffmpeg flac foomaticdb gdbm gif gpm gstreamer gtk gtk2 imlib isdnlog jpeg jpeg2k libg++ libwww lirc lzo mad matroska mbox mikmod mjpeg mmx mmxext motif mp3 mpeg mysql mythtv ncurses nls nptl nvidia ogg on-the-fly-crypt opengl oss pam pcre pdflib perl png pppd python qt quicktime readline real reflection rtc samba sdl sensord session spell spl sse ssl tcpd theora transcode truetype truetype-fonts type1-fonts udev v4l vim-with-x vorbis win32codecs xanim xml xorg xv xvid yv12 zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS




# euse -i nodrm
global use flags (searching: nodrm)
************************************************************
no matching entries found

local use flags (searching: nodrm)
************************************************************
[-    ] nodrm (app-text/pdftk):
Decrypt a document with the user_pw even if it has an owner_pw set

[-    ] nodrm (app-text/xpdf):
Disable the drm feature decoder.

[-    ] nodrm (kde-base/kdegraphics):
Disable DRM support in KPDF.

[-    ] nodrm (kde-base/kpdf):
Disable DRM support in KPDF.


Do I get this the wrong way or do the "nodrm" flag make pdftk decrypt documents while the same flag in kde disables document decoding (in kde)?
Wouldn't it be better if the use flags were interpreted "almost" the same way by the ebuilds?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-24 11:49:43 UTC
(In reply to comment #0)
> Do I get this the wrong way or do the "nodrm" flag make pdftk decrypt documents
> while the same flag in kde disables document decoding (in kde)?

You really get it wrong, read the description couple more times. ;)
Comment 2 Eric Norm 2006-06-24 13:15:49 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Do I get this the wrong way or do the "nodrm" flag make pdftk decrypt documents
> > while the same flag in kde disables document decoding (in kde)?
> 
> You really get it wrong, read the description couple more times. ;)
> 

Imho "Disable the drm feature decoder." and "Decrypt a document with...
Comment 3 Eric Norm 2006-06-24 13:15:49 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Do I get this the wrong way or do the "nodrm" flag make pdftk decrypt documents
> > while the same flag in kde disables document decoding (in kde)?
> 
> You really get it wrong, read the description couple more times. ;)
> 

Imho "Disable the drm feature decoder." and "Decrypt a document with...ยจ 
sounds like opposites to me. But gentooish is not my native language :)