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

Bug 155936

Summary: app-text/gv-3.6.2-r1 - option --ad=FILE not working any more
Product: Gentoo Linux Reporter: Martin Stockinger <mstockin>
Component: Current packagesAssignee: Printing Team <printing>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Stockinger 2006-11-22 05:24:25 UTC
With the new stable gv-3.6.2-r1 ebuild the gv command line option [-]-ad=FILE doesn't work any more. With ebuild gv-3.6.1-r3 it worked.

Example to reproduce the problem:
I want to set the printCommand in an additional resource file:

# echo "GV.printCommand: lp -d hpjd04" > ./test.ad
# gv --ad=./test.ad  any_example.ps


With ebuild gv-3.6.1-r3 I get "lp -d hpjd04" in the GUI print command.
But with ebuild gv-3.6.2-r1 I get "lpr" in the GUI print command as it is set
in /usr/lib/gv/gv_system.ad

If I set "GV.printCommand: lp -d hpjd04" in my ~/.Xdefaults file it works, but
that is not usable in my case.


Output of emerge --info:

Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.60GHz
Gentoo Base System version 1.12.6
Last Sync: Wed, 22 Nov 2006 01:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/mount/portage_distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="C"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/mount/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="/mount/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local /global/common/gentoo_overlay"
SYNC="rsync://rsync-gentoo/gentoo-portage"
USE="x86 X Xaw3d a52 acpi alsa apache2 apm asf athena automount bash-completion berkdb bitmap-fonts buffysize cdparanoia chroot cli crypt cups divx4linux dlloader dri dvd dvdr elibc_glibc emacs emboss encode erandom esd fbcon firefox flac font-server foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hbci i8x0 iconv idea idn imap imlib informix input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jbig jpeg jpeg2k kerberos kernel_linux ldap libg++ libwww linguas_de logrotate lzw mad maildir mbox mikmod mime mmx motif mozbranding moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mplayer ncurses nfs nis nls no-old-linux nosendmail nptl nptlonly nsplugin ogg opengl oracle overlays pam pcre pda pdf perl png ppds pppd procmail python qt3 qt4 quicktime quotas readline real reflection samba sasl sdl sensord session spell spl sse sse2 ssl syslog tcpd tiff tools transcode truetype truetype-fonts type1-fonts udev unicode urandom userland_GNU userlocales video_cards_fbdev video_cards_radeon video_cards_vesa video_cards_vga vorbis win32codecs wmf xine xml xorg xprint xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-07 17:53:17 UTC
Can you please test if this was fixed by the fix for bug 158322?
Comment 2 Martin Stockinger 2007-04-08 08:53:03 UTC
(In reply to comment #1)
> Can you please test if this was fixed by the fix for bug 158322?
> 

Yes, the fix for bug 158322 fixes also the problem with command line option "--ad=FILE".

Thanks
Marv