Bug 1204511 - Wrong icon for bacula-tray-monitor.
Summary: Wrong icon for bacula-tray-monitor.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bacula
Version: 21
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-22 19:23 UTC by Erik P. Olsen
Modified: 2015-07-15 09:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-15 09:05:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Bacula Tray Monitor icon (331 bytes, image/png)
2015-03-24 21:09 UTC, Marcin Haba
no flags Details
Spec file patch for new icon (1.79 KB, patch)
2015-03-25 20:21 UTC, Marcin Haba
no flags Details | Diff
Screenshot from Gnome 3 with Tray Monitor icon (295.36 KB, image/png)
2015-03-25 20:23 UTC, Marcin Haba
no flags Details
Add gcc requirements and fix tray monitor patch (2.68 KB, patch)
2015-07-15 07:04 UTC, Marcin Haba
no flags Details | Diff
Original tray monitor icon (1.41 KB, image/x-xpixmap)
2015-07-15 07:05 UTC, Marcin Haba
no flags Details

Description Erik P. Olsen 2015-03-22 19:23:18 UTC
Description of problem: Icon for bacula-tray-monitor shows icon for bat not that of the traymonitor which used to display a tape diskette.


Version-Release number of selected component (if applicable): 
Bacula 7.0.5


How reproducible:
allways.


Steps to Reproduce:
1. Select Applications Menu
2. Select System
3. Look at Bacula Bat Console and Bacula Monitor 

Actual results:
Both display same icon

Expected results:
Bacula Monitor should not display same icon as Bat.

Additional info:
The incorrect icon is /usr/share/pixmaps/bacula-tray-monitor.png

Comment 1 Marcin Haba 2015-03-24 21:09:55 UTC
Created attachment 1005998 [details]
Bacula Tray Monitor icon

This original Bacula Tray Monitor icon I have taken from:

http://www.bacula.org/git/cgit.cgi/bacula/tree/bacula/src/tray-monitor/generic.xpm?h=Branch-5.0&id=Release-5.2.13

and next I converted the icon to PNG format.

I propose to change Tray Monitor icon to this one.

Comment 2 Marcin Haba 2015-03-25 20:21:00 UTC
Created attachment 1006463 [details]
Spec file patch for new icon

I am attaching proposed patch to Spec file for new icon. After patch apply, there is need to add the icon from attachment (file: bacula-tray-monitor.png) to SOURCES/ directory.

In my opinion better is keep desktop icon in rpm meta files, because if something is happen that icon lost from Bacula sources, then in rpm meta files the icon will be all the time. I also think that file "bacula-trymonitor.desktop" and "bacula-try-monitor.png" are something like pair, and also as pair could occur in rpm meta files.

Thank you in advance for patch review and opinion.

Comments are welcome.

Comment 3 Marcin Haba 2015-03-25 20:23:13 UTC
Created attachment 1006464 [details]
Screenshot from Gnome 3 with Tray Monitor icon

I am also adding screenshot from that, how reverted icon to original Tray Monitor looks on desktop side.

Comment 4 Dominik 'Rathann' Mierzejewski 2015-07-13 09:21:01 UTC
Actually, it's better not to include the converted image as source, but to do the conversion as part of the build process (adding the necessary BuildRequires:, too). The SourceN: tag for the icon should point to the original image that you convert to PNG instead.

Comment 5 Marcin Haba 2015-07-13 09:26:04 UTC
@Dominik. OK. Thanks for the notice. I will prepare this change in Spec file.

Comment 6 Marcin Haba 2015-07-15 07:04:21 UTC
Created attachment 1052202 [details]
Add gcc requirements and fix tray monitor patch

Comment 7 Marcin Haba 2015-07-15 07:05:18 UTC
Created attachment 1052203 [details]
Original tray monitor icon

Comment 8 Marcin Haba 2015-07-15 07:07:29 UTC
Hello,

I added conversion tray monitor icon from xpm to png format.

Additionally I added gcc and gcc-c++ in BuildRequires fields.

Comment 9 Simone Caronni 2015-07-15 08:16:03 UTC
Thanks for the patch. I've made a change, ImageMagick is pulled in only on RHEL 6+, as the graphical programs (i.e. bat) are not built on RHEL 5+.

Testing the build now on all supported distributions (RHEL 5/6, Fedora 21+).

Comment 10 Simone Caronni 2015-07-15 09:05:01 UTC
Fixed this in f23 and rawhide, don't think it's necessary to push an update just for this. I've committed the change in all branches, so whenever a new update is required the "new" (ugly) icon will be in place.


http://pkgs.fedoraproject.org/cgit/bacula.git/commit/?id=e397501cfedb78a2d0065c32d36c361c12b9a890


Note You need to log in before you can comment on or make changes to this bug.