Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/autopackage
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2006-08-13 23:57:04 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2006-08-13 23:57:04 (GMT)
commit2cba2a20e2bfea4e82758f13bbe0d07f05798c8b (patch)
tree82cc2d84f34105681ec82314c04303f1e9c75eef /autopackage
parent83d9f62c2022f18b514b8730288d55050d08ae83 (diff)
- 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
Diffstat (limited to 'autopackage')
-rw-r--r--autopackage/default.apspec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/autopackage/default.apspec.in b/autopackage/default.apspec.in
index 570c324..7ef7ddf 100644
--- a/autopackage/default.apspec.in
+++ b/autopackage/default.apspec.in
@@ -5,13 +5,12 @@ ShortName: gcompris
SoftwareVersion: @VERSION@
DisplayName: GCompris Educational software
RootName: @gcompris.net/gcompris:$SOFTWAREVERSION
-Summary: GCompris is an educational software which propose different activities to children from 2 to 10 years old.
+Summary: GCompris Educational suite for kids
Maintainer: Bruno Coudoin <bruno.coudoin@free.fr>
Packager: Bruno Coudoin <bruno.coudoin@free.fr>
PackageVersion: 1
CPUArchitectures: x86
AutopackageTarget: 1.0
-Type: Application
License: GNU General Public License (GPL)
[Description]
@@ -50,6 +49,7 @@ echo '*' | import
# See http://www.autopackage.org/api/ for details
installExe bin/*
installLib lib/*.so.*
+copyFiles lib/gcompris/* "$PREFIX/lib/gcompris"
installMan 6 man/man6/*
installData share/gcompris
installIcon share/pixmaps/gcompris.*