Am Dienstag, den 22.12.2009, 10:20 +0100 schrieb Sercik:
> I'm trying to compile lxde-common and i obtainb the following error:
> 
> + desktop-file-install --remove-key=Encoding 
> --dir=/var/tmp/lxde-common-0.5.0-1.   
> RHL5-root-root/usr/share/applications lxde-logout.desktop
> Must specify the vendor namespace for these files with --vendor
> 
> I already tried to modify the spec file adding --vendor="redhat" but 
> doesn't work
> 
> What i need to add exactly?? how can i solve this problem?
> Thank you!

It looks like you are recompiling one of my Fedora packages on a system
whit older desktop-file-utils (such as RHEL or CentOS). You need to add
a vendor and if you add it to desktop-file-install you also need to add
the vendor a prefix in the %files section, e. .g

desktop-file-install                                           \
      --vendor="redhat"                                        \
      --dir=%{buildroot}%{_datadir}/applications               \
      lxde-logout.desktop
desktop-file-install                                           \
      --vendor="redhat"                                        \
      --dir=%{buildroot}%{_datadir}/applications               \
      %{SOURCE1}
...
%files
....
%{_datadir}/applications/redhat-lxde-*.desktop
                         ^^^^^^

It might be easier to just remove calling desktop-file-install. We
usually only do this to validate the files but it's not stricktly
needed.

Regards,
Christoph


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to