Fix installation of Linux desktop files.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2006-01-15 03:25:44 +00:00
parent 887a458227
commit 45ff3267cd
3 changed files with 9 additions and 8 deletions

View File

@ -130,11 +130,11 @@ f 0444 root sys /Applications/fluid.app/Contents/Resources/fluid.icns fluid/icon
%system linux
f 0444 root sys /usr/share/applnk/Development/fluid.desktop fluid/fluid.desktop
f 0444 root sys /usr/share/icons/hicolor/16x16/fluid.png fluid/icons/fluid-16.png
f 0444 root sys /usr/share/icons/hicolor/32x32/fluid.png fluid/icons/fluid-32.png
f 0444 root sys /usr/share/icons/hicolor/48x48/fluid.png fluid/icons/fluid-48.png
f 0444 root sys /usr/share/icons/hicolor/64x64/fluid.png fluid/icons/fluid-64.png
f 0444 root sys /usr/share/icons/hicolor/128x128/fluid.png fluid/icons/fluid-128.png
f 0444 root sys /usr/share/icons/hicolor/16x16/apps/fluid.png fluid/icons/fluid-16.png
f 0444 root sys /usr/share/icons/hicolor/32x32/apps/fluid.png fluid/icons/fluid-32.png
f 0444 root sys /usr/share/icons/hicolor/48x48/apps/fluid.png fluid/icons/fluid-48.png
f 0444 root sys /usr/share/icons/hicolor/64x64/apps/fluid.png fluid/icons/fluid-64.png
f 0444 root sys /usr/share/icons/hicolor/128x128/apps/fluid.png fluid/icons/fluid-128.png
f 0444 root sys /usr/share/mimelnk/application/x-fluid.desktop fluid/x-fluid.desktop
%system all

View File

@ -88,8 +88,8 @@ install-linux:
-$(MKDIR) $(DESTDIR)/usr/share/applnk/Development
$(CP) fluid.desktop $(DESTDIR)/usr/share/applnk/Development
for size in 16 32 48 64 128; do \
-$(MKDIR) $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}; \
$(CP) icons/fluid-$$size.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/fluid.png; \
-$(MKDIR) $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps; \
$(CP) icons/fluid-$$size.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/fluid.png; \
done
-$(MKDIR) $(DESTDIR)/usr/share/mimelnk/application
$(CP) x-fluid.desktop $(DESTDIR)/usr/share/mimelnk/application

View File

@ -2,9 +2,10 @@
Name=fluid
Comment=FLTK GUI Designer
TryExec=fluid
Exec=fluid
Exec=fluid %F
Icon=fluid
Terminal=false
Type=Application
MimeType=application/x-fluid
Encoding=UTF-8
Categories=Development