%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") %define commitid 0a65259dc5 %define alphatag 20090401git%{commitid} Summary: Sugar toolkit Name: sugar-toolkit Version: 0.84.9 Release: 5bernie%{?dist} #Release: 2.%{alphatag}%{?dist} URL: http://wiki.laptop.org/go/Sugar # git clone git://dev.laptop.org/sugar # cd sugar # git-checkout %{commitid} #Source0: %{name}-%{version}-git%{commitid}.tar.bz2 Source0: http://download.sugarlabs.org/sources/sucrose/glucose/%{name}/%{name}-%{version}.tar.bz2 Source1: macros.sugar Patch0: 0001-Change-keep-string-to-keep-a-copy.patch Patch1: 0001-sl-1948-Race-condition-with-name-widget-in-the-activ.patch Patch2: 0001-sl-1876-cleanup-partially-extracted-bundle-on-filesy.patch Patch3: initialize-update_signal_match.patch License: LGPLv2 Group: System Environment/Libraries Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pkgconfig BuildRequires: pygtk2-devel BuildRequires: gettext BuildRequires: gtk2-devel BuildRequires: perl-XML-Parser BuildRequires: libSM-devel BuildRequires: alsa-lib-devel BuildRequires: intltool Requires: gnome-python2-rsvg Requires: dbus-python Requires: pygtk2 Requires: hippo-canvas-python Requires: sugar-datastore Requires: sugar-base Requires: sugar-presence-service Requires: python-simplejson Requires: python-json Requires: gettext %description Sugar is the core of the OLPC Human Interface. The toolkit provides a set of widgets to build HIG compliant applications and interfaces to interact with system services like presence and the datastore. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build %configure make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %find_lang %name mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/ install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.sugar %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING README %{python_sitelib}/* %{_sysconfdir}/rpm/macros.sugar %changelog * Mon Mar 22 2010 Sayamindu Dasgupta - 0.84.9-1 - New release with translation updates, backported bugfixes. * Mon Dec 28 2009 Daniel Drake - 0.84.8-1 - New release to fix font size setting * Wed Dec 9 2009 Daniel Drake - 0.84.7-1 - Fix bold font style * Wed Dec 2 2009 Daniel Drake - 0.84.6-1 * New bugfix release * Fri Jul 10 2009 Simon Schampijer - 0.84.5-1 - Fix ContentBundle bundle_id #1028 * Mon Apr 06 2009 Simon Schampijer - 0.84.4-1 - new german and spanish translations * Mon Apr 06 2009 Simon Schampijer - 0.84.3-1 - Journal Palette does not manage too many characters for a title correctly #610 - Bundlebuilder list_files: Better error handling #635 - Only call read_file once on activity startup #428 - Revert "Listen for map in Window instead of in Canvas (alsroot) #428" - Use git ls-files instead of git-ls-files, to work with newer Git. d.sl.o #647 - Bundlebuilder: Don't include whole directory in src tarball #397 * Wed Apr 01 2009 Simon Schampijer - 0.84.1-2.20090401git0a65259dc5 - git snapshot * Sun Mar 22 2009 Simon Schampijer - 0.84.1-1 - Fix palettes scaling when using scaling factor 72 #504 - Use Popen.communicate() to avoid hang (Sascha Silbe) #397 - Change property type to object because int cannot be None #157 * Wed Mar 18 2009 Simon Schampijer - 0.84.0-2.20090318git29aa6cbe65 - git snapshot * Tue Mar 03 2009 Simon Schampijer - 0.84.0-1 - Catch all exceptions while saving #224 - Listen for map in Window instead of in Canvas (alsroot) #428 - Restore minimal .xol support #459 - Use the same font size independent from scaling - Don't recursively clean an activity if it's a symbolic link #444 - Add extension to temp icon file names #458 - Process .py files in subdirectories './setup genplot' #391 (alsroot) - Improve error handling of calls to XGrabKey #431 - Cleanup temp files at exit #435 - Let activities provide their own implementation of get_preview() #152 - Show/Hide the color palette correctly (#374) - Support setting None as the secondary text #384 - Only display one line in the secondary text of a clipping palette #384 - Switch to existing instance of an activity if it's already running #410 - Reveal the palette on right click on an activity icon #409 * Fri Feb 27 2009 Simon Schampijer - 0.83.7-3.20090227git6f210f0e33 - git snapshot - Process .py files in subdirectories './setup genplot' #391 (alsroot) - Improve error handling of calls to XGrabKey #431 - Cleanup temp files at exit #435 - Let activities provide their own implementation of get_preview() #152 - Show/Hide the color palette correctly (#374) - Support setting None as the secondary text #384 - Only display one line in the secondary text of a clipping palette #384 - Switch to existing instance of an activity if it's already running #410 - Reveal the palette on right click on an activity icon #409 * Wed Feb 25 2009 Fedora Release Engineering - 0.83.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 23 2009 Simon Schampijer - 0.83.7-1 - Don't try to hide the tray if the activity has none (alsroot) #395 - NamingAlert: Icon dependent on the entry type #353 - Updated Languages * Mon Feb 16 2009 Simon Schampijer - 0.83.6-1 - Dates in journal are not translated #55 - Keep error when displaying a file in Browse, Read, ImageViewer, etc #258 - Palette positioning fixes #298 - 'Resume' activity window when NamingAlert is displayed #293 - Naming alert prevents activity close on keep error #224 * Fri Feb 06 2009 Simon Schampijer - 0.83.5-2.20090206git474b2c3476 - Set the locale path for sugar-toolkit #55 - Don't push to the DS a file path pointing to nowhere #258 * Wed Feb 04 2009 Simon Schampijer - 0.83.5-1 - Palette positioning fixes #298 - 'Resume' activity window when NamingAlert is displayed #293 - Naming alert prevents activity close on keep error #224 * Fri Jan 30 2009 Simon Schampijer - 0.83.4-2.20090130git073336585d - Translation updates - Naming alert prevents activity close on keep error #224 * Tue Jan 20 2009 Marco Pesenti Gritti - 0.83.4-1 - separate debug settings from xsession #163 - show an alert on activity close for suggesting the user to set properties of the entry #215 - add a colorpicker to Sugar, only the ColorToolButton is public for now - move the palette to new style gobject properties - #3060 Add the possibility of filtering the object chooser by data type - fix uninstallling of activities that use symlinks #171 - remove the hacks for asking the X server for screenshots and use gtk.Widget.get_snapshot() instead * Sun Jan 04 2009 Simon Schampijer - 0.83.3-1 - remove session shutdown patch - add intltool as build requires - new download url - Fix palette highlighting on tray icons. Patch by benzea, style tweaks by marcopg - Rework palette state logic. Fix #42 - Use g_timeout_add_seconds() for power efficiency - Add colors to icons in menu items - Add accelerator support to menu items - Simplify activity bundle installation - Dont pop down the palette when a submenu opens * Mon Dec 5 2008 Peter Robinson - 0.83.2-4 - Rebuild for python 2.6 * Sat Nov 29 2008 Marco Pesenti Gritti - 0.83.2-3 - Fix session shutdown * Fri Nov 28 2008 Marco Pesenti Gritti - 0.83.2-1 - Update to 0.83.2 * Tue Nov 4 2008 Marco Pesenti Gritti - 0.83.1-2 - Update to 0.83.1 * Wed Sep 24 2008 Marco Pesenti Gritti - 0.82.11-1 - #8626 Icons overlap unnecessarily in crowded neighborhood view. * Sat Sep 20 2008 Marco Pesenti Gritti - 0.82.10-1 - #8532 SIGCHLD fights with threads. - #8485 Switching between zoom levels seem to leak * Tue Sep 16 2008 Marco Pesenti Gritti - 0.82.8-2 - Fix a crash when we cannot access the alsa device * Sat Sep 13 2008 Simon Schampijer - 0.82.7-1 - #8375 gst usage in the shell wastes 2.6mb - #8394 sugar shell leaks presence service info - #8469 palette.menu is leaked * Thu Sep 11 2008 Marco Pesenti Gritti - 0.82.6-1 - #8394 sugar shell leaks presence service info - #8392 Remove "dynamic" font height computation * Tue Sep 9 2008 Simon Schampijer - 0.82.5-4 - remove pseudo.po from the source tarball * Wed Sep 3 2008 Jeremy Katz - 0.82.5-3 - requires gettext for bundlebuilder * Mon Sep 01 2008 Simon Schampijer - 0.82.5-2 - added the python-json dependency * Mon Sep 01 2008 Simon Schampijer - 0.82.5-1 - Translation updates - Add plural information for all languages - Fix plural form equations * Thu Aug 31 2008 Simon Schampijer - 0.82.4-1 - 8136 Do a more 'standard' system installation for bundlebuilder - 7837 Do not try to list the mimetypes directory if it does not exist - 8220 Ensure that the widget is fully onscreen before taking a screenshot * Thu Aug 28 2008 Marco Pesenti Gritti - 0.82.3-1 - Translation updates * Thu Aug 28 2008 Marco Pesenti Gritti - 0.82.2-1 - #5428 downloads not starting in Browse due to old compreg.dat - #7733 Cannot install Wikipedia-10.xo - #7533 Activity does not respond to ctrl-q keyboard shortcut unless the 'Activity' tab is visible - #8000 Pulsing icon on activity launch significantly slows activity start-up - #8000 Pulsing icon on activity launch significantly slows activity start-up - #7270 /setup release does not update the bundle number - #7680 Activity name box is too small for localizaed name - #7881 Accelerator labels don't show up for most toolbar buttons - #7800 time stamps doesn't use translations * Tue Aug 22 2008 Tomeu Vizoso - 0.82.1-2.20080822git2e6be9ea55 - #7270 Add update functionality to Config in bundlebuilder - #7680 Widen activity tile entry - #7841 Wrap message in alert - #7881 Make Palette handle changes of the invoker widget * Tue Aug 12 2008 Marco Pesenti Gritti - 0.82.1-1 - Fix crash on startup on x86_64 * Thu Aug 07 2008 Marco Pesenti Gritti - 0.82.0-2 - Rebuild * Thu Aug 07 2008 Marco Pesenti Gritti - 0.82.0-1 - #7759 Default home view should be Ring, not Freeform - #4084 Palette persist over zoom levels - #7754 Handle multiple Activity per process correctly - Add git tagging to the 'setup.py release' command * Fri Aug 01 2008 Morgan Collett - 0.81.8-1 - #7566 sugar-shell enters in infinite loop after a failed shutdown - #7534 Safer to always install, rather than comparing versions - #7494 Updates to Browse-92 fail * Wed Jul 23 2008 Simon Schampijer - 0.81.7-1 - 5136 Keep error alert hard to find - 6014 Shutdown should sync activities data - 7532 install + open content bundles with journal - 7523 library index regeneration fails due to no XDG_DATA_DIRS - 4208 Battery indicator's icon fullness inconsistent with indicator %. - 7444 cannot close a shared activity when the initiator has disconnected - 7430 Favorites view is not preserved - 7434 Control panel UI for power management. - 5079 Could simplify sharing code * Tue Jul 15 2008 Simon Schampijer - 0.81.6-3.20080715gitd17347cc19 - git snapshot - 7523 fix content bundle installation - 5079 simplify sharing code - 4208 get_icon_state accepts negative step kwarg - 7444 Fix crash in get_joined_buddies when a buddy disappears uncleanly * Wed Jul 09 2008 Simon Schampijer - 0.81.6-2.20080709git92ef9d298a - git snapshot - 7430 Preserve the favorites layout across reboots - 7434 Add power section to the control panel * Wed Jul 09 2008 Simon Schampijer - 0.81.6-1 - 7015 Add proper alignment support to the tray control - 7054 Journal doesn't show correct colors for activity instances - 7046 Deleting activity bundle with journal leaves it showing in Home list view until reboot - 3939 Keep button should use XO colors - 7248 Speaker device has inconsistent behavior * Sat Jun 21 2008 Tomeu Vizoso - 0.81.5-1 - Add build dependency on libSM-devel - Support for session management (marco) - Make MANIFEST mandatory in bundlebuilder (homunq) - Add a position attribute to activity bundles (tomeu) - Add a scroll_to_item method to the tray (benzea) * Mon Jun 09 2008 Simon Schampijer - 0.81.4-1 - Add an installation time property to the activity bundle (Tomeu) - Reveal palettes on right-click (Eben) - Refactor bundlebuilder and add dist_source command (Marco) - Enable journal to do open-with for activity bundles (Chema) - Add timezone, hot_corners, warm_edges to the profile (Simon) * Thu Apr 24 2008 Simon Schampijer - 0.79.6-1 - Fix activity installation * Tue Apr 22 2008 Tomeu Vizoso - 0.79.5-1 - Correctly use tempfile.mkstemp(). * Tue Apr 22 2008 Tomeu Vizoso - 0.79.4-1 - Pylint cleanup. * Wed Apr 09 2008 Tomeu Vizoso - 0.79.3 - Added default to label arg in palette constructor (eben) * Fri Apr 04 2008 Dennis Gilmore - 0.79.2-3 - add macro defining sugaractivitydir * Thu Apr 03 2008 Simon Schampijer - 0.79.2 - add python-simplejson as dependency - #5474: Scale emblems * Wed Apr 2 2008 Simon Schampijer - 0.79.1 - Frame/Home redesign - Put corner stone * Fri Feb 8 2008 Marco Pesenti Gritti - 0.79.0-2 - Fix source reference * Wed Feb 6 2008 Marco Pesenti Gritti - 0.79.0-1 - Initial build