Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195030 - net-misc/ups-monitor fails to install
Summary: net-misc/ups-monitor fails to install
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-07 21:20 UTC by Whit Blauvelt
Modified: 2012-12-24 08:57 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for the ebuild (ups-monitor-0.8.3-r1.patch.tbz2,1.09 KB, text/plain)
2007-11-02 16:00 UTC, Angelo Leto
Details
patch for mustek and co (ups-monitor-0.8.3.diff,3.06 KB, patch)
2008-02-28 19:14 UTC, Jimmy.Jazz
Details | Diff
patch for mge (ups-monitor-0.8.3-mge.diff,2.05 KB, text/plain)
2008-02-28 19:14 UTC, Jimmy.Jazz
Details
ebuild (ups-monitor-0.8.3-r2.ebuild,1.14 KB, patch)
2008-02-28 19:15 UTC, Jimmy.Jazz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Whit Blauvelt 2007-10-07 21:20:14 UTC
The line Icon=ups-monitor.png results in an error being thrown

/var/tmp/portage/net-misc/ups-monitor-0.8.3-r1/image//usr/share/applications/rudd-o-ups-monitor.desktop: error: value "ups-monitor.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
Error on file "./ups-monitor.desktop": Failed to validate the created desktop file

The place to fix this is in the ups-monitor.desktop file from upstream, changing
Icon=ups-monitor.png to Icon=ups-monitor. I've reported it to Rudd-O, the developer.

Reproducible: Always




Is this because I'm running KDE as a desktop?
Comment 1 Angelo Leto 2007-11-02 16:00:03 UTC
Created attachment 135015 [details]
patch for the ebuild 

- ups-monitor needs dev-python/gnome-python-2.18.2 in DEPEND and not in RDEPEND.
- a patch was necessary for the file ups-monitor.desktop

the attached archive contains:

- ups-monitor.desktop.patch to be copied in /usr/portage/net-misc/ups-monitor/files
- the patch for the ups-monitor-0.8.3-r1.ebuild in order to apply the patch use the command:
  patch -p0 /usr/portage/net-misc/ups-monitor/ups-monitor-0.8.3-r1.ebuild ups-monitor-0.8.3-r1.ebuild.patch
- regenerate the manifest files:
  ebuild /usr/portage/net-misc/ups-monitor/ups-monitor-0.8.3-r1.ebuild manifest

it should works now.
Comment 2 Jimmy.Jazz 2008-02-28 19:12:31 UTC
Hi, i modified ups-monitor ebuild to take account of an mge device that doesn't have battery.voltage but output.voltage and mustek device that doesn't have remaining time variables. Also it is certainly not accurate but at least gives some more helpful indications as just the word (unknown) :)

Moreover the script now doesn't complain on the console anymore.

Jj
Comment 3 Jimmy.Jazz 2008-02-28 19:14:14 UTC
Created attachment 144891 [details, diff]
patch for mustek and co
Comment 4 Jimmy.Jazz 2008-02-28 19:14:39 UTC
Created attachment 144892 [details]
patch for mge
Comment 5 Jimmy.Jazz 2008-02-28 19:15:13 UTC
Created attachment 144893 [details, diff]
ebuild
Comment 6 Pacho Ramos gentoo-dev 2012-10-28 12:59:14 UTC
This looks dead for a long time, I cannot find upstream and it packaged on any other distribution, I think we should simply treeclean it
Comment 7 Sergey Popov gentoo-dev 2012-12-24 08:57:04 UTC
package is removed from tree