Author: j-jorge-guest Date: 2009-08-26 22:59:46 +0000 (Wed, 26 Aug 2009) New Revision: 10221
Added: packages/trunk/plee-the-bear/debian/patches/editors-default-dir.diff Modified: packages/trunk/plee-the-bear/debian/changelog packages/trunk/plee-the-bear/debian/patches/series Log: - Set the default paths of the datas in the editors (patch editors-default-dir.diff). Modified: packages/trunk/plee-the-bear/debian/changelog =================================================================== --- packages/trunk/plee-the-bear/debian/changelog 2009-08-26 22:28:06 UTC (rev 10220) +++ packages/trunk/plee-the-bear/debian/changelog 2009-08-26 22:59:46 UTC (rev 10221) @@ -20,6 +20,8 @@ * Install private libraries of the editor in /usr/lib/bear-factory. * Set the correct rpath for the editors (patch rpath-editors.diff). * Set the correct rpath for the game (patch rpath-game.diff). + * Set the default paths of the datas in the editors + (patch editors-default-dir.diff). -- Julien Jorge <[email protected]> Sat, 22 Aug 2009 10:59:56 +0200 Added: packages/trunk/plee-the-bear/debian/patches/editors-default-dir.diff =================================================================== --- packages/trunk/plee-the-bear/debian/patches/editors-default-dir.diff (rev 0) +++ packages/trunk/plee-the-bear/debian/patches/editors-default-dir.diff 2009-08-26 22:59:46 UTC (rev 10221) @@ -0,0 +1,19 @@ +Index: plee-the-bear-0.4/bear-factory/bear-editor/src/bf/code/path_configuration.cpp +=================================================================== +--- plee-the-bear-0.4.orig/bear-factory/bear-editor/src/bf/code/path_configuration.cpp 2009-08-27 00:45:41.000000000 +0200 ++++ plee-the-bear-0.4/bear-factory/bear-editor/src/bf/code/path_configuration.cpp 2009-08-27 00:56:54.000000000 +0200 +@@ -235,6 +235,14 @@ + it!=config.field_end(s_data_directory_field); ++it) + data_path.push_back(*it); + } ++ else ++ { ++ item_class_path.clear(); ++ item_class_path.push_back("/usr/share/bear-factory/item_description"); ++ item_class_path.push_back("/usr/share/bear-factory/plee-the-bear/item_description"); ++ data_path.clear(); ++ data_path.push_back("/usr/share/games/plee-the-bear/"); ++ } + } + } // path_configuration::load() + Modified: packages/trunk/plee-the-bear/debian/patches/series =================================================================== --- packages/trunk/plee-the-bear/debian/patches/series 2009-08-26 22:28:06 UTC (rev 10220) +++ packages/trunk/plee-the-bear/debian/patches/series 2009-08-26 22:59:46 UTC (rev 10221) @@ -1,3 +1,4 @@ rpath-editors.diff +editors-default-dir.diff clear-selection-checks-layer.diff rpath-game.diff _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

