Ticket #1139: sugar-1139.2.patch

File sugar-1139.2.patch, 3.0 KB (added by alsroot, 13 years ago)
  • data/Makefile.am

    From b7b1959b7f26b08bc033c05eeb863887d217d6b2 Mon Sep 17 00:00:00 2001
    From: Aleksey Lim <alsroot@member.fsf.org>
    Date: Mon, 28 Sep 2009 22:34:14 +0000
    Subject: Package sugar icon #1139
    
    ---
     data/Makefile.am               |    5 ++++-
     data/sugar-emulator.desktop.in |    9 ++++++---
     data/sugar-xo.svg              |    7 +++++++
     3 files changed, 17 insertions(+), 4 deletions(-)
     create mode 100644 data/sugar-xo.svg
    
    diff --git a/data/Makefile.am b/data/Makefile.am
    index 6674388..6a62d23 100644
    a b if GCONF_SCHEMAS_INSTALL 
    6161        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule sugar.schemas 2>&1 > /dev/null
    6262endif
    6363
    64 EXTRA_DIST = $(sugar_DATA) $(xsessions_DATA) $(nmservice_DATA) $(mime_xml_in_files) em.py gtkrc.em $(schema_in_files)
     64icondir = $(datadir)/icons/hicolor/scalable/apps
     65icon_DATA = sugar-xo.svg
     66
     67EXTRA_DIST = $(sugar_DATA) $(xsessions_DATA) $(nmservice_DATA) $(mime_xml_in_files) em.py gtkrc.em $(schema_in_files) $(icon_DATA)
    6568CLEANFILES = $(GTKRC_FILES) $(mime_xml_files) $(schema_DATA)
  • data/sugar-emulator.desktop.in

    diff --git a/data/sugar-emulator.desktop.in b/data/sugar-emulator.desktop.in
    index 23bc957..6247bd7 100644
    a b  
    11[Desktop Entry]
    22Encoding=UTF-8
    3 Name=Sugar Emulator
     3Name=Sugar
     4GenericName=Sugar Emulator
     5Comment=The emulator for the Sugar Desktop Environment
    46Exec=@prefix@/bin/sugar-emulator
     7Terminal=false
    58Type=Application
    6 Icon=@prefix@/share/icons/sugar/scalable/device/computer-xo.svg
    7 Categories=Education
     9Icon=sugar-xo
     10Categories=Education;Teaching;
  • new file data/sugar-xo.svg

    diff --git a/data/sugar-xo.svg b/data/sugar-xo.svg
    new file mode 100644
    index 0000000..b673179
    - +  
     1<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
     2        <!ENTITY stroke_color "#010101">
     3        <!ENTITY fill_color "#FFFFFF">
     4]><svg enable-background="new 0 0 55 55" height="55px" version="1.1" viewBox="0 0 55 55" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="stock-xo_1_">
     5        <path d="M33.233,35.1l10.102,10.1c0.752,0.75,1.217,1.783,1.217,2.932   c0,2.287-1.855,4.143-4.146,4.143c-1.145,0-2.178-0.463-2.932-1.211L27.372,40.961l-10.1,10.1c-0.75,0.75-1.787,1.211-2.934,1.211   c-2.284,0-4.143-1.854-4.143-4.141c0-1.146,0.465-2.184,1.212-2.934l10.104-10.102L11.409,24.995   c-0.747-0.748-1.212-1.785-1.212-2.93c0-2.289,1.854-4.146,4.146-4.146c1.143,0,2.18,0.465,2.93,1.214l10.099,10.102l10.102-10.103   c0.754-0.749,1.787-1.214,2.934-1.214c2.289,0,4.146,1.856,4.146,4.145c0,1.146-0.467,2.18-1.217,2.932L33.233,35.1z" fill="&fill_color;" stroke="&stroke_color;" stroke-width="3.5"/>
     6        <circle cx="27.371" cy="10.849" fill="&fill_color;" r="8.122" stroke="&stroke_color;" stroke-width="3.5"/>
     7</g></svg>
     8 No newline at end of file