Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Ortiz <rafael@activitycentral.com>2011-05-13 15:23:34 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2011-05-13 15:23:34 (GMT)
commitafcd83cea99baa276a79bbf08a9d21508eed434e (patch)
tree34186a54c2a1634e015eae1db9de8c4596d445af
init
-rw-r--r--activity/Gnumeric.svg251
-rw-r--r--activity/activity.info7
-rwxr-xr-xbin/sugarGnumeric14
-rwxr-xr-xlib/libsugarize.sobin0 -> 2792 bytes
4 files changed, 272 insertions, 0 deletions
diff --git a/activity/Gnumeric.svg b/activity/Gnumeric.svg
new file mode 100644
index 0000000..97d93b6
--- /dev/null
+++ b/activity/Gnumeric.svg
@@ -0,0 +1,251 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ version="1.1"
+ width="22"
+ height="22"
+ id="svg3804">
+ <defs
+ id="defs3806">
+ <linearGradient
+ x1="32.892288"
+ y1="8.0590115"
+ x2="36.358372"
+ y2="5.4565363"
+ id="linearGradient2936"
+ xlink:href="#linearGradient8589"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.4778466,0,0,0.5524833,-0.6277461,-6.0761285)" />
+ <linearGradient
+ id="linearGradient8589">
+ <stop
+ id="stop8591"
+ style="stop-color:#fefefe;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop8593"
+ style="stop-color:#cbcbcb;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ x1="19.51465"
+ y1="12.442631"
+ x2="19.51465"
+ y2="46.562195"
+ id="linearGradient3740"
+ xlink:href="#linearGradient7012-661-145-733-759-865-745-661-970-94"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.5348003,0,0,0.5105348,-0.7849549,-6.7235056)" />
+ <linearGradient
+ id="linearGradient7012-661-145-733-759-865-745-661-970-94">
+ <stop
+ id="stop3618"
+ style="stop-color:#f0c178;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop3270"
+ style="stop-color:#e18941;stop-opacity:1"
+ offset="0.5" />
+ <stop
+ id="stop3620"
+ style="stop-color:#ec4f18;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ x1="24"
+ y1="1.9999999"
+ x2="24"
+ y2="46.01725"
+ id="linearGradient2957"
+ xlink:href="#linearGradient3211"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.4545444,0,0,0.4651153,0.0909336,-5.6627709)" />
+ <linearGradient
+ id="linearGradient3211">
+ <stop
+ id="stop3213"
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop3215"
+ style="stop-color:#ffffff;stop-opacity:0"
+ offset="1" />
+ </linearGradient>
+ <radialGradient
+ cx="102"
+ cy="112.3047"
+ r="139.55859"
+ id="radialGradient2960"
+ xlink:href="#XMLID_8_"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.1702128,0,0,-0.1907226,0.1063822,17.716504)" />
+ <radialGradient
+ cx="102"
+ cy="112.3047"
+ r="139.55859"
+ id="XMLID_8_"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ id="stop41"
+ style="stop-color:#b7b8b9;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop47"
+ style="stop-color:#ececec;stop-opacity:1"
+ offset="0.18851049" />
+ <stop
+ id="stop49"
+ style="stop-color:#fafafa;stop-opacity:0"
+ offset="0.25718147" />
+ <stop
+ id="stop51"
+ style="stop-color:#ffffff;stop-opacity:0"
+ offset="0.30111277" />
+ <stop
+ id="stop53"
+ style="stop-color:#fafafa;stop-opacity:0"
+ offset="0.53130001" />
+ <stop
+ id="stop55"
+ style="stop-color:#ebecec;stop-opacity:0"
+ offset="0.84490001" />
+ <stop
+ id="stop57"
+ style="stop-color:#e1e2e3;stop-opacity:0"
+ offset="1" />
+ </radialGradient>
+ <linearGradient
+ id="linearGradient3600">
+ <stop
+ id="stop3602"
+ style="stop-color:#f4f4f4;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop3604"
+ style="stop-color:#dbdbdb;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3104">
+ <stop
+ id="stop3106"
+ style="stop-color:#aaaaaa;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop3108"
+ style="stop-color:#c8c8c8;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ x1="25.132275"
+ y1="0.98520643"
+ x2="25.132275"
+ y2="47.013336"
+ id="linearGradient3800"
+ xlink:href="#linearGradient3600"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(2.0351496,0,0,1.6214229,-9.3435908,-61.205587)" />
+ <linearGradient
+ x1="-51.786404"
+ y1="50.786446"
+ x2="-51.786404"
+ y2="2.9062471"
+ id="linearGradient3802"
+ xlink:href="#linearGradient3104"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.6433763,0,0,1.5174105,111.56511,-63.01263)" />
+ </defs>
+ <metadata
+ id="metadata3809">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ transform="translate(0,6)"
+ id="layer1">
+ <path
+ d="m 3.8848023,-57.115237 c 16.3224967,0 31.8626997,0 48.1852107,0 2.863315,0.804891 19.028168,10.610494 23.045022,16.959719 0,19.432827 1.63e-4,34.8378465 1.63e-4,54.270676 -23.743469,0 -47.486928,0 -71.2303957,0 0,-24.87415 0,-46.356252 0,-71.230395 z"
+ id="path4160"
+ style="fill:url(#linearGradient3800);fill-opacity:1;stroke:url(#linearGradient3802);stroke-width:3.76960468;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" />
+ <path
+ d="M 3.1702119,16 C 3.0764249,16 2.9999991,15.91437 2.9999991,15.809277 l 0,-20.598032 c 0,-0.1052785 0.076426,-0.1907219 0.1702128,-0.1907219 3.5214555,0.052717 7.4238521,-0.078858 10.9410271,0.013125 l 4.838887,4.3271368 0.04987,16.4484921 C 18.999999,15.914366 18.923742,16 18.829785,16 L 3.1702119,16 z"
+ id="path4191"
+ style="fill:url(#radialGradient2960);fill-opacity:1" />
+ <path
+ d="m 18.5,-0.3229645 c 0,5.2083055 0,9.6146575 0,14.8229645 -5,0 -9.9999997,0 -15.0000009,0 0,-6.66667 0,-12.3333342 0,-19.0000003 3.4372614,0 6.9564989,0 10.3937609,0"
+ id="path2435"
+ style="opacity:0.6;fill:none;stroke:url(#linearGradient2957);stroke-width:0.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" />
+ <path
+ d="m 8,-2.0000002 0,1.75 -2.4375,0 0,13.6875002 3.09375,0 0,-13.43750020005394 8.34375,0 L 17,-2.0000002 l -9,0 z"
+ id="path6928"
+ style="fill:url(#linearGradient3740);fill-opacity:1;stroke:none;display:inline" />
+ <rect
+ width="3.0786381"
+ height="2.0745544"
+ x="5"
+ y="-2.0745556"
+ id="rect3775"
+ style="fill:#dfdac0;fill-opacity:1;stroke:none;display:inline" />
+ <path
+ d="m 12.499999,-2.4306086 0,15.9306076"
+ id="path3595"
+ style="fill:none;stroke:#5d542c;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.3254902;stroke-dasharray:none;display:inline" />
+ <path
+ d="m 16.500489,0.4999989 -11.000979,0"
+ id="path3605"
+ style="fill:none;stroke:#6c6c6c;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline" />
+ <path
+ d="m 16.499995,2.4999988 -10.9999914,0"
+ id="path3607"
+ style="fill:none;stroke:#5d542c;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.3254902;stroke-dasharray:none;display:inline" />
+ <path
+ d="m 16.499995,5.499999 -10.9999914,0"
+ id="path3597"
+ style="fill:none;stroke:#5d542c;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.3254902;stroke-dasharray:none;display:inline" />
+ <path
+ d="m 16.499997,8.499999 -10.9999949,0"
+ id="path3609"
+ style="fill:none;stroke:#5d542c;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.3254902;stroke-dasharray:none;display:inline" />
+ <path
+ d="m 16.499995,11.499999 -10.9999914,0"
+ id="path3611"
+ style="fill:none;stroke:#5d542c;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.3254902;stroke-dasharray:none;display:inline" />
+ <path
+ d="M 5.4999991,-1.5000011 16.5,-1.5190399"
+ id="path4743"
+ style="opacity:0.2;fill:#ffffff;fill-rule:evenodd;stroke:#ffffff;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline" />
+ <path
+ d="m 8.4999991,-2.4306056 0,15.9306056"
+ id="path3593"
+ style="fill:none;stroke:#6c6c6c;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline" />
+ <rect
+ width="10.99784"
+ height="15.99784"
+ x="5.5010796"
+ y="-2.4989202"
+ id="rect3580"
+ style="fill:none;stroke:#6c6c6c;stroke-width:1.00216043;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" />
+ <path
+ d="m 13.075473,-5.0000002 c 1.156303,0.3287671 0.339059,4.6143789 0.339059,4.6143789 0,0 4.515388,-0.4277362 5.60771,1.1949961 1.489153,2.212257 -0.06822,-0.6351721 -0.173447,-0.8216972 -0.755928,-1.3400455 -3.86634,-4.547086 -5.045409,-4.9412075 -0.08823,-0.029493 -0.283876,-0.04647 -0.727913,-0.04647 z"
+ id="path3370"
+ style="opacity:0.2;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;display:inline" />
+ <path
+ d="m 12.999999,-5.0000002 c 1.526166,0 1,4 1,4 0,0 4.992074,-0.45326 4.992074,2 0,-0.5977419 0.05575,-1.4784338 -0.06407,-1.6559326 -0.839107,-1.2430058 -3.743765,-3.8618871 -4.798069,-4.2975971 -0.08598,-0.035532 -0.685898,-0.04647 -1.129935,-0.04647 z"
+ id="path4474"
+ style="fill:url(#linearGradient2936);fill-opacity:1;fill-rule:evenodd;stroke:none;display:inline" />
+ </g>
+</svg>
diff --git a/activity/activity.info b/activity/activity.info
new file mode 100644
index 0000000..a77468d
--- /dev/null
+++ b/activity/activity.info
@@ -0,0 +1,7 @@
+[Activity]
+name = Gnumeric
+service_name = org.x.Gnumeric
+icon = Gnumeric
+activity_version = 1
+show_launcher = yes
+exec = sugarGnumeric
diff --git a/bin/sugarGnumeric b/bin/sugarGnumeric
new file mode 100755
index 0000000..115b8a4
--- /dev/null
+++ b/bin/sugarGnumeric
@@ -0,0 +1,14 @@
+#!/bin/sh
+while [ -n "$2" ] ; do
+ case "$1" in
+ -b | --bundle-id) export SUGAR_BUNDLE_ID="$2" ;;
+ -a | --activity-id) export SUGAR_ACTIVITY_ID="$2" ;;
+ -o | --object-id) export SUGAR_OBJECT_ID="$2" ;;
+ -u | --uri) export SUGAR_URI="$2" ;;
+ *) echo unknown argument $1 $2 ;;
+ esac
+ shift;shift
+done
+export LD_PRELOAD="$SUGAR_BUNDLE_PATH/lib/libsugarize.so"
+export NET_WM_NAME="Gnumeric"
+exec gnumeric --no-splash
diff --git a/lib/libsugarize.so b/lib/libsugarize.so
new file mode 100755
index 0000000..6412f87
--- /dev/null
+++ b/lib/libsugarize.so
Binary files differ