|Summary:||kscannerbuttons-0.9.4 (new ebuild)|
|Product:||Gentoo Linux||Reporter:||Carlos Laué <carlosl>|
|Component:||New packages||Assignee:||Default Assignee for New Packages <maintainer-wanted>|
|Package list:||Runtime testing required:||---|
initial ebuild for kscannerbuttons-0.9.4
kscannerbuttons-0.9.4.ebuild: cleaned-up version
Fixes wrong ksystraycmd calling
Updated 0.9.5 ebuild to go with my patch
fixes .desktop file provided
Description Carlos Laué 2007-01-04 17:08:05 UTC
An ebuild for kscannerbuttons, a button monitoring daemon for your scanner.
Comment 1 Carlos Laué 2007-01-04 17:50:23 UTC
Created attachment 105442 [details] initial ebuild for kscannerbuttons-0.9.4 this ebuild mimics the installation paths as found into Makefile (mostly) there is some patching needed for moving the .kmdr script from /usr/local/bin (hardcoded paths) so I left it where it (initially) was. originally, installing with the Makefile puts an .desktop file on ~/Desktop/ so it appear's on the installing user's desktop (and installs system-wide files using a kdesu-dialog) so installation is at the moment handled by the ebuild. I didn't want to write down a doins for each new locale the program might have (only french at the moment) but I did so. the program works for me on amd64, originally is written for x86 so I've put both ~ARCH's flags.
Comment 2 Carlos Laué 2007-01-04 22:36:46 UTC
Created attachment 105449 [details] kscannerbuttons-0.9.4.ebuild: cleaned-up version The first ebuild was buggy anyway. Now everything seems to work and install properly (no missing icons inside the program). It seems to be ready to install more language files, no handwork. Also cleaned up ebuild.skel comments (sorry!)
Comment 3 Carlos Laué 2007-01-04 22:44:16 UTC
Created attachment 105451 [details, diff] kscannerbuttons-0.9.4-destdir.patch
Comment 4 Philipp Wollermann 2007-01-28 22:34:07 UTC
Created attachment 108429 [details, diff] Fixes wrong ksystraycmd calling This patch fixes the error message on startup: $ kscannerbuttons /bin/bash: kmdr-executor --icon scanner /usr/local/bin/KScannerButtons.kmdr: No such file or directory
Comment 5 SpanKY 2007-09-29 10:21:35 UTC
Created attachment 132161 [details] kscannerbuttons-0.9.5.ebuild
Comment 6 SpanKY 2007-09-29 10:21:52 UTC
Created attachment 132162 [details, diff] kscannerbuttons-0.9.5-build.patch
Comment 7 Baldrun Orv 2008-02-28 22:24:09 UTC
I emerged kscannerbuttons using the kscannerbuttons-0.9.5.ebuild and the kscannerbuttons-0.9.5-build.patch. Executing kscannerbuttons results in a scanner symbol being shown in the taskbar. Clicking on this symbol leads to an error message stating: "Kommander file /usr/local/share/kscannerbuttons/KScannerButtons.kmdr does not exist." Console output: $ kscannerbuttons X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0x6a00012 However, KScannerButtons.kmdr can be found here: /usr/share/kscannerbuttons/KScannerButtons.kmdr. Is there something wrong with the patch?
Comment 8 Stephan Sokolow 2008-07-23 17:16:15 UTC
Created attachment 161202 [details, diff] kscannerbuttons-0.9.5-fix-ksystraycmd.patch Here's a patch which fixes the ksystraycmd problem when you also chmod KScannerButtons.kmdr 755 so ksystraycmd doesn't get confused by Kommander's warning dialog.
Comment 9 Stephan Sokolow 2008-07-23 17:17:42 UTC
Created attachment 161203 [details] Updated 0.9.5 ebuild to go with my patch ...and here's an ebuild which uses the patch and does the chmodding for you. I tested both and they work perfectly well.
Comment 10 Carlos Laué 2008-07-23 23:57:55 UTC
Created attachment 161230 [details, diff] fixes .desktop file provided This patch fixes two bugs with the application shortcut: The first bug was KScannerButtons not being placed into any category on the KDE application menu, now in Utilities. The second bug was a wrong path, almost identical to the bug as described in comment #7, that happened when one tried to start the application using the menu.
Comment 11 Stephan Sokolow 2008-08-31 08:18:29 UTC
Just thought I'd warn everybody. It seems that sanebuttonsd is triggering some kind of kernel memory leak on my system. (over 1GiB per week) I'll update you when I can figure out what part of my kernel is leaky. The simplest way to check if you've got the same problem is to use the slabtop tool and check whether the number of sysfs_dir_cache entries is ticking up slowly but very steadily. (Exactly 111 leaked entries per slabtop update on my system)