Ticket #1139: sugar-1139.patch

File sugar-1139.patch, 1.7 KB (added by alsroot, 14 years ago)
  • data/Makefile.am

    From 6bd79a1c1ef0184b1697b1a15011f2a454a7227f Mon Sep 17 00:00:00 2001
    From: Aleksey Lim <alsroot@member.fsf.org>
    Date: Wed, 5 Aug 2009 17:03:52 +0000
    Subject: Install sugar-emulator.desktop application file #1139
    
    ---
     data/Makefile.am            |    5 ++++-
     data/sugar-emulator.desktop |    7 +++++++
     2 files changed, 11 insertions(+), 1 deletions(-)
     create mode 100644 data/sugar-emulator.desktop
    
    diff --git a/data/Makefile.am b/data/Makefile.am
    index 684ca20..85c091f 100644
    a b GTKRC_FILES = \ 
    2323xsessionsdir = $(datadir)/xsessions
    2424xsessions_DATA = sugar.desktop
    2525
     26applicationsdir = $(datadir)/applications
     27applications_DATA = sugar-emulator.desktop
     28
    2629mime_xml_in_files = sugar.xml.in
    2730mime_xml_files = $(mime_xml_in_files:.xml.in=.xml)
    2831@INTLTOOL_XML_RULE@
    if GCONF_SCHEMAS_INSTALL 
    5861        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule sugar.schemas 2>&1 > /dev/null
    5962endif
    6063
    61 EXTRA_DIST = $(sugar_DATA) $(xsessions_DATA) $(nmservice_DATA) $(mime_xml_in_files) em.py gtkrc.em $(schema_in_files)
     64EXTRA_DIST = $(sugar_DATA) $(xsessions_DATA) $(applications_DATA) $(nmservice_DATA) $(mime_xml_in_files) em.py gtkrc.em $(schema_in_files)
    6265CLEANFILES = $(GTKRC_FILES) $(mime_xml_files) $(schema_DATA)
  • new file data/sugar-emulator.desktop

    diff --git a/data/sugar-emulator.desktop b/data/sugar-emulator.desktop
    new file mode 100644
    index 0000000..ea141d3
    - +  
     1[Desktop Entry]
     2Encoding=UTF-8
     3Name=Sugar Emulator
     4Exec=/usr/bin/sugar-emulator
     5Type=Application
     6Icon=/usr/share/icons/sugar/scalable/device/computer-xo.svg
     7Categories=Education