Package: atomix
Version: 2.14.0-1.1
Severity: wishlist
Tags: patch

I've uploaded a new version of atomix to the 7 day delayed queue
fixing all but one of the bugs in BTS (do not know how to fix the
watch file bug).  I started looking at the source to fix the desktop
file bug, and discovered that no upload had been done since 2006, so I
decided it could use an update to get the low hanging fruits fixed in
time for Squeeze.

diff -u atomix-2.14.0/debian/changelog atomix-2.14.0/debian/changelog
--- atomix-2.14.0/debian/changelog
+++ atomix-2.14.0/debian/changelog
@@ -1,3 +1,17 @@
+atomix (2.14.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Improve long title in menu (Closes: #445127).  Thanks to Bill
+    Allombert for the text proposal.
+  * Fix close button in about dialog (Closes: #495714).  Thanks to
+    Marshall Scorcio and Ubuntu for the patch.  Adjusted home page URL
+    to a working one.
+  * Make sure desktop file is in the atomix package next to the Debian
+    menu file (Closes: #570526).
+  * Add manual page (Closes: 490259).  Thanks to Mike Ayers for the content.
+
+ -- Petter Reinholdtsen <[email protected]>  Thu, 25 Feb 2010 23:31:27 +0100
+
 atomix (2.14.0-1) unstable; urgency=low
 
   * New upstream release
diff -u atomix-2.14.0/debian/atomix.menu atomix-2.14.0/debian/atomix.menu
--- atomix-2.14.0/debian/atomix.menu
+++ atomix-2.14.0/debian/atomix.menu
@@ -3,5 +3,5 @@
        section="Games/Puzzles" \
        title="Atomix" \
-       longtitle="Join atoms to form molecules, if you can" \
+       longtitle="Atomix: Join atoms to form molecules" \
        icon="/usr/share/pixmaps/atomix-icon.xpm" \
        command="/usr/games/atomix"
diff -u atomix-2.14.0/debian/atomix-data.install 
atomix-2.14.0/debian/atomix-data.install
--- atomix-2.14.0/debian/atomix-data.install
+++ atomix-2.14.0/debian/atomix-data.install
@@ -1 +1,4 @@
-usr/share/*
+usr/share/atomix/*
+usr/share/doc/*
+usr/share/gnome*/*
+usr/share/pixmaps/*
diff -u atomix-2.14.0/debian/atomix.install atomix-2.14.0/debian/atomix.install
--- atomix-2.14.0/debian/atomix.install
+++ atomix-2.14.0/debian/atomix.install
@@ -2,0 +3 @@
+usr/share/applications/*
--- atomix-2.14.0.orig/debian/atomix.6
+++ atomix-2.14.0/debian/atomix.6
@@ -0,0 +1,46 @@
+.\"This template provided by Tom Christiansen <[email protected]>.
+.\" 
+.TH atomix 6
+.SH NAME
+atomix 
+
+.SH SYNOPSIS
+Atomix is a 
+.IB Sokoban 
+like puzzle game.
+
+.SH DESCRIPTION
+.\" Putting a newline after each sentence can generate better output.
+Atomix is a puzzle game in which you have to build full molecules, from
+simple
+inorganic ones in the first levels to extremely complex organic ones in
+the
+last levels, out of isolated atoms, which are laying around among walls
+and
+other obstacles on the playfield.
+
+Once you push an atom in a certain direction, it will move until it hits
+something that makes it stop, which could be a wall or another atom.
+This
+behaviour is exactly what makes playing it not trivial and, therefore,
+fun,
+as you need to think quite a lot about how to have your molecule
+organized.
+
+
+.SH AUTHOR 
[email protected] (Guilherme de S. Pastore)
+
+Jens Finke <[email protected]>
+
+.SH ART WORK
+Jakub Steiner [email protected]
+
+.SH DEBIAN MAINTAINER
[email protected] (Guilherme de S. Pastore
+
+.SH LICENCE   
+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.
--- atomix-2.14.0.orig/debian/atomix.manpages
+++ atomix-2.14.0/debian/atomix.manpages
@@ -0,0 +1 @@
+debian/atomix.6
--- atomix-2.14.0.orig/src/main.c
+++ atomix-2.14.0/src/main.c
@@ -167,16 +167,15 @@
       NULL
     };
 
-  dlg = gtk_about_dialog_new ();
-  gtk_about_dialog_set_name (GTK_ABOUT_DIALOG(dlg), "Atomix");
-  gtk_about_dialog_set_version (GTK_ABOUT_DIALOG(dlg), VERSION);
-  gtk_about_dialog_set_comments (GTK_ABOUT_DIALOG(dlg), _("A puzzle game about 
atoms and molecules"));
-  gtk_about_dialog_set_website (GTK_ABOUT_DIALOG(dlg), 
"http://www.gnome.org/projects/atomix";);
-  gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG(dlg), authors);
-  gtk_about_dialog_set_artists (GTK_ABOUT_DIALOG(dlg), artists);
-  gtk_about_dialog_set_translator_credits (GTK_ABOUT_DIALOG(dlg), 
_("translator-credits"));
-
-  gtk_widget_show (dlg);
+  gtk_show_about_dialog(GTK_WINDOW(app->mainwin),
+                                       "program-name", _("Atomix"),
+                                       "version", VERSION,
+                                       "comments", _("A puzzle game about 
atoms and molecules"),
+                                       "website", 
_("http://jens.triq.net/atomix.php";),
+                                       "authors", authors,
+                                       "artists", artists,
+                                       "translator_credits", 
_("translator-credits"),
+                                       NULL);
 }
 
 static gboolean on_app_destroy_event (GtkWidget *widget, GdkEvent *event,

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to