[Bug 491128] Review Request: photoprint - Utility for printing digital photographs

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 23 11:56:29 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=491128





--- Comment #4 from leigh scott <leigh123linux at googlemail.com>  2009-03-23 07:56:12 EDT ---
(In reply to comment #3)
> Please, one question.
> 
> How long are usually waiting for sponsor?
> 
> Thx
> Zarko  

There is no set time. (I am not allowed to sponsor)

I have just checked the new spec + srpm and noticed the application installs
icons into %{_datadir}/icons/hicolor , this means the icon caches must be
updated so that the installed icons show up in menus right after package
installation.
I also checked the desktop file and it contains mime info.

http://fedoraproject.org/wiki/Packaging/ScriptletSnippets#desktop-database


You will need to add this after the %clean section

%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
update-mime-database %{_datadir}/mime &> /dev/null || :


%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
update-mime-database %{_datadir}/mime &> /dev/null || :

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the package-review mailing list