--- gdis-0.90.orig/makefile.debian +++ gdis-0.90/makefile.debian @@ -0,0 +1,19 @@ +CFLAGS ?= -g -Wall -O2 + +override CFLAGS += `pkg-config --cflags gtk+-2.0 gthread-2.0 gtkglext-1.0 gmodule-2.0` +override LDLIBS += `pkg-config --libs gtk+-2.0 gthread-2.0 gtkglext-1.0 gmodule-2.0` + +USE_GUI = YES +override CFLAGS += -DWITH_GUI +USE_GRISU = NO +override CFLAGS += -UWITH_GRISU + +include makefile.src + +OBJ = $(SRC:.c=.o) + +gdis: $(OBJ) + $(CC) $^ $(LDFLAGS) -o $@ $(LDLIBS) + +clean: + $(RM) $(OBJ) gdis --- gdis-0.90.orig/debian/control +++ gdis-0.90/debian/control @@ -0,0 +1,53 @@ +Source: gdis +Section: science +Priority: optional +Maintainer: Debichem Team +Uploaders: Daniel Leidert (dale) +Build-Depends: debhelper (>> 5), dpatch, libgl1-mesa-dev, libgtkglext1-dev, + libgtk2.0-dev, libgtkextra-x11-2.0-dev, libgtkgl2.0-dev, libxmu-dev +Standards-Version: 3.8.3 +Homepage: http://gdis.sourceforge.net/ +Vcs-Browser: http://svn.debian.org/wsvn/debichem/ +Vcs-Svn: svn://svn.debian.org/svn/debichem/unstable/gdis/ +DM-Upload-Allowed: yes + +Package: gdis +Architecture: any +Depends: gdis-data (= ${source:Version}), ${shlibs:Depends} +Suggests: openbabel +Description: molecular and crystal model viewer + A GTK+ based program for the display and manipulation of + isolated molecules, periodic systems and crystalline habits. + It is in development, but is nonetheless fairly functional. + It has the following features: + . + * Support for several file types (CIF, BIOSYM, XYZ, + XTL, MARVIN, and GULP) + * A simple molecular creation and manipulation tool + * A dialogue for creating starting configurations for + molecular dynamics simulations + * Assorted tools for visualization (geometry information, + region highlighting, etc.) + * Animation of BIOSYM files (also rendered animations, + see below) + . + GDIS also allows you to perform the following functions + through other packages: + . + * Model rendering (courtesy of POVRay) + * Energy minimization (courtesy of GULP) + * Morphology calculation (courtesy of cdd) + * Space group processing (courtesy of SgInfo) + * View the Periodic Table (courtesy of GPeriodic) + * Load additional filetypes, such as PDB (courtesy of Babel) + +Package: gdis-data +Architecture: all +Replaces: gdis (<< 0.90-2) +Conflicts: gdis (<< 0.90-2) +Description: molecular and crystal model viewer (data files) + A GTK+ based program for the display and manipulation of + isolated molecules, periodic systems and crystalline habits. + It is in development, but is nonetheless fairly functional. + . + This package contains the GDIS data files. --- gdis-0.90.orig/debian/compat +++ gdis-0.90/debian/compat @@ -0,0 +1 @@ +5 --- gdis-0.90.orig/debian/gdis.1 +++ gdis-0.90/debian/gdis.1 @@ -0,0 +1,15 @@ +.TH gdis 1 "6 September 2003" "" "GDIS Manual Pages" +.SH NAME +gdis \- molecules and periodic systems manipulator +.SH SYNOPSIS +.B gdis +.SH DESCRIPTION +GDIS is a GTK based program for the display and manipulation of isolated +molecules and periodic systems. It is in development, but is nonetheless +fairly functional. +.SH AUTHORS +GDIS was developed by \fBSean Fleming\fP <\&sean@power.curtin.edu.au\&>. +.PP +This manual page was initially written by \fBRoland Stigge\fP +<\&stigge@antcom.de\&> for the Debian Project (but can also be used freely +elsewhere). --- gdis-0.90.orig/debian/changelog +++ gdis-0.90/debian/changelog @@ -0,0 +1,180 @@ +gdis (0.90-2) unstable; urgency=low + + * debian/control: Added gdis-data package (closes: #233353). + (Vcs-Svn): Fixed vcs-field-uses-not-recommended-uri-format. + (Depends): Depend on new gdis-data package. + (Standards-Version): Bumped to 3.8.3. + (Description): Slightly improved short and long description. + * debian/gdis.install: Removed architecture-independent files. + * debian/gdis-data.install: Added to install architecture-independent files. + * debian/rules (binary-arch): Dropped deprecated dh_desktop call. + (binary-indep, binary-arch): Adjusted to build new + architecture-independent package gdis-data. + + -- Daniel Leidert (dale) Tue, 15 Sep 2009 00:44:48 +0200 + +gdis (0.90-1) unstable; urgency=low + + * New upstream release 0.90. + * Acknowledge NMU (closes: #492994). Thanks to Neil Williams. + + * makefile.debian: Upstream doesn't provide a Makefile to edit - so created + our own. + * debian/compat: Added and set to be 5. + * debian/control: Added Homepage, Vcs* and DM-Upload-Allowed fields. + (Maintainer): Set to the debichem team with approval by Noèl. + (Uploaders): Added myself. + (Build-Depends): Increased debhelper version to 5. Removed glutg3-dev. + Added dpatch. + (Standards-Version): Bumped to 3.8.1. + (Description): Removed homepage. Fixed a typo. + * debian/copyright: Updated, completed and adjusted. + * debian/dirs: Dropped useless file. + * debian/docs: Renamed to debian/gdis.docs. + * debian/menu: Renamed to debian/gdis.menu. + (section): Fixed accordingly to policy. + * debian/gdis.1: Just some formatting changes. + * debian/gdis.desktop: Added file (with small fixes) provided by Phill Bull + (LP: #111353). + * debian/gdis.install: Added. + * debian/rules: Cleaned. Installation is now done by dh_install. Make sure, + the CVS directory is not copied. Added dh_desktop call. + * debian/source.lintian-overrides: makefile.debian is created for Debian but + lives outside debian/. + * debian/watch: Added. + * debian/README.build: Dropped. + * debian/README.source: Added to be compliant to the policy v3.8. + * debian/patches/Debian_make.dpatch: Added. + - gdis.h (ELEM_FILE): Moved fix for gdis.elemts path (#399132) to this + patch. + * debian/patches/00list: Added. + + -- Daniel Leidert (dale) Mon, 06 Apr 2009 17:12:18 +0200 + +gdis (0.89-2.1) unstable; urgency=low + + * Non-maintainer upload. + * please migrate to gtk+extra2 and libgtkgl2.0-dev (Closes: #492994) + + -- Neil Williams Tue, 23 Sep 2008 12:47:18 +0100 + +gdis (0.89-2) unstable; urgency=low + + * corrected gdis.elemts path + (Closes: #399132) + + -- Noèl Köthe Sun, 19 Nov 2006 21:10:26 +0100 + +gdis (0.89-1) unstable; urgency=low + + * new upstream version 2006-10-15 + * updated Standards-Version + + -- Noèl Köthe Sun, 12 Nov 2006 14:23:49 +0100 + +gdis (0.86-2) unstable; urgency=low + + * corrected x build-deps + (closes: Bug#333633) + * updated Standards-Version + + -- Noèl Köthe Mon, 17 Oct 2005 16:32:45 +0200 + +gdis (0.86-1) unstable; urgency=low + + * new upstream release from 2004-08-26 + + -- Noèl Köthe Mon, 13 Sep 2004 23:44:50 +0200 + +gdis (0.84-2) unstable; urgency=low + + * added missing libxmu-dev build-dep + (closes: Bug#265342) + + -- Noèl Köthe Fri, 13 Aug 2004 15:30:18 +0200 + +gdis (0.84-1) unstable; urgency=low + + * new upstream release from 2004-06-17 + (closes: Bug#265007) + * removed profiling + (closes: Bug#262415) + + -- Noèl Köthe Wed, 11 Aug 2004 13:22:06 +0200 + +gdis (0.81-2) unstable; urgency=low + + * fixed element path from absolut to relative + (closes: Bug#237180) + + -- Noèl Köthe Fri, 09 Apr 2004 13:43:28 +0200 + +gdis (0.81-1) unstable; urgency=low + + * new upstream from 2003-11-12 + * included version of symmetry.c is now GPL + (closes: Bug#188427) + * closing fixed NMU + (closes: Bug#196527) + * updated Standards-Version + * updated project URL to https://sf.net/projects/gdis + * added build-dep libgtkglext1-dev + * added gdis manpage from Roland Stigge (thanks Roland!) + (closes: Bug#208944) + + -- Noèl Köthe Wed, 14 Jan 2004 23:47:00 +0100 + +gdis (0.77.3-1) unstable; urgency=low + + * new upstream from 2002-12-16 + (closes: Bug#143083) + * updates Standards-Version + * symmetry.c is updated in the cvs (#188427) but doesn't + work with 0.77.3. I will wait for next upstream release + instead of trying to backport it. + + -- Noel Koethe Wed, 14 May 2003 09:30:00 +0100 + +gdis (0.74.0.pre1+-3) unstable; urgency=low + + * corrected lintian warning for woody release + (W: gdis source: dh-make-template-in-source debian/menu.ex) + + -- Noel Koethe Sat, 6 Apr 2002 14:49:00 +0200 + +gdis (0.74.0.pre1+-2) unstable; urgency=low + + * openbabel maintainer asked for Suggest: openbabel + (http://packages.debian.org/unstable/science/openbabel.html) + + -- Noel Koethe Fri, 29 Mar 2002 13:24:00 +0100 + +gdis (0.74.0.pre1+-1) unstable; urgency=low + + * used gdis version with automake + (see http://archives.seul.org/gdis/gdiscuss/Feb-2002/msg00001.html) + (closes: Bug#131531) + + -- Noel Koethe Wed, 11 Feb 2002 14:48:00 +0100 + +gdis (0.74.0.pre1-1) unstable; urgency=low + + * new upstream release from 2001-01-29 + * upstream fixed problem with changing dir to / + (closes: Bug#131506) + + -- Noel Koethe Wed, 30 Jan 2002 18:17:36 +0100 + +gdis (0.73.3-1) unstable; urgency=low + + * new upstream release + + -- Noel Koethe Wed, 23 Jan 2002 18:28:13 +0100 + +gdis (0.72.5-1) unstable; urgency=low + + * Initial Release. + (closes: Bug#100443) + + -- Noel Koethe Wed, 23 Jan 2002 16:28:13 +0100 + --- gdis-0.90.orig/debian/gdis.menu +++ gdis-0.90/debian/gdis.menu @@ -0,0 +1,6 @@ +?package(gdis): needs="x11" \ + section="Applications/Science/Chemistry" \ + title="gdis" \ + command="/usr/bin/gdis" \ + hints="molecular display" +# icon="/usr/share/pixmaps/" --- gdis-0.90.orig/debian/rules +++ gdis-0.90/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +override CFLAGS += -Wall + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + $(MAKE) -f makefile.debian + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + $(MAKE) -f makefile.debian clean + dh_clean build-stamp patch-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_install -i -XCVS + dh_installchangelogs -i CHANGELOG + dh_installdocs -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_install -a -XCVS + dh_installdocs -a + dh_installchangelogs -a CHANGELOG + dh_installman -a debian/gdis.1 + dh_installmenu -a +# dh_installmime -a + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- gdis-0.90.orig/debian/gdis.install +++ gdis-0.90/debian/gdis.install @@ -0,0 +1,2 @@ +gdis usr/bin/ +debian/gdis.desktop usr/share/applications/ --- gdis-0.90.orig/debian/README.source +++ gdis-0.90/debian/README.source @@ -0,0 +1,7 @@ +gdis source for Debian +---------------------- + +This package uses the `dpatch' patch management solution. See +/usr/share/doc/dpatch/README.source.gz. + + -- Daniel Leidert (dale) , Mar 2009 --- gdis-0.90.orig/debian/source.lintian-overrides +++ gdis-0.90/debian/source.lintian-overrides @@ -0,0 +1,3 @@ +# This file is created for Debian. I could also ship it inside debian/ to make +# lintian happy. But there it is better. +gdis source: patch-system-but-direct-changes-in-diff makefile.debian --- gdis-0.90.orig/debian/gdis.desktop +++ gdis-0.90/debian/gdis.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Name=GDIS Molecule Modeller +GenericName=Molecule Modeller +Comment=Model and manipulate molecules, and create high-quality renderings of them +Type=Application +Exec=gdis +Icon=gdis +Categories=GTK;Science;Chemistry;Education; --- gdis-0.90.orig/debian/gdis-data.install +++ gdis-0.90/debian/gdis-data.install @@ -0,0 +1,2 @@ +gdis.elements usr/share/gdis/ +models usr/share/gdis/ --- gdis-0.90.orig/debian/watch +++ gdis-0.90/debian/watch @@ -0,0 +1,4 @@ +# See uscan(1) for format + +version=3 +http://sf.net/gdis/gdis-(.+)-src\.tgz --- gdis-0.90.orig/debian/copyright +++ gdis-0.90/debian/copyright @@ -0,0 +1,48 @@ +This package was debianized by Noèl Köthe on Wed, +23 Jan 2002 16:28:13 +0100. It is currently maintained by the Debichem +team . + +It was downloaded from: + + http://sourceforge.net/projects/gdis + ftp://ftp.seul.org/pub/gdis + +Upstream Author: + + Sean Fleming + +Copyright: + + Copyright (C) 2000, 2003, 2008 by Sean David Fleming + + Copyright (C) 2005 by Marcin Wojdyr + Copyright (C) 2005 by Menno Deij + Copyright (C) 2004 University of New England. + Copyright (C) 2003 by Craig Andrew James Fisher + Copyright (C) 2003 Andrew Walker + Copyright (C) 2000-2008, Robert van Engelen, Genivia Inc. + Copyright (C) 1999 Kyle R. Burton + Copyright (C) 1996, 2003 S. Patchkovskii + Copyright (C) 1994-96 Ralf W. Grosse-Kunstleve + Copyright (C) 1993, 2003,2004 by Andrew Lloyd Rohl + Copyright (C) 1993 David E. Steward & Zbigniew Leyk + Copyright (C) 1993 by David H. Gay + +License: GPLv2+ + + 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. + + 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 Street, Fifth Floor, Boston, MA 02110-1301 USA. + + On Debian systems the complete text of the GNU General public license can be + found in `/usr/share/common-licenses/GPL-2'. --- gdis-0.90.orig/debian/gdis.docs +++ gdis-0.90/debian/gdis.docs @@ -0,0 +1,2 @@ +README +TODO --- gdis-0.90.orig/debian/README.Debian +++ gdis-0.90/debian/README.Debian @@ -0,0 +1,7 @@ +gdis for Debian +--------------- + +The included models of this package can be found +under /usr/share/gdis/models. + + -- Noèl Köthe --- gdis-0.90.orig/debian/patches/Debian_make.dpatch +++ gdis-0.90/debian/patches/Debian_make.dpatch @@ -0,0 +1,22 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## Debian_make.dpatch by Noèl Köthe +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix gdis.elements path, so it is not expected in /usr/bin +## DP: +## DP: +## DP: + +@DPATCH@ +diff -urNad gdis~/gdis.h gdis/gdis.h +--- gdis~/gdis.h 2008-09-25 03:35:40.000000000 +0200 ++++ gdis/gdis.h 2009-04-01 01:52:29.000000000 +0200 +@@ -92,7 +92,7 @@ + #define INIT_FILE ".gdisrc" + #endif + +-#define ELEM_FILE "gdis.elements" ++#define ELEM_FILE "../share/gdis/gdis.elements" + #define LIBRARY_FILE "gdis.library" + + /* --- gdis-0.90.orig/debian/patches/00list +++ gdis-0.90/debian/patches/00list @@ -0,0 +1 @@ +Debian_make