CVSROOT:        /cvs/gnome
Module name:    gcompris
Changes by:     bcoudoin        06/08/13 19:57:04

Modified files:
        .              : ChangeLog Makefile.mingw acinclude.m4 
                         config.h.mingw configure.in gcompris.desktop.in 
                         gcompris.spec.in 
        autopackage    : default.apspec.in 
        docs/C         : Makefile.am 
        src/boards     : advanced_colors.c clickgame.c draw.c gtans.c 
                         imageid.c missingletter.c py-mod-gcompris.c 
                         python.c read_colors.c reading.c shapegame.c 
                         wordsgame.c 
        src/boards/python: administration.py ballcatch.py 
        src/gcompris   : Makefile.am board.c board_config.c config.c 
                         file_selector.c gameutil.c gcompris.c 
                         images_selector.c properties.c properties.h 
                         skin.c soundutil.c timer.c 
Added files:
        src/gcompris   : binreloc.c binreloc.h 

Log message:
- Added support for relocation using http://autopackage.org/docs/binreloc/
(Needed to create an autopackage installer)
Now GCompris will detect at runtime where it is installed and find it's data.
As a fallback, default set at compile time are used (like before).
To disable is, use sh configure --disable-binreloc
Very usefull for developers, you can now run gcompris from within it's source
code without even installing it !. The new code detect that and set the data
dir accordingly.
Warning, developers must no more use the PACKAGE_DATA_DIR define but must get 
the
data dir always from the property object like this:
GcomprisProperties *properties = gcompris_get_properties();
properties->package_xxx_dir contains the root data directory, like:
package_data_dir         = /usr/local/share/gcompris/boards
package_locale_dir       = /usr/local/share/locale
package_plugin_dir       = /usr/local/lib/gcompris
package_python_plugin_dir= /usr/local/share/gcompris/python

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gcompris&who=bcoudoin&date=explicit&mindate=2006-08-13%2019:56&maxdate=2006-08-13%2019:58

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to