It can be downloaded from: http://cyberelk.net/tim/data/system-config-printer/1.0.x/system-config-printer-1.0.8.tar.bz2 Chengelog: http://cyberelk.net/tim/data/system-config-printer/1.0.x/ChangeLog src.rpm and patches from other distros can be taken from: ftp://ftp.free.fr/pub/Distributions_Linux/Fedora/development/source/SRPMS/system-config-printer-1.0.8-2.fc10.src.rpm ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/main/release/system-config-printer-1.0.7-13mdv2009.0.src.rpm http://patches.ubuntu.com/s/system-config-printer/ http://ftp-stud.hs-esslingen.de/Mirrors/ftp.opensuse.org/factory/repo/src/suse/src/system-config-printer-1.0.7-4.4.src.rpm Thanks Reproducible: Always
It's a very neat tool and would be much appreciated, if anyone is looking for a project. I'd be happy to help out with testing or some ebuild writing, but I'm just looking to get into this, so I'd need some guidance. 0.7.27 is currently in portage, but is hard-masked with the message 'masked until it gets some testing' from late 2006. 0.7.27 doesn't build however, due to an unrecognised Category listed in redhat-system-config-printer.desktop presumably due to this being pulled from a Fedora rpm.
Created attachment 170613 [details] system-config-printer-1.0.9 ebuild Not all that much has changed from the older version. Taking it from the original tarball now, rather than the RPM. Requires dev-python/pycups-1.9.27 (will upload an ebuild for shortly) and dev-python/notify-python. Compiles and appears to work normally on my system. If someone else was to have a play as well, that would be appreciated.
Created attachment 170615 [details] ebuild for pycups-1.9.27
Created attachment 172629 [details] Another new Ebuild based on the 1.0.10 release. for mie it works without any problems. feel free to test it.
Greetings! The ebuild needs an app-text/xmlto, a dev-python/python-dbus and a dev-python/gnome-python dependency. There might me more than that... Apart from that, it builds on amd64. Thanks!
(In reply to comment #5) > Greetings! The ebuild needs an app-text/xmlto, a dev-python/python-dbus and a > dev-python/gnome-python dependency. There might me more than that... Apart from > that, it builds on amd64. Thanks! > I've updated to 1.0.10, and added app-text/xmlto and dev-python/gnome-python but I don't find an ebuild for dev-python/python-dbus, could you point me towards the bug for it? I'll mark it as a dependency for this bug report and add it to the ebuild before I upload the new one. 1.0.10 builds nicely on amd64, most of the config bits work well, the applet requires python-dbus though.
Created attachment 173716 [details] New ebuild. Ah, dbus-python not python-dbus. Still can't get the applet running, possibly needs something else. I'll take a look at it later if noone else has in between.
http://cyberelk.net/tim/data/system-config-printer/1.1 1.1.1 was released. Any chance for updated (even hard masked) version?
Created attachment 176942 [details] system-config-printer-1.0.12.ebuild
Created attachment 176944 [details] pycups-1.9.42.ebuild
Please unmask (this date in 2006) and commit: - system-config-printer-1.0.12.ebuild - pycups-1.9.42.ebuild thx
Created attachment 178152 [details] Ebuild for system-config-printer 1.1.1
Just to note: I've removed the dependency to usermode in the above ebuild as it doesn't seem to be necessary, system-config-printer works just fine without it and other distributions are also not depending on it (openSUSE, Ubuntu, etc...)
btw: would be really good to have this in. All the other distributions are now using it instead of gnome-cups-manager, which is practically unmaintained nowadays. Even openSUSE - which originally developed gnome-cups-manager - has now switched to system-config-printer
I've been trying to talk the KDE guys into taking this over because it seems the next KDE version will make this a core part of its printing infrastructure. Perhaps they could help out with this.
That seems like an excellent path to take. My attempt at this has really just been a play around as an introduction to ebuilds, it's by no means particularly good or functional. Getting the KDE guys to take this one on would be great.
(In reply to comment #15) > I've been trying to talk the KDE guys into taking this over because it seems > the next KDE version will make this a core part of its printing infrastructure. > Perhaps they could help out with this. > KDE is taking over a GTK+-based tool?
(In reply to comment #17) > (In reply to comment #15) > > I've been trying to talk the KDE guys into taking this over because it seems > > the next KDE version will make this a core part of its printing infrastructure. > > Perhaps they could help out with this. > > > > KDE is taking over a GTK+-based tool? > We have no choice, kde printing system is based on it :( so if you want help reavertm is on it currently.
Created attachment 179318 [details] system-config-printer-1.1.2.ebuild This is a revision bump, but this one now also uses the correct split gnome-python dependencies instead of the whole metapackage. Should make it a bit more "lightweight" on the dependency side. Besides that I still think this bug should also be of vital interest to the GNOME herd. system-config-printer is now the de facto standard graphical printer manager on all major GNOME-based distributions/ desktops. Gentoo / GNOME is still depending on GNOME Cups Manager which is outdated and not developed anymore.
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=blob;f=app-admin/system-config-printer/system-config-printer-1.1.2.ebuild Could you please please drop by at #gentoo-kde and talk with reavertm so we dont duplicate work?
Yeah, to have it done asap I recommend catching me at #gentoo-kde as scarabeus said. I have my newest system-config-printer and pycups ebuilds hosted there at kde-testing overlay, they are in alpha/beta shape really and suggestions (especially related to DEPEND/RDEPEND) are appreciated. I would as well need someone to give me hints for app-misc/hal-cups-utils runtime python deps (apparently looking up source code..) - it's new ebuild. kde-testing is there - http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git
I borrowed deps section (with my nls modification) from system-config-printer ebuild attached here. Links are in #20 and #21
Updated deps: net-print/cups[dbus] dev-libs/libxml2[python] removed gnome-keyring-python from deps - is this *really* needed? seems to work without it Please test app-admin/system-config-printer and dev-python/pycups from kde-testing overlay - those versions are portage candidates (though they're not showstoppers for KDE 4.2.0 in portage)
(In reply to comment #23) > removed gnome-keyring-python from deps - is this *really* needed? seems to work > without it Well it is used, look in jobviewer.py, though it seems to be optional try: import gnomekeyring USE_KEYRING=True except ImportError: USE_KEYRING=False
Good candidate for optional RDEPEND, ebuild updated.
I am trying to get this to build using the ebuilds in the kde-testing overlay and it is failling like this: make[1]: Entering directory `/var/tmp/portage/app-admin/system-config-printer-1.1.3/work/system-config-printer-1.1.3' xmlto man -o man man/system-config-printer.xml xmlto: input does not validate (status 3) /var/tmp/portage/app-admin/system-config-printer-1.1.3/work/system-config-printer-1.1.3/man/system-config-printer.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> ^ warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" Document /var/tmp/portage/app-admin/system-config-printer-1.1.3/work/system-config-printer-1.1.3/man/system-config-printer.xml does not validate make[1]: *** [man/system-config-printer.1] Error 3
- post your USE flags you tried to emerge this package with - maybe it just requires active Internet connection to get DTD's for verification? - post your xmlto version and emerge --info - ensure your sustem is sane (emerge -vaDuN world and etc)
This happens for me, too. Strangely, it used to work for system-config-printer 1.1.3 before but now it won't work with either 1.1.3 or 1.1.5. I've tried with both xmlto 0.0.18 and 0.0.21. My system is sane and up-to-date. Output of emerge -av system-config-printer: [ebuild U ] app-admin/system-config-printer-1.1.5 [1.1.3] USE="-gnome-keyring (-nls%*)" LINGUAS="de -ar -bg -bn -bn_IN -bs -ca -cs -cy -da -el -en_GB -es -et -fa -fi -fr -gu -he -hi -hr -hu -hy -id -is -it -ja -ka -kn -ko -lo -lv -mk -ml -mr -ms -nb -nl -nn -pa -pl -pt -pt_BR -ro -ru -si -sk -sl -sr -sv -ta -te -tr -uk -vi -zh_CN" 0 kB [1] Output of emerge --info: Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-glibc2.2.5 Timestamp of tree: Mon, 09 Mar 2009 18:00:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.6.3 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.4 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ " LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de en en_US" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/kde-testing /usr/portage/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 audiofile berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups custom-optimization dbus dell dri dts dvb dvd dvdr dvdread emboss encode fam ffmpeg flac fortran gdbm gif gpm gstreamer hal htmlhandbook iconv ieee1394 isdnlog joystick jpeg kde kde-base/solid kdeprefix lame laptop ldap libnotify mad matroska midi mikmodmmx mng mp3 mpeg mudflap multilib musepack nautilus ncurses networkmanager nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oss pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection samba scanner schroedinger sdl session sndfile spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff timidity truetype unicode usb v4l v4l2 vcd vdpau videos vorbis wavpack wifi x264 xcomposite xinerama xml xorg xosd xscreensaver xshape xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_US" USERLAND="GNU" VIDEO_CARDS="vesa fbdev nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Jyst a note, I'll try to split system-config-printer module to separate gnome frontend from "commmon" modules, so that it can be reused as light dependency for kde-base/system-config-printer-kde (system-config-printer-gnome would emerged respectively)
"- post your USE flags you tried to emerge this package with - maybe it just requires active Internet connection to get DTD's for verification? - post your xmlto version and emerge --info - ensure your sustem is sane (emerge -vaDuN world and etc)" Just tried again with 1.1.15 - same problem. USE flags see emerge --info below. Internet connection is fine. I can do a wget http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd and it works. xmlto version = xmlto-0.0.18 emerge --info Portage 2.2_rc20 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64) ================================================================= System uname: Linux-2.6.26-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-glibc2.2.5 Timestamp of tree: Tue, 10 Mar 2009 16:30:03 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.3 sys-apps/baselayout: 1.12.12 sys-apps/sandbox: 1.3.6 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://mirror.espri.arizona.edu/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/portage/local/layman/sabayon /usr/portage/local/layman/pro-audio /usr/portage/local/layman/berkano /usr/portage/local/layman/kde-testing /usr/portage/local/layman/cloos" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi ada alsa amd64 avahi berkdb bluetooth branding bzip2 cairo caps cdr clicracklib crypt cups dbus divx dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran gdbm gif gpm gstreamer gtk hal htmlhandbook iconv imagemagic ipv6 isdnlog joystick jpeg jpeg2k kde kdeprefix lcms ldap libnotify lm_sensors mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nlsnptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl pmu png ppds pppd python qt qt3qt3support qt4 quicktime readline reflection samba sdl session smp sndfile speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb vcd vorbis x264 xcomposite xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ice1724" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cachemime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS System is sane. emerge -vaDuN world has been done. I am not sure what etc is.
So far I can see one common denominator - you all run stable arch. I suspected libxml2 (as far as goes for XML validation). Anyway libxml2 used to have Relax-NG validator far from being perfect but I cannot reproduce the problem on my stable arch as well so it's not libxml2 issue (xmlto even doesn't link to it)... I'm out for ideas for now.
I found the solution. xmlto tries to validate the XML file against /usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd which is provided by the docbook-xml-dtd-4.1.2-r6 package (which I didn't have installed). Installing that fixed the problem for me.
That fixed it for me too. docbook-xml-dtd is slotted and I had it installed for the 4.2 and 4.4 slots. So this need to be dependent on docbook-xml-dtd:4.1 which is not in the DEPEND list of the ebuild.
I have just docbook-xml-dtd:4.2 installed (4.2-r1 in my stable system and 4.2-r2 in ~amad64 chroot) - still it manages to download required docbook and verify agains it. It's certainly some network (proxy?) issue on your side. Still building should not need active network connection so I'm adding :4.1 as build time dependency as requested.
I found that after uninstalling docbook-xml-dtd-4.1.2 I still had orphaned rewriteURI definitions and other lines for 4.1.2 in my /etc/xml/docbook. If I understand this correctly, xmlto/xmllint uses this file to relsolve URLs to local files (which of course should exist). I think this got xmllint confused and caused validation to fail. Removing all lines for 4.1.2 from /etc/xml/docbook fixes the problem. The XML file now validates correctly even without docbook-xml-dtd-4.1.2 installed, although it takes a bit longer than with. Apparently I once had 4.1.2 installed already, perhaps it got removed by a depclean. Hope this helps clarifying this issue a bit.
I guess this is worth mentioning in pkg_setup, thanks!
Just wanted to point out that 1.1.6 has been released, which drops the libgnome-python dependency and therefore should considerably reduce the dependency load, especially for non-GNOME-systems. Check the upstream bug for reference: https://fedorahosted.org/system-config-printer/ticket/147
Removed from tree.