Portage 2.0.54-r2 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r9 x86_64) ================================================================= System uname: 2.6.16-gentoo-r9 x86_64 Dual Core AMD Opteron(tm) Processor 275 Gentoo Base System version 1.6.14 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.4.2 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.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="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /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/" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://mirror.gentoo.no/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa amd ao aotuv apache2 audiofile avahi avi bash-completion berkdb bitmap-fonts blender-game bootsplash bzip2 c++ cairo ccache cdr cli crypt cups curl dbus doc dri dvd dvdr dvi eds emacs emboss encode esd exif expat fam ffmpeg foomaticdb fortran gd gdbm gif gimp glut gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imagemagick imap imlib imlib2 ipv6 isdnlog jabber java joystick jpeg kerberos krb4 lcms ldap ldapsam libwww lzw lzw-tiff mad matroska mikmod mng motif mozilla mp3 mpeg musepack musicbrainz ncurses new-login nls nptl nsplugin nvidia ogg oggvorbis openal opengl pam pcre pdflib perl png postgres ppds pppd python qt quicktime readline recode reflection rtc ruby samba sasl scanner sdl session smp speex spell spl sqlite ssl subversion svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis xemacs xinerama xml xml2 xorg xpm xscreensaver xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Created attachment 88932 [details, diff] libgnomeprint ebuild applying patch
Created attachment 88933 [details, diff] cups multipage print patch the cups multipage print patch from GNOME bugzilla. http://bugzilla.gnome.org/attachment.cgi?id=46154
Selecting a different printing layout in the libgnomeui provided print dialog (e.g. 2 pages to 1) in any gnome application such as evince shows no effect. They get still printed 1 page to 1. This is a known and long standing libgnomeprint bug (see URL). AFAIU, libgnomeprint is unmaintained as its functionality is about to get merged into GTK+. The attached patch (stripped of the ChangeLog diff) for the libgnomeprint-2.12 ebuild applies and builds cleanly (tested on x86 and amd64) and multipage printouts now work for me (tested with evince). have fun, tamer.
I just applied the patch, too, and rebuilt libgnomeprint . Neither the multipage printing nor other layout settings (only even/odd pages, ...) worked here. The patch was applied: [...] >>> Unpacking libgnomeprint-2.12.1.tar.bz2 to /var/tmp/portage/gnome-base/libgnomeprint-2.12.1/work * Applying libgnomeprint-2.12.1-multipage-print.patch ... [ ok ] >>> Source unpacked. [...] $ emerge info Portage 2.1.2_rc1-r6 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-suspend2-mw i686) ================================================================= System uname: 2.6.18-suspend2-mw i686 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.6 Last Sync: Sun, 12 Nov 2006 05:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.2.3-r6, 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 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, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -msse2 -m3dnow" 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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -msse2 -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo http://pandemonium.tiscali.de/pub/gentoo/" LANG="C" 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/local/portage" SYNC="rsync://ares/gentoo-portage" USE="x86 3dnow 3dnowext X Xaw3d aac aalib acpi alsa aoss apache2 apm bash-completion berkdb bitmap-fonts blender-game branding bzip2 cdparanoia cdr cli cracklib crypt crypto_openssl css cups curl dba dbus dedicated devmap dga directfb divx dlloader doc dri dvd dvdr dvi editor elibc_glibc emboss encode escreen exif expat fam fbcon ffmpeg firefox flac foomaticdb ftp gd gdbm gif gimpprint glut gnome gnutls gstreamer gtk gtk2 gtkhtml hal hddtemp i8x0 iconv icq idn imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 jabber java john jpeg jpeg2k kernel_linux lame libcaca libg++ libnotify libwww logrotate mad mbox mmx mmxext mng mozdevelop mozilla mozsvg mp3 mpeg mysql nautilus ncurses nfs nls no-htdocs nptl nptlonly nsplugin nvidia offensive ogg openal opengl openssl oscar oss pam pcre pdf perl php png pop postfix postgres python qt3 qt4 quicktime readline real realmedia rtc ruby samba sdl server session silverxp spell spl sqlite sse sse2 ssl startup-notification svg tcpd tetex theora thunderbird tiff tools truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_nvidia vim vim-with-x visualization vorbis win32codecs wmf wmp x264 xanim xchattext xine xml xorg xpm xprint xsl xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Which gnome version are you using? Works fine for me using Gnome 2.14. Which application have you tried printing with? Is this application using libgnomeprint? Verify with e.g.: $ ldd /usr/bin/evince | grep libgnomeprint Based on your: ACCEPT_KEYWORDS="x86 ~x86" it appears to me you are running gnome 2.16, where it might be that the application you are using does not use libgnomeprint (see: http://www.gnome.org/start/2.16/notes/C/rnbackend.html) anymore and therefore a patch in the corresponding gtk library would be due to make this work. In any case, it would be worth checking with upstream upon the status of this problem in newer gnome releases.
Please excuse me being so imprecisely. (In reply to comment #5) > Which gnome version are you using? Works fine for me using Gnome 2.14. Which > application have you tried printing with? I used Gnome 2.16, especially evince (in version 0.6.1). > Is this application using libgnomeprint? Verify with e.g.: > > $ ldd /usr/bin/evince | grep libgnomeprint This gives: $ ldd /usr/bin/evince | grep libgnomeprint libgnomeprintui-2-2.so.0 => /usr/lib/libgnomeprintui-2-2.so.0 (0xb7bf4000) libgnomeprint-2-2.so.0 => /usr/lib/libgnomeprint-2-2.so.0 (0xb7b87000) This .so belongs to libgnomeprint: $ equery belongs /usr/lib/libgnomeprint-2-2.so.0 [ Searching for file(s) /usr/lib/libgnomeprint-2-2.so.0 in *... ] gnome-base/libgnomeprint-2.12.1 (/usr/lib/libgnomeprint-2-2.so.0 -> libgnomeprint-2-2.so.0.1.0) > Based on your: ACCEPT_KEYWORDS="x86 ~x86" it appears to me you are running > gnome 2.16, where it might be that the application you are using does not use > libgnomeprint (see: http://www.gnome.org/start/2.16/notes/C/rnbackend.html) > anymore and therefore a patch in the corresponding gtk library would be due to > make this work. The printing dialog there on that website looks exactly like the one I have here. Please let me know if you need more information.
Evince 0.6.1 on gnome 2.16.x will use gtkprint, not libgnomeprint. You'll have to try something else. It appears gedit still uses libgnomeprint.
Im sorry, but we wont integrate this patch. libgnomeprint is on its way out, things are migrating to GtkPrint.