debian/0000775000000000000000000000000012127570042007170 5ustar debian/atomix.postrm0000664000000000000000000000027011767470464011756 0ustar #!/bin/sh set -e if [ "$1" = "purge" ]; then rm -f /var/games/atomix.scores if [ -d /var/games ]; then rmdir --ignore-fail-on-non-empty /var/games fi fi #DEBHELPER# debian/atomix.install0000664000000000000000000000011711767367635012105 0ustar usr/games/atomix ../atomix-icon.xpm usr/share/pixmaps usr/share/applications/* debian/compat0000664000000000000000000000000211767463711010403 0ustar 9 debian/atomix-data.install0000664000000000000000000000007211767466222013004 0ustar usr/share/atomix/* usr/share/gnome*/* usr/share/pixmaps/* debian/atomix.manpages0000664000000000000000000000002011767367635012223 0ustar debian/atomix.6 debian/rules0000775000000000000000000000054311772310567010263 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/gnome.mk include /usr/share/cdbs/1/rules/autoreconf.mk DEB_DH_INSTALL_SOURCEDIR := debian/tmp DEB_CONFIGURE_EXTRA_FLAGS := --bindir=\$${prefix}/games DEB_DH_FIXPERMS_ARGS := -X/usr/games/* -X/var/games/.*scores debian/watch0000664000000000000000000000012211767370302010222 0ustar version=3 ftp://ftp.gnome.org/pub/GNOME/sources/atomix/2.14/atomix-(.*)\.tar\.gz debian/atomix-data.dirs0000664000000000000000000000002211767367635012302 0ustar usr/share/pixmaps debian/copyright0000664000000000000000000000170611767367635011154 0ustar This package was debianized by Guilherme de S. Pastore on Fri, 18 Mar 2005 18:45:27 -0300. It was downloaded from http://ftp.gnome.org/pub/GNOME/sources/atomix/ Copyright: Copyright (C) 1999-2002 Jens Finke Copyright (C) 2005 Guilherme de S. Pastore Upstream Authors: Guilherme de S. Pastore Jens Finke 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. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian Systems, the full text of the license can be found on /usr/share/common-licenses/GPL debian/changelog0000664000000000000000000001307212127567434011060 0ustar atomix (2.14.0-2ubuntu2) raring; urgency=low * d/p/underlinking.diff: build with -lm to fix FTBFS. -- Robie Basak Fri, 05 Apr 2013 15:34:34 +0000 atomix (2.14.0-2ubuntu1) quantal; urgency=low * Merge from Debian Unstable (LP: #1016608). Remaining Changes: - Explicitly add all the locales to the atomix package. - Call autoreconf and intltoolize to generate a working autotools setup that will generate the locales. (LP: #851928) -- Vibhav Pant Fri, 22 Jun 2012 20:53:36 +0530 atomix (2.14.0-2) unstable; urgency=low * Incorporated the non-maintainer upload (Closes: #571552). Thanks, Peter! * Updated for source package format 3.0 (quilt). - moved the patch applied with the NMU to patches/about.diff, with a small change to remove the GtkDialog pointer declaration. * watch: updated for version 3 and atomix 2.14 (Closes: #529098). * control: - use ${source:Version} for versioned dependency on atomix-data so as not to break binary-only uploads (Closes: #677879); - declared dependencies on ${misc:Depends}; - tweaked package description, bumped Standards-Version and allowed for uploads by Debian Maintainers. * compat: bumped debhelper compatibility level to 9, with the corresponding versioned build-dependency in the control file, but no other changes. * atomix-data.install: removed usr/share/doc/* from the list, as atomix installs nothing there. * atomix.6: minor tweaks to the manpage. * patches/desktop.diff: minor changes to the desktop entry. * atomix.{postinst,postrm}: set the -e flag -- Guilherme de Siqueira Pastore Sun, 17 Jun 2012 21:46:25 -0300 atomix (2.14.0-1.1ubuntu1) oneiric; urgency=low * Explicitly add all the locales to the atomix package. * Call autoreconf and intltoolize to generate a working autotools setup that will generate the locales. (LP: #851928) -- Marc GariƩpy Wed, 28 Sep 2011 13:36:46 -0400 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 Thu, 25 Feb 2010 23:31:27 +0100 atomix (2.14.0-1) unstable; urgency=low * New upstream release * debian/control: updated my e-mail address -- Guilherme de S. Pastore Tue, 18 Apr 2006 01:44:40 -0300 atomix (2.13.3-2) unstable; urgency=low * debian/control: - relax dependency on atomix-data to be binary NMU safe. -- Guilherme de S. Pastore Fri, 23 Dec 2005 13:34:10 -0200 atomix (2.13.3-1) unstable; urgency=low * New upstream version * debian/copyright: updated * debian/control: - updated maintainer e-mail address - make atomix replace old atomix-data * debian/atomix{,-data}.install: - cleaned up - moved Debian menu icon to atomix * debian/atomix-data.dirs, debian/rules: cleaned up * debian/atomix.menu: fixed filename of the icon * debian/watch: created -- Guilherme de S. Pastore Mon, 12 Dec 2005 21:25:51 -0200 atomix (1.2.2a-1) unstable; urgency=low * New upstream release * debian/copyright: - Fixed alignment problems - Updated URL from which the tarball was retrieved -- Guilherme de S. Pastore Wed, 3 Aug 2005 18:13:46 -0300 atomix (1.2.1-2) unstable; urgency=low * debian/atomix.menu, debian/atomix-logo.xpm: - provide xpm version of the icon and use it on the Debian menu * debian/control: - updated Standards-Version to 3.6.2 with no changes -- Guilherme de S. Pastore Wed, 29 Jun 2005 23:19:02 -0300 atomix (1.2.1-1) unstable; urgency=low * New upstream release -- Guilherme de S. Pastore Fri, 17 Jun 2005 14:56:36 -0300 atomix (1.1.2+cvs20050424-1) unstable; urgency=low * New upstream CVS snapshot - Incorporates 00_amd64_gcc4_ftbfs.patch - Displays warning when trying to view scores when none were achieved yet, instead of only ignoring the user (Closes: #302789) * debian/rules: - Don't explicity include buildcore.mk, it's included by debhelper.mk - Don't include simple-patchsys.mk, we don't need it anymore (at least for now) -- Guilherme de S. Pastore Sat, 23 Apr 2005 17:14:37 -0300 atomix (1.1.2-1) unstable; urgency=medium * New upstream release * debian/copyright: - Fixed plural ("Upstream Author" -> "Upstream Authors") * debian/rules: - Included simple-patchsys.mk from CDBS - Made dh_fixperms ignore /usr/games, in order not to mess with the executable's permissions - Moved creation of scores file to postinst, so that we do not override it on every single upgrade * debian/patches: - 00_amd64_gcc4_ftbfs.patch: apply patch from Andreas Jochens to fix FTBFS on amd64 with gcc 4 (Closes: #301776). Thanks! -- Guilherme de S. Pastore Sun, 28 Mar 2005 21:43:40 -0300 atomix (1.1-1) unstable; urgency=low * Initial Release (Closes: #278088) -- Guilherme de S. Pastore Fri, 18 Mar 2005 18:45:27 -0300 debian/atomix.postinst0000664000000000000000000000055211767470453012316 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then SCORE_DIR='/var/games' SCORE_FILE='atomix.scores' if [ ! -d $SCORE_DIR ]; then mkdir $SCORE_DIR fi if [ -e $SCORE_DIR/$SCORE_FILE ]; then continue fi touch $SCORE_DIR/$SCORE_FILE chown root:games $SCORE_DIR/$SCORE_FILE chmod 664 $SCORE_DIR/$SCORE_FILE fi #DEBHELPER# debian/atomix.menu0000664000000000000000000000031611767367635011404 0ustar ?package(atomix): \ needs="X11" \ section="Games/Puzzles" \ title="Atomix" \ longtitle="Atomix: Join atoms to form molecules" \ icon="/usr/share/pixmaps/atomix-icon.xpm" \ command="/usr/games/atomix" debian/atomix.60000664000000000000000000000243611767472331010600 0ustar .\"This template provided by Tom Christiansen . .\" .TH atomix 6 .SH NAME atomix \- molecule puzzle game .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 Jens Finke Guilherme de Siqueira Pastore .SH ART WORK Jakub Steiner jimmac@ximian.com .SH DEBIAN MAINTAINER Guilherme de Siqueira 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. debian/atomix-icon.xpm0000664000000000000000000001157411767367635012202 0ustar /* XPM */ static char *atomix-icon[] = { /* columns rows colors chars-per-pixel */ "32 32 169 2", " c #000000", ". c #060609", "X c #070807", "o c #060809", "O c #0A0502", "+ c #08060A", "@ c #0B0901", "# c #0B0B0B", "$ c #0F0217", "% c #0C0C11", "& c #0D100E", "* c #0B1011", "= c #130602", "- c #110A02", "; c #140B09", ": c #1B0901", "> c #100E15", ", c #110E1A", "< c #1E0C1F", "1 c #141300", "2 c #10100E", "3 c #191700", "4 c #1C1A00", "5 c #131313", "6 c #15131B", "7 c #11181C", "8 c #19131B", "9 c #1C1C1C", "0 c #1B1623", "q c #1E202C", "w c #220C01", "e c #281407", "r c #2D1409", "t c #2D1E01", "y c #341303", "u c #31150B", "i c #3C1402", "p c #3F1905", "a c #3E1809", "s c #302801", "d c #3E2C02", "f c #353001", "g c #393501", "h c #232323", "j c #21242E", "k c #2D2D2D", "l c #353535", "z c #3C3C3C", "x c #431A03", "c c #4B1D04", "v c #4D1F0B", "b c #431E10", "n c #521F05", "m c #452304", "M c #452C03", "N c #482005", "B c #482E04", "V c #473303", "C c #443B01", "Z c #483603", "A c #493B02", "S c #552006", "D c #5C2206", "F c #622406", "G c #60260B", "H c #682707", "J c #6C2807", "K c #742A06", "L c #7A2D07", "P c #792C08", "I c #722C10", "U c #76310C", "Y c #7B3010", "T c #494102", "R c gray27", "E c #4D4D4D", "W c #555455", "Q c #5A5B5A", "! c #6B6B6B", "~ c #757675", "^ c #7B7B7B", "/ c #822D07", "( c #862F08", ") c #853008", "_ c #8B3208", "` c #89390C", "' c #893411", "] c #933508", "[ c #9A3609", "{ c #9D3A0B", "} c #A23909", "| c #AB3C0A", " . c #B33E0A", ".. c #804214", "X. c #9A4813", "o. c #AD440F", "O. c #A04B15", "+. c #BC420B", "@. c #B14810", "#. c #BB4910", "$. c #A66E2A", "%. c #B46F29", "&. c #BD752B", "*. c #C4440B", "=. c #CC460B", "-. c #CE4A0E", ";. c #C84D10", ":. c #CE5112", ">. c #D44A0C", ",. c #D94D0D", "<. c #DD510E", "1. c #D25011", "2. c #DD5310", "3. c #DE5B14", "4. c #E05610", "5. c #E15B12", "6. c #E56316", "7. c #E66A18", "8. c #E96F1B", "9. c #EA741D", "0. c #E47A27", "q. c #E57A29", "w. c #E87722", "e. c #EC7C22", "r. c #CF802F", "t. c #C7923D", "y. c #D18B36", "u. c #D7973D", "i. c #E3862D", "p. c #EC8023", "a. c #EC8C2C", "s. c #E1953A", "d. c #ED9234", "f. c #EF9D36", "g. c #EA9C3C", "h. c #F08F2B", "j. c #F0912B", "k. c #E9A03F", "l. c #D49B41", "z. c #DBA042", "x. c #E4A443", "c. c #EDA444", "v. c #ECA842", "b. c #EEAC49", "n. c #EDB34B", "m. c #F1AD4A", "M. c #F1B453", "N. c #F2BC52", "B. c #F3C353", "V. c #F2CE5D", "C. c #F2D25E", "Z. c #F2D461", "A. c #F4DA64", "S. c #F5E067", "D. c gray53", "F. c #8A8A8A", "G. c #909090", "H. c #A3A2A3", "J. c #ACACAC", "K. c #B1B2B1", "L. c #BCBCBC", "P. c #C2C3C2", "I. c #C9CAC9", "U. c #D2D2D2", "Y. c #D8D7D8", "T. c #DADBDA", "R. c #E3E3E3", "E. c #EBECEB", "W. c None", /* pixels */ "W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.", "W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.", "W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.", "W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.5 X X ; # . W.W.", "W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.X 9 h # X X 2 ", "W.W.W.W.W.W.W.W.W.W.X X X # W.W.W.W.W.W.W.W.W.# X F.P.H.^ R X # ", "W.W.W.W.W.W.W.# > X . O X X X # 5 5 W.W.W.W.W.# # K.U.I.P.F.X # ", "W.W.W.W.W.# 5 X O : i c n i w O X 2 W.W.W.W.5 9 I.U.I.P.! X 5 ", "W.W.W.W.# # O i ] *.,.>.>.*. .( x O O # 5 W.W.# z U.U.I.P.E # ", "W.W.W. = / >.4.5.5.5.4.,.=.+.} K : X 2 8 W.# Q T.U.I.L.k X X ", "W.W. = [ 4.5.6.7.6.6.5.5.,.=. .[ K w X # W.# ^ T.U.I.J.8 X W.", "W.W.X O ( ,.5.6.8.9.9.9.8.6.5.,.*.} _ F : X 8 X F.T.U.I.F.X 5 W.", "W.X c =.4.6.8.d.m.d.p.9.e.c.q.-.| ] K c # & H.T.U.I.Q X 2 W.", "W. ; } ,.4.6.9.M.A.N.j.e.d.A.c.,. .] L D : X # J.T.U.P.k X W.W.", "W. x +.,.5.6.w.N.A.B.d.e.f.A.m.1.+.[ L D i # L.T.U.H.# # W.W.", "# X I +.,.4.6.9.M.A.B.f.a.v.S.n.:.| ] L D x 5 I.T.U.~ X W.W.", "> O ' .>.<.5.7.M.A.A.C.C.C.S.n.;.| _ K S x @ 9 U.T.I.z . % W.W.", "h ; ' | *.,.4.6.b.A.C.C.C.C.S.n.#.[ ) J n m @ k T.T.L.5 + % W.W.", "> O P [ .=.,.5.c.A.n.i.0.k.S.z.o.] P D c m @ z T.T.G.X % W.W.W.", "% + v _ } .*.,.x.C.v.3.,.i.S.z.{ / J S m d X E R.Y.Q X 0 W.W.W.", "W.6 r P _ { | +.s.A.x.:.*.r.S.u.` J D c B s E P.P.j # < W.W.W.", "W.j ; G P ) ] } y.Z.u.@.} &.S.t.U D c m Z 1 # # 8 h X # 8 W.W.W.", "W.q # u D K L _ X.%.O.] ` ` $.Y D n N Z f O F.K.D.Q 0 X 8 W.W.W.", "W.W.5 # b D D J K K K K K J G S N B Z C @ & P.E.R.T.W , W.W.W.", "W.W.W.% # u n n S D D D S S c m B C C 1 h T.E.R.U.l + $ W.W.W.", "W.W.W.X e N N N c c N M V Z T g 1 X % z R.E.R.P.9 + W.W.W.W.", "W.W.W.W. - t d V Z Z T C g 4 X o 6 # % R ! F.F.X % W.W.W.W.", "W.W.W.W.W.W.X X X O 1 3 3 1 @ X X * 7 W.7 , % + X X + 8 W.W.W.W.", "W.W.W.W.W.W.W.W.# # # * # > W.W.W.W.W.W.% , 8 , 0 W.W.W.W.", "W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.", "W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.", "W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W.W." }; debian/patches/0000775000000000000000000000000012127571450010623 5ustar debian/patches/about.diff0000664000000000000000000000352511767474733012613 0ustar Description: use convenience function for about dialog and fix close button Origin: other, https://bugs.launchpad.net/ubuntu/+source/atomix/+bug/173772 Author: Marshall Scorcio Acked-By: Petter Reinholdtsen Reviewed-By: Guilherme de Siqueira Pastore Bug-Debian: http://bugs.debian.org/495714 Last-Update: 2012-06-17 --- atomix-2.14.0.orig/src/main.c +++ atomix-2.14.0/src/main.c @@ -152,8 +152,6 @@ static void verb_EditPreferences_cb (Bon static void verb_HelpAbout_cb (BonoboUIComponent *uic, gpointer user_data, const char *cname) { - GtkWidget *dlg; - const char *authors[] = { "Guilherme de S. Pastore ", @@ -167,16 +165,15 @@ static void verb_HelpAbout_cb (BonoboUIC 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, debian/patches/series0000664000000000000000000000005212127567364012046 0ustar desktop.diff about.diff underlinking.diff debian/patches/desktop.diff0000664000000000000000000000115511767471636013146 0ustar Description: abide by the FD menu specification and bump upstream version Author: Guilherme de Siqueira Pastore --- atomix-2.14.0.orig/atomix.desktop.in +++ atomix-2.14.0/atomix.desktop.in @@ -1,13 +1,12 @@ [Desktop Entry] -Encoding=UTF-8 _Name=Atomix _Comment=Molecule puzzle game Exec=atomix Icon=atomix-icon.png Terminal=false Type=Application -Categories=GNOME;GTK;Game;PuzzleGame; +Categories=GNOME;GTK;Game;LogicGame; X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=atomix X-GNOME-Bugzilla-Component=atomix -X-GNOME-Bugzilla-Version=2.13.x +X-GNOME-Bugzilla-Version=2.14.x debian/patches/underlinking.diff0000664000000000000000000000050612127571450014147 0ustar Author: Robie Basak Description: Build with -lm to fix FTBFS Bug: https://bugzilla.gnome.org/show_bug.cgi?id=697371 Last-Update: 2013-04-05 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -26,6 +26,7 @@ atomix_LDADD = \ libatomix.a \ + -lm \ $(ATOMIX_LIBS) noinst_LIBRARIES = libatomix.a debian/source/0000775000000000000000000000000011767464211010501 5ustar debian/source/format0000664000000000000000000000001411767464210011706 0ustar 3.0 (quilt) debian/control0000664000000000000000000000260612127570247010606 0ustar Source: atomix Section: games Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Guilherme de Siqueira Pastore DM-Upload-Allowed: yes Build-Depends: cdbs, debhelper (>= 9), libgnome2-dev, libgnomeui-dev, libglib2.0-dev, libgtk2.0-dev, libxml2-dev, gettext, libxml-parser-perl, dh-autoreconf Standards-Version: 3.9.3.0 Package: atomix Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, atomix-data (>= ${source:Version}) Replaces: atomix-data (<< 2.13.3) Description: puzzle game for building molecules out of separate atoms Atomix is an educational game designed for GNOME in which one has to build molecules, ranging from simple inorganic ones to some extremely complex organic ones, out of separate atoms. . The first levels can be rather easy, but added complexity always comes with the next level, so that several minutes (or much longer than that) can be spent on each single level. Package: atomix-data Architecture: all Depends: ${misc:Depends} Description: architecture independent files for atomix This package contains all the files which atomix places under /usr/share, which are not specific to any single processor architecture once the package is build, so a single package can serve all the architectures Debian supports. . This package is not useful at all if atomix is not installed.