debian/0000755000000000000000000000000012257533062007173 5ustar debian/gamgi.xpm0000644000000000000000000001177011526053202011002 0ustar /* XPM */ static char *gamgi[] = { /* columns rows colors chars-per-pixel */ "32 32 177 2", " c #3E403C", ". c #6F4C27", "X c #2F5E71", "o c #434542", "O c #5A5B57", "+ c #5B5E5A", "@ c #6C4F4C", "# c #61514E", "$ c #7C5E5A", "% c #5A6D49", "& c #5B6056", "* c #5E615B", "= c #60625E", "- c #79605C", "; c #6B7B5C", ": c #41566F", "> c #566262", ", c #5C656C", "< c #786763", "1 c #616C73", "2 c #737571", "3 c #7A7F77", "4 c #7B7E7A", "5 c #9A1312", "6 c #A70202", "7 c #A90303", "8 c #AA0D0D", "9 c #BB2424", "0 c #BD2B2B", "q c #B63635", "w c #B93938", "e c #DF392A", "r c #EF2E2E", "t c #EF3434", "y c #EF3F3E", "u c #F03636", "i c #F03C3C", "p c #804805", "a c #9F672C", "s c #B1682D", "d c #B2763B", "f c #E0493A", "g c #B0504F", "h c #816764", "j c #AB6563", "k c #D24544", "l c #D35353", "z c #F14545", "x c #F14C4B", "c c #E25B5B", "v c #F25454", "b c #F25B5B", "n c #E26261", "m c #E26C6C", "M c #F36363", "N c #F46A6A", "B c #E37474", "V c #EE7474", "C c #F57575", "Z c #F57978", "A c #529D0A", "S c #589B0D", "D c #698613", "F c #748612", "G c #748915", "H c #768C18", "J c #57A012", "K c #59A112", "L c #63AD1A", "P c #588029", "I c #769320", "U c #63A621", "Y c #6FAC29", "T c #72AE2C", "R c #6EB12A", "E c #70B42E", "W c #72AE39", "Q c #7BC731", "! c #6E805C", "~ c #70805F", "^ c #738066", "/ c #6EA177", "( c #90E33F", ") c #AF9358", "_ c #8EAF6E", "` c #88B062", "' c #95B378", "] c #89C749", "[ c #8BC84D", "{ c #8DCB51", "} c #95D359", "| c #93E443", " . c #96E54A", ".. c #99E54D", "X. c #9CE653", "o. c #A2E85E", "O. c #9DD962", "+. c #A3DA6D", "@. c #A3E761", "#. c #ABEA6E", "$. c #ACE971", "%. c #B0E67B", "&. c #B3EC7C", "*. c #244E8A", "=. c #2C5584", "-. c #2C548E", ";. c #305282", ":. c #3E6F81", ">. c #4E6780", ",. c #466D9E", "<. c #4E719F", "1. c #627F9A", "2. c #456DA1", "3. c #496FA3", "4. c #5274A2", "5. c #67829C", "6. c #6086B7", "7. c #648AB6", "8. c #688CB9", "9. c #6495CA", "0. c #6E9CCE", "q. c #7A9EC6", "w. c #729FCF", "e. c #74A1CF", "r. c #7FA1C8", "t. c #76A2D1", "y. c #7CA6D2", "u. c #7FA8D3", "i. c #8D8F8B", "p. c #918D8A", "a. c #8B9087", "s. c #8E918B", "d. c #91928E", "f. c #8E9191", "g. c #919491", "h. c #95A8BD", "j. c #A5A7A2", "k. c #AFB2AD", "l. c #BDBEBB", "z. c #C78783", "x. c #CF8E8C", "c. c #F68282", "v. c #F08E8E", "b. c #F79696", "n. c #F79B9B", "m. c #A8C789", "M. c #B8EE85", "N. c #BDEF8D", "B. c #BFC0BD", "V. c #C1C3BF", "C. c #82A3CA", "Z. c #9BADC2", "A. c #83ABD5", "S. c #8BB0D7", "D. c #94B3D7", "F. c #93B4D9", "G. c #97B8DB", "H. c #9CBADB", "J. c #A2C0DF", "K. c #A4C1E0", "L. c #C2C3C1", "P. c #D9DCD7", "I. c #D4DBDD", "U. c #DCDEDA", "Y. c #E1D2CF", "T. c #DEE1DB", "R. c #E1E3DE", "E. c #E3E6E1", "W. c #E6E8E4", "Q. c #E8EAE6", "!. c #ECEEEA", "~. c #EFF0ED", "^. c #F0F1EF", "/. c #F3F4F2", "(. c #F7F8F6", "). c #F8F9F8", "_. c None", /* pixels */ "_._._._._._._._._._._._._._._._._._._.7 7 7 7 _._._._._._._._._.", "_._._._._._._._._._._._._._._._._.7 e B b.v.m e 7 _._._._._._._.", "_._._._._._._._._._._._._._._._.7 l n.B C M N c.k 7 _._._._._._.", "_._._._._._.* O = = _._._._._._.0 b.V Z Z N b x c.9 _._._._._._.", "_._._._.+ g.U././.U.i.# * O O @ j C N Z Z N v x v c 7 _._._._._.", "_._._.+ L.)./.!.!.R.1.p.U././.T.f.$ n N N b v z z V 7 _._._._._.", "_._._.d.).!./.!.Q.^ B.(.~.Q.Q.Q./.l.$ v b v x f t V 7 _._._._._.", "_._.= U./.~.(./.k.f.(.Q.~.~.!.W.E./.i.% G s f t z c 7 _._._._._.", "_._.O /.Q.~.~.~.^ U.~.!.~./.~.Q.R.W.P.^ +.T F e Z 9 _._._._._._.", "_._.O /.Q.Q.Q.W.* /.Q.!./.~.~.Q.R.R.^.& #.N.[ I k 7 _._._._._._.", "_._.* U.Q.T.E.m.O ^.W.Q.~.~.!.E.R.R.^.* o.X.M.Y p _._._._._._._.", "_._._.i./.T.U.W ; U.Q.E.E.W.E.T.T.R.U.; o...o.O.A _._._._._._._.", "_._._.+ l./.E.J _ s./.T.T.E.T.T.P.^.a.` o.X. .%.A O O = _._._._.", "_._._._.O i.U.K M.; B./.E.T.T.E.^.B.% o.X. . .%.J /.^.P.i.+ _._.", "_._._._._._.: X =.=.* a.U.~.~.U.s.; U X...| X.O.D Y.W.Q./.l.+ _.", "_._._._._.*.2.C.G.G.r.>.> * & ! ' E Q .| ( &.T a q Q.E.R./.i._.", "_._._._.*.8.K.S.u.y.A.H.7.:.$.N.{ L .| X.&.] G Z 0 x.W.R.W.P.+ ", "_._._._.,.J.y.u.A.y.w.0.G.2./ R K } %.%.O.E G f x c w W.T.T.~.O ", "_._._.;.r.A.y.A.A.u.5.1 > + + . ) I S S I d x i i V 8 W.R.P.~.O ", "_._.+ -.D.t.t.u.q.1 f.U.(./.R.a.< n M M M v z i u V 8 R.P.E.P.* ", "_._.d.-.F.w.0.t.1 L.(.!.Q.Q.Q.(.B.- v v v z i t z c q P.U./.i._.", "_.= E.4.q.t.9.1.g.(.!.!.~.!.W.R./.d.g z z i t r Z 0 z.E./.l.+ _.", "_.O /.Z.3.F.9.1 T.!.!././.~.Q.E.W.T.h v i i z Z k q !.U.s.+ _._.", "_.O /.!.3.6.S.= /.Q.!././.~.Q.R.R.^.O c V V c 9 5 # O * _._._._.", "_.= Y.~.I.<.3.+ /.Q.Q.!.!.!.W.T.P.~.O 7 7 7 7 _._._._._._._._._.", "_._.' /.E.E.h., U.!.E.W.W.E.T.T.E.U.= _._._._._._._._._._._._._.", "_._.+ K.(.Q.R.j.g./.R.T.T.T.T.P./.d._._._._._._._._._._._._._._.", "_._._.* f.Y.^.^.2 L./.Q.T.T.R./.B.+ _._._._._._._._._._._._._._.", "_._._._._.= + O O O s.U./.!.U.s.O _._._._._._._._._._._._._._._.", "_._._._._._._._._._.o O O O O _._._._._._._._._._._._._._._._.", "_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.", "_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._." }; debian/copyright0000644000000000000000000002536411764431441011140 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=202 Upstream-Name: GAMGI Upstream-Contact: José Carlos Pereira Source: http://www.gamgi.org/ Files: * Copyright: (C) 2001-2011 José Carlos Pereira License: GPL-2+ Files: doc/* Copyright: (C) 2001-2011 José Carlos Pereira License: GFDL-1.1 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. Comment: On Debian GNU/Linux systems, the complete text of the GFDL license can be found in `/usr/share/common-licenses/GFDL'. Files: src/io/gamgi_io_font_sun.* Copyright: Copyright (C) 1989, 1990, 1991 by Sun Microsystems, Inc. and the X Consortium. All rights reserved. License: Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the names of Sun Microsystems and the X Consortium not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. . SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SUN MICROSYSTEMS OR THE X CONSORTIUM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: src/io/gamgi_io_font_hershey.c Copyright: Copyright (C) 1967 Allen V. Hershey License: The Hershey fonts in this file were taken from the GNU package plotutils, that includes the arrays _occidental_hershey_glyphs[] and _oriental_hershey_glyphs[]. The first array includes the standard (`occidental') Hershey glyphs digitized by Dr. Allen V. Hershey, some glyphs due to other people, and his Japanese Hiragana and Katakana glyphs. The second array includes his digitizations of Japanese ideographic symbols (Kanji glyphs). It originally included the Hiragana and Katakana glyphs as well, but they were moved to the first array because some people may not wish to include Kanji support. . Dr. Hershey digitized the glyphs c. 1967, at what is now the U.S. Naval Surface Weapons Center in Dahlgren, Virginia. For many years he distributed copies of the glyphs, and his typographic software, on magnetic tape. Over 120 copies of the tape were distributed. There have been many other distributions of the glyphs. In the 1970's they were incorporated, not always with attribution, in several commercial plotting packages. They were first freely distributed in 1985(?), by being posted to Usenet (to vol. 4 of mod.sources) by Pete Holzmann , then at Octopus Enterprises. In the 1980's the glyphs were incorporated in at least two freeware plotting programs, Nelson Beebe's PLOT79 and Tim Pearson's PGPLOT. The latter is still available (see http://astro.caltech.edu/~tjp/pgplot/). . The _occidental_hershey_glyphs[] array was constructed from releases of the Hershey glyphs that are later than the one described in the 1976 NBS publication above. For example, Fig. 15 of that work portrays 43 additional glyphs digitized by Norman Wolcott of the NBS; they are included here. See the file ./doc/hershey-number for details on how the array was assembled. The original Hershey glyphs, including the 43 Wolcott glyphs, are stored in the 0..3999 slots of the array. . The _occidental_hershey_glyphs[] array also includes non-Hershey glyphs taken from various sources. All post-Hershey glyphs have been placed in slots 4000..4194. This includes a few glyphs taken from the UGS (the Unified Graphics System, developed by Bob Beach at SLAC; see Computer Graphics, Fall 1974, pp. 22-23). As well, it includes some freeware glyphs developed by Thomas Wolff and distributed as part of the Ghostscript distribution. The Beach and Wolff glyphs are used in the Hershey Symbol fonts. Locally developed glyphs (accented characters, in particular) have been added too. . The Japanese Hiragana and Katakana glyphs digitized by Dr. Hershey, formerly located among the `oriental' glyphs, are now located in slots 4195..4399 of the _occidental_hershey_glyphs[] array. . The format of the glyphs in the _occidental_hershey_glyphs[] and _oriental_hershey_glyphs[] arrays is the format in which the Hershey glyphs were distributed to mod.sources in 1985(?) by Pete Holzmann, and is due to Jim Hurt, then at Cognition Inc. . The standard hardcopy reference for the occidental Hershey glyphs, which tabulates and displays them, is: . @TechReport{Wolcott76, author = {Norman M. Wolcott and Joseph Hilsenrath}, title = {A Contribution to Computer Typesetting Techniques: Tables of Coordinates for {Hershey's} Repertory of Occidental Type Fonts and Graphic Symbols}, institution = {U.S. National Bureau of Standards}, year = {1976}, month = {April}, type = {Special Publication}, number = {424}, OPTnote = {US NTIS stock number PB251845}} . This publication is available from the NTIS (US National Technical Information Service, +1 703 487 4650). The NTIS stock number is given above. See also Dr. Hershey's original TR, which describes the alphabets from which the glyphs were taken and gives information on the oriental glyphs: . @TechReport{Hershey67, author = {Allen V. Hershey}, title = {Calligraphy for Computers}, institution = {U.S. Naval Weapons Laboratory}, address = {Dahlgren, VA}, year = {1967}, type = {Report}, number = {TR--2101}, month = {Aug}, OPTnote = {US NTIS stock number AD662398}} Files: src/io/gamgi_io_x3d.* src/io/gamgi_io_x3d_render.* Copyright: Copyright (C) 2008 Tiago Farto Copyright (C) 2002 lignum Computing, Inc. Copyright (C) 1991,1994,2003 Linas Vepstas License: GPL-2+ Comment: License and copyright apply to portions of these files. Files: src/math/gamgi_math_matrix.* Copyright: Copyright (C) 1995-1998 Brian Paul Copyright (C) 2001, 2004 Carlos Pereira License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library 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 Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Comment: On Debian GNU/Linux systems, the complete text of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL-2'. Files: src/chem/gamgi_chem_bond_create.* Copyright: Copyright (C) 2000 José Luis Martins License: GPL-2+ Files: src/chem/gamgi_chem_symmetry.* Copyright: Copyright (C) 1996, 2003 Serguei Patchkovskii License: GPL-2+ Files: src/mesa/gamgi_mesa_text.* src/mesa/gamgi_mesa_text_new_bug.c Copyright: Copyright (C) 1991,1994,2003 Linas Vepstas Copyright (C) 2002 lignum Computing, Inc. License: GPL-2+ Comment: License and copyright apply to portions of these files. Files: src/mesa/gamgi_mesa_trackball.* Copyright: Copyright (C) 1993, 1994, Silicon Graphics, Inc. ALL RIGHTS RESERVED License: Permission to use, copy, modify, and distribute this software for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both the copyright notice and this permission notice appear in supporting documentation, and that the name of Silicon Graphics, Inc. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. . THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. . US Government Users Restricted Rights Use, duplication, or disclosure by the Government is subject to restrictions set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or in similar or successor clauses in the FAR or the DOD or NASA FAR Supplement. Unpublished-- rights reserved under the copyright laws of the United States. Contractor/manufacturer is Silicon Graphics, Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. . OpenGL(TM) is a trademark of Silicon Graphics, Inc. Files: debian/* Copyright: Copyright (C) 2008-2009 Morten Kjeldgaard Copyright (C) 2009-2012 The debichem team License: GPL-2+ License: GPL-2+ This package 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 package 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. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Comment: On Debian GNU/Linux systems, the complete text of the GNU General Public License v2 can be found in `/usr/share/common-licenses/GPL-2'. debian/gamgi.install0000644000000000000000000000015711526053202011641 0ustar src/gamgi.real usr/lib/gamgi/ debian/gamgi.desktop usr/share/applications/ debian/gamgi.xpm usr/share/pixmaps/ debian/gamgi.manpages0000644000000000000000000000001011110004265011744 0ustar gamgi.1 debian/source/0000755000000000000000000000000012257533062010473 5ustar debian/source/format0000644000000000000000000000001411526053202011670 0ustar 3.0 (quilt) debian/gamgi-data.install0000644000000000000000000000002611110004265012535 0ustar dat /usr/share/gamgi/ debian/gamgi-doc.install0000644000000000000000000000003511110004265012371 0ustar doc /usr/share/doc/gamgi-doc debian/rules0000755000000000000000000000306611764426571010270 0ustar #!/usr/bin/make -f CFLAGS ?= $(shell dpkg-buildflags --get CFLAGS) -ansi CFLAGS += $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS ?= $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed %: dh $@ --parallel override_dh_clean: find . -name \*.o | xargs $(RM) $(RM) src/global/gamgi.real src/gamgi.real gamgi.1 [ ! -f src/make_local.orig ] || cp -a src/make_local.orig src/make_local dh_clean override_dh_auto_configure: src/make_local ifneq ($(DEB_BUILD_ARCH),amd64) cp -a $< src/make_local.orig sed -i 's/lib64/lib/g' $< endif dh_auto_configure override_dh_auto_build: dh_auto_build --sourcedirectory=$(CURDIR)/src -- \ CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" mv src/gamgi src/gamgi.real override_dh_installman: gamgi.1 dh_installman override_dh_install: dh_install install -D -m755 debian/gamgi.sh debian/gamgi/usr/bin/gamgi install -D -m755 doc/icon/gamgi16.png usr/share/icons/hicolor/16x16/apps/gamgi.png install -D -m755 doc/icon/gamgi22.png usr/share/icons/hicolor/22x22/apps/gamgi.png install -D -m755 doc/icon/gamgi32.png usr/share/icons/hicolor/32x32/apps/gamgi.png install -D -m755 doc/icon/gamgi48.png usr/share/icons/hicolor/48x48/apps/gamgi.png $(RM) -r debian/gamgi-data/usr/share/gamgi/dat/util/python/ \ debian/gamgi-doc/usr/share/doc/gamgi-doc/doc/LICENSE* \ debian/gamgi-doc/usr/share/doc/gamgi-doc/doc/man override_dh_perl: dh_perl -pgamgi-data usr/share/gamgi/dat/util/perl/ override_dh_compress: dh_compress -Xusr/share/doc/gamgi-doc/doc/ gamgi.1: doc/man/page sed -e 's/\"-/\"\\-/g' -e 's/->/\\->/g' < $< > $@ debian/README.source0000644000000000000000000000032111230134666011343 0ustar gamgi source for Debian ----------------------- This package uses the `quilt' patch management solution. See /usr/share/doc/quilt/README.source. -- Daniel Leidert (dale) , July 2009 debian/watch0000644000000000000000000000010411356405174010220 0ustar version=3 ftp://ftp.gamgi.org/gamgi/src/gamgi-all-([\d.]+)\.tar\.gz debian/gamgi.docs0000644000000000000000000000005111526054302011116 0ustar AUTHORS src/BUGS CONTRIBUTORS SUPPORTERS debian/gamgi.links0000644000000000000000000000010111110004265011272 0ustar usr/share/man/man1/gamgi.1.gz usr/share/man/man1/gamgi.real.1.gz debian/patches/0000755000000000000000000000000012257533062010622 5ustar debian/patches/debian_setup.patch0000644000000000000000000000620012211566563014305 0ustar Don't hardcode paths and try to rely on pkg-config as much as possible. --- a/src/make_rules +++ b/src/make_rules @@ -35,21 +35,18 @@ #================================ shared libs ============================== -LIBS = -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lgtk-x11-2.0 \ - -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 \ - -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 \ - -lXext -lX11 -lXi -lXmu -lfreetype -lexpat -lm -ldl +LIBS = $(shell pkg-config --libs-only-l gtkglext-x11-1.0 gtk+-2.0 glib-2.0 \ + freetype2 x11) \ + -lXext -lXi -lXmu -lexpat -lm -ldl #================================ full paths =============================== PATH_H = $(PATH_GAMGI_H) \ - $(PATH_GTKGL_H) $(PATH_MESA_H) $(PATH_GTK_H) $(PATH_ATK_H) \ - $(PATH_PANGO_H) $(PATH_CAIRO_H) $(PATH_GLIB_H) $(PATH_X_H) \ - $(PATH_FREETYPE_H) $(PATH_EXPAT_H) - -PATH_L = $(PATH_GTKGL_L) $(PATH_MESA_L) $(PATH_GTK_L) $(PATH_ATK_L) \ - $(PATH_PANGO_L) $(PATH_CAIRO_L) $(PATH_GLIB_L) $(PATH_X_L) \ - $(PATH_FREETYPE_L) $(PATH_EXPAT_L) + $(PATH_GTKGL_H) $(PATH_MESA_H) $(PATH_GTK_H) $(PATH_GLIB_H) \ + $(PATH_X_H) $(PATH_FREETYPE_H) $(PATH_EXPAT_H) + +PATH_L = $(PATH_GTKGL_L) $(PATH_MESA_L) $(PATH_GTK_L) $(PATH_GLIB_L) \ + $(PATH_X_L) $(PATH_FREETYPE_L) $(PATH_EXPAT_L) #============================== compile all ================================ --- a/src/make_local +++ b/src/make_local @@ -19,28 +19,20 @@ #=============================================================================== PATH_EXPAT_H = -I/usr/include -PATH_FREETYPE_H = -I/usr/include/freetype2 -PATH_X_H = -I/usr/include/X11 -PATH_GLIB_H = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include \ - -I/usr/lib/i386-linux-gnu/glib-2.0/include -PATH_CAIRO_H = -I/usr/include/cairo -PATH_PANGO_H = -I/usr/include/pango-1.0 -PATH_ATK_H = -I/usr/include/atk-1.0 -PATH_GTK_H = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include \ - -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 +PATH_FREETYPE_H = -I/usr/include $(shell pkg-config --cflags freetype2) +PATH_X_H = -I/usr/include $(shell pkg-config --cflags x11) +PATH_GLIB_H = -I/usr/include $(shell pkg-config --cflags glib-2.0) +PATH_GTK_H = -I/usr/include $(shell pkg-config --cflags gtk+-2.0) PATH_MESA_H = -I/usr/include -PATH_GTKGL_H = -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include +PATH_GTKGL_H = -I/usr/include $(shell pkg-config --cflags gtkglext-x11-1.0) PATH_EXPAT_L = -L/usr/lib -PATH_FREETYPE_L = -L/usr/lib -PATH_X_L = -L/usr/lib -PATH_GLIB_L = -L/usr/lib -PATH_CAIRO_L = -L/usr/lib -PATH_PANGO_L = -L/usr/lib -PATH_ATK_L = -L/usr/lib -PATH_GTK_L = -L/usr/lib +PATH_FREETYPE_L = -L/usr/lib $(shell pkg-config --libs-only-L freetype2) +PATH_X_L = -L/usr/lib $(shell pkg-config --libs-only-L x11) +PATH_GLIB_L = -L/usr/lib $(shell pkg-config --libs-only-L glib-2.0) +PATH_GTK_L = -L/usr/lib $(shell pkg-config --libs-only-L gtk+-2.0) PATH_MESA_L = -L/usr/lib -PATH_GTKGL_L =-L/usr/lib +PATH_GTKGL_L = -L/usr/lib $(shell pkg-config --libs-only-L gtkglext-x11-1.0) #============================== Linux amd64 ==================================== # Debian, Fedora, Ubuntu, OpenSuse, Mageia debian/patches/series0000644000000000000000000000002311553115712012026 0ustar debian_setup.patch debian/gamgi-doc.doc-base0000644000000000000000000000036611171136757012432 0ustar Document: gamgi Title: The gamgi Manual Author: Carlos Pereira Abstract: construct, view and analyse atomic structures Section: Science/Chemistry Format: HTML Index: /usr/share/doc/gamgi-doc/doc/index.shtml Files: /usr/share/doc/gamgi-doc/doc/* debian/gamgi.sh0000644000000000000000000000032411227711720010605 0ustar #!/bin/sh BROWSER=${BROWSER:-/usr/bin/sensible-browser} export BROWSER export GAMGI_TEXT=/usr/share/fonts/truetype/ttf-dejavu export GAMGI_HELP=/usr/share/doc/gamgi-doc/doc exec /usr/lib/gamgi/gamgi.real "$@" debian/changelog0000644000000000000000000002460612257533056011060 0ustar gamgi (0.17-1) unstable; urgency=low * New upstream release. -- Daniel Leidert Sat, 28 Dec 2013 12:29:46 +0100 gamgi (0.16.8-1) unstable; urgency=low * New upstream release. * debian/control (Standards-Version): Bumped to 3.9.5. -- Daniel Leidert Sat, 21 Dec 2013 22:55:55 +0100 gamgi (0.16.7-1) unstable; urgency=low * New upstream release. -- Daniel Leidert Wed, 04 Sep 2013 10:21:15 +0200 gamgi (0.16.6-1) unstable; urgency=low * New upstream release. * debian/control (Vcs-Browser, Vcs-Svn): Fixed vcs-field-not-canonical. -- Daniel Leidert Mon, 24 Jun 2013 22:32:23 +0200 gamgi (0.16.5-1) unstable; urgency=low * New upstream release. * debian/control (Build-Depends): Added libpangox-1.0-dev. -- Daniel Leidert Sat, 25 May 2013 13:35:05 +0200 gamgi (0.16.4-1) unstable; urgency=low * New upstream release. * debian/control (Standards-Version): Bumped to 3.9.4. (DM-Upload-Allowed): Dropped. -- Daniel Leidert Tue, 07 May 2013 00:58:01 +0200 gamgi (0.16.3-1) unstable; urgency=low * New upstream release. * debian/control (Uploaders): Added myself. -- Michael Banck Sun, 24 Feb 2013 16:40:22 +0100 gamgi (0.15.8-1) unstable; urgency=low * New upstream release. * debian/copyright: Fixed missing-license-paragraph-in-dep5-copyright. * debian/rules: Make use of dpkg-buildflags and consider CFLAGS and LDFLAGS. -- Daniel Leidert (dale) Fri, 08 Jun 2012 19:08:31 +0200 gamgi (0.15.7-1) unstable; urgency=low * New upstream release. * debian/control: Used wrap-and-sort. (Standards-Version): Bumped to 3.9.3. -- Daniel Leidert (dale) Wed, 18 Apr 2012 23:46:39 +0200 gamgi (0.15.6-1) unstable; urgency=low * New upstream release. -- Daniel Leidert (dale) Mon, 20 Feb 2012 20:41:14 +0100 gamgi (0.15.5-1) unstable; urgency=low * New upstream release. * debian/copyright: Updated. Fixed some lintian warnings. * debian/patches/debian_setup.patch: Adjusted. -- Daniel Leidert (dale) Wed, 26 Oct 2011 22:46:47 +0200 gamgi (0.15.3-1) unstable; urgency=low * New upstream release. * debian/patches/debian_setup.patch: Adjusted. -- Daniel Leidert (dale) Tue, 31 May 2011 21:37:20 +0200 gamgi (0.15.2-1) unstable; urgency=low * New upstream release. * debian/control (Standards-Version): Bumped to 3.9.2. * debian/patches/debian_setup.patch: Adjusted. -- Daniel Leidert (dale) Thu, 28 Apr 2011 00:33:55 +0200 gamgi (0.15.1-2) unstable; urgency=low * debian/rules (override_dh_clean): Call dh_clean (closes: #622955). * debian/patches/debian_setup.patch: Added. - src/make_local, src/make_rules: Rely on pkg-config as much as possible (closes: #621946). * debian/patches/series: Adjusted. -- Daniel Leidert (dale) Mon, 18 Apr 2011 22:15:33 +0200 gamgi (0.15.1-1) unstable; urgency=low * New upstream release. * debian/control: Added suggestion on Perl for scripts in gamgi-data. (Description): Minor addition to gamgi-data. * debian/rules: Added override_dh_perl target to generate correct dependency for gamgi-data. -- Daniel Leidert (dale) Sun, 20 Feb 2011 13:11:55 +0100 gamgi (0.15-4) unstable; urgency=low * debian/rules (override_dh_auto_configure): Fixed the "cannot stat `override_dh_auto_configure': No such file or directory" error (closes: #613607). -- Daniel Leidert (dale) Wed, 16 Feb 2011 21:06:53 +0100 gamgi (0.15-3) unstable; urgency=low * debian/compat: Increased compatibility level to 7. * debian/control (Build-Depends): Removed cdbs and dpatch and increased dh version. * debian/copyright: Updated contents and format (DEP-5). * debian/gamgi.docs: Added BUGS. * debian/gamgi.install: Install the icons from the source. * debian/gamgi.xpm: Added icon converted from upstream icons. * debian/icons.tar.gz.uu, debian/repackage-source.sh: Removed (obsolete). * debian/rules: Rewritten for dh 7. Install the application icons from the source package (LP: #715655). * debian/source/format: Added for format 3.0 (quilt). * debian/patches/disable_gtk_deprecated.dpatch: Removed. -- Daniel Leidert (dale) Sun, 13 Feb 2011 23:18:53 +0100 gamgi (0.15-2) unstable; urgency=low * debian/control (Vcs-Browser, Vcs-Svn): Adjusted for unstable branch. (Description): Improved description. -- Daniel Leidert (dale) Mon, 07 Feb 2011 08:26:38 +0100 gamgi (0.15-1) experimental; urgency=low * New upstream release. -- Daniel Leidert (dale) Sun, 09 Jan 2011 14:06:22 +0100 gamgi (0.14.11-1) experimental; urgency=low * New upstream release. * debian/control (Vcs-Browser, Vcs-Svn): Adjusted for experimental location. * debian/rules (configure/gamgi, clean): Restore src/make_local. * debian/patches/00list: Don't apply disable_gtk_deprecated.dpatch, because these lines have been disabled by upstream. -- Daniel Leidert (dale) Fri, 26 Nov 2010 17:11:18 +0100 gamgi (0.14.10-1) unstable; urgency=low * New upstream release. -- Daniel Leidert (dale) Tue, 28 Sep 2010 22:35:26 +0200 gamgi (0.14.9-1) unstable; urgency=low * New upstream release. * debian/control (Standards-Version): Bumped to 3.9.1. -- Daniel Leidert (dale) Thu, 02 Sep 2010 01:06:33 +0200 gamgi (0.14.8-1) unstable; urgency=low * New upstream release. * debian/control (Standards-Version): Bumped to 3.9.0. -- Daniel Leidert (dale) Sat, 24 Jul 2010 00:51:26 +0200 gamgi (0.14.7-1) unstable; urgency=low * New upstream release. * debian/control (Uploaders): Removed Morton because of his inactivity for a long time. Thanks for your work. * debian/watch: Improved to not catch experimental releases. * debian/patches/disable_gtk_deprecated.dpatch: Added. - make_rules: Fix FTBFS. -- Daniel Leidert (dale) Mon, 05 Apr 2010 19:38:33 +0200 gamgi (0.14.6-1) unstable; urgency=low * New upstream release. * debian/control (Standards-Version): Bumped to 3.8.4. -- Daniel Leidert (dale) Mon, 15 Feb 2010 01:35:21 +0100 gamgi (0.14.5-1) unstable; urgency=low * New upstream release. -- Daniel Leidert (dale) Thu, 21 Jan 2010 22:52:40 +0100 gamgi (0.14.4-1) unstable; urgency=low * New upstream release. -- Daniel Leidert (dale) Sun, 03 Jan 2010 02:54:15 +0100 gamgi (0.14.3-1) unstable; urgency=low * New upstream release. * debian/control (Build-Depends): Dropped quilt. * debian/copyright: Updated and adjusted. * debian/rules: Dropped patchsys-quilt.mk. * debian/patches: Dropped. -- Daniel Leidert (dale) Mon, 30 Nov 2009 21:50:33 +0100 gamgi (0.14.2-1) unstable; urgency=low * New upstream release. * debian/patches/FTBFS_deprecated_gtksignalfunc: Dropped (applied upstream). * debian/patches/series: Adjusted. -- Daniel Leidert (dale) Sun, 01 Nov 2009 22:51:20 +0100 gamgi (0.14.1-1) unstable; urgency=low * New upstream release. * debian/patches/FTBFS_deprecated_gtksignalfunc: Added to fix FTBFS. * debian/patches/series: Adjusted. -- Daniel Leidert (dale) Sun, 25 Oct 2009 21:29:49 +0100 gamgi (0.14-1) unstable; urgency=low * New upstream release. * debian/control (Standards-Version): Bumped to 3.8.3. -- Daniel Leidert (dale) Fri, 25 Sep 2009 02:01:21 +0200 gamgi (0.13.15-1) unstable; urgency=low * New upstream release. * debian/rules: Set DEB_QUILT_TOPDIR. Improved upstream build files makes DEB_MAKE_EXTRA_ARGS obsolete. Permissions fix dropped - fixed upstream. -- Daniel Leidert (dale) Thu, 20 Aug 2009 00:40:54 +0200 gamgi (0.13.14-1) unstable; urgency=low * New upstream release. * debian/control (Uploaders): Added myself. (Build-Depends): Explicitly added libexpat1-dev. Added quilt. (Standards-Version): Bumped to 3.8.2 (added debian/README.Debian). (Vcs-Svn): Fixed vcs-field-uses-not-recommended-uri-format. (Depends): Fixed debhelper-but-no-misc-depends for -data and -doc. Replaced ttf-bitstream-vera with ttf-dejavu. (Description): s/Gamgi/GAMGI. * debian/gamgi-doc.doc-base (Section): Fixed accordingly to policy. * debian/gamgi.sh: Improved accordingly to policy section 9.9 (closes: #522860). Adjusted GAMGI_TEXT for ttf-dejavu. * debian/rules: Re-enabled quilt. Override COMPILE which hardcodes CFLAGS. Drop useless linkages setting LINK and LDFLAGS. (binary-install/gamgi-data): Fix data file permissions. * debian/README.source: Added to comply to policy. * debian/patches/528142_ttf_dejavu.patch: Added. - src/io/gamgi_io.h (GAMGI_IO_*): Use ttf-dejavu instead of ttf-bitstream-vera, which has been removed from Debian (closes: #528142). * debian/patches/series: Adjusted. -- Daniel Leidert (dale) Fri, 17 Jul 2009 19:28:13 +0200 gamgi (0.13.10-1) unstable; urgency=low * New upstream release -- Morten Kjeldgaard Mon, 19 Jan 2009 13:30:24 +0100 gamgi (0.13.9-1) unstable; urgency=low * New upstream release. Thanks to quick response by upstream author, it is no longer necessary to repackage tarball, and longer necessary to patch sources. -- Morten Kjeldgaard Fri, 14 Nov 2008 12:00:13 +0100 gamgi (0.13.8+dfsg-0ubuntu1) intrepid; urgency=low * First packaged (LP: #201401). Repackage source tarball to get rid of a non-free data file in the pristine .orig.tar.gz. See new file debian/README.Debian-source for further details. * The gamgi binary needs a few environmental variables to point to data files etc. Therefore, in this package, the gamgi binary is gamgi.real, and a wrapper script is supplied, setting up the environmental variables before calling the binary. * Created icons and desktop file * In debian/rules: fix hyphen error in manpage. * Add patch 01_gamgi_io_socket.c.patch to fix Intrepid compile error. -- Morten Kjeldgaard Sun, 24 Aug 2008 16:25:09 +0200 debian/control0000644000000000000000000000372412255407036010603 0ustar Source: gamgi Section: science Priority: optional Maintainer: Debichem Team Uploaders: Daniel Leidert , Michael Banck Build-Depends: debhelper (>> 7.0.50~), libatk1.0-dev, libcairo2-dev, libexpat1-dev, libfreetype6-dev, libglib2.0-dev, libgtk2.0-dev, libgtkglext1-dev, libpango1.0-dev, libpangox-1.0-dev, sharutils Standards-Version: 3.9.5 Homepage: http://www.gamgi.org/ Vcs-Browser: http://anonscm.debian.org/viewvc/debichem/unstable/gamgi/ Vcs-Svn: svn://anonscm.debian.org/debichem/unstable/gamgi/ Package: gamgi Architecture: any Depends: ttf-dejavu, ${misc:Depends}, ${shlibs:Depends} Suggests: gamgi-data, gamgi-doc Description: General Atomistic Modelling Graphic Interface (GAMGI) The General Atomistic Modelling Graphic Interface (GAMGI) provides a graphical interface to build, view and analyze atomic structures. The program is aimed at the scientific community and provides a graphical interface to study atomic structures and to prepare images for presentations, and for teaching the atomic structure of matter. Package: gamgi-doc Architecture: all Depends: ${misc:Depends} Enhances: gamgi Section: doc Description: General Atomistic Modelling Graphic Interface (documentation) The General Atomistic Modelling Graphic Interface (GAMGI) provides a graphical interface to build, view and analyze atomic structures. . This package contains the HTML documentation. Package: gamgi-data Architecture: all Depends: ${misc:Depends} Suggests: ${perl:Depends} Enhances: gamgi Description: General Atomistic Modelling Graphic Interface (data) The General Atomistic Modelling Graphic Interface (GAMGI) provides a graphical interface to build, view and analyze atomic structures. . This package contains various data, example and script files. debian/gamgi.desktop0000644000000000000000000000036611110004265011640 0ustar # KDE Config File [Desktop Entry] Name=gamgi GenericName=Atom Structure Visualization Comment=Construct, view and analyse atomic structures Type=Application Exec=/usr/bin/gamgi %f Icon=gamgi Terminal=false Categories=Education;Science;Chemistry; debian/compat0000644000000000000000000000000211526053202010360 0ustar 7