debian/0000755000000000000000000000000011755205122007166 5ustar debian/patches/0000755000000000000000000000000011755203652010623 5ustar debian/patches/series0000644000000000000000000000004211755203564012036 0ustar debian-changes-2.0-1 getpid.patch debian/patches/getpid.patch0000644000000000000000000000033011755203652013114 0ustar --- a/xdrawchem/application.cpp +++ b/xdrawchem/application.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include "defs.h" #include "drawable.h" debian/patches/debian-changes-2.0-10000644000000000000000000000561011561321136014024 0ustar Description: Upstream changes introduced in version 2.0-1 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . xdrawchem (2.0-1) unstable; urgency=low . * upgraded to the SVN subdir xdrawchem-qt4 published 3 years ago. it builds a release based on qt4. Closes: #604390 * changed the reference "/usr/local/share/xdrawchem2" to /usr/share/xdrawchem2 * changed the announced version number to 2.0, in order to distinguish this release from non-qt4 builds * fixed configure: changed qmake4 to qmake-qt4 * changed the target xdrawchem2 to xdrawchem in xdrawchem.pro * enforced the use of bash in configure . The person named in the Author field signed this changelog entry. Author: Georges Khaznadar Bug-Debian: http://bugs.debian.org/604390 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- /dev/null +++ xdrawchem-2.0/config.mak @@ -0,0 +1,3 @@ +INCLUDEPATH += /usr/include/openbabel-2.0 +LIBS += -lopenbabel +PREFIX = /usr --- xdrawchem-2.0.orig/xdrawchem.pro +++ xdrawchem-2.0/xdrawchem.pro @@ -1,5 +1,5 @@ TEMPLATE = app -TARGET = xdrawchem2 +TARGET = xdrawchem !exists(config.mak) { error(Please run the configure script first.) --- xdrawchem-2.0.orig/configure +++ xdrawchem-2.0/configure @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash PREFIX="/usr/local" ONLY_HELP="no" @@ -45,7 +45,7 @@ if [ "$ONLY_HELP" == "no" ] ; then echo "PREFIX = $PREFIX" >> config.mak echo -e "\nWill install in $PREFIX." echo -n "Creating Makefiles..." - qmake4 -o Makefile xdrawchem.pro + qmake-qt4 -o Makefile xdrawchem.pro echo -e " done.\n" fi --- xdrawchem-2.0.orig/xdrawchem/defs.h +++ xdrawchem-2.0/xdrawchem/defs.h @@ -6,7 +6,7 @@ // Ring directories (global, user) extern QString RingDir, HomeDir; -const QString VERSION = QString::fromLatin1("1.99.1"); +const QString VERSION = QString::fromLatin1("2.0"); // version string (makes updates easier :) #ifdef UNIX --- xdrawchem-2.0.orig/xdrawchem/main.cpp +++ xdrawchem-2.0/xdrawchem/main.cpp @@ -85,7 +85,7 @@ int main( int argc, char **argv ) } // set library directory (RINGDIR) #ifdef UNIX - QString dname( "/usr/local/share/xdrawchem2" ); + QString dname( "/usr/share/xdrawchem2" ); if ( dname.right( 1 ) != QString( "/" ) ) dname.append( QString( "/" ) ); debian/control0000644000000000000000000000122211755205070010570 0ustar Source: xdrawchem Section: science Priority: optional Maintainer: Georges Khaznadar Uploaders: Michael Banck Build-Depends: debhelper (>= 7.0.50~), quilt, bash (>= 4.0), pkg-config, libqt4-dev, kdelibs5-dev, libopenbabel-dev (>= 2.0.0) Standards-Version: 3.9.3 Package: xdrawchem Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Chemical structures and reactions editor Xdrawchem is a 2D editor for chemical structures and reactions. It mirrors the abilities of the commercial ChemDraw suite and has file compatibility with it as well as other chemical formats through OpenBabel. debian/xdrawchem.manpages0000644000000000000000000000002311561273640012665 0ustar debian/xdrawchem.1 debian/compat0000644000000000000000000000000211561270402010362 0ustar 7 debian/xdrawchem.10000644000000000000000000000354611561273441011246 0ustar .\" Title: XDRAWCHEM .\" Author: Warren Stramiello .\" Generator: DocBook XSL Stylesheets v1.71.0 .\" Date: 11/14/2006 .\" Manual: User manuals .\" Source: xdrawchem .\" .TH "XDRAWCHEM" "1" "11/14/2006" "xdrawchem" "User manuals" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" xdrawchem \- open\-source chemical structures editor similar to ChemDraw .SH "SYNOPSIS" .HP 10 \fBxdrawchem\fR [\fIINPUT\-FILE\fR] [\fBOPTION(S)\fR...] [\fIOUTPUT\-FILE\fR] .SH "DESCRIPTION" .PP \fBxdrawchem\fR is a program that attempts to duplicate the functionality of ChemDraw, a molecule structure drawing application. It operates in much the same fashion, and should be highly familiar to users of ChemDraw. .PP \fBxdrawchem\fR has file compatibility with Chemdraw and MDL files. It can also create images in popular formats like PNG and EPS. .SH "OPTIONS" .PP \fBxdrawchem\fR accepts the following options: .PP \fB\-png\fR \fIOUTPUT\-FILE\fR .RS 3n Create a PNG image of an input file and exit. .RE .PP \fB\-t \-png\fR \fIOUTPUT\-FILE\fR .RS 3n Create a transparent PNG image of an input file and exit. .RE .PP \fB\-3d\fR \fIOUTPUT\-FILE\fR .RS 3n Create a Make 3D model of input file and output a MDL mofile. .RE .PP \fB\-h\fR, \fB\-\-help\fR .RS 3n Show summary of options. .RE .PP \fB\-v\fR, \fB\-\-version\fR .RS 3n Show version of program. .RE .SH "AUTHORS" .PP \fBWarren Stramiello\fR <\&stramiello@debian.org\&> .sp -1n .IP "" 3n Wrote this manpage for the Debian GNU/Linux system. .PP \fBDaniel Leidert\fR <\&daniel.leidert@wgdd.de\&> .sp -1n .IP "" 3n Updates for this manpage. .SH "COPYRIGHT" Copyright \(co 2004\-2005 Warren Stramiello .br Copyright \(co 2005\-2006 Daniel Leidert .br .PP This manpage was written for the Debian distribution, but may be used by others. .br debian/copyright0000644000000000000000000000505211561274541011131 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: xdrawchem Source: svn export https://xdrawchem.svn.sourceforge.net/svnroot/xdrawchem/trunk/xdrawchem-qt4 Files: * Copyright: 2001-2005 Bryan Herger 2001 Christoph Steinbeck (contributions) License: GPL version 2+ see `/usr/share/common-licenses/GPL-2'. Files: xdrawchem/sdg.h xdrawchem/setofrings.h xdrawchem/ring.h Copyright: 1997-2000 The JChemPaint project License: GNU Lesser General Public License 2.1 as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . see `/usr/share/common-licenses/LGPL-2.1' Files: xdrawchem/boshcp.h xdrawchem/application.cpp xdrawchem/CMakeFiles/xdrawchem.dir/application.cpp.o xdrawchem/sorf.h xdrawchem/boshcp.cpp xdrawchem/molecule_smiles.cpp Copyright: 1997 - 2000 Dr. Christoph Steinbeck License: artistic license This software is published and distributed under artistic license. The intent of this license is to state the conditions under which this Package may be copied, such that the Copyright Holder maintains some semblance of artistic control over the development of the package, while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, plus the right to make reasonable modifications. . THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. . The complete text of the license can be found in a file called LICENSE accompanying this package. Files: debian/* Copyright: 2011 Georges Khaznadar 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/source/0000755000000000000000000000000011561270402010464 5ustar debian/source/format0000644000000000000000000000001411561270402011672 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000054111561270757011360 0ustar xdrawchem for Debian -------------------- this package has bee downloaded with the command: svn export https://xdrawchem.svn.sourceforge.net/svnroot/xdrawchem/trunk/xdrawchem-qt4 xdrawchem-2.0 The modifications are managed by quilt, see '/usr/share/doc/quilt/README.source' -- Georges Khaznadar , Sat, 7 May 2011 18:23:11 +0200 debian/menu0000644000000000000000000000017311561300453010054 0ustar ?package(xdrawchem):needs="X11" section="Applications/Science/Chemistry"\ title="xdrawchem" command="/usr/bin/xdrawchem" debian/changelog0000644000000000000000000002746011755205052011053 0ustar xdrawchem (2.0-2) unstable; urgency=low * applied Cyril Brulebois' patch. Closes: #667420 * upgraded Standards-Version to 3.9.3 * made a versioned build-dependency on bash -- Georges Khaznadar Thu, 17 May 2012 13:45:06 +0000 xdrawchem (2.0-1) unstable; urgency=low * upgraded to the SVN subdir xdrawchem-qt4 published 3 years ago. it builds a release based on qt4. Closes: #604390 * changed the reference "/usr/local/share/xdrawchem2" to /usr/share/xdrawchem2 * changed the announced version number to 2.0, in order to distinguish this release from non-qt4 builds * fixed configure: changed qmake4 to qmake-qt4 * changed the target xdrawchem2 to xdrawchem in xdrawchem.pro * enforced the use of bash in configure -- Georges Khaznadar Sat, 07 May 2011 19:31:30 +0200 xdrawchem (1.99.1+svn20110402-1) unstable; urgency=low * upgraded to a new upstream version which implements the use of Qt4 -- Georges Khaznadar Sun, 03 Apr 2011 00:43:40 +0200 xdrawchem (1.9.9-6) unstable; urgency=low * modified the source to make them compatible with Qt4. * lauched am2cmake, removed Makefile.am, automoc, autoscan* and config*, etc. files * modified CMakeLists.txt to define subdirs, and other CMakeLists.txt in subdiretories to define install paths * hacked many Qt3 former definitions * removed direct integration of XPM files in the application source -- Georges Khaznadar Sat, 26 Feb 2011 13:50:46 +0100 xdrawchem (1.9.9-5) unstable; urgency=low * fixed the segfault when saving an empty data. Closes: #379391 * applied Daniel Leidert's patch. Closes: #405131 * tried to reproduce the bug described by Robert Lemmen (at version 1.7.4), entered the SMILES string "nh4" without triggering a segfault. LI Daobing considered already this as non-reproducible since version 1.9.9-3. Closes: #215409 * removed the build dependency on libqt3-compat-headers. Closes: #464921 * the change in debian/menu already done ... Closes: #482934 -- Georges Khaznadar Wed, 02 Feb 2011 22:16:59 +0100 xdrawchem (1.9.9-4.2) unstable; urgency=low * adopted the package: Closes #513160 * the build can be done with the current version of libqt4-dev, changed the Conflicts: to libqt4-dev (<< 4:4.6.3-4) * upgraded Standards-Version to 3.9.1 * added a missing "#include " in molinfodialog.cpp * added debian/README.source * added a "${misc:Depends}" into debian/changelog * wrote 7 into debian/compat * removed the "-1 dependencies" from debian/control * added a test to check Makefile before launching a make * changed the layout of debian/copyright added e-mail addresses of the authors * removed some "generic" words coming from the template in README.debian and fixed a typo in the same file. * changed Apps/Science to Applications/Science/Chemistry in debian/menu -- Georges Khaznadar Tue, 01 Feb 2011 23:17:43 +0100 xdrawchem (1.9.9-4.1) unstable; urgency=medium * Non-maintainer upload. * debian/patches/04_shellescape.dpatch: - Fix location of patched files (Closes: #560527). -- Luca Falavigna Wed, 14 Jul 2010 14:59:08 +0000 xdrawchem (1.9.9-4) unstable; urgency=low [ Li Daobing ] * debian/xdrawchem.desktop: fix warning for desktop-file-validate. * FTBFS with GCC 4.3: missing #includes (Closes: #417776) - debian/patches/05_ftbfs_with_gcc_4.3.dpatch: added - debian/patches/00list: updated * debian/watch: added * build conflicts with libqt4-dev [ Michael Banck ] * debian/patches/06_online_search_crash.patch: New patch by Tom Mortimer-Jones; fixes crash when not choosing a result from an online search. (Closes Malone: #112644) -- Michael Banck Mon, 14 May 2007 14:06:41 +0200 xdrawchem (1.9.9-3) unstable; urgency=medium [ Daniel Leidert ] * debian/copyright: Fixed outdated FSF address (fixes lintian warning). * debian/control (Standards-Version): Changed to latest standards version 3.7.2 (fixes lintian warning). (Build-Depends): Fixed debhelper version dependency to fit compat level (fixes linda error). (Build-Conflicts): Added build-conflicts in accordance to autotools-dev README.Debian. * debian/docs: Removed GPL.txt, COPYRIGHT.txt and HISTORY.txt, which are in the html docs too. Further the information they provide is already available as changelog.gz, copyright and /usr/share/common-licenses/GPL. * debian/rules: Cleaned. - Added dh_clean to clean target instead of removing the debhelper files manually. - Removed documentation movement. - Avoid compression of html/*.txt. * debian/xdrawchem.manpages: Added (fixes lintian warning). * debian/xdrawchem.1: Updated manpage. * debian/patches/02_documentation_root.dpatch: Fixed. - doc/Makefile.am (htmldir): Install documentation into /usr/share/doc/xdrawchem/html. - doc/HISTORY.txt: Update the outdated copy from HISTORY.txt. - xdrawchem/application.cpp (ApplicationWindow::NewManual): Removed leading RingDir variable in the manual path, so that it points to the right location. (ApplicationWindow::HelpTopic): Also fix the path for the topic-specific help. [ Michael Banck ] * Set urgency to medium. -- Michael Banck Tue, 14 Nov 2006 23:01:52 +0100 xdrawchem (1.9.9-2) unstable; urgency=high * Urgency high due to RC bug fix. * Sync with Ubuntu. * debian/patches/04_shellescape.dpatch: New patch by Steinar H. Gunderson, fixes handling of filenames with non-ascii characters. (Closes: #360490) * debian/rules (configure-stamp): Run autoreconf. * debian/control (Build-Depends): Added automake1.9, autoconf and libtool. -- Michael Banck Mon, 13 Nov 2006 00:04:48 +0100 xdrawchem (1.9.9-1ubuntu1) edgy; urgency=low * Re-sync with Debian * Add desktop file from Phil Bull. (Closes Malone: #36446) * Install icon file in /usr/share/pixmaps -- Barry deFreese Wed, 12 Jul 2006 22:54:52 -0400 xdrawchem (1.9.9-1) unstable; urgency=low * New upstream release. * Switch to dpatch and debhelper. * Switch to openbabel-2.0 (Closes: #360490) * Bumped Standards-Version to 3.6.2. -- Michael Banck Sat, 22 Apr 2006 00:25:24 +0200 xdrawchem (1.9.8-2) unstable; urgency=low * Rewrote short and long descriptions (Closes: #337069) * Look for online documentation in /usr/share/doc/xdrawchem rather than /usr/share/xdrawchem/doc (Closes: #337752) * Applied patch by Jens Seidel to fix german translation (Closes: #313855) -- Michael Banck Sun, 20 Nov 2005 18:07:30 +0100 xdrawchem (1.9.8-1) unstable; urgency=low * New upstream release * Build-Depend on g++-4.0 transitioned package versions of libopenbabel and libqt3-mt (Closes: #323422) -- Michael Banck Mon, 22 Aug 2005 00:27:40 +0200 xdrawchem (1.9.6-1) unstable; urgency=low * New upstream release - Selecting 'Cut' from the context menu no longer produces a segfault (Closes: #303440) -- Michael Banck Sun, 19 Jun 2005 14:48:05 +0200 xdrawchem (1.9.4-3) unstable; urgency=low * Added some more bogus warnings to xdrawchem/boshcp.cpp. -- Michael Banck Fri, 8 Apr 2005 00:40:30 +0200 xdrawchem (1.9.4-2) unstable; urgency=low * Added a bogus warning to xdrawchem/boshcp.cpp to translate activity to the buildds. -- Michael Banck Tue, 5 Apr 2005 18:40:14 +0200 xdrawchem (1.9.4-1) unstable; urgency=low * New upstream release (Closes: #292288) - EPS export now supports color (Closes: #292289) * Quote values in menu entry (Thanks, Li Daobing) * Honor 'noopt' in DEB_BUILD_OPTIONS (Thanks, Li Daobing) -- Michael Banck Fri, 1 Apr 2005 02:03:18 +0200 xdrawchem (1.8.5-1) unstable; urgency=low * New upstream release (Closes: #261504) - Italian translation has been integrated (Closes: #239160) -- Michael Banck Sat, 7 Aug 2004 03:14:47 +0200 xdrawchem (1.7.8-2) unstable; urgency=low * debian/menu: Changed section from math to science -- Michael Banck Sun, 28 Mar 2004 14:45:33 +0200 xdrawchem (1.7.8-1) unstable; urgency=low * New upstream release * debian/xdrawchem.1: Updated manpage * debian/*ex: Removed unneeded debhelper template files -- Michael Banck Thu, 4 Mar 2004 21:39:55 +0100 xdrawchem (1.7.6-1) unstable; urgency=low * Michael Banck joined as co-maintainer * New upstream release - 'Find on Internet/CAS' seems to work properly now (Closes: #215410) * A recompile brings back dependencies (Closes: #215406) * debian/control: - Added Build-Depends on libopenbabel-dev - Added myself to Uploaders: * debian/rules: Use CXXFLAGS=-g, as -O2 lets g++ choke on chemdata_rxn.cpp * config.guess, config.sub: Updated from latest version in autotools-dev (Closes: #202528) * Acknowledge NMUs (Closes: #98056, #99919, #120810, #121872, #171945, #125526, #119421, #135784) -- Michael Banck Mon, 19 Jan 2004 01:13:58 +0100 xdrawchem (1.7.4-0.1) unstable; urgency=low * Maintainer Release (Back Finally!) * New upstream release -- Warren Stramiello Thu, 31 Jul 2003 21:03:18 -0400 xdrawchem (1.7.3-0.1) unstable; urgency=low * Non Maintainer Upload * New upstream release (Closes: #171945) - This seems to fix segfaults when removing bonds (Closes: #179979) * debian/rules: - Export $QTDIR - Added a configure-target to debian/rules and removed the now unneccesary variables from the $MAKE call - Put html-documentation under /usr/share/doc/xdrawchem/html - Changed call from clean to distclean in clean-target * debian/control: - Removed Recommends on openbabel as it is now part of the source tree - Use libqt3 as Build-Depends (Closes: #198550) * openbabel/Makefile.in: - Remove object files in openbabel/math on clean, too - Don't install the babel executable, xdrawchem is linked statically to libopenbabel.a - Put the openbabel data files into /usr/share/xdrawchem to prevent conflicts with the openbabel package * configure: Add openbabel/version.h to ac_config_files -- Michael Banck Sat, 19 Jul 2003 15:19:31 +0200 xdrawchem (1.0-0.1) unstable; urgency=low * Non Maintainer Upload, with permission * New upstream release (Closes: #135784) * Fixed description (Closes: #125526) * Moved Ring templates from /usr/lib/xdrawchem to /usr/share/xdrawchem (Closes: #121872) * Added INSTRING and MOC to Debian build-target * Added a Recommends: openbabel as xdrawchem can now take advantage of babel for import/export -- Michael Banck Thu, 28 Feb 2002 19:47:52 +0100 xdrawchem (0.99.4-0.1) unstable; urgency=low * Non Maintainer Upload, with permission * New upstream release (Closes: #119421) * Included templates in /usr/lib/xdrawchem (Closes: #107628, #98056) * Fixed Menu entry (Closes: #120810) * Fixed manpage (Closes: #99919) and included it in the Debian diff * Added Build-depends * Changed debian/copyright to point to /usr/share/common-licenses/GPL * Added HISTORY.txt as upstream ChangeLog * Fixed Copyright notice in debian/copyright -- Michael Banck Tue, 27 Nov 2001 20:07:46 +0100 xdrawchem (0.85-1.1) unstable; urgency=low * NMU * render2d.cpp: add #include for abs() prototype (Closes: #104973) -- Branden Robinson Fri, 28 Sep 2001 12:35:58 -0500 xdrawchem (0.85-1) unstable; urgency=low * Initial release. -- Warren Stramiello Wed, 9 May 2001 16:02:28 -0400 Local variables: mode: debian-changelog End: debian/rules0000755000000000000000000000113011561316433010244 0ustar #!/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 %: dh $@ #override_dh_auto_configure: # ./configure --prefix=/usr #override_dh_auto_clean: # rm -rf .obj xdrawchem/.obj # [ ! -f Makefile ] || make clean # dh_cleandebian/xdrawchem.dirs0000644000000000000000000000004511561273757012050 0ustar usr/bin usr/share/doc/xdrawchem/html