--- easychem-0.6.orig/debian/docs +++ easychem-0.6/debian/docs @@ -0,0 +1 @@ +TODO --- easychem-0.6.orig/debian/control +++ easychem-0.6/debian/control @@ -0,0 +1,20 @@ +Source: easychem +Section: science +Priority: optional +Maintainer: Christopher Peterman (Chris) +Build-Depends: debhelper (>= 4.0.0), libgtk2.0-dev, locales, docbook-xsl, docbook-xml ( >= 4.4 ), xsltproc +Standards-Version: 3.6.2 + +Package: easychem +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Draw high-quality molecules and chemical 2D formulas + EasyChem is a program that helps you with creating high quality diagrams of + molecules and 2D chemical forumulas that can be exported to PDF, PS, LaTeX + and fig. + . + EasyChem was originally developed to create diagrams for chemistry books and + is now frequently used for this purpose in commercial and non-commercial + chemistry-related books. + . + Homepage: http://easychem.sourceforge.net --- easychem-0.6.orig/debian/copyright +++ easychem-0.6/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Christopher Peterman (Chris) on +Sat, 12 Nov 2005 16:04:32 -0500. + +Downloaded from: http://easychem.sourceforge.net +Copyright Holder: +Copyright (C) 2003, 2004, 2005 Francois-Xavier Coudert + +License: + + 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; version 2 of the License. + + 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 + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + --- easychem-0.6.orig/debian/rules +++ easychem-0.6/debian/rules @@ -0,0 +1,113 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + + touch configure-stamp + +patch: patch-stamp + +patch-stamp: + dh_testdir + for i in $(CURDIR)/debian/patches/*.patch ; do patch -p1 < $$i; \ + done + touch patch-stamp + +build: patch build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) -f Makefile.linux all + + touch build-stamp + +unpatch: unpatch-stamp + +unpatch-stamp: + dh_testdir + if [ -e patch-stamp ]; then \ + for i in `ls debian/patches/*.patch|sort -r` ; do \ + patch -p1 -R < $$i ; \ + done ; \ + rm -f patch-stamp ; \ + fi + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) -f Makefile.linux clean + rm -f debian/easychem.1 + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/easychem. + $(MAKE) -f Makefile.linux install DESTDIR=$(CURDIR)/debian/easychem + # Convert the DocBook to manpage format so dh_installman can do its thing + /usr/bin/xsltproc -""-nonet -o debian/easychem.1 \ + /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \ + debian/easychem.1.xml + # Install the Desktop File + install -d $(CURDIR)/debian/easychem/usr/share/applications + install -o root -g root -m 644 $(CURDIR)/debian/easychem.desktop $(CURDIR)/debian/easychem/usr/share/applications + # Install the icon + install -d $(CURDIR)/debian/easychem/usr/share/pixmaps + install -o root -g root -m 644 $(CURDIR)/debian/easychem.xpm $(CURDIR)/debian/easychem/usr/share/pixmaps + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_desktop + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- easychem-0.6.orig/debian/changelog +++ easychem-0.6/debian/changelog @@ -0,0 +1,6 @@ +easychem (0.6-0ubuntu1) dapper; urgency=low + + * Initial release + * Sponsored upload for Christopher Peterman (Chris) + + -- Jonathan Riddell Tues, 20 Dec 2005 16:57:16 -0500 --- easychem-0.6.orig/debian/easychem.desktop +++ easychem-0.6/debian/easychem.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=EasyChem +GenericName= +Comment= +Icon=/usr/share/pixmaps/easychem.xpm +Exec=/usr/bin/easychem +Terminal=false +Categories=Application;Education;Science;Chemistry \ No newline at end of file --- easychem-0.6.orig/debian/easychem.menu +++ easychem-0.6/debian/easychem.menu @@ -0,0 +1 @@ +?package(easychem):needs="x11" section="Apps/Education" title="EasyChem" command="easychem" \ No newline at end of file --- easychem-0.6.orig/debian/compat +++ easychem-0.6/debian/compat @@ -0,0 +1 @@ +4 --- easychem-0.6.orig/debian/patches/01_install_rule.patch +++ easychem-0.6/debian/patches/01_install_rule.patch @@ -0,0 +1,31 @@ +diff -ur easychem-0.6/Makefile.linux easychem-0.6.patched/Makefile.linux +--- easychem-0.6/Makefile.linux 2005-11-30 15:32:29.000000000 -0500 ++++ easychem-0.6.patched/Makefile.linux 2005-11-30 15:35:39.000000000 -0500 +@@ -8,7 +8,7 @@ + #C_FLAGS="$(C_FLAGS) -DPSTOEDIT_PATH=/opt/bin" + + # Here we define the prefix where EasyChem will be installed +-PREFIX=/usr/local ++PREFIX=$(DESTDIR)/usr/bin + + # Optimisation and warning flags + C_FLAGS=-Wall -W -Wpointer-arith -O2 -pedantic -std=c99 -DUNIX -DI18N -DPREFIX=\"$(PREFIX)\" +@@ -17,8 +17,6 @@ + GTK_FLAGS=`pkg-config --cflags gtk+-2.0` + GTK_LIBS=`pkg-config --libs gtk+-2.0` + +- +- + # From now is the technical part of this Makefile which you shouldn't + # really need to change... + +@@ -66,3 +64,8 @@ + + # This is used to force an update + FORCE: ++ ++# Install rule patched in by Chris Peterman to allow Debianization ++install: easychem ++ install -d $(PREFIX) ++ install ./easychem $(PREFIX) +\ No newline at end of file --- easychem-0.6.orig/debian/easychem.xpm +++ easychem-0.6/debian/easychem.xpm @@ -0,0 +1,54 @@ +/* XPM */ +static char * easychem_xpm[] = { +"48 48 3 1", +" c None", +". c #FFFFFF", +"+ c #000000", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +".........+++++++++++++..........................", +".........+++++++++++++..........................", +".........+++++++++++++..........................", +".........++++++++++++...........................", +".........+++....................................", +".........+++....................................", +".........+++....................................", +".........+++....................................", +".........++++++++++++...........................", +".........+++++++++++++..+++++...................", +".........++++++++++++++++++++++.................", +".........+++++++++++++++++++++++................", +".........+++.......+++++++++++++................", +".........+++.......++++........+................", +".........+++......++++..........................", +".........+++......+++...........................", +".........+++.....+++............................", +".........+++.....+++............................", +".........+++++++++++++..........................", +".........+++++++++++++..........................", +".........+++++++++++++..........................", +"..........+++++++++++...........................", +".................+++............................", +"..................+++...........................", +"..................+++...........................", +"..................++++..........................", +"...................++++........+................", +"....................++++++++++++................", +"....................++++++++++++................", +"......................+++++++++.................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................", +"................................................"}; --- easychem-0.6.orig/debian/easychem.1.xml +++ easychem-0.6/debian/easychem.1.xml @@ -0,0 +1,58 @@ + + + + + + Christopher + Peterman + petermcv@clarkson.edu + + + 2005 + Christopher Peterman + + 2005-11-30 + + + easychem + 1 + + + easychem + A program to help you draw high-quality molecules and chemical 2D formulas + + + + easychem + + + + DESCRIPTION + + A program to help you draw high-quality molecules and chemical 2D formulas + + + EasyChem is a program that helps you with creating high quality diagrams of + molecules and 2D chemical forumulas that can be exported to PDF, PS, LaTeX + and fig. + + + + COPYRIGHT + + This manual page was written by Christopher Peterman + petermcv@clarkson.edu for the + Debian system, but permission is granted to use it for others. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License, + Version 2 or any later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL-2 + + + --- easychem-0.6.orig/debian/easychem.manpages +++ easychem-0.6/debian/easychem.manpages @@ -0,0 +1 @@ +debian/easychem.1 \ No newline at end of file