--- gweled-0.7.orig/gweled.desktop +++ gweled-0.7/gweled.desktop @@ -1,9 +1,11 @@ [Desktop Entry] +Version=1.0 +Encoding=UTF-8 Name=Gweled Comment=A "Diamond Mine" for Gnome Exec=gweled -Icon=gweled.png +Icon=gweled Terminal=false Type=Application -Categories=GNOME;Application;Game; +Categories=Game;BlocksGame; StartupNotify=true --- gweled-0.7.orig/debian/patches/editmakefile.patch +++ gweled-0.7/debian/patches/editmakefile.patch @@ -0,0 +1,25 @@ +diff -Nur gweled-0.7/Makefile.in gweled-0.7.new/Makefile.in +--- gweled-0.7/Makefile.in 2005-05-25 15:41:41.000000000 -0400 ++++ gweled-0.7.new/Makefile.in 2008-02-05 18:32:59.000000000 -0430 +@@ -634,6 +634,8 @@ + fi \ + done \ + fi ++ -$(mkinstalldirs) $(DESTDIR)$(scoredir) ++ -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gweled && chmod 2555 $(DESTDIR)$(bindir)/gweled ; fi + if test -d $(srcdir)/sounds; then \ + $(mkinstalldirs) $(DESTDIR)$(datadir)/sounds/$(PACKAGE); \ + for sound in $(srcdir)/sounds/*; do \ +@@ -642,12 +644,6 @@ + fi \ + done \ + fi +- -$(mkinstalldirs) $(DESTDIR)$(scoredir) +- touch $(DESTDIR)$(scoredir)/gweled.easy.scores +- -chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gweled.easy.scores +- -chmod 664 $(DESTDIR)$(scoredir)/gweled.easy.scores +- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gweled && chmod 2555 $(DESTDIR)$(bindir)/gweled ; fi +- + dist-hook: + if test -d pixmaps; then \ + mkdir $(distdir)/pixmaps; \ --- gweled-0.7.orig/debian/patches/mikmod-disable-disk-writers.diff +++ gweled-0.7/debian/patches/mikmod-disable-disk-writers.diff @@ -0,0 +1,16 @@ +diff -urN gweled-0.7~/src/main.c gweled-0.7/src/main.c +--- gweled-0.7~/src/main.c 2005-05-25 23:44:04.000000000 +0200 ++++ gweled-0.7/src/main.c 2006-12-05 18:29:49.000000000 +0100 +@@ -254,7 +254,11 @@ + PACKAGE_DATA_DIR, NULL); + + /* register all the drivers */ +- MikMod_RegisterAllDrivers(); ++ MikMod_RegisterDriver(&drv_AF); ++ MikMod_RegisterDriver(&drv_esd); ++ MikMod_RegisterDriver(&drv_alsa); ++ MikMod_RegisterDriver(&drv_oss); ++ MikMod_RegisterDriver(&drv_nos); + + /* register all the module loaders */ + MikMod_RegisterAllLoaders(); --- gweled-0.7.orig/debian/patches/music_preference.diff +++ gweled-0.7/debian/patches/music_preference.diff @@ -0,0 +1,2795 @@ +diff -Nur -x '*.orig' -x '*~' gweled-0.7/src/board_engine.h gweled-0.7.new/src/board_engine.h +--- gweled-0.7/src/board_engine.h 2005-05-25 23:03:04.000000000 +0200 ++++ gweled-0.7.new/src/board_engine.h 2008-04-07 21:24:11.000000000 +0200 +@@ -4,6 +4,7 @@ + typedef struct s_gweled_prefs + { + gboolean timer_mode; ++ gboolean music_on; + gint tile_width; + gint tile_height; + }GweledPrefs; +diff -Nur -x '*.orig' -x '*~' gweled-0.7/src/callbacks.c gweled-0.7.new/src/callbacks.c +--- gweled-0.7/src/callbacks.c 2005-05-25 23:14:58.000000000 +0200 ++++ gweled-0.7.new/src/callbacks.c 2008-04-07 21:24:11.000000000 +0200 +@@ -7,6 +7,7 @@ + #include + + #include "callbacks.h" ++#include "music.h" + + #include "sge_core.h" + #include "board_engine.h" +@@ -340,3 +341,14 @@ + BOARD_HEIGHT * prefs.tile_height); + } + } ++ ++void ++on_music_checkbutton_toggled (GtkToggleButton * togglebutton, gpointer user_data) ++{ ++ if (gtk_toggle_button_get_active (togglebutton)) { ++ music_play(); ++ } ++ else { ++ music_stop(); ++ } ++} +diff -Nur -x '*.orig' -x '*~' gweled-0.7/src/callbacks.h gweled-0.7.new/src/callbacks.h +--- gweled-0.7/src/callbacks.h 2003-11-05 00:00:00.000000000 +0100 ++++ gweled-0.7.new/src/callbacks.h 2008-04-07 21:24:11.000000000 +0200 +@@ -133,3 +133,7 @@ + void + on_largeRadiobutton_toggled (GtkToggleButton *togglebutton, + gpointer user_data); ++ ++void ++on_music_checkbutton_toggled (GtkToggleButton *togglebutton, ++ gpointer user_data); +diff -Nur -x '*.orig' -x '*~' gweled-0.7/src/gweled.glade gweled-0.7.new/src/gweled.glade +--- gweled-0.7/src/gweled.glade 2004-09-14 20:36:00.000000000 +0200 ++++ gweled-0.7.new/src/gweled.glade 2008-04-07 21:24:11.000000000 +0200 +@@ -1,1513 +1,946 @@ +- +- +- ++ ++ ++ + +- +- +- +- +- Gweled +- GTK_WINDOW_TOPLEVEL +- GTK_WIN_POS_NONE +- False +- False +- False +- gweled_icon.png +- True +- False +- False +- GDK_WINDOW_TYPE_HINT_NORMAL +- GDK_GRAVITY_NORTH_WEST +- True +- +- +- +- +- True +- True +- +- +- +- True +- GTK_SHADOW_NONE +- +- +- +- True +- +- +- +- True +- GNOMEUIINFO_MENU_FILE_TREE +- +- +- +- +- +- +- True +- GNOMEUIINFO_MENU_NEW_GAME_ITEM +- +- +- +- +- +- +- True +- GNOMEUIINFO_MENU_SCORES_ITEM +- +- +- +- +- +- +- True +- +- +- +- +- +- True +- GNOMEUIINFO_MENU_EXIT_ITEM +- +- +- +- +- +- +- +- +- +- +- True +- GNOMEUIINFO_MENU_EDIT_TREE +- +- +- +- +- +- +- True +- GNOMEUIINFO_MENU_PREFERENCES_ITEM +- +- +- +- +- +- +- +- +- +- +- True +- GNOMEUIINFO_MENU_HELP_TREE +- +- +- +- +- +- +- True +- GNOMEUIINFO_MENU_ABOUT_ITEM +- +- +- +- +- +- +- +- +- +- +- +- BONOBO_DOCK_TOP +- 0 +- 0 +- 0 +- BONOBO_DOCK_ITEM_BEH_EXCLUSIVE|BONOBO_DOCK_ITEM_BEH_NEVER_VERTICAL|BONOBO_DOCK_ITEM_BEH_LOCKED +- +- +- +- +- +- True +- False +- 0 +- +- +- +- True +- <span weight="bold"> 000000</span> +- False +- True +- GTK_JUSTIFY_RIGHT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- True +- GDK_EXPOSURE_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK +- GDK_EXTENSION_EVENTS_CURSOR +- +- +- +- +- +- +- 0 +- True +- True +- +- +- +- +- +- True +- False +- 0 +- +- +- +- True +- GTK_PROGRESS_LEFT_TO_RIGHT +- 0 +- 0.1 +- +- +- +- 0 +- True +- True +- +- +- +- +- +- True +- <span weight="bold"> x1</span> +- False +- True +- GTK_JUSTIFY_RIGHT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 6 +- False +- False +- +- +- +- +- 0 +- True +- True +- +- +- +- +- +- +- 0 +- True +- True +- +- +- +- +- +- 12 +- Preferences +- GTK_WINDOW_TOPLEVEL +- GTK_WIN_POS_NONE +- False +- False +- False +- gweled_icon.png +- True +- False +- False +- GDK_WINDOW_TYPE_HINT_NORMAL +- GDK_GRAVITY_NORTH_WEST +- False +- +- +- +- +- True +- False +- 12 +- +- +- +- True +- GTK_BUTTONBOX_END +- +- +- +- True +- True +- True +- gtk-close +- True +- GTK_RELIEF_NORMAL +- True +- -7 +- +- +- +- +- +- 0 +- False +- True +- GTK_PACK_END +- +- +- +- +- +- True +- False +- 18 +- +- +- +- True +- False +- 6 +- +- +- +- True +- <span weight="bold">Difficulty level</span> +- False +- True +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- False +- 6 +- +- +- +- True +- False +- 6 +- +- +- +- True +- False +- 6 +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- True +- Normal +- True +- GTK_RELIEF_NORMAL +- True +- False +- False +- True +- +- +- +- 0 +- False +- False +- +- +- +- +- 0 +- True +- True +- +- +- +- +- +- True +- False +- 6 +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- True +- Timed +- True +- GTK_RELIEF_NORMAL +- True +- False +- False +- True +- easyRadiobutton +- +- +- +- 0 +- False +- False +- +- +- +- +- 0 +- False +- False +- +- +- +- +- 0 +- True +- True +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_CENTER +- False +- False +- 0.5 +- 0.5 +- 21 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- 0 +- False +- False +- +- +- +- +- 0 +- True +- True +- +- +- +- +- +- True +- False +- 6 +- +- +- +- True +- <span weight="bold">Board size</span> +- False +- True +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- False +- 6 +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- True +- Small +- True +- GTK_RELIEF_NORMAL +- True +- False +- False +- True +- +- +- +- 0 +- False +- False +- +- +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- False +- 6 +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- True +- Medium +- True +- GTK_RELIEF_NORMAL +- True +- False +- False +- True +- smallRadiobutton +- +- +- +- 0 +- False +- False +- +- +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- False +- 6 +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- True +- Large +- True +- GTK_RELIEF_NORMAL +- True +- False +- False +- True +- smallRadiobutton +- +- +- +- 0 +- False +- False +- +- +- +- +- 0 +- False +- False +- +- +- +- +- 0 +- True +- True +- +- +- +- +- 0 +- True +- True +- +- +- +- +- +- +- +- 12 +- Highscores +- GTK_WINDOW_TOPLEVEL +- GTK_WIN_POS_NONE +- False +- False +- False +- gweled_icon.png +- True +- False +- False +- GDK_WINDOW_TYPE_HINT_NORMAL +- GDK_GRAVITY_NORTH_WEST +- False +- +- +- +- +- True +- False +- 6 +- +- +- +- True +- GTK_BUTTONBOX_END +- +- +- +- True +- True +- True +- gtk-close +- True +- GTK_RELIEF_NORMAL +- True +- -7 +- +- +- +- +- +- 0 +- False +- True +- GTK_PACK_END +- +- +- +- +- +- True +- False +- 18 +- +- +- +- True +- <span weight="bold">Highscores</span> +- False +- True +- GTK_JUSTIFY_LEFT +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- +- +- 0 +- False +- False +- +- +- +- +- +- 6 +- True +- 10 +- 3 +- False +- 6 +- 12 +- +- +- +- True +- 1. +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 0 +- 1 +- fill +- +- +- +- +- +- +- True +- 2. +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 1 +- 2 +- fill +- +- +- +- +- +- +- True +- 3. +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 2 +- 3 +- fill +- +- +- +- +- +- +- True +- 4. +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 3 +- 4 +- fill +- +- +- +- +- +- +- True +- 5. +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 4 +- 5 +- fill +- +- +- +- +- +- +- True +- 6. +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 5 +- 6 +- fill +- +- +- +- +- +- +- True +- 7. +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 6 +- 7 +- fill +- +- +- +- +- +- +- True +- 8. +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 7 +- 8 +- fill +- +- +- +- +- +- +- True +- 9. +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 8 +- 9 +- fill +- +- +- +- +- +- +- True +- 10. +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 0 +- 1 +- 9 +- 10 +- fill +- +- +- +- +- +- +- True +- Sebastien Delestaing +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 0 +- 1 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 1 +- 2 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 2 +- 3 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 3 +- 4 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 5 +- 6 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 6 +- 7 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 7 +- 8 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 8 +- 9 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 9 +- 10 +- fill +- +- +- +- +- +- +- True +- 10000 +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 2 +- 3 +- 0 +- 1 +- fill +- +- +- +- +- +- +- True +- 100 +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 2 +- 3 +- 1 +- 2 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 2 +- 3 +- 2 +- 3 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 2 +- 3 +- 3 +- 4 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 2 +- 3 +- 4 +- 5 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 2 +- 3 +- 5 +- 6 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 2 +- 3 +- 6 +- 7 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 2 +- 3 +- 7 +- 8 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 2 +- 3 +- 8 +- 9 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 1 +- 0.5 +- 0 +- 0 +- +- +- 2 +- 3 +- 9 +- 10 +- fill +- +- +- +- +- +- +- True +- +- False +- False +- GTK_JUSTIFY_LEFT +- False +- False +- 0 +- 0.5 +- 0 +- 0 +- +- +- 1 +- 2 +- 4 +- 5 +- fill +- +- +- +- +- +- 0 +- True +- True +- +- +- +- +- 0 +- True +- True +- +- +- +- +- +- ++ ++ ++ ++ Gweled ++ False ++ gweled_icon.png ++ True ++ ++ ++ ++ True ++ True ++ ++ ++ True ++ ++ ++ True ++ ++ ++ True ++ GNOMEUIINFO_MENU_FILE_TREE ++ True ++ ++ ++ ++ ++ True ++ GNOMEUIINFO_MENU_NEW_GAME_ITEM ++ ++ ++ ++ ++ ++ True ++ GNOMEUIINFO_MENU_SCORES_ITEM ++ ++ ++ ++ ++ ++ True ++ ++ ++ ++ ++ True ++ GNOMEUIINFO_MENU_EXIT_ITEM ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ True ++ GNOMEUIINFO_MENU_EDIT_TREE ++ ++ ++ ++ ++ True ++ GNOMEUIINFO_MENU_PREFERENCES_ITEM ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ True ++ GNOMEUIINFO_MENU_HELP_TREE ++ ++ ++ ++ ++ True ++ GNOMEUIINFO_MENU_ABOUT_ITEM ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ BONOBO_DOCK_ITEM_BEH_EXCLUSIVE | BONOBO_DOCK_ITEM_BEH_NEVER_VERTICAL | BONOBO_DOCK_ITEM_BEH_LOCKED ++ ++ ++ ++ ++ True ++ ++ ++ True ++ 1 ++ <span weight="bold"> 000000</span> ++ True ++ GTK_JUSTIFY_RIGHT ++ ++ ++ False ++ False ++ ++ ++ ++ ++ True ++ True ++ GDK_EXPOSURE_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK ++ GDK_EXTENSION_EVENTS_CURSOR ++ ++ ++ ++ ++ ++ ++ 1 ++ ++ ++ ++ ++ True ++ ++ ++ True ++ ++ ++ ++ ++ ++ True ++ 1 ++ <span weight="bold"> x1</span> ++ True ++ GTK_JUSTIFY_RIGHT ++ ++ ++ False ++ False ++ 6 ++ 1 ++ ++ ++ ++ ++ 2 ++ ++ ++ ++ ++ ++ ++ True ++ True ++ ++ ++ ++ ++ 12 ++ Preferences ++ False ++ gweled_icon.png ++ GDK_WINDOW_TYPE_HINT_NORMAL ++ False ++ ++ ++ ++ True ++ 12 ++ ++ ++ True ++ 18 ++ ++ ++ True ++ 6 ++ ++ ++ True ++ 0 ++ <span weight="bold">Difficulty level</span> ++ True ++ ++ ++ False ++ False ++ ++ ++ ++ ++ True ++ 6 ++ ++ ++ True ++ 6 ++ ++ ++ True ++ 6 ++ ++ ++ True ++ ++ ++ False ++ False ++ ++ ++ ++ ++ True ++ True ++ Normal ++ True ++ True ++ ++ ++ ++ False ++ False ++ 1 ++ ++ ++ ++ ++ ++ ++ True ++ 6 ++ ++ ++ True ++ ++ ++ False ++ False ++ ++ ++ ++ ++ True ++ True ++ Timed ++ True ++ True ++ easyRadiobutton ++ ++ ++ ++ False ++ False ++ 1 ++ ++ ++ ++ ++ False ++ False ++ 1 ++ ++ ++ ++ ++ ++ ++ True ++ 21 ++ ++ GTK_JUSTIFY_CENTER ++ ++ ++ False ++ False ++ 1 ++ ++ ++ ++ ++ False ++ False ++ 1 ++ ++ ++ ++ ++ ++ ++ True ++ 6 ++ ++ ++ True ++ 0 ++ <span weight="bold">Board size</span> ++ True ++ ++ ++ False ++ False ++ ++ ++ ++ ++ True ++ 6 ++ ++ ++ True ++ ++ ++ False ++ False ++ ++ ++ ++ ++ True ++ True ++ Small ++ True ++ True ++ ++ ++ ++ False ++ False ++ 1 ++ ++ ++ ++ ++ False ++ False ++ 1 ++ ++ ++ ++ ++ True ++ 6 ++ ++ ++ True ++ ++ ++ False ++ False ++ ++ ++ ++ ++ True ++ True ++ Medium ++ True ++ True ++ smallRadiobutton ++ ++ ++ ++ False ++ False ++ 1 ++ ++ ++ ++ ++ False ++ False ++ 2 ++ ++ ++ ++ ++ True ++ 6 ++ ++ ++ True ++ ++ ++ False ++ False ++ ++ ++ ++ ++ True ++ True ++ Large ++ True ++ True ++ smallRadiobutton ++ ++ ++ ++ False ++ False ++ 1 ++ ++ ++ ++ ++ False ++ False ++ 3 ++ ++ ++ ++ ++ 1 ++ ++ ++ ++ ++ True ++ True ++ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK ++ Play background music ++ True ++ ++ ++ ++ 2 ++ ++ ++ ++ ++ 1 ++ ++ ++ ++ ++ True ++ GTK_BUTTONBOX_END ++ ++ ++ True ++ True ++ True ++ gtk-close ++ True ++ -7 ++ ++ ++ ++ ++ ++ False ++ GTK_PACK_END ++ ++ ++ ++ ++ ++ ++ 12 ++ Highscores ++ False ++ gweled_icon.png ++ GDK_WINDOW_TYPE_HINT_NORMAL ++ False ++ ++ ++ ++ True ++ 6 ++ ++ ++ True ++ 18 ++ ++ ++ True ++ <span weight="bold">Highscores</span> ++ True ++ ++ ++ False ++ False ++ ++ ++ ++ ++ True ++ 6 ++ 10 ++ 3 ++ 12 ++ 6 ++ ++ ++ True ++ 0 ++ ++ ++ 1 ++ 2 ++ 4 ++ 5 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 1 ++ ++ ++ 2 ++ 3 ++ 9 ++ 10 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 1 ++ ++ ++ 2 ++ 3 ++ 8 ++ 9 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 1 ++ ++ ++ 2 ++ 3 ++ 7 ++ 8 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 1 ++ ++ ++ 2 ++ 3 ++ 6 ++ 7 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 1 ++ ++ ++ 2 ++ 3 ++ 5 ++ 6 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 1 ++ ++ ++ 2 ++ 3 ++ 4 ++ 5 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 1 ++ ++ ++ 2 ++ 3 ++ 3 ++ 4 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 1 ++ ++ ++ 2 ++ 3 ++ 2 ++ 3 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 1 ++ 100 ++ ++ ++ 2 ++ 3 ++ 1 ++ 2 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 1 ++ 10000 ++ ++ ++ 2 ++ 3 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ ++ ++ 1 ++ 2 ++ 9 ++ 10 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ ++ ++ 1 ++ 2 ++ 8 ++ 9 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ ++ ++ 1 ++ 2 ++ 7 ++ 8 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ ++ ++ 1 ++ 2 ++ 6 ++ 7 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ ++ ++ 1 ++ 2 ++ 5 ++ 6 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ ++ ++ 1 ++ 2 ++ 3 ++ 4 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ ++ ++ 1 ++ 2 ++ 2 ++ 3 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ ++ ++ 1 ++ 2 ++ 1 ++ 2 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ Sebastien Delestaing ++ ++ ++ 1 ++ 2 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ 10. ++ ++ ++ 9 ++ 10 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ 9. ++ ++ ++ 8 ++ 9 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ 8. ++ ++ ++ 7 ++ 8 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ 7. ++ ++ ++ 6 ++ 7 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ 6. ++ ++ ++ 5 ++ 6 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ 5. ++ ++ ++ 4 ++ 5 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ 4. ++ ++ ++ 3 ++ 4 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ 3. ++ ++ ++ 2 ++ 3 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ 2. ++ ++ ++ 1 ++ 2 ++ GTK_FILL ++ ++ ++ ++ ++ ++ True ++ 0 ++ 1. ++ ++ ++ GTK_FILL ++ ++ ++ ++ ++ ++ 1 ++ ++ ++ ++ ++ 1 ++ ++ ++ ++ ++ True ++ GTK_BUTTONBOX_END ++ ++ ++ True ++ True ++ True ++ gtk-close ++ True ++ -7 ++ ++ ++ ++ ++ ++ False ++ GTK_PACK_END ++ ++ ++ ++ ++ + +diff -Nur -x '*.orig' -x '*~' gweled-0.7/src/main.c gweled-0.7.new/src/main.c +--- gweled-0.7/src/main.c 2008-04-07 21:23:50.000000000 +0200 ++++ gweled-0.7.new/src/main.c 2008-04-07 21:25:03.000000000 +0200 +@@ -35,6 +35,7 @@ + #include "sge_core.h" + #include "board_engine.h" + #include "graphic_engine.h" ++#include "music.h" + + // GLOBALS + GnomeProgram *g_program; +@@ -51,11 +52,12 @@ + GRand *g_random_generator; + + GweledPrefs prefs; ++pthread_t thread; + +-MODULE *module; ++/*MODULE *module;*/ + SAMPLE *swap_sfx, *click_sfx; + +-static pthread_t thread; ++/*static pthread_t thread;*/ + + void save_preferences(void) + { +@@ -91,6 +93,7 @@ + prefs.tile_width = 48; + prefs.tile_height = 48; + prefs.timer_mode = FALSE; ++ prefs.music_on = TRUE; + + save_preferences(); + } +@@ -122,6 +125,13 @@ + } + if (radio_button) + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(radio_button), TRUE); ++ ++ //Is the music playing at start ? ++ radio_button = glade_xml_get_widget(gweled_xml, "music_checkbutton"); ++ if (prefs.music_on) ++ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(radio_button), TRUE); ++ else ++ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(radio_button), FALSE); + } + + void show_hiscores (int newscore_rank) +@@ -232,15 +242,6 @@ + gtk_widget_destroy (box); + } + } +- +- +-void mikmod_thread(void *ptr) +-{ +- while (1) { +- usleep(10000); +- MikMod_Update(); +- } +-} + + int main (int argc, char **argv) + { +@@ -253,23 +254,7 @@ + argv, GNOME_PARAM_APP_DATADIR, + PACKAGE_DATA_DIR, NULL); + +- /* register all the drivers */ +- MikMod_RegisterDriver(&drv_AF); +- MikMod_RegisterDriver(&drv_esd); +- MikMod_RegisterDriver(&drv_alsa); +- MikMod_RegisterDriver(&drv_oss); +- MikMod_RegisterDriver(&drv_nos); +- +- /* register all the module loaders */ +- MikMod_RegisterAllLoaders(); +- +- /* initialize the library */ +- if (MikMod_Init("")) +- { +- fprintf(stderr, "Could not initialize sound, reason: %s\n", MikMod_strerror(MikMod_errno)); +- //return; don't fail on sound problems +- } +- ++ music_init (); + sge_init (); + + g_random_generator = g_rand_new_with_seed (time (NULL)); +@@ -309,9 +294,6 @@ + + gi_game_running = 0; + +- // load module +- module = Player_Load(PACKAGE_DATA_DIR "/sounds/gweled/autonom.s3m", 64, 0); +- + // load sound fx + swap_sfx = Sample_Load(PACKAGE_DATA_DIR "/sounds/gweled/swap.wav"); + if (!swap_sfx) { +@@ -334,13 +316,8 @@ + + MikMod_EnableOutput(); + +- if (module) { +- Player_Start(module); +- Player_SetVolume(64); +- pthread_create(&thread, NULL, (void *)&mikmod_thread, NULL); +- +- } else +- fprintf(stderr, "Could not load module, reason: %s\n", MikMod_strerror(MikMod_errno)); ++ if (prefs.music_on) ++ music_play(); + + board_engine_id = gtk_timeout_add (100, board_engine_loop, NULL); + sge_set_drawing_area (g_drawing_area, g_buffer_pixmap, +@@ -357,15 +334,10 @@ + sge_destroy (); + gtk_timeout_remove (board_engine_id); + g_rand_free (g_random_generator); +- g_object_unref(G_OBJECT(gweled_xml)); ++ g_object_unref(G_OBJECT(gweled_xml)); ++ ++ music_stop(); + +- if (module) +- { +- pthread_cancel(thread); +- pthread_join(thread, NULL); +- Player_Stop(); +- Player_Free(module); +- } + if(swap_sfx) + Sample_Free(swap_sfx); + if(click_sfx) +diff -Nur -x '*.orig' -x '*~' gweled-0.7/src/Makefile.am gweled-0.7.new/src/Makefile.am +--- gweled-0.7/src/Makefile.am 2003-12-11 00:00:00.000000000 +0100 ++++ gweled-0.7.new/src/Makefile.am 2008-04-07 21:24:11.000000000 +0200 +@@ -13,7 +13,8 @@ + graphic_engine.c graphic_engine.h \ + sge_core.c sge_core.h \ + sge_utils.c sge_utils.h \ +- callbacks.c callbacks.h ++ music.c music.h \ ++ callbacks.c callbacks.h + + EXTRA_DIST = \ + $(Data_DATA) +diff -Nur -x '*.orig' -x '*~' gweled-0.7/src/Makefile.in gweled-0.7.new/src/Makefile.in +--- gweled-0.7/src/Makefile.in 2005-05-25 21:41:41.000000000 +0200 ++++ gweled-0.7.new/src/Makefile.in 2008-04-07 21:24:11.000000000 +0200 +@@ -51,7 +51,7 @@ + binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) + PROGRAMS = $(bin_PROGRAMS) + am_gweled_OBJECTS = main.$(OBJEXT) board_engine.$(OBJEXT) \ +- graphic_engine.$(OBJEXT) sge_core.$(OBJEXT) \ ++ graphic_engine.$(OBJEXT) sge_core.$(OBJEXT) music.$(OBJEXT) \ + sge_utils.$(OBJEXT) callbacks.$(OBJEXT) + gweled_OBJECTS = $(am_gweled_OBJECTS) + gweled_DEPENDENCIES = +@@ -165,6 +165,7 @@ + main.c \ + board_engine.c board_engine.h \ + graphic_engine.c graphic_engine.h \ ++ music.c music.h \ + sge_core.c sge_core.h \ + sge_utils.c sge_utils.h \ + callbacks.c callbacks.h +@@ -248,6 +249,7 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/board_engine.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/callbacks.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/graphic_engine.Po@am__quote@ ++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/music.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sge_core.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sge_utils.Po@am__quote@ +diff -Nur -x '*.orig' -x '*~' gweled-0.7/src/music.c gweled-0.7.new/src/music.c +--- gweled-0.7/src/music.c 1970-01-01 01:00:00.000000000 +0100 ++++ gweled-0.7.new/src/music.c 2008-04-07 21:24:11.000000000 +0200 +@@ -0,0 +1,84 @@ ++ ++ ++#include ++#include ++#include ++ ++#include "music.h" ++#include "board_engine.h" ++ ++extern GweledPrefs prefs; ++extern pthread_t thread; ++ ++static MODULE *module; ++static gboolean is_playing; ++ ++void music_init() ++{ ++ /* register all the drivers */ ++ MikMod_RegisterDriver(&drv_AF); ++ MikMod_RegisterDriver(&drv_esd); ++ MikMod_RegisterDriver(&drv_alsa); ++ MikMod_RegisterDriver(&drv_oss); ++ MikMod_RegisterDriver(&drv_nos); ++ ++ /* register all the module loaders */ ++ MikMod_RegisterAllLoaders(); ++ ++ /* initialize the library */ ++ if (MikMod_Init("")) ++ { ++ fprintf(stderr, "Could not initialize sound, reason: %s\n", MikMod_strerror(MikMod_errno)); ++ //return; don't fail on sound problems ++ } ++ is_playing = FALSE; ++ ++} ++ ++void music_thread(void *ptr) ++{ ++ while (1) { ++ usleep(10000); ++ MikMod_Update(); ++ } ++} ++ ++void music_play() ++{ ++ if (!music_isplaying()) ++ { ++ // load module ++ module = Player_Load(PACKAGE_DATA_DIR "/sounds/gweled/autonom.s3m", 64, 0); ++ if (module) { ++ Player_Start(module); ++ Player_SetVolume(64); ++ pthread_create(&thread, NULL, (void *)&music_thread, NULL); ++ prefs.music_on = TRUE; ++ is_playing = TRUE; ++ ++ } else ++ fprintf(stderr, "Could not load module, reason: %s\n", MikMod_strerror(MikMod_errno)); ++ } ++} ++ ++void music_stop() ++{ ++ if (music_isplaying()){ ++ if (module) ++ { ++ Player_Stop(); ++ Player_Free(module); ++ pthread_cancel(thread); ++ pthread_join(thread, NULL); ++ prefs.music_on = FALSE; ++ is_playing = FALSE; ++ } ++ } ++ ++} ++ ++gboolean music_isplaying() ++{ ++ return is_playing; ++} ++ +diff -Nur -x '*.orig' -x '*~' gweled-0.7/src/music.h gweled-0.7.new/src/music.h +--- gweled-0.7/src/music.h 1970-01-01 01:00:00.000000000 +0100 ++++ gweled-0.7.new/src/music.h 2008-04-07 21:24:11.000000000 +0200 +@@ -0,0 +1,9 @@ ++#include ++ ++void music_init(); ++void music_thread(void *ptr); ++void music_play(); ++void music_stop(); ++int music_isplaying(); ++ ++ --- gweled-0.7.orig/debian/patches/xdg_pref.diff +++ gweled-0.7/debian/patches/xdg_pref.diff @@ -0,0 +1,21 @@ +diff -Nur -x '*.orig' -x '*~' gweled-0.7/src/main.c gweled-0.7.new/src/main.c +--- gweled-0.7/src/main.c 2008-04-07 20:22:22.000000000 +0200 ++++ gweled-0.7.new/src/main.c 2008-04-07 20:22:42.000000000 +0200 +@@ -62,7 +62,7 @@ + gchar *filename; + FILE *stream; + +- filename = g_strconcat(g_get_home_dir(), "/.gweled", NULL); ++ filename = g_strconcat(g_get_user_config_dir(), "/gweled", NULL); + stream = fopen(filename, "w"); + if(stream) + { +@@ -78,7 +78,7 @@ + char *filename; + FILE *stream; + +- filename = g_strconcat(g_get_home_dir(), "/.gweled", NULL); ++ filename = g_strconcat(g_get_user_config_dir(), "/gweled", NULL); + + stream = fopen(filename, "r"); + if(stream) --- gweled-0.7.orig/debian/patches/desktop-file.diff +++ gweled-0.7/debian/patches/desktop-file.diff @@ -0,0 +1,14 @@ +diff -Nur -x '*.orig' -x '*~' gweled-0.7/gweled.desktop gweled-0.7.new/gweled.desktop +--- gweled-0.7/gweled.desktop 2008-04-07 19:55:29.000000000 +0200 ++++ gweled-0.7.new/gweled.desktop 2008-04-07 21:31:04.000000000 +0200 +@@ -1,8 +1,8 @@ + [Desktop Entry] + Version=1.0 +-Encoding=UTF-8 + Name=Gweled +-Comment=A "Diamond Mine" for Gnome ++Comment=Play a puzzle game similar to "Diamond Mine" ++Comment[ca]=Jugueu a un joc semblant al "Diamond Mine" + Exec=gweled + Icon=gweled + Terminal=false --- gweled-0.7.orig/debian/patches/fix_double_free.diff +++ gweled-0.7/debian/patches/fix_double_free.diff @@ -0,0 +1,12 @@ +diff -urN gweled-0.7~/src/main.c gweled-0.7/src/main.c +--- gweled-0.7~/src/main.c 2005-05-25 23:44:04.000000000 +0200 ++++ gweled-0.7/src/main.c 2006-12-05 18:29:49.000000000 +0100 +@@ -365,7 +369,7 @@ + if(swap_sfx) + Sample_Free(swap_sfx); + if(click_sfx) +- Sample_Free(swap_sfx); ++ Sample_Free(click_sfx); + + MikMod_Exit(); + --- gweled-0.7.orig/debian/patches/gweled-ppc.diff +++ gweled-0.7/debian/patches/gweled-ppc.diff @@ -0,0 +1,11 @@ +--- src/board_engine.c.orig 2004-11-09 22:53:38.000000000 +0100 ++++ src/board_engine.c 2004-11-09 23:12:28.116177720 +0100 +@@ -40,7 +40,7 @@ + gint gi_x_click = 0; + gint gi_y_click = 0; + +-gchar gpc_game_board[BOARD_WIDTH][BOARD_HEIGHT]; ++gint gpc_game_board[BOARD_WIDTH][BOARD_HEIGHT]; + gint gi_nb_of_tiles[7]; + + gboolean g_do_not_score; --- gweled-0.7.orig/debian/control.in +++ gweled-0.7/debian/control.in @@ -0,0 +1,19 @@ +Source: gweled +Section: games +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Ondřej Surý +Homepage: http://sebdelestaing.free.fr/gweled/ +Build-Depends: debhelper (>= 5.0.51~), cdbs, gnome-pkg-tools, libgnomecanvas2-dev, libglade2-dev, libgnomeui-dev, librsvg2-dev, libmikmod2-dev +Uploaders: @GNOME_TEAM@ +Standards-Version: 3.7.3 + +Package: gweled +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A "Diamond Mine" puzzle game + Gweled is a GNOME version of a popular PalmOS/Windows/Java + game called "Bejeweled" or "Diamond Mine". The aim of the game + is to make alignment of 3 or more gems, both vertically + or horizontally by swapping adjacent gems. The game ends + when there are no possible moves left. --- gweled-0.7.orig/debian/rules +++ gweled-0.7/debian/rules @@ -0,0 +1,24 @@ +#! /usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --bindir=\$${prefix}/games +DEB_DH_FIXPERMS_ARGS := -X/var/games/.*scores -X/usr/games + +CFLAGS := -Wall -g -rdynamic + +# Ensure at build time that the library has no dependencies on undefined +# symbols. +LDFLAGS += -Wl,-z,defs + +# Speed up loading. +LDFLAGS += -Wl,-O1 + +binary-install/gweled:: + dh_icons -a + +binary-post-install/gweled:: + chmod u+w $(CURDIR)/debian/gweled/usr/games/* --- gweled-0.7.orig/debian/menu +++ gweled-0.7/debian/menu @@ -0,0 +1,2 @@ +?package(gweled):needs="X11" section="Games/Board" \ + title="Gweled" command="/usr/games/gweled" --- gweled-0.7.orig/debian/dirs +++ gweled-0.7/debian/dirs @@ -0,0 +1,3 @@ +usr/games +usr/share/gweled +usr/share/pixmaps/gweled --- gweled-0.7.orig/debian/changelog +++ gweled-0.7/debian/changelog @@ -0,0 +1,138 @@ +gweled (0.7-2ubuntu6) intrepid; urgency=low + + * No, the default language in Ubuntu is *not* French. Changing the default + language back to English (debian/patches/music_preference.diff) (LP: #217546) + + -- Sarah Hobbs Wed, 04 Jun 2008 01:47:50 +1000 + +gweled (0.7-2ubuntu5) hardy; urgency=low + + * debian/patches/music_preference.diff: + - Add an option to disable the music (LP: #90499); thanks to Lionel + Dricot. + * debian/patches/xdg_pref.diff: + - Place the configuration file inside ~/.config/ instead of directly + into the home directory, to follow FD.o's recommendations and to + workaround a issue which the previous patch would cause otherwise + (LP: #201509); thanks to Lionel Dricot. + * debian/patches/desktop-file.diff + - Remove the deprecated Encoding field. + - Improve the Comment and add a Catalan translation of it. + * debian/control.in, debian/control: + - Bump Standards Version to 3.7.3. + - Add a Homepage field to the Source stanza. + - Change "Gnome" in the long description to be all-uppercase. + - Raise the debhelper dependency's minimum version to 5.0.51~, as + older versions don't include dh_icons. + * debian/copyright: + - Change formatting and make lintian happy about "Author(s)". + - Add the copyright statement (found in src/callbacks.c) and the + full GPL header. + * debian/menu: + - Quote needs and section's values as suggested by linda and lintian. + * debian/rules: + - Add a dh_icons call. + + -- Siegfried-Angel Gevatter Pujals (RainCT) Mon, 07 Apr 2008 20:34:42 +0200 + +gweled (0.7-2ubuntu4) hardy; urgency=low + + * Change 8 spaces to tabs in debian/patches/editmakefile.patch to fix FTBFS + + -- Sarah Hobbs Wed, 06 Feb 2008 14:10:18 +1100 + +gweled (0.7-2ubuntu3) hardy; urgency=low + + * Added two lines that had gotten removed in Makefile.in + + -- Efrain Valles Pulgar (effie_jayx) Tue, 05 Feb 2008 18:34:56 -0430 + +gweled (0.7-2ubuntu2) hardy; urgency=low + + * Removed creation of score file in Makefile.in as it gets created in + gweled.postinst (LP: #110268). + * Modify Maintainer value to match the DebianMaintainerField + specification. + + -- Efrain Valles Pulgar (effie_jayx) Sat, 02 Feb 2008 14:54:47 -0430 + +gweled (0.7-2ubuntu1) feisty; urgency=low + + * Re-merge from Debian unstable. Ubuntu change: + - Fixed the .desktop file to match the specification + + -- Adrien Cunin Wed, 6 Dec 2006 14:50:30 +0100 + +gweled (0.7-2) unstable; urgency=low + + * Disable disk writer driver in MikMod initialization + (Closes: #401727, #401375) + * Fix double free when exiting (Closes: #401730) + + -- Ondřej Surý Tue, 5 Dec 2006 18:20:44 +0100 + +gweled (0.7-1ubuntu1) feisty; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu change: + - Fixed the .desktop file to match the specification + + -- Adrien Cunin Tue, 28 Nov 2006 21:07:28 +0100 + +gweled (0.7-1) unstable; urgency=low + + * New upstream release. (Closes: #392973) + + Removed some patches merged upstream. + * Added -rdynamic CFLAG (Closes: #392971) + + -- Ondřej Surý Mon, 23 Oct 2006 14:14:41 +0200 + +gweled (0.6-2ubuntu1) dapper; urgency=low + + * Fixed the .desktop file to match the specification + * rules - Added -rdymanic to CFLAGS - Barry deFreese + + -- Emmet Hikory Sun, 9 Apr 2006 20:54:14 +0900 + +gweled (0.6-2build1) dapper; urgency=low + + * Rebuild to drop unwanted libglitz1 dependency on hppa. + + -- Adam Conrad Mon, 10 Apr 2006 20:02:03 +1000 + +gweled (0.6-2) unstable; urgency=low + + * Fix missing DESTDIR in scoredir (Closes: #307643) + + -- Ondřej Surý Fri, 6 May 2005 21:25:38 +0200 + +gweled (0.6-1) unstable; urgency=low + + * New upstream release. + * Apply patch to fix timed game speed not resetting (Closes: #286874) + - credits to Neil Moore + * Apply patch to fix FTBFS on amd64 (Closes: #286956) + - credits to Andreas Jochens + + -- Ondřej Surý Tue, 3 May 2005 20:48:13 +0200 + +gweled (0.5-2) unstable; urgency=low + + * Fix PPC runtime error, credits to Michael Klein (Closes: #280506) + + -- Ondřej Surý Wed, 10 Nov 2004 12:37:17 +0100 + +gweled (0.5-1) unstable; urgency=low + + * New upstream release. + * Remove upstream score file from package. + * Move binary to /usr/games and make it setgid games (Closes: #268682) + * Create debian menu entry (Closes: #268682) + + -- Ondřej Surý Thu, 2 Sep 2004 09:34:12 +0200 + +gweled (0.4-1) unstable; urgency=low + + * Initial Release. (Closes: #225711) + + -- Ondřej Surý Thu, 19 Aug 2004 08:58:17 +0200 + --- gweled-0.7.orig/debian/gweled.postinst +++ gweled-0.7/debian/gweled.postinst @@ -0,0 +1,26 @@ +#! /bin/sh + +set -e + +# gweled scores files get root:games + +SCORE_FILES=" +gweled.easy.scores +gweled.timed.scores" + +if [ ! -d /var/games ]; then + mkdir /var/games +fi + +for FILES in $SCORE_FILES; do + + if [ -e /var/games/$FILES ]; then + continue + fi + + touch /var/games/$FILES + chown root:games /var/games/$FILES + chmod 664 /var/games/$FILES +done + +#DEBHELPER# --- gweled-0.7.orig/debian/copyright +++ gweled-0.7/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Ondřej Surý on +Sat, 14 Aug 2004 10:12:36 +0200. + +It was downloaded from http://sebdelestaing.free.fr/gweled/ + +Upstream Author: + + Sebastien Delestaing + +Copyright: + + Copyright (C) 2003-2005 Sebastien Delestaing + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + On Debian systems, the complete text of the GPL can be found in + /usr/share/common-licenses/GPL. --- gweled-0.7.orig/debian/compat +++ gweled-0.7/debian/compat @@ -0,0 +1 @@ +4 --- gweled-0.7.orig/debian/gweled.postrm +++ gweled-0.7/debian/gweled.postrm @@ -0,0 +1,27 @@ +#! /bin/sh + +set -e + +if [ "$1" = "purge" ] ; then +# remove empty/unused scorefiles + +SCORE_FILES=" +gweled.easy.scores +gweled.timed.scores" + + for FILES in $SCORE_FILES; do + + if [ -s /var/games/$FILES ]; then + continue + fi + + rm -f /var/games/$FILES + done + + if [ -d /var/games ]; then + rmdir --ignore-fail-on-non-empty /var/games + fi + +fi + +#DEBHELPER# --- gweled-0.7.orig/debian/control +++ gweled-0.7/debian/control @@ -0,0 +1,19 @@ +Source: gweled +Section: games +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Ondřej Surý +Homepage: http://sebdelestaing.free.fr/gweled/ +Build-Depends: debhelper (>= 5.0.51~), cdbs, gnome-pkg-tools, libgnomecanvas2-dev, libglade2-dev, libgnomeui-dev, librsvg2-dev, libmikmod2-dev +Uploaders: Debian GNOME Maintainers , Ondřej Surý +Standards-Version: 3.7.3 + +Package: gweled +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A "Diamond Mine" puzzle game + Gweled is a GNOME version of a popular PalmOS/Windows/Java + game called "Bejeweled" or "Diamond Mine". The aim of the game + is to make alignment of 3 or more gems, both vertically + or horizontally by swapping adjacent gems. The game ends + when there are no possible moves left. --- gweled-0.7.orig/debian/docs +++ gweled-0.7/debian/docs @@ -0,0 +1 @@ +NEWS