debian/0000755000000000000000000000000012150676424007175 5ustar debian/rasmol-doc.install0000644000000000000000000000073112150676424012626 0ustar manualA4.pdf usr/share/doc/rasmol-doc refcardA4.pdf usr/share/doc/rasmol-doc RASLIC usr/share/doc/rasmol-doc ChangeLog.html usr/share/doc/rasmol-doc README.html usr/share/doc/rasmol-doc TODO.html usr/share/doc/rasmol-doc history.html usr/share/doc/rasmol-doc doc/rasmol.html usr/share/doc/rasmol-doc/html doc/NOTICE.html usr/share/doc/rasmol-doc/html html_graphics/* usr/share/doc/rasmol-doc/html_graphics debian/control0000644000000000000000000000411712150676424010603 0ustar Source: rasmol Section: science Priority: optional Maintainer: Debian Science Maintainers Uploaders: Teemu Ikonen Vcs-Browser: http://git.debian.org/?p=debian-science/packages/rasmol.git Vcs-Git: http://git.debian.org/git/debian-science/packages/rasmol.git Homepage: http://rasmol.org Build-Depends: debhelper (>= 8), dpkg-dev (>= 1.16.1~), xutils-dev, libx11-dev, libxext-dev, libxi-dev, x11proto-core-dev, libvte-dev, libgtk2.0-dev (>= 2.12.0), libcbf-dev, libcvector2-dev, libcqrlib2-dev, libcneartree-dev Standards-Version: 3.9.4 Package: rasmol Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: rasmol-doc Description: Visualize biological macromolecules RasMol is a molecular graphics program intended for the visualisation of proteins, nucleic acids and small molecules. The program is aimed at display, teaching and generation of publication quality images. . The program reads in a molecule coordinate file and interactively displays the molecule on the screen in a variety of colour schemes and molecule representations. Currently available representations include depth-cued wireframes, 'Dreiding' sticks, spacefilling (CPK) spheres, ball and stick, solid and strand biomolecular ribbons, atom labels and dot surfaces. . Supported input file formats include Protein Data Bank (PDB), Tripos Associates' Alchemy and Sybyl Mol2 formats, Molecular Design Limited's (MDL) Mol file format, Minnesota Supercomputer Center's (MSC) XYZ (XMol) format, CHARMm format, CIF format and mmCIF format files. . This package installs two versions of RasMol, rasmol-gtk has a modern GTK-based user interface and rasmol-classic is the version with the old Xlib GUI. Package: rasmol-doc Architecture: all Section: doc Depends: ${misc:Depends} Enhances: rasmol Description: Documentation for rasmol Extra documentation for Rasmol, a program to visualize biological macromolecules. Included are the Rasmol manual in various formats, a command reference card and a copy of the openrasmol website, http://rasmol.org. debian/rasmol.prerm0000644000000000000000000000026712150676424011546 0ustar #!/bin/sh set -e #DEBHELPER# if [ "$1" = "remove" ]; then update-alternatives --remove rasmol /usr/bin/rasmol-gtk update-alternatives --remove rasmol /usr/bin/rasmol-classic fi debian/rasmol.docs0000644000000000000000000000004212150676424011340 0ustar NOTICE README.txt TODO.txt RASLIC debian/rasmol-doc.doc-base.manual0000644000000000000000000000045412150676424014113 0ustar Document: rasmol-manual Title: Rasmol Manual Author: Roger Sayle and others. Abstract: Manual for Rasmol Section: Science/Chemistry Format: PDF Files: /usr/share/doc/rasmol-doc/manualA4.pdf Format: HTML Index: /usr/share/doc/rasmol-doc/html/rasmol.html Files: /usr/share/doc/rasmol-doc/html/*.html debian/README.source0000644000000000000000000000422712150676424011361 0ustar Notes on this Debian source package =================================== Source package format --------------------- These Debianized sources are in the standard '3.0 (quilt)' dpkg source format. The patches in 'debian/patches' are generated from the git repository of the package (see the Vcs-Git field in debian/control) by diffing the 'upstream' branch with the corresponding patch branch ('p/*'). Making a change to the package sources does not require working with the git repository. The package can be changed in a normal way by either adding a new patch to 'debian/patches' or by changing the sources directly and letting dpkg-source build the additional patch during source package creation. Working with the packaging git repository ----------------------------------------- If you want to incorporate your patch to the git repository of this package, here are some hints. Some scripts to automate the patch and series file generation and other tasks can be found at http://gitorious.org/gdp The 'master' branch of the git repository always contains the complete patched sources, ready to be built by 'debuild' or a similar command. Commits modifying the upstream sources should go directly to the master branch, but should also be cherry picked to a specific patch branch, in order to be included in a separate patch file in the final source package. Note that the patch branches do not form a patch stack, all of them should be branched from unmodified upstream sources. The patches to be generated and the order of patch application are determined by DEP-3 header information files in 'debian/metapatches'. The patches are created and applied in lexicographic ordering of the patch header files, so if a specific ordering of the patch files is needed, these files should be named like 'NN_name', where NN is a number, to force the ordering. The header field 'X-git-branch' in the metapatch file points to the git branch used to generate the patch file. Upstream modifying commits not included in any of the patch branches will be placed by dpkg-source to the catchall patch 'debian/patches/debian-changes-{version}', but having this patch in a released version is discouraged. debian/metapatches/0000755000000000000000000000000012150676424011473 5ustar debian/metapatches/10_gtk-tiff-lzw0000644000000000000000000000017712150676424014250 0ustar From: Teemu Ikonen Subject: Write TIFFs with LZW compression in GTK version. X-git-branch: p/gtk-tiff-lzw debian/metapatches/08_manfix0000644000000000000000000000013712150676424013210 0ustar From: Teemu Ikonen Subject: Rasmol man page fixes. X-git-branch: p/manfix debian/metapatches/04_imakefile0000644000000000000000000000015012150676424013643 0ustar From: Teemu Ikonen Subject: Debian changes to Imakefile. X-git-branch: p/imakefile debian/metapatches/06_spinbuttons0000644000000000000000000000042212150676424014311 0ustar From: Teemu Ikonen Subject: Set zero page size to GtkSpinButtons in export dialog. X-git-branch: p/spinbuttons Fixes deprecation warning from GTK. Also re-save the sizechooser.glade file in glade, causing some reordering in the XML file. debian/metapatches/11_glibsubheaders0000644000000000000000000000043212150676424014701 0ustar From: Teemu Ikonen Subject: Do not include individual glib headers. X-git-branch: p/glibsubheaders Starting with glib 2.32 it is now mandatory to include glib.h instead of individual headers, or the compiler will generate an error. Fixes Debian bug #665605. debian/metapatches/01_gtkabout0000644000000000000000000000020712150676424013535 0ustar From: Teemu Ikonen Subject: Fix icon in GTK About dialog. X-git-branch: p/gtkabout Fix icon in GTK About dialog. debian/metapatches/05_intwidth0000644000000000000000000000017212150676424013554 0ustar From: Teemu Ikonen Subject: rasmol.h: Use C99 exact-width ints in typedefs. X-git-branch: p/intwidth debian/metapatches/07_gtkexport0000644000000000000000000000106712150676424013757 0ustar From: Teemu Ikonen Subject: Fix segfault in image export with GTK. X-git-branch: p/gtkexport File->Export segfaulted when the exported image size was different from the image buffer size currently on the screen. The fix is to not try to render to user supplied buffer in render_buffer(), but to copy FBuffer to the supplied buffer after resizing. Also fixed the temporary image buffer allocation in export_cb() to use sizeof(Pixel) instead of 4. Also, replace int with uintptr_t when casting pointers to ints. debian/metapatches/12_format-security0000644000000000000000000000031512150676424015054 0ustar From: Teemu Ikonen Subject: Make rasmol compile with -Werror=format-security X-git-branch: p/format-security Fix sprintf calls which fail when compiling with -werror=format-security. debian/rasmol-gtk.desktop0000644000000000000000000000062112150676424012647 0ustar [Desktop Entry] Version=1.0 Name=RasMol (GTK version) Name[en_GB]=RasMol (GTK version) GenericName=Molecular Graphics Visualization GenericName[en_GB]=Molecular Graphics Visualisation Comment=View macro-molecules and prepare publication-quality images of them Type=Application Exec=rasmol-gtk %F Icon=rasmol Terminal=false MimeType=chemical/x-pdb;chemical/x-xyz; Categories=Science;Education;Biology; debian/rasmol-classic.sh.debian0000644000000000000000000000147612150676424013676 0ustar #!/bin/sh # rasmol.sh # RasMol Molecular Graphics # Roger Sayle, August 1995 # Version 2.6 # script modified for linux # John Lapeyre #Wed, 12 Aug 1998 21:34:40 -0700 # # Example Environment Variables # RASMOLPATH=/usr/lib/rasmol export RASMOLPATH RASMOL_VISUAL=8 if [ -e /usr/bin/X11/xwininfo ]; then RASMOL_VISUAL=`xwininfo -root | perl -ne 'chomp;print if s|\s+Depth:\s+||'` ; fi if [ -e "/etc/rasmol/.rasmol.conf" ]; then . /etc/rasmol/.rasmol.conf; fi if [ -e ~/.rasmol.conf ]; then . ~/.rasmol.conf; fi case "$1" in -8) RASMOL_VISUAL=8 shift;; -16) RASMOL_VISUAL=16 shift;; -24) RASMOL_VISUAL=32 shift;; -32) RASMOL_VISUAL=32 shift;; esac #echo Using binary rasmol.$RASMOL_VISUAL if [ $RASMOL_VISUAL = 24 ]; then RASMOL_VISUAL=32; fi $RASMOLPATH/rasmol.$RASMOL_VISUAL $* debian/rules0000755000000000000000000000352312150676424010260 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk build-gtk: src/rasmol-gtk src/rasmol-gtk: dh_testdir -rm -f x11-stamp cd $(CURDIR)/src ; xmkmf -DGTKWIN ; cd $(CURDIR) $(MAKE) -C src clean; $(MAKE) -C src mv src/rasmol src/rasmol-gtk build-x11: src/rasmol.8 src/rasmol.16 src/rasmol.32 x11-stamp: cd $(CURDIR)/src ; xmkmf -DX11WIN ; cd $(CURDIR) touch $@ src/rasmol.8: x11-stamp dh_testdir $(MAKE) -C src clean; $(MAKE) -C src DEPTHDEF=-DEIGHTBIT=1 rasmol mv src/rasmol src/rasmol.8 src/rasmol.16: x11-stamp dh_testdir $(MAKE) -C src clean; $(MAKE) -C src DEPTHDEF=-DSIXTEENBIT=1 rasmol mv src/rasmol src/rasmol.16 src/rasmol.32: x11-stamp dh_testdir $(MAKE) -C src clean; $(MAKE) -C src DEPTHDEF=-DTHIRTYTWOBIT=1 rasmol mv src/rasmol src/rasmol.32 build-arch: build-gtk build-x11 build-indep: dh_testdir zcat doc/manualA4.pdf.gz > manualA4.pdf zcat doc/refcardA4.pdf.gz > refcardA4.pdf build: build-arch build-indep clean: dh_testdir dh_testroot if [ -f src/Makefile ] ; then $(MAKE) -C src distclean ; fi -rm -f src/rasmol-gtk src/rasmol.32 src/rasmol.16 src/rasmol.8 -rm -f src/gtkui.h -rm -f manualA4.pdf refcardA4.pdf -rm -f x11-stamp dh clean override_dh_compress: dh_compress -X.pdf override_dh_installchangelogs: dh_installchangelogs ChangeLog.txt install: dh install install -D -m 755 debian/rasmol-classic.sh.debian \ $(CURDIR)/debian/rasmol/usr/bin/rasmol-classic install -D -m u=rw,go=r debian/rasmol.bash_completion \ $(CURDIR)/debian/rasmol/etc/bash_completion.d/rasmol binary-indep: build install dh binary-indep binary-arch: build install dh binary-arch binary: binary-arch binary-indep .PHONY: build build-arch build-indep build-gtk build-x11 clean binary-indep binary-arch binary install debian/rasmol.links0000644000000000000000000000021012150676424011525 0ustar usr/share/man/man1/rasmol.1.gz usr/share/man/man1/rasmol-gtk.1.gz usr/share/man/man1/rasmol.1.gz usr/share/man/man1/rasmol-classic.1.gz debian/watch0000644000000000000000000000011612150676424010224 0ustar version=3 ftp://ftp.bernstein-plus-sons.com/software/RasMol_([\d.]+)\.tar\.gz debian/rasmol.xpm0000644000000000000000000002463412150676424011231 0ustar /* XPM */ static char * rasmol_small_xpm[] = { "32 32 526 2", " c None", ". c #9495AE", "+ c #8D8FB6", "@ c #908FC6", "# c #9B9AD4", "$ c #AAA8E1", "% c #B0AFE1", "& c #B0B1D9", "* c #717290", "= c #7C7DAC", "- c #9090C5", "; c #A3A3DC", "> c #B3B4E7", ", c #CAC9EE", "' c #D3D3F3", ") c #D5D3FA", "! c #C8C7F0", "~ c #73728F", "{ c #6E6D98", "] c #8685C0", "^ c #9794D0", "/ c #B1AFE5", "( c #C3C2ED", "_ c #D9D8F4", ": c #EAE8F9", "< c #EEEDFB", "[ c #E6E8F8", "} c #CDCBF2", "| c #A1A1AB", "1 c #5E5D83", "2 c #7473A5", "3 c #8A89C4", "4 c #9E9BD8", "5 c #B6B3E8", "6 c #CAC9F2", "7 c #E0E1F6", "8 c #F4F3FA", "9 c #FEFEFE", "0 c #F9FBFC", "a c #E2E3F7", "b c #C1BEE7", "c c #5B5B70", "d c #62608B", "e c #7575A6", "f c #8B8AC4", "g c #9C99D6", "h c #B6B2EB", "i c #C8C6F3", "j c #DEDFF7", "k c #F2F0FA", "l c #FDFCFD", "m c #FBFBFC", "n c #EAEBF4", "o c #CCCAF2", "p c #66647C", "q c #656392", "r c #7474A4", "s c #8786BE", "t c #9896D1", "u c #AEABE6", "v c #C0BDF1", "w c #D6D5F7", "x c #E9E6F9", "y c #F5F4FA", "z c #F6F5F9", "A c #E5E4F8", "B c #CECDFA", "C c #AAA9D9", "D c #5E5C75", "E c #605E89", "F c #7271A4", "G c #8283BA", "H c #9292CC", "I c #A4A3DF", "J c #B5B2E9", "K c #C9C6F4", "L c #D9D6FA", "M c #E2E1F8", "N c #E5E3F8", "O c #D9D7F7", "P c #C2C1F1", "Q c #A8A6DD", "R c #5C5A73", "S c #59587E", "T c #6B6B9B", "U c #7D7CB4", "V c #8C89C4", "W c #9A99D9", "X c #A5A7E3", "Y c #B5B3E9", "Z c #C2C1F2", "` c #CAC9F6", " . c #CCCBF7", ".. c #C2C0F1", "+. c #B1AFE9", "@. c #9D99D4", "#. c #605E78", "$. c #525275", "%. c #646590", "&. c #7576AB", "*. c #8281B6", "=. c #9090CC", "-. c #9B9BD7", ";. c #A8A8DF", ">. c #B1B1E7", ",. c #B8B7EE", "'. c #B6B6EF", "). c #B0B0E8", "!. c #A5A2DF", "~. c #918DC5", "{. c #6C6A7E", "]. c #4A4A68", "^. c #5A5A81", "/. c #6C6C9D", "(. c #7677AB", "_. c #8584BD", ":. c #908DC7", "<. c #9998CF", "[. c #9E9DD6", "}. c #A3A2DD", "|. c #9FA1DE", "1. c #9A9BD5", "2. c #9291CD", "3. c #7F7F89", "4. c #494864", "5. c #4F4E73", "6. c #6D6D82", "7. c #8887A0", "8. c #7E7BAB", "9. c #8481B8", "0. c #8B88C2", "a. c #928EC9", "b. c #9490CB", "c. c #9292CB", "d. c #8B8BC9", "e. c #8684C0", "f. c #66667B", "g. c #4F4C61", "h. c #A9AA8C", "i. c #EAEBC8", "j. c #ADABB9", "k. c #7371A1", "l. c #7B78AD", "m. c #7F7CB4", "n. c #807DB7", "o. c #7E7EB2", "p. c #7876AE", "q. c #9797A0", "r. c #7D7D74", "s. c #D7D9A8", "t. c #F3F4CA", "u. c #9DA298", "v. c #656792", "w. c #6D6C99", "x. c #6F6D9D", "y. c #706DA2", "z. c #6D6C9C", "A. c #656589", "B. c #CCCDBA", "C. c #BCC095", "D. c #EFF1C6", "E. c #DBDCB7", "F. c #5C5D61", "G. c #4E4E71", "H. c #54527C", "I. c #59567F", "J. c #575672", "K. c #66656F", "L. c #BABA9E", "M. c #C5C5A8", "N. c #D6D8A7", "O. c #F2F0CE", "P. c #CACCAC", "Q. c #7F7E86", "R. c #676877", "S. c #6A697D", "T. c #7E7E8D", "U. c #7F817F", "V. c #7C7F62", "W. c #C2C38E", "X. c #D7D7B3", "Y. c #ADACC9", "Z. c #B0AECF", "`. c #BAB9D7", " + c #CAC7DD", ".+ c #B3B3A3", "++ c #EBECC8", "@+ c #DFE0B6", "#+ c #77785C", "$+ c #A7A678", "%+ c #C8C899", "&+ c #C7C9CD", "*+ c #ABADCA", "=+ c #B0B1D2", "-+ c #B7B8D3", ";+ c #8D8BB1", ">+ c #8D89C0", ",+ c #9B99D3", "'+ c #A7A6DE", ")+ c #B3B3E7", "!+ c #B3B2E4", "~+ c #B4B6CF", "{+ c #CDCDD3", "]+ c #D0D3AF", "^+ c #878579", "/+ c #83835C", "(+ c #BABC80", "_+ c #AFAFAB", ":+ c #9B9ACE", "<+ c #A5A7DD", "[+ c #B2B3E4", "}+ c #B7B6E4", "|+ c #BABADF", "1+ c #73718B", "2+ c #74749A", "3+ c #8987C1", "4+ c #9997D3", "5+ c #AEAFE3", "6+ c #BFC1EF", "7+ c #D2D4F7", "8+ c #D9DBF6", "9+ c #D5D7F1", "0+ c #C5C3EB", "a+ c #BCBBD6", "b+ c #888694", "c+ c #686D56", "d+ c #9B9E6E", "e+ c #C2C2A2", "f+ c #B7B6D7", "g+ c #C4C7F2", "h+ c #D3D5F6", "i+ c #DBDCF6", "j+ c #D7D8F5", "k+ c #C2C1E2", "l+ c #B7B6D0", "m+ c #69678C", "n+ c #7878AB", "o+ c #8B8CC4", "p+ c #9E9FD4", "q+ c #B7B9E8", "r+ c #CBCDF1", "s+ c #E5E7F8", "t+ c #F0F1F7", "u+ c #F2F2F9", "v+ c #E2E2F7", "w+ c #C1C1E4", "x+ c #CED0E1", "y+ c #6C6B90", "z+ c #6B6F72", "A+ c #787D59", "B+ c #B9BB9A", "C+ c #BCBED5", "D+ c #D0D1F8", "E+ c #E5E6F8", "F+ c #F2F3F8", "G+ c #F2F3F9", "H+ c #DCDAF6", "I+ c #BFBDE0", "J+ c #606079", "K+ c #6C6A9A", "L+ c #7B7CB4", "M+ c #9294CA", "N+ c #A3A5DA", "O+ c #BDBEF0", "P+ c #D1D1F8", "Q+ c #ECEDF8", "R+ c #FAFBFC", "S+ c #FDFDFD", "T+ c #F4F5F5", "U+ c #D3D0F4", "V+ c #B6B7D8", "W+ c #646882", "X+ c #676897", "Y+ c #7E80A9", "Z+ c #8583A5", "`+ c #AAA6CA", " @ c #BFBFEA", ".@ c #D5D5F9", "+@ c #ECECF8", "@@ c #FBFCFA", "#@ c #EFF0F6", "$@ c #D5D4F7", "%@ c #B3B0D9", "&@ c #60607F", "*@ c #6D6D9D", "=@ c #7E80B6", "-@ c #9194CA", ";@ c #A1A4DC", ">@ c #BABAEF", ",@ c #CFCEF6", "'@ c #E9E9F7", ")@ c #F7F6FA", "!@ c #FBFCFB", "~@ c #F4F7F8", "{@ c #DCD9F6", "]@ c #B6B5E1", "^@ c #AFB1BA", "/@ c #535576", "(@ c #696C99", "_@ c #7F82B7", ":@ c #9393CC", "<@ c #A5A4E0", "[@ c #BABAEE", "}@ c #D5D3F9", "|@ c #E7E7F9", "1@ c #F9F9FC", "2@ c #FDFEFC", "3@ c #F3F3F9", "4@ c #DBDAF9", "5@ c #B7B4E2", "6@ c #7C7C8E", "7@ c #535375", "8@ c #6A6A98", "9@ c #7879AE", "0@ c #8E8EC6", "a@ c #9E9ED7", "b@ c #B4B4EB", "c@ c #C5C6F4", "d@ c #DDDDF6", "e@ c #EAE9FA", "f@ c #F0F1FB", "g@ c #E8EAEC", "h@ c #C0BEB8", "i@ c #AEADAA", "j@ c #B2B39D", "k@ c #C8C9AA", "l@ c #C8C8AE", "m@ c #898985", "n@ c #565577", "o@ c #6C6D9A", "p@ c #7E80B5", "q@ c #8D8EC6", "r@ c #A2A1DD", "s@ c #B3B2EA", "t@ c #CBCAF6", "u@ c #DCDBF8", "v@ c #F2F3FA", "w@ c #E9E9F9", "x@ c #D7D7F7", "y@ c #B1AFE3", "z@ c #9B9BA9", "A@ c #4F4E71", "B@ c #686894", "C@ c #7575AA", "D@ c #8B89C1", "E@ c #9997D1", "F@ c #A8A8E1", "G@ c #B8B9EB", "H@ c #CECFF5", "I@ c #D8D8F6", "J@ c #E0E1F8", "K@ c #C0C2C6", "L@ c #898965", "M@ c #8C8968", "N@ c #8A8B65", "O@ c #8A8B67", "P@ c #898A67", "Q@ c #666461", "R@ c #565278", "S@ c #686795", "T@ c #7A79B0", "U@ c #8887C0", "V@ c #9C98D4", "W@ c #ABA7E2", "X@ c #BCBCEE", "Y@ c #CCCDF5", "Z@ c #DADBF8", "`@ c #DEDFF8", " # c #D8D8F7", ".# c #C8C9F1", "+# c #A9A9E1", "@# c #9D9CAA", "## c #4C4B6E", "$# c #62618B", "%# c #7270A1", "&# c #8380B9", "*# c #918DC9", "=# c #9D9CD7", "-# c #AAAAE3", ";# c #B7B8EB", "># c #C1C1F0", ",# c #C9C7F8", "'# c #ABAAC1", ")# c #68684B", "!# c #676748", "~# c #656647", "{# c #656749", "]# c #68674B", "^# c #565457", "/# c #4E4C74", "(# c #61608C", "_# c #7572A6", ":# c #8380B7", "<# c #9591CA", "[# c #9F9CD7", "}# c #ABAAE3", "|# c #B7B6EB", "1# c #C6C5F4", "2# c #C6C7F3", "3# c #C2C2F4", "4# c #B5B7E9", "5# c #9A9CD5", "6# c #7F7D8E", "7# c #4B486A", "8# c #5A5980", "9# c #6A6895", "0# c #7C79B1", "a# c #8682BD", "b# c #9694CE", "c# c #9D9CD9", "d# c #A9A8E1", "e# c #AEB0E3", "f# c #B3B4EB", "g# c #B0AEE0", "h# c #8D8BA2", "i# c #81818D", "j# c #686870", "k# c #49496B", "l# c #5A5982", "m# c #6E6C9D", "n# c #7B78AC", "o# c #8988BF", "p# c #9493CD", "q# c #A09FD9", "r# c #AAA7E2", "s# c #B2B1E7", "t# c #B2B4E8", "u# c #AEAFE8", "v# c #A3A6DE", "w# c #9091C8", "x# c #504F6A", "y# c #4E4F72", "z# c #5F5E88", "A# c #6F6D9E", "B# c #7A78AD", "C# c #8685BD", "D# c #8D8CC7", "E# c #9897D3", "F# c #9C9ED7", "G# c #9C9FD9", "H# c #9B9CD9", "I# c #9393CF", "J# c #8887B8", "K# c #484765", "L# c #4F4E75", "M# c #63628E", "N# c #7D7BB2", "O# c #8585BD", "P# c #9190C8", "Q# c #9895CF", "R# c #9D9BD9", "S# c #9D9FDB", "T# c #999AD5", "U# c #9192CD", "V# c #8C8BB4", "W# c #49496A", "X# c #525179", "Y# c #676691", "Z# c #706E9F", "`# c #7B79AF", " $ c #8180BA", ".$ c #8988C5", "+$ c #8C8BC8", "@$ c #8D8DC7", "#$ c #8B8CC3", "$$ c #8484C0", "%$ c #494666", "&$ c #49486B", "*$ c #555678", "=$ c #65648C", "-$ c #7170A4", ";$ c #7878AE", ">$ c #8383B9", ",$ c #8C89C0", "'$ c #8E8CC8", ")$ c #8D8ECB", "!$ c #898AC1", "~$ c #8081B8", "{$ c #8480A2", "]$ c #494566", "^$ c #474766", "/$ c #545477", "($ c #61608A", "_$ c #6B699A", ":$ c #726FA2", "<$ c #7879AB", "[$ c #787AAD", "}$ c #7979AD", "|$ c #7A78A9", "1$ c #484764", "2$ c #4A4A6A", "3$ c #515277", "4$ c #636490", "5$ c #7272A2", "6$ c #7878A9", "7$ c #7B7BB1", "8$ c #7B7AB1", "9$ c #7877A7", "0$ c #726E96", "a$ c #474660", "b$ c #4A4968", "c$ c #504E73", "d$ c #5F5D86", "e$ c #65638D", "f$ c #6A6993", "g$ c #6C6C97", "h$ c #6B699C", "i$ c #66638E", "j$ c #494862", "k$ c #48496B", "l$ c #525277", "m$ c #5B5B80", "n$ c #686692", "o$ c #6B6997", "p$ c #6C6A98", "q$ c #545266", "r$ c #524F68", "s$ c #4A4969", "t$ c #4E4E70", "u$ c #514E71", "v$ c #575574", "w$ c #696982", "x$ c #474765", "y$ c #4B4968", "z$ c #4E4C6F", "A$ c #525073", " ", " . + @ # $ % & ", " * = - ; > , ' ) ! ", " ~ { ] ^ / ( _ : < [ } ", " | 1 2 3 4 5 6 7 8 9 0 a b ", " c d e f g h i j k l m n o ", " p q r s t u v w x y z A B C ", " D E F G H I J K L M N O P Q ", " R S T U V W X Y Z ` ...+.@. ", " #.$.%.&.*.=.-.;.>.,.'.).!.~. ", " {.].^./.(._.:.<.[.}.|.1.2. ", " 3.4.5.6.7.8.9.0.a.b.c.d.e. ", " f.g.h.i.j.k.l.m.n.o.p. ", " q.r.s.t.u.v.w.x.y.z.A. ", " B.C.D.E.F.G.H.I.J.K.L. ", " M.N.O.P.Q.R.S.T.U.V.W.X. ", " Y.Z.`. +.+++@+ #+$+%+&+*+=+-+ ", " ;+>+,+'+)+!+~+{+]+ ^+/+(+_+:+<+[+}+|+ ", " 1+2+3+4+5+6+7+8+9+0+a+ b+c+d+e+f+g+h+i+j+k+l+ ", " m+n+o+p+q+r+s+t+u+v+w+x+ y+z+A+B+C+D+E+F+G+H+I+ ", " J+K+L+M+N+O+P+Q+R+S+T+U+V+ W+X+Y+Z+`+ @.@+@R+@@#@$@%@ ", " &@*@=@-@;@>@,@'@)@!@~@{@]@ ^@/@(@_@:@<@[@}@|@1@2@3@4@5@ ", "6@7@8@9@0@a@b@c@d@e@f@g@h@i@j@k@l@m@n@o@p@q@r@s@t@u@+@v@w@x@y@ ", "z@A@B@C@D@E@F@G@H@I@J@K@L@M@N@O@P@Q@R@S@T@U@V@W@X@Y@Z@`@ #.#+# ", "@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#_#:#<#[#}#|#1#2#3#4#5# ", "6#7#8#9#0#a#b#c#d#e#f#g#h#i# j#k#l#m#n#o#p#q#r#s#t#u#v#w# ", " x#y#z#A#B#C#D#E#F#G#H#I#J# K#L#M#A#N#O#P#Q#R#S#T#U#V# ", " W#X#Y#Z#`# $.$+$@$#$$$ %$&$*$=$-$;$>$,$'$)$!$~${$ ", " ]$^$/$($_$:$<$[$}$|$ 1$2$3$4$T 5$6$7$8$9$0$ ", " a$b$c$d$e$f$g$h$i$ j$k$l$m$n$o$z.p$ ", " q$r$s$t$u$v$w$ x$y$z$A$ ", " "}; debian/upstream0000644000000000000000000000062212150676424010760 0ustar Contact: Herbert J. Bernstein Name: RasMol Reference: author: Roger A. Sayle and E. James Milner-White title: "RasMol: Biomolecular graphics for all" journal: Trends in Biochemical Sciences (TIBS) volume: 20 number: 9 pages: 374 year: 1995 DOI: 10.1016/S0968-0004(00)89080-5 PMID: 7482707 URL: http://www.sciencedirect.com/science/article/pii/S0968000400890805 debian/rasmol-classic.desktop0000644000000000000000000000063412150676424013507 0ustar [Desktop Entry] Version=1.0 Name=RasMol (classic version) Name[en_GB]=RasMol (classic version) GenericName=Molecular Graphics Visualization GenericName[en_GB]=Molecular Graphics Visualisation Comment=View macro-molecules and prepare publication-quality images of them Type=Application Exec=rasmol-classic %F Icon=rasmol Terminal=true MimeType=chemical/x-pdb;chemical/x-xyz; Categories=Science;Education;Biology; debian/rasmol.manpages0000644000000000000000000000001512150676424012203 0ustar doc/rasmol.1 debian/copyright0000644000000000000000000003203012150676424011126 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 Upstream-Name: RasMol Upstream-Contact: Herbert J. Bernstein Source: http://sourceforge.net/projects/openrasmol/ Files: * debian/rasmol_*.xpm debian/rasmol-classic.sh.debian Copyright: . RasMol 2.7.5.2 Molecular Graphics Visualisation Tool 3 June 2009 (rev. 13 May 2011) . Based on RasMol 2.6 by Roger Sayle Biomolecular Structures Group, Glaxo Wellcome Research & Development, Stevenage, Hertfordshire, UK Version 2.6, August 1995, Version 2.6.4, December 1998 Copyright (c) Roger Sayle 1992-1999 . and Based on Mods by . +-----------------------------------------------------------------------------+ | Author | Version, Date | Copyright | |-------------------+----------------------+----------------------------------| | Arne Mueller | RasMol 2.6x1 May | (c) Arne Mueller 1998 | | | 1998 | | |-------------------+----------------------+----------------------------------| | Gary Grossman and | RasMol 2.5-ucb | (c) UC Regents/ModularCHEM | | Marco Molinaro | November 1995 | Consortium 1995, 1996 | | | RasMol 2.6-ucb | | | | November 1996 | | |-------------------+----------------------+----------------------------------| | Philippe Valadon | RasTop 1.3 August | (c) Philippe Valadon 2000 | | | 2000 | | |-------------------+----------------------+----------------------------------| | Herbert J. | RasMol 2.7.0 March | (c) Herbert J. Bernstein | | Bernstein | 1999 | 1998-2009 | | | RasMol 2.7.1 June | | | | 1999 | | | | RasMol 2.7.1.1 | | | | January 2001 | | | | RasMol 2.7.2 August | | | | 2000 | | | | RasMol 2.7.2.1 April | | | | 2001 | | | | RasMol 2.7.2.1.1 | | | | January 2004 | | | | RasMol 2.7.3 | | | | February 2005 | | | | RasMol 2.7.3.1 Apr | | | | 06 | | | | RasMol 2.7.4 Nov 07 | | | | RasMol 2.7.4.1 Jan | | | | 08 | | | | RasMol 2.7.4.2 Mar | | | | 08 | | | | RasMol 2.7.5 June | | | | 2009 | | | | RasMol 2.7.5.1 July | | | | 2009 | | | | RasMol 2.7.5.2 May | | | | 2011 | | +-----------------------------------------------------------------------------+ . RasMol 2.7.5 incorporates changes by T. Ikonen, G. McQuillan, N. Darakev and L. Andrews (via the neartree package). Work on RasMol 2.7.5 supported in part by grant 1R15GM078077-01 from the National Institute of General Medical Sciences (NIGMS), U.S. National Institutes of Health and by grant ER63601-1021466-0009501 from the Office of Biological & Environmental Research (BER), Office of Science, U. S. Department of Energy. RasMol 2.7.4 incorporated changes by G. Todorov, Nan Jia, N. Darakev, P. Kamburov, G. McQuillan, and J. Jemilawon. Work on RasMol 2.7.4 supported in part by grant 1R15GM078077-01 from the NIGMS/NIH and grant ER63601-1021466-0009501 from BER/DOE. RasMol 2.7.3 incorporates changes by Clarice Chigbo, Ricky Chachra, and Mamoru Yamanishi. Work on RasMol 2.7.3 supported in part by grants DBI-0203064, DBI-0315281 and EF-0312612 from the U.S. National Science Foundation and grant DE-FG02-03ER63601 from BER/DOE. The content is solely the responsibility of the authors and does not necessarily represent the official views of the funding organizations. . The code for use of RasMol under GTK in RasMol 2.7.4.2 was written by Teemu Ikonen. and Incorporating Translations by . +-----------------------------------------------------------------------------+ | Author | Item | Language | |--------------------------------------+--------------------------+-----------| | Isabel Servan Martinez, | 2.6 Manual | Spanish | | Jose Miguel Fernandez Fernandez | | | |--------------------------------------+--------------------------+-----------| | Jose Miguel Fernandez Fernandez | 2.7.1 Manual | Spanish | |--------------------------------------+--------------------------+-----------| | Fernando Gabriel Ranea | 2.7.1 menus and messages | Spanish | |--------------------------------------+--------------------------+-----------| | Jean-Pierre Demailly | 2.7.1 menus and messages | French | |--------------------------------------+--------------------------+-----------| | Giuseppe Martini, Giovanni Paolella, | 2.7.1 menus and messages | Italian | | A. Davassi, M. Masullo, C. Liotto | 2.7.1 help file | | |--------------------------------------+--------------------------+-----------| | G. Pozhvanov | 2.7.3 menus and messages | Russian | |--------------------------------------+--------------------------+-----------| | G. Todorov | 2.7.3 menus and messages | Bulgarian | |--------------------------------------+--------------------------+-----------| | Nan Jia, G. Todorov | 2.7.3 menus and messages | Chinese | |--------------------------------------+--------------------------+-----------| | Mamoru Yamanishi, Katajima Hajime | 2.7.3 menus and messages | Japanese | +-----------------------------------------------------------------------------+ . This Release by Herbert J. Bernstein, Bernstein + Sons, 5 Brewster Lane, Bellport, NY, USA yaya@bernstein-plus-sons.com Copyright (c) Herbert J. Bernstein 1998-2009 . The original RasMol manual was created by Roger Sayle. In July 1996, Dr. Margaret Wong of the Chemistry Department, Swinburne University of Technology, Australia, made extensive revisions to the RasMol 2.5 manual to accurately reflect the operation of RasMol 2.6. Eric Martz of the University of Massachusetts made further revisions. In May 1997, William McClure of Carnegie Mellon University reorganized the HTML version of the manual into multiple sections which could be downloaded quickly and added use of frames. Portions of the 2.7.1 version of the RasMol manual were derived with permission from William McClure's version using Roger Sayle's rasmol.doc for version 2.6.4 as the primary source. Changes were made in August 2000 for RasMol version 2.7.2, January 2001 for RasMol version 2.7.1.1 and April 2001 for RasMol version 2.7.2.1 and February 2005 for RasMol version 2.7.3. . Documentation Last Updated 14 May 2011 Edited by Herbert J. Bernstein and Frances C. Bernstein . Translations . Thanks to the efforts of Jose Miguel Fernandez Fernandez (Departamento de Bioquimica y Biologia Molecular. Universidad de Granada. Espana (jmfernan@ugr.es)) a translation of the Manual for Rasmol version 2.7.1 into Spanish is now available. La traduccion espanola del manual de la version de la Dra. Wong revisada por Eric Martz fue realizada por Isabel Servan Martinez y Jose Miguel Fernandez Fernandez. La actual traduccion del Manual de RasMol 2.7.1 ha sido realizada usando como base la anterior de RasMol 2.6 por Jose Miguel Fernandez Fernandez. . Thanks to translations by Fernando Gabriel Ranea in late 2000 and early 2001, RasMol is now capable of rendering most menu items and messages in Spanish. Jean-Pierre Demailly provided French translations of menus and messages in January 2001. Giuseppe Martini and Giovanni Paolella with contributions by A. Davassi, M. Masullo and C. Liotto provided Italian translations of menus and messages in March 2001. License: GPL-2 Files: data/*.pdb* data/*.ent* data/*.CIF Copyright: Data files contained in the PDB archive (ftp://ftp.wwpdb.org) are free of all copyright restrictions and made fully and freely available for both non-commercial and commercial use. Users of the data should attribute the original authors of that structural data. By using the materials available in the PDB archive, the user agrees to abide by the conditions described in the PDB Advisory Notice. License: ADVISORY NOTICE FOR USE OF THE PDB ARCHIVE . By using the materials available in this archive, the user agrees to abide by the following conditions: . * The archival data files in the PDB archive are made freely available to all users. Data files within the archive may be redistributed in original form without restriction. Redistribution of modified data files using the same file name as is on the FTP server is prohibited. The rules for file names are detailed at http://www.wwpdb.org/wwpdb_charter.html. . * Data files containing PDB content may incorporate the PDB 4-letter entry name (e.g. 1ABC) in standard PDB records only if they are exactly the same as what is residing in the PDB archive. This does not prevent databases from including PDB entry_id's as cross-references where it is clear that they refer to the PDB archive. PDB records refer to the standard PDB format. The distribution of modified PDB data including the records HEADER, CAVEAT, REVDAT, SPRSDE, DBREF, SEQADV, and MODRES in PDB format and their mmCIF and XML equivalents is not allowed. . * The user assumes all responsibility for insuring that intellectual property claims associated with any data set deposited in the PDB archive are honored. It should be understood that the PDB data files do not contain any information on intellectual property claims with the exception in some cases of a reference for a patent involving the structure. . * Any opinion, findings, and conclusions expressed in the PDB archive by the authors/contributors do not necessarily reflect the views of the wwPDB. . * The data in the PDB archive are provided on an "as is" basis. The wwPDB nor its comprising institutions cannot be held liable to any party for direct, indirect, special, incidental, or consequential damages, including lost profits, arising from the use of PDB materials. . * Resources on this site are provided without warranty of any kind, either expressed or implied. This includes but is not limited to merchantability or fitness for a particular purpose. The institutions managing this site make no representation that these resources will not infringe any patent or other proprietary right. Files: debian/* Copyright: Teemu Ikonen License: GPL-2 License: GPL-2 This version is based directly on RasMol version 2.7.5.1, on RasMol version 2.7.4.2, on RasMol version 2.7.4.1, on RasMol version 2.7.4, on RasMol version 2.7.3.1, on RasMol version 2.7.3, on RasMol version 2.7.2.1.1, on RasMol version 2.7.2, on RasMol version 2.7.1, on RasMol version 2.6_CIF.2, on RasMol version 2.6x1, on RasMol version 2.6.4, and RasMol 2.5-ucb and 2.6-ucb. . RasMol versions 2.7.3 and higher may be distributed under the terms of the GNU General Public License (the GPL), see . http://www.gnu.org/licenses/gpl.txt . In Debian systems, the GNU General Public License version 2 can be found at /usr/share/common-licenses/GPL-2 debian/source/0000755000000000000000000000000012150676424010475 5ustar debian/source/include-binaries0000644000000000000000000000005212150676424013632 0ustar debian/rasmol.png debian/rasmol_large.png debian/source/format0000644000000000000000000000001412150676424011703 0ustar 3.0 (quilt) debian/README.Debian0000644000000000000000000000062512150676424011241 0ustar This Rasmol is for Debian. Contained are both the classic Unix Rasmol with the Xlib-based user interface (/usr/bin/rasmol-classic) and a version with the user interface based on the GTK library (/usr/bin/rasmol-gtk). The /usr/bin/rasmol command can be switched to either one of these by using the 'alternatives' mechanism of Debian (see man update-alternatives). By default, the GTK version is launched. debian/changelog0000644000000000000000000003175312150676424011060 0ustar rasmol (2.7.5.2-2) unstable; urgency=low [ Andreas Tille ] * renamed debian/upstream-metadata.yaml to debian/upstream * debian/upstream: Added DOI & PMID [ Teemu Ikonen ] * control: - Add build-dep to dpkg-dev (>= 1.16.1~) - Update standards-version to 3.9.4 * rules: - Export dpkg-buildflags with all hardening options. - Run xmkmf only twice per build. * Patch imakefile: - Get CFLAGS and LDFLAGS from dpkg-buildflags - Prune LDLIBS to avoid unnecessary dependencies. * New patches: - glibsubheaders: Do not include individual glib headers. Thanks to Michael Biebl for the patch (closes: #665605). - format-security: Fix sprintf calls which fail when compiling with -werror=format-security -- Teemu Ikonen Mon, 27 May 2013 17:31:54 +0200 rasmol (2.7.5.2-1) unstable; urgency=low * New upstream version. * control: Upgrade to standards-version 3.9.2. * Upgrade debhelper compat and build-dep to 8. * copyright: - Update DEP5 format and contents to latest release. - Add copyright info for PDB files. * rules: Use override targets instead of --before and --after. * Patches: - gtk-tiff-lzw: New patch, Write TIFFs with LZW compression in GTK version. - gtkabout: New patch, fixes broken icon in GTK About dialog. - manfix: Fix typos, escape minuses (fixes lintian warning hyphen-used-as-minus-sign). - writemsg, x11shortcuts, gtk_redraw, uncompress_quote: Included in new upstream version, removed. * Add a large PNG logo. -- Teemu Ikonen Fri, 18 Nov 2011 17:31:09 +0100 rasmol (2.7.5-3) unstable; urgency=low * Andreas Tille added upstream-metadata.yaml with bibliographic information. * Start maintaining rasmol with '3.0 (quilt)' source format with changes to upstream sources as patches generated from the git repository with gdp. * Add a 'debian/README.source' file. * Fix GTK deprecation warning in GtkSpinButtons (patch 06_spinbuttons). * Fix segfault in image exporting with GTK (patch 07_gtkexport). * Split older changes to upstream sources to separate patches with gdp and add DEP-3 in 'debian/metapatches': - 01_writemsg: Use WriteMsg() consistently for text output. - 02_x11shortcuts: Fix null pointer ref on File menu keyboard shortcuts in x11win.c. - 03_gtk_redraw: Fix screen update in GTK UI. - 04_imakefile: Debian changes to Imakefile. - 05_intwidth: Use C99 exact-width ints in typedefs. - 08_manfix: Rasmol man page fixes. - 09_uncompress_quote: Quote args to decompression programs when loading files. * control: - Build-Depend on new (versionless) libneartree-dev. - Remove duplicate Section in rasmol binary package. -- Teemu Ikonen Tue, 26 Apr 2011 17:11:48 +0200 rasmol (2.7.5-2) unstable; urgency=low * gtkwin.c: - Fix screen update on picking labels etc. - UpdateScrollBars(): Do not set ReDrawFlag * Use new function WriteMsg() for text output to X / GTK command line. * x11win.c: Fix null pointer reference on File menu keyboard shortcuts (closes: #400073). * control: Updgrade to standards-version 3.9.1. * copyright: Update to dep5 format and add info from this version. -- Teemu Ikonen Wed, 13 Oct 2010 15:18:26 +0200 rasmol (2.7.5-1) unstable; urgency=low * New upstream release * Imakefile: Use Debian versions of library dependencies * control: - Add build-deps to libcvector2-dev, libcqrlib2-dev, libneartree3-dev - Update to standards-version 3.8.3 -- Teemu Ikonen Tue, 24 Nov 2009 16:48:04 +0100 rasmol (2.7.4.2-5) unstable; urgency=low * molecule.c: Add #define _GNU_SOURCE to get the correct definition of basename() (closes: #535133) -- Teemu Ikonen Thu, 02 Jul 2009 15:39:45 +0200 rasmol (2.7.4.2-4) unstable; urgency=low * Increase debhelper compat to 7, build-dep on the same * rules: Rewrite and simplify using dh. Allow building GTK and X11 versions separately for testing * Add a bash_completion file * Merge patch insvn/gtk-shortcuts: Add various keyboard shortcuts to the GTK interface * Merge insvn/fileopen: - Add support for opening more than one file from the command line. (closes: #498261) - Fix reading files from stdin with '-' arg. * Merge insvn/switches: - Fix crashing of the GTK version when trying to output errors before initialising GUI (closes: #498261) - Accept options prefixed either with a single or double dash. - New command line options: -colour / color: Set default colour of a new molecule. -wireframe, -backbone, -sticks, -spacefill, -spheres, -ballstick, -ribbons, -strands, -cartoons: Set default representation of a new molecule. - New command line options in GTK version: -prompt, -noprompt, -scrolls, -noscrolls, -menus, -nomenus, -fullscreen: Set ui elements present after startup. * Merge insvn/vte-text-output: Write all text output through WriteChar() and WriteString(). * Use direct VTE feeding with text output in GTK version, instead of PTYs * Make Delete key work and ignore unhandled terminal escape sequences. * Fixed debian/watch file, thanks to Daniel Leidert (closes: #520524) * Add an application icon to the GTK version * Fix recent files support in GTK version * Show file name in title, if the file does not have a PDB code * rasmol.h: Use C99 exact-width ints in some typedefs. Closes LP: #349585 * Imakefile: Build with -Wall * Fix the Exec field in .desktop files to correctly handle multi-argument binaries, also add chemical/x-xyz mime-type -- Teemu Ikonen Wed, 03 Jun 2009 20:06:55 +0200 rasmol (2.7.4.2-3) unstable; urgency=low * src/Imakefile: Remove hppa-specific CFLAGS (closes: #489471) * control: Change maintainer to Debian Science Maintainers * control: Add Uploaders field. Add Teemu Ikonen to Uploaders. -- Teemu Ikonen Fri, 11 Jul 2008 16:36:47 +0200 rasmol (2.7.4.2-2) unstable; urgency=low * control: change build-dep xutils to xutils-dev (should fix FTBS on hppa) * control: Update to standards-version 3.8.0 -- Teemu Ikonen Mon, 16 Jun 2008 14:29:55 +0200 rasmol (2.7.4.2-1) unstable; urgency=low * New upstream version * GTK changes included in upstream now * Update to standards-version 3.7.3 * Add build-dependency to cbflib-dev * Patch Imakefile to use debianized cbflib * Configure what GUI to use by regenerating Makefiles from the Imakefile during package build * Update copyright to reflect the new upstream version * Add MimeType=chemical/x-pdb to .desktop files, also fix them to be "desktop-file-validate" clean (closes: #460990) * Fixed color handling in the GTK version (closes: #442810) * Add Vcs-* fields pointing to debian-science git repository * copyright: start conversion to machine readable format, convert to utf8 * Fix lintian errors in rasmol manpage -- Teemu Ikonen Mon, 26 May 2008 15:42:09 +0200 rasmol (2.7.3.1-3) unstable; urgency=low * Remove explicit strip command from debian/rules in favor of dh_strip (closes: #437884) * "Upstream" improvents from the GTK branch - Load help file from Help->User Manual - Abbreviate long filenames in the File menu list - Remove radio buttons from Display and Colours menus - Add File->Export in GTK GUI - Printing support using gtk_print - GTK recent files support, File->Open Recent * Build-depend on libgtk2.0-dev (>= 2.12.0-1) * Change build depend from x-dev to x11proto-core-dev * Scale down the menu icon to 32x32 pixels * Add information on the GTK version to debian/copyright * Add README.Debian with info on the bazaar branches -- Teemu Ikonen Thu, 01 Nov 2007 18:36:04 +0100 rasmol (2.7.3.1-2) unstable; urgency=low * Convert menus to conform to the new hierarchy, add icon field -- Teemu Ikonen Fri, 6 Jul 2007 17:54:56 +0200 rasmol (2.7.3.1-1.1) unstable; urgency=low * NMU: Fixed missing man page issue quickly -- Andreas Tille Thu, 05 Jul 2007 13:20:27 +0200 rasmol (2.7.3.1-1) unstable; urgency=low * New upstream release (2.7.3.1) * Include GTK GUI patch, now build two executables, rasmol-gtk and rasmol-classic. Add a build-dependency to libvte-dev * Use the alternatives system for the "rasmol" command. Default is rasmol-gtk * Include PDF versions of the manual and refcard in rasmol-doc, instead of postscript [Andreas Tille] * Fixed debian/rasmol.menu to check for the package (instead for the binary) in the package clause -- Teemu Ikonen Sat, 9 Jun 2007 15:49:55 +0200 rasmol (2.7.2.1.1-5) unstable; urgency=low * Add an icon and a .desktop -file from Ubuntu version, via Barry deFreese (closes: #377406) * Fix display bug on amd64 (closes: #397883) * Update to standards-version 3.7.2 * Move rasmol-doc to section doc -- Teemu Ikonen Mon, 13 Nov 2006 12:57:40 +0100 rasmol (2.7.2.1.1-4) unstable; urgency=low * Adopt rasmol (closes: #352551) * Remove Build-Dependency on xlibs-dev, thanks to Justin Pryzby for the patch and Amaya Rodrigo Sastre for the NMU (Closes: #347111). * Fix the mailcap entry, thanks to Dave Love for the fix (closes: #302377) * Update Standards-Version to 3.6.2 * Remove INSTALL.html from rasmol-doc -- Teemu Ikonen Mon, 1 May 2006 16:56:18 +0300 rasmol (2.7.2.1.1-3.1) unstable; urgency=low * Non-maintainer upload. * Remove Build-Dependency on xlibs-dev (Closes: #347111). * Credit and Big Thanks to Justin Pryzby for the patch and testing. -- Amaya Rodrigo Sastre Sat, 21 Jan 2006 21:04:09 +0100 rasmol (2.7.2.1.1-3) unstable; urgency=low * Fix problem when importing XYZ files. Patch from Stuart Prescott (Closes: #284697) -- Randolph Chung Thu, 9 Dec 2004 17:21:34 -0800 rasmol (2.7.2.1.1-2) unstable; urgency=medium * Fix build problem on hppa (Closes: #283034) -- Randolph Chung Sat, 27 Nov 2004 06:20:53 -0800 rasmol (2.7.2.1.1-1) unstable; urgency=low * New upstream version (Closes: #212566, #190992). * Complete repackaging, build fixes (Closes: #135403). * Split documentation to rasmol-doc package. * Detect 24-bit screens as 32-bit (Closes: #230140). * Remove bashishm from /usr/bin/rasmol script (Closes: #109518). * Acknowlegde NMUs: Menu entry is in Science section (Closes: #185724), xutils and xlibs-dev are in build-depends (Closes: #190512), install man-page in /usr/share/man (Closes: #91022). * Work done by Teemu Ikonen -- Randolph Chung Mon, 01 Nov 2004 13:49:06 -0800 rasmol (2.6b2-6.1) unstable; urgency=low * NMU. * Add Build-Depends on xutils and xlibs-dev. Closes: #190512. * Move menu entry to Apps/Science. Closes: #185724. * Use build-stamp file to avoid building all three versions twice. * Remove /usr/doc/rasmol symlink. -- Daniel Schepler Mon, 18 Aug 2003 00:16:12 -0700 rasmol (2.6b2-6) unstable; urgency=low * Change Imakefile to not assume HPArchitecture == hpux (Closes: #104971) * Change section from math to science (Closes: #98726) -- Randolph Chung Sat, 14 Jul 2001 14:30:58 -0600 rasmol (2.6b2-5.1) unstable; urgency=low * Non-maintainer upload (QA campaign for FHS transition) * install man page in /usr/share/man instead of /usr/man (closes: #91022) -- Ralf Treinen Fri, 25 May 2001 18:22:59 +0200 rasmol (2.6b2-5) unstable; urgency=low * don't use egcc. Closes: #85188, #62907 * update mailcap info. Closes: #63823 -- Randolph Chung Sat, 3 Mar 2001 20:26:01 -0700 rasmol (2.6b2-4) unstable; urgency=low * New maintainer * /usr/doc -> /usr/share/doc migration -- Randolph Chung Sun, 10 Oct 1999 23:42:56 -0700 rasmol (2.6b2-3) unstable; urgency=low * add to menu system -- John Lapeyre Fri, 2 Apr 1999 16:05:22 -0700 rasmol (2.6b2-2) unstable; urgency=low * use tcsetattr() instead of ioctl(), as per Slootman to help with non-i386 -- John Lapeyre Tue, 8 Dec 1998 23:10:38 -0700 rasmol (2.6b2-1) unstable; urgency=low * New upstream source. -- John Lapeyre Mon, 24 Aug 1998 18:48:28 -0700 rasmol (2.6b-2) unstable; urgency=low * Provide multiple visual depths. -- John Lapeyre Wed, 19 Aug 1998 22:35:17 -0700 rasmol (2.6b-1) unstable; urgency=low * Initial Release. -- John Lapeyre Wed, 12 Aug 1998 14:05:52 -0700 debian/patches/0000755000000000000000000000000012150676424010624 5ustar debian/patches/06_manfix.patch0000644000000000000000000000735212150676424013443 0ustar From: Teemu Ikonen Subject: Rasmol man page fixes. X-git-branch: p/manfix doc/rasmol.1 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/rasmol.1 b/doc/rasmol.1 index 85df72c..fec7275 100644 --- a/doc/rasmol.1 +++ b/doc/rasmol.1 @@ -1,4 +1,3 @@ -.PU .TH RASMOL 1 "July 2009" .SH NAME rasmol \- Molecular Graphics Visualisation Tool v2.7.5 @@ -917,7 +916,7 @@ The RasMol .B clipboard command places a copy of the currently displayed image on the local graphics 'clipboard'. Note: this command is not yet supported on -UNIX or VMS machines. It is intended to make transfering images +UNIX or VMS machines. It is intended to make transferring images between applications easier under Microsoft Windows or on an Apple Macintosh. @@ -1992,7 +1991,7 @@ The RasMol command allows the user to alter various internal program parameters such as those controlling rendering options. Each parameter has its own set or permissible parameter options. Typically, omitting the -paramter option resets that parameter to its default value. A list of +parameter option resets that parameter to its default value. A list of valid parameter names is given below. .TP @@ -2144,7 +2143,7 @@ command the position of the cysteine's alpha carbons may be used instead. The RasMol .B star command is used to represent all of the currently selected atoms as -stars (six strokes, one each in the x, -x, y, -y, z and -z directions). +stars (six strokes, one each in the x, \-x, y, \-y, z and \-z directions). The commands .B select not bonded followed by @@ -2344,7 +2343,7 @@ is to be moved and the integer parameter specifies the absolute position of the molecule centre from the middle of the screen. Permitted values for the axis parameter are "x", "y" and "z". -Displacement values must be between -100 and 100 which correspond to +Displacement values must be between \-100 and 100 which correspond to moving the current molecule just off the screen. A positive "x" displacement moves the molecule to the right, and a positive @@ -2388,7 +2387,7 @@ command. If the selected bonds involved atoms of alternate conformers then the bonds are narrowed in the middle to a radius of .8 of the specified -radius (or to the radius specifed as the optional second parameter). +radius (or to the radius specified as the optional second parameter). Non-bonded atoms, which could become invisible in an ordinary @@ -3051,7 +3050,7 @@ parameter). A value of 0 distributes the light on the entire object. This implementation of shadepower differs from the one in RasTop -only in the choice of range (0 to 100 versus -20 to 20 in RasTop). +only in the choice of range (0 to 100 versus \-20 to 20 in RasTop). .TP .B Set Shadow @@ -3065,7 +3064,7 @@ shadows. Enabling shadowing will automatically disable the Z-clipping Ray-tracing typically takes about several seconds for a moderately sized protein. It is recommended that shadowing be normally disabled whilst the molecule is being transformed or manipulated, and only enabled once -an appropiate viewpoint is selected, to provide a greater impression +an appropriate viewpoint is selected, to provide a greater impression of depth. .TP @@ -4115,9 +4114,10 @@ codes of each of the amino acids. .TP .B Booleans -A boolean parameter is a truth value. Valid boolean values are 'true' and -'false', and their synonyms 'on' and 'off'. Boolean parameters are commonly -used by RasMol to either enable or disable a representation or option. +A boolean parameter is a truth value. Valid boolean values are 'true' +and 'false', and their synonyms 'on' and 'off'. Boolean parameters are +commonly used by RasMol to either enable or disable a representation or +option. .SH FILE FORMATS debian/patches/08_gtk-tiff-lzw.patch0000644000000000000000000000143312150676424014502 0ustar From: Teemu Ikonen Subject: Write TIFFs with LZW compression in GTK version. X-git-branch: p/gtk-tiff-lzw src/gtkwin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gtkwin.c b/src/gtkwin.c index f5b70ac..14eddee 100755 --- a/src/gtkwin.c +++ b/src/gtkwin.c @@ -638,7 +638,9 @@ void export_cb(GtkAction *action, gpointer user_data) TRUE, 8, export_x, export_y, 4*export_x, NULL, NULL); - success = gdk_pixbuf_save(pbuf, fname, formatname, &err, NULL); + // Use TIFF compression 5 = LZW + success = gdk_pixbuf_save(pbuf, fname, formatname, &err, + "compression", "5", NULL); if(!success && (err != NULL) ) { question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), debian/patches/01_gtkabout.patch0000644000000000000000000000110012150676424013755 0ustar From: Teemu Ikonen Subject: Fix icon in GTK About dialog. X-git-branch: p/gtkabout Fix icon in GTK About dialog. src/gtkwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtkwin.c b/src/gtkwin.c index f5b70ac..828a94a 100755 --- a/src/gtkwin.c +++ b/src/gtkwin.c @@ -833,7 +833,7 @@ Roger Sayle 1992-1999\n\ Herbert J. Bernstein 1998-2008\n\ ", "license", "GPL", - "logo-icon-name", "/usr/share/pixmaps/rasmol.xpm", + "logo-icon-name", "rasmol", "version", VERSION, "website", "http://rasmol.org/", NULL); debian/patches/09_glibsubheaders.patch0000644000000000000000000000114712150676424015143 0ustar From: Teemu Ikonen Subject: Do not include individual glib headers. X-git-branch: p/glibsubheaders Starting with glib 2.32 it is now mandatory to include glib.h instead of individual headers, or the compiler will generate an error. Fixes Debian bug #665605. src/egg-macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egg-macros.h b/src/egg-macros.h index 9a7caad..5a128ff 100644 --- a/src/egg-macros.h +++ b/src/egg-macros.h @@ -9,7 +9,7 @@ #ifndef _EGG_MACROS_H_ #define _EGG_MACROS_H_ -#include +#include G_BEGIN_DECLS debian/patches/03_intwidth.patch0000644000000000000000000000222112150676424013776 0ustar From: Teemu Ikonen Subject: rasmol.h: Use C99 exact-width ints in typedefs. X-git-branch: p/intwidth src/rasmol.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/rasmol.h b/src/rasmol.h index 94e3640..b6cde5e 100755 --- a/src/rasmol.h +++ b/src/rasmol.h @@ -78,6 +78,7 @@ /* rasmol.h */ +#include /*===========================*/ /* User Definable Options! */ @@ -202,7 +203,7 @@ typedef double Real; #ifndef APPLEMAC -typedef unsigned char Byte; +typedef uint8_t Byte; #endif #ifdef __STDC__ @@ -211,21 +212,18 @@ typedef signed char Char; typedef char Char; #endif -#ifdef _LONGLONG -typedef unsigned int Card; -typedef int Long; -#else -typedef unsigned long Card; +typedef uint32_t Card; +/* Long has to be defined as long, instead of int32_t because of + multiple printf and scanf calls using %ld in the format. */ typedef long Long; -#endif #ifdef EIGHTBIT -typedef unsigned char Pixel; +typedef uint8_t Pixel; #else #ifdef THIRTYTWOBIT -typedef Long Pixel; +typedef int32_t Pixel; #else -typedef short Pixel; +typedef int16_t Pixel; #endif #endif debian/patches/04_spinbuttons.patch0000644000000000000000000001556512150676424014554 0ustar From: Teemu Ikonen Subject: Set zero page size to GtkSpinButtons in export dialog. X-git-branch: p/spinbuttons Fixes deprecation warning from GTK. Also re-save the sizechooser.glade file in glade, causing some reordering in the XML file. src/sizechooser.glade | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/src/sizechooser.glade b/src/sizechooser.glade index 77b3d99..da8bdbe 100644 --- a/src/sizechooser.glade +++ b/src/sizechooser.glade @@ -1,7 +1,7 @@ - - - + + + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -15,20 +15,25 @@ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + Current size True True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Current size True True + + 0 + + 640 x 480 True True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 640 x 480 True size_current @@ -39,10 +44,11 @@ + 1024 x 768 True True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 1024 x 768 True size_current @@ -52,10 +58,11 @@ + 1600 x 1200 True True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 1600 x 1200 True size_current @@ -69,16 +76,18 @@ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + Custom: True True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Custom: True size_current False False + 0 @@ -87,7 +96,7 @@ True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 5 - 1920 1 65536 1 100 10 + 1920 1 65536 1 100 0 True True @@ -114,7 +123,7 @@ True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 5 - 1440 1 65536 1 100 10 + 1440 1 65536 1 100 0 True debian/patches/10_format-security.patch0000644000000000000000000000340312150676424015302 0ustar From: Teemu Ikonen Subject: Make rasmol compile with -Werror=format-security X-git-branch: p/format-security Fix sprintf calls which fail when compiling with -werror=format-security. src/command.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/command.c b/src/command.c index 83da7ff..93e38be 100755 --- a/src/command.c +++ b/src/command.c @@ -1286,7 +1286,7 @@ void ShowRecordCommand( void ) { if (record_on[1]) WriteString("record appearance on\n"); else WriteString("record apperance off\n"); if (RecordMaxMS == 1.) { - sprintf(param,RecordTemplate); + sprintf(param, "%s", RecordTemplate); } else{ sprintf(param,RecordTemplate,millisec<0?0:millisec); } @@ -1381,7 +1381,7 @@ void ShowPlayCommand( void ) { WriteString(param); } if (PlayMaxMS == 1.) { - sprintf(param,PlayTemplate); + sprintf(param, "%s", PlayTemplate); } else{ sprintf(param,PlayTemplate,millisec<0?0:millisec); } @@ -1469,7 +1469,7 @@ void WriteMovieFrame( void ) { RecordPause = True; } else { if (RecordMaxMS == 1.) { - sprintf(param,RecordTemplate); + sprintf(param, "%s", RecordTemplate); } else{ sprintf(param,RecordTemplate,millisec); } @@ -1505,7 +1505,7 @@ static int PlayMovieFrame( void ) { for (play_frame[1] = 0;play_frame[1]<=millisec; play_frame[1]++) { if (RecordMaxMS == 1.) { - sprintf(param,PlayTemplate); + sprintf(param, "%s", PlayTemplate); } else{ sprintf(param,PlayTemplate,millisec-play_frame[1]); } debian/patches/02_imakefile.patch0000644000000000000000000000600212150676424014072 0ustar From: Teemu Ikonen Subject: Debian changes to Imakefile. X-git-branch: p/imakefile src/Imakefile | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/src/Imakefile b/src/Imakefile index b5a88dd..7937273 100755 --- a/src/Imakefile +++ b/src/Imakefile @@ -1,8 +1,8 @@ -#define CBFLIB_LOCAL -#define CQRLIB_LOCAL -#define CVECTOR_LOCAL -#define NEARTREE_LOCAL -#define XFORMSLIB_LOCAL +# #define CBFLIB_LOCAL +# #define CQRLIB_LOCAL +# #define CVECTOR_LOCAL +# #define NEARTREE_LOCAL +# #define XFORMSLIB_LOCAL ########################################################################### # RasMol 2.7.5 # # # @@ -124,14 +124,15 @@ DEPTHDEF = -DTHIRTYTWOBIT LOCALEDEF = #endif -PKGDIR = $(HOME) +PKGDIR = /usr #ifndef GTKWIN #define X11WIN #endif #ifdef GTKWIN -GTKLIBS = $(shell pkg-config --libs vte gtk+-2.0) +#GTKLIBS = $(shell pkg-config --libs vte gtk+-2.0) +GTKLIBS = -lvte -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lX11 GTKCFLAGS = $(shell pkg-config --cflags vte gtk+-2.0) GUISRC = gtkwin.c eggfileformatchooser.c GUIOBJ = gtkwin.o eggfileformatchooser.o @@ -197,7 +198,7 @@ CBFLIB_OBJDEP = $(CBFLIB_DIR)/lib/libcbf.a ifeq ($(strip $(CBFLIB_DIR)),) CBFLIB_DIR = $(PKGDIR) endif -CBFLIB_INCLUDE_DIR = $(CBFLIB_DIR)/include/cbflib +CBFLIB_INCLUDE_DIR = $(CBFLIB_DIR)/include/cbf CBFLIB_LDLIB = -L$(CBFLIB_DIR)/lib -lcbf CBFLIB_OBJDEP = #define NO_CBFLIB_BUILD @@ -276,7 +277,7 @@ NEARTREE_OBJDEP = # RasMol's on-line help direcory # e.g. /usr/local/lib/rasmol/rasmol.hlp -RASMOLDIR = $(USRLIBDIR)/rasmol/ +RASMOLDIR = /usr/share/rasmol/ #ifndef USE_XFORMSLIB @@ -317,7 +318,7 @@ OBJS = rasmol.o molecule.o abstree.o cmndline.o command.o transfor.o \ # Additional RS6000 AIX MITSHM Library # LDLIBS = -lm -lXi -lXextSam $(XLIB) -LDLIBS = -lm -lXi $(XLIB) $(EXTRA_LIBRARIES) $(XFORMSLIB) $(GTKLIBS) \ +LDLIBS = -lm $(XLIB) $(EXTRA_LIBRARIES) $(XFORMSLIB) $(GTKLIBS) \ $(CBFLIB_LDLIB) \ $(CQRLIB_LDLIB) \ $(CVECTOR_LDLIB) \ @@ -332,26 +333,28 @@ LDLIBS = -lm -lXi $(XLIB) $(EXTRA_LIBRARIES) $(XFORMSLIB) $(GTKLIBS) \ # #ifdef HPArchitecture -CCOPTIONS = -Ae -CDEBUGFLAGS = +O2 +Onolimit +#CCOPTIONS = -Ae +#CDEBUGFLAGS = -O2 # -Onolimit #ifdef HPUX_PARISC_32 -CCOPTIONS = -Ae +DA2.0 +DS2.0 +#CCOPTIONS = -Ae -DA2.0 -DS2.0 #endif #ifdef HPUX_PARISC_64 -CCOPTIONS = -Ae +DA2.0W +DS2.0 -D_LONGLONG +#CCOPTIONS = -Ae -DA2.0W -DS2.0 -D_LONGLONG #endif #ifdef HPUX_IA64_32 -CCOPTIONS = -Ae +DD32 +DSmckinley +#CCOPTIONS = -Ae -DD32 -DSmckinley #endif #ifdef HPUX_IA64_64 -CCOPTIONS = -Ae +DD64 +DSmckinley -D_LONGLONG +#CCOPTIONS = -Ae -DD64 -DSmckinley -D_LONGLONG #endif #endif +CCOPTIONS = $(shell dpkg-buildflags --get CFLAGS) +LOCAL_LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) ComplexProgramTarget(rasmol) MakeDirectories(install,$(RASMOLDIR)) debian/patches/05_gtkexport.patch0000644000000000000000000003700312150676424014203 0ustar From: Teemu Ikonen Subject: Fix segfault in image export with GTK. X-git-branch: p/gtkexport File->Export segfaulted when the exported image size was different from the image buffer size currently on the screen. The fix is to not try to render to user supplied buffer in render_buffer(), but to copy FBuffer to the supplied buffer after resizing. Also fixed the temporary image buffer allocation in export_cb() to use sizeof(Pixel) instead of 4. Also, replace int with uintptr_t when casting pointers to ints. src/gtkwin.c | 425 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 226 insertions(+), 199 deletions(-) diff --git a/src/gtkwin.c b/src/gtkwin.c index f5b70ac..2a324b3 100755 --- a/src/gtkwin.c +++ b/src/gtkwin.c @@ -155,7 +155,7 @@ enum { RES_150, RES_300 }; -int print_resolution = RES_CURRENT; +uintptr_t print_resolution = RES_CURRENT; GtkPrintSettings *print_settings = NULL; GtkPageSetup *print_pagesetup = NULL; @@ -392,109 +392,116 @@ void save_cb(GtkAction *action, gpointer user_data) gtk_widget_destroy (dialog); } + /* Render the current image to a given memory buffer with a given size */ -void render_buffer(Pixel *buf, int xsize, int ysize) -{ - Pixel *old_fbuffer; - int old_xrange, old_yrange, old_hrange, old_wrange, old_range, old_interactive, dx; - - old_fbuffer = FBuffer; - old_xrange = XRange; - old_yrange = YRange; - FBuffer = buf; - XRange = xsize; - YRange = ysize; - - if( (dx = XRange%4) ) - XRange += 4-dx; - - old_hrange = HRange; - old_wrange = WRange; - old_range = Range; - HRange = YRange>>1; - WRange = XRange>>1; - Range = MinFun(XRange,YRange); - - ReDrawFlag |= RFReSize; - old_interactive = Interactive; - Interactive = False; - RefreshScreen(); // *buf now contains the image - Interactive = old_interactive; - - FBuffer = old_fbuffer; - XRange = old_xrange; - YRange = old_yrange; - HRange = old_hrange; - WRange = old_wrange; - Range = old_range; - - ReDrawFlag |= RFReSize; - RefreshScreen(); - ReDrawFlag = NextReDrawFlag; +void render_buffer(Pixel * buf, int xsize, int ysize) +{ + int old_xrange, old_yrange, old_hrange, old_wrange, old_range, + old_interactive, dx; + + old_xrange = XRange; + old_yrange = YRange; + XRange = xsize; + YRange = ysize; + if ((dx = XRange % 4)) + XRange += 4 - dx; + + old_hrange = HRange; + old_wrange = WRange; + old_range = Range; + HRange = YRange >> 1; + WRange = XRange >> 1; + Range = MinFun(XRange, YRange); + + ReDrawFlag |= RFReSize; + old_interactive = Interactive; + Interactive = False; + RefreshScreen(); // FBuffer now contains the image + memcpy(buf, FBuffer, sizeof(Pixel) * xsize * ysize); + + Interactive = old_interactive; + + XRange = old_xrange; + YRange = old_yrange; + HRange = old_hrange; + WRange = old_wrange; + Range = old_range; + + ReDrawFlag |= RFReSize; + RefreshScreen(); + ReDrawFlag = NextReDrawFlag; } + gboolean sizespin_cb(GtkSpinButton button, gpointer data) { - GtkLabel *header = NULL; - char header_str[128]; - - if(gtk_toggle_button_get_active( - GTK_TOGGLE_BUTTON(gtk_builder_get_object(sizebuilder, "size_custom")))) - { - export_x = gtk_spin_button_get_value_as_int( - GTK_SPIN_BUTTON(gtk_builder_get_object(sizebuilder, "custom_x"))); - export_y = gtk_spin_button_get_value_as_int( - GTK_SPIN_BUTTON(gtk_builder_get_object(sizebuilder, "custom_y"))); - - header = GTK_LABEL(gtk_builder_get_object(sizebuilder, "size_header")); - snprintf(header_str, 127, "Size: %d x %d", export_x, export_y); - gtk_label_set_text(header, header_str); - } - - return FALSE; + GtkLabel *header = NULL; + char header_str[128]; + + if (gtk_toggle_button_get_active + (GTK_TOGGLE_BUTTON + (gtk_builder_get_object(sizebuilder, "size_custom")))) { + export_x = + gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON + (gtk_builder_get_object + (sizebuilder, "custom_x"))); + export_y = + gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON + (gtk_builder_get_object + (sizebuilder, "custom_y"))); + + header = GTK_LABEL(gtk_builder_get_object(sizebuilder, "size_header")); + snprintf(header_str, 127, "Size: %d x %d", export_x, export_y); + gtk_label_set_text(header, header_str); + } + + return FALSE; } -gboolean sizeradio_cb(GtkButton *button, gpointer data) + +gboolean sizeradio_cb(GtkButton * button, gpointer data) { - int radioid; - GtkLabel *header = NULL; - char header_str[128]; - - radioid = (int) data; - - export_x = XRange; - export_y = YRange; - - switch(radioid) { - case RADIO_CURRENT: - break; - case RADIO_640: - export_x = 640; - export_y = 480; - break; - case RADIO_1024: - export_x = 1024; - export_y = 768; - break; - case RADIO_1600: - export_x = 1600; - export_y = 1200; - break; - case RADIO_CUSTOM: - export_x = gtk_spin_button_get_value_as_int( - GTK_SPIN_BUTTON(gtk_builder_get_object(sizebuilder, "custom_x"))); - export_y = gtk_spin_button_get_value_as_int( - GTK_SPIN_BUTTON(gtk_builder_get_object(sizebuilder, "custom_y"))); - break; - default: - ; - } - - header = GTK_LABEL(gtk_builder_get_object(sizebuilder, "size_header")); - snprintf(header_str, 127, "Size: %d x %d", export_x, export_y); - gtk_label_set_text(header, header_str); - - return FALSE; + GtkLabel *header = NULL; + char header_str[128]; + uintptr_t radioid = (uintptr_t) data; + + export_x = XRange; + export_y = YRange; + + switch (radioid) { + case RADIO_CURRENT: + break; + case RADIO_640: + export_x = 640; + export_y = 480; + break; + case RADIO_1024: + export_x = 1024; + export_y = 768; + break; + case RADIO_1600: + export_x = 1600; + export_y = 1200; + break; + case RADIO_CUSTOM: + export_x = + gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON + (gtk_builder_get_object + (sizebuilder, "custom_x"))); + export_y = + gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON + (gtk_builder_get_object + (sizebuilder, "custom_y"))); + break; + default: + ; + } + + header = GTK_LABEL(gtk_builder_get_object(sizebuilder, "size_header")); + snprintf(header_str, 127, "Size: %d x %d", export_x, export_y); + gtk_label_set_text(header, header_str); + + return FALSE; } @@ -560,101 +567,117 @@ void build_exportdialog(void) } -void export_cb(GtkAction *action, gpointer user_data) + +void export_cb(GtkAction * action, gpointer user_data) { - static char *fname = NULL; + static char *fname = NULL; - if(!exportdialog) { - build_exportdialog(); - } - if(fname) { - gtk_file_chooser_set_filename(GTK_FILE_CHOOSER (exportdialog), fname); - gtk_file_chooser_unselect_all(GTK_FILE_CHOOSER (exportdialog)); - } - if(gtk_toggle_button_get_active( - GTK_TOGGLE_BUTTON(gtk_builder_get_object(sizebuilder, "size_current")))) - { - GtkLabel *header = NULL; - char header_str[128]; - - export_x = XRange; - export_y = YRange; - header = GTK_LABEL(gtk_builder_get_object(sizebuilder, "size_header")); - snprintf(header_str, 127, "Size: %d x %d", export_x, export_y); - gtk_label_set_text(header, header_str); - } - while(TRUE) { - GtkWidget *question; - GdkPixbuf *pbuf; - GError *err = NULL; - gboolean success = TRUE; - guint format = 0; - gchar *formatname = NULL; - GSList *tmplist = NULL; - guchar *tmpbuf; - - if (gtk_dialog_run (GTK_DIALOG (exportdialog)) != GTK_RESPONSE_ACCEPT) { - break; - } - - if(fname) { - g_free (fname); - } - fname = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (exportdialog)); - if(g_file_test(fname, G_FILE_TEST_EXISTS)) { - gint resp; - question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), - GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, - "A file named \"%s\" already exists. Do you want to replace it?", - fname); - resp = gtk_dialog_run(GTK_DIALOG(question)); - gtk_widget_destroy (question); - if(resp != GTK_RESPONSE_YES) { - continue; - } - } - - format = egg_file_format_chooser_get_format ( - EGG_FILE_FORMAT_CHOOSER(format_chooser), fname); - if(!format) { - char *tmp; - question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), - GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, - "Could not recognise format of output file \"%s\", please choose another format.", - ((tmp = rindex(fname, '/')) != NULL) ? (tmp+1) : (fname)); - gtk_dialog_run(GTK_DIALOG(question)); - gtk_widget_destroy (question); - continue; - } - formatname = (gchar *) egg_file_format_chooser_get_format_data( - EGG_FILE_FORMAT_CHOOSER(format_chooser), format); - - tmpbuf = g_new(guchar, 4*export_x*export_y); - render_buffer((Pixel *) tmpbuf, export_x, export_y); - pbuf = gdk_pixbuf_new_from_data(tmpbuf, - GDK_COLORSPACE_RGB, - TRUE, 8, - export_x, export_y, 4*export_x, - NULL, NULL); - success = gdk_pixbuf_save(pbuf, fname, formatname, &err, NULL); - - if(!success && (err != NULL) ) { - question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), - GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, "Error saving image: %s", - err->message); - gtk_dialog_run(GTK_DIALOG(question)); - gtk_widget_destroy (question); - } - g_object_unref(pbuf); - g_free(tmpbuf); - break; - } - gtk_widget_hide (exportdialog); + if (!exportdialog) { + build_exportdialog(); + } + if (fname) { + gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(exportdialog), fname); + gtk_file_chooser_unselect_all(GTK_FILE_CHOOSER(exportdialog)); + } + if (gtk_toggle_button_get_active + (GTK_TOGGLE_BUTTON + (gtk_builder_get_object(sizebuilder, "size_current")))) { + GtkLabel *header = NULL; + char header_str[128]; + + export_x = XRange; + export_y = YRange; + header = GTK_LABEL(gtk_builder_get_object(sizebuilder, "size_header")); + snprintf(header_str, 127, "Size: %d x %d", export_x, export_y); + gtk_label_set_text(header, header_str); + } + while (TRUE) { + GtkWidget *question; + GdkPixbuf *pbuf; + GError *err = NULL; + gboolean success = TRUE; + guint format = 0; + gchar *formatname = NULL; + GSList *tmplist = NULL; + Pixel *tmpbuf; + + if (gtk_dialog_run(GTK_DIALOG(exportdialog)) != GTK_RESPONSE_ACCEPT) { + break; + } + + if (fname) { + g_free(fname); + } + fname = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(exportdialog)); + if (g_file_test(fname, G_FILE_TEST_EXISTS)) { + gint resp; + question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), + GTK_DIALOG_MODAL | + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_QUESTION, + GTK_BUTTONS_YES_NO, + "A file named \"%s\" already exists. Do you want to replace it?", + fname); + resp = gtk_dialog_run(GTK_DIALOG(question)); + gtk_widget_destroy(question); + if (resp != GTK_RESPONSE_YES) { + continue; + } + } + + format = + egg_file_format_chooser_get_format(EGG_FILE_FORMAT_CHOOSER + (format_chooser), fname); + if (!format) { + char *tmp; + question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), + GTK_DIALOG_MODAL | + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_WARNING, + GTK_BUTTONS_OK, + "Could not recognise format of output file \"%s\", please choose another format.", + ((tmp = + rindex(fname, + '/')) != + NULL) ? (tmp + 1) : (fname)); + gtk_dialog_run(GTK_DIALOG(question)); + gtk_widget_destroy(question); + continue; + } + formatname = + (gchar *) + egg_file_format_chooser_get_format_data(EGG_FILE_FORMAT_CHOOSER + (format_chooser), format); + + tmpbuf = g_new(Pixel, export_x * export_y); + render_buffer(tmpbuf, export_x, export_y); + pbuf = gdk_pixbuf_new_from_data((guchar *) tmpbuf, + GDK_COLORSPACE_RGB, + TRUE, 8, + export_x, export_y, + sizeof(Pixel) * export_x, + NULL, NULL); + success = gdk_pixbuf_save(pbuf, fname, formatname, &err, NULL); + + if (!success && (err != NULL)) { + question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), + GTK_DIALOG_MODAL | + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_WARNING, + GTK_BUTTONS_OK, + "Error saving image: %s", + err->message); + gtk_dialog_run(GTK_DIALOG(question)); + gtk_widget_destroy(question); + } + g_object_unref(pbuf); + g_free(tmpbuf); + break; + } + gtk_widget_hide(exportdialog); } + void pagesetup_cb(GtkAction *action, gpointer user_data) { if (print_pagesetup == NULL) { @@ -735,21 +758,25 @@ void print_draw(GtkPrintOperation *printop, GtkPrintContext *context, g_free(tmpbuf); } -void print_get_res_cb(GtkPrintOperation *print, GtkWidget *widget, gpointer rb) + +void print_get_res_cb(GtkPrintOperation * print, GtkWidget * widget, + gpointer rb) { - GSList *el; - - el = gtk_radio_button_get_group(*((GtkRadioButton **)rb)); - while(el != NULL) { - if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(el->data))) { - print_resolution = (int) g_object_get_data(G_OBJECT(el->data), "res"); - return; - } else - el = el->next; - } - return; + GSList *el; + + el = gtk_radio_button_get_group(*((GtkRadioButton **) rb)); + while (el != NULL) { + if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(el->data))) { + print_resolution = + (uintptr_t) g_object_get_data(G_OBJECT(el->data), "res"); + return; + } else + el = el->next; + } + return; } + GObject *print_build_reswidget_cb(GtkPrintOperation *operation, gpointer radio_p) { GtkBuilder *b = NULL; debian/patches/series0000644000000000000000000000035512150676424012044 0ustar 01_gtkabout.patch 02_imakefile.patch 03_intwidth.patch 04_spinbuttons.patch 05_gtkexport.patch 06_manfix.patch 07_CONFLICTS_IN_gtk-tiff-lzw.patch 08_gtk-tiff-lzw.patch 09_glibsubheaders.patch 10_format-security.patch 11_RESOLUTION.patch debian/patches/11_RESOLUTION.patch0000644000000000000000000001741412150676424013660 0ustar Resolve patch overlaps. --- a/src/gtkwin.c +++ b/src/gtkwin.c @@ -567,103 +567,119 @@ } -void export_cb(GtkAction *action, gpointer user_data) + +void export_cb(GtkAction * action, gpointer user_data) { - static char *fname = NULL; + static char *fname = NULL; - if(!exportdialog) { - build_exportdialog(); - } - if(fname) { - gtk_file_chooser_set_filename(GTK_FILE_CHOOSER (exportdialog), fname); - gtk_file_chooser_unselect_all(GTK_FILE_CHOOSER (exportdialog)); - } - if(gtk_toggle_button_get_active( - GTK_TOGGLE_BUTTON(gtk_builder_get_object(sizebuilder, "size_current")))) - { - GtkLabel *header = NULL; - char header_str[128]; - - export_x = XRange; - export_y = YRange; - header = GTK_LABEL(gtk_builder_get_object(sizebuilder, "size_header")); - snprintf(header_str, 127, "Size: %d x %d", export_x, export_y); - gtk_label_set_text(header, header_str); - } - while(TRUE) { - GtkWidget *question; - GdkPixbuf *pbuf; - GError *err = NULL; - gboolean success = TRUE; - guint format = 0; - gchar *formatname = NULL; - GSList *tmplist = NULL; - guchar *tmpbuf; - - if (gtk_dialog_run (GTK_DIALOG (exportdialog)) != GTK_RESPONSE_ACCEPT) { - break; - } - - if(fname) { - g_free (fname); - } - fname = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (exportdialog)); - if(g_file_test(fname, G_FILE_TEST_EXISTS)) { - gint resp; - question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), - GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, - "A file named \"%s\" already exists. Do you want to replace it?", - fname); - resp = gtk_dialog_run(GTK_DIALOG(question)); - gtk_widget_destroy (question); - if(resp != GTK_RESPONSE_YES) { - continue; - } - } - - format = egg_file_format_chooser_get_format ( - EGG_FILE_FORMAT_CHOOSER(format_chooser), fname); - if(!format) { - char *tmp; - question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), - GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, - "Could not recognise format of output file \"%s\", please choose another format.", - ((tmp = rindex(fname, '/')) != NULL) ? (tmp+1) : (fname)); - gtk_dialog_run(GTK_DIALOG(question)); - gtk_widget_destroy (question); - continue; - } - formatname = (gchar *) egg_file_format_chooser_get_format_data( - EGG_FILE_FORMAT_CHOOSER(format_chooser), format); - - tmpbuf = g_new(guchar, 4*export_x*export_y); - render_buffer((Pixel *) tmpbuf, export_x, export_y); - pbuf = gdk_pixbuf_new_from_data(tmpbuf, - GDK_COLORSPACE_RGB, - TRUE, 8, - export_x, export_y, 4*export_x, - NULL, NULL); + if (!exportdialog) { + build_exportdialog(); + } + if (fname) { + gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(exportdialog), fname); + gtk_file_chooser_unselect_all(GTK_FILE_CHOOSER(exportdialog)); + } + if (gtk_toggle_button_get_active + (GTK_TOGGLE_BUTTON + (gtk_builder_get_object(sizebuilder, "size_current")))) { + GtkLabel *header = NULL; + char header_str[128]; + + export_x = XRange; + export_y = YRange; + header = GTK_LABEL(gtk_builder_get_object(sizebuilder, "size_header")); + snprintf(header_str, 127, "Size: %d x %d", export_x, export_y); + gtk_label_set_text(header, header_str); + } + while (TRUE) { + GtkWidget *question; + GdkPixbuf *pbuf; + GError *err = NULL; + gboolean success = TRUE; + guint format = 0; + gchar *formatname = NULL; + GSList *tmplist = NULL; + Pixel *tmpbuf; + + if (gtk_dialog_run(GTK_DIALOG(exportdialog)) != GTK_RESPONSE_ACCEPT) { + break; + } + + if (fname) { + g_free(fname); + } + fname = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(exportdialog)); + if (g_file_test(fname, G_FILE_TEST_EXISTS)) { + gint resp; + question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), + GTK_DIALOG_MODAL | + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_QUESTION, + GTK_BUTTONS_YES_NO, + "A file named \"%s\" already exists. Do you want to replace it?", + fname); + resp = gtk_dialog_run(GTK_DIALOG(question)); + gtk_widget_destroy(question); + if (resp != GTK_RESPONSE_YES) { + continue; + } + } + + format = + egg_file_format_chooser_get_format(EGG_FILE_FORMAT_CHOOSER + (format_chooser), fname); + if (!format) { + char *tmp; + question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), + GTK_DIALOG_MODAL | + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_WARNING, + GTK_BUTTONS_OK, + "Could not recognise format of output file \"%s\", please choose another format.", + ((tmp = + rindex(fname, + '/')) != + NULL) ? (tmp + 1) : (fname)); + gtk_dialog_run(GTK_DIALOG(question)); + gtk_widget_destroy(question); + continue; + } + formatname = + (gchar *) + egg_file_format_chooser_get_format_data(EGG_FILE_FORMAT_CHOOSER + (format_chooser), format); + + tmpbuf = g_new(Pixel, export_x * export_y); + render_buffer(tmpbuf, export_x, export_y); + pbuf = gdk_pixbuf_new_from_data((guchar *) tmpbuf, + GDK_COLORSPACE_RGB, + TRUE, 8, + export_x, export_y, + sizeof(Pixel) * export_x, + NULL, NULL); // Use TIFF compression 5 = LZW success = gdk_pixbuf_save(pbuf, fname, formatname, &err, "compression", "5", NULL); - - if(!success && (err != NULL) ) { - question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), - GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, "Error saving image: %s", - err->message); - gtk_dialog_run(GTK_DIALOG(question)); - gtk_widget_destroy (question); - } - g_object_unref(pbuf); - g_free(tmpbuf); - break; - } - gtk_widget_hide (exportdialog); + + if (!success && (err != NULL)) { + question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), + GTK_DIALOG_MODAL | + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_WARNING, + GTK_BUTTONS_OK, + "Error saving image: %s", + err->message); + gtk_dialog_run(GTK_DIALOG(question)); + gtk_widget_destroy(question); + } + g_object_unref(pbuf); + g_free(tmpbuf); + break; + } + gtk_widget_hide(exportdialog); } + void pagesetup_cb(GtkAction *action, gpointer user_data) { if (print_pagesetup == NULL) { debian/patches/07_CONFLICTS_IN_gtk-tiff-lzw.patch0000644000000000000000000001734112150676424016500 0ustar reverted: --- b/src/gtkwin.c +++ a/src/gtkwin.c @@ -560,117 +560,101 @@ } +void export_cb(GtkAction *action, gpointer user_data) - -void export_cb(GtkAction * action, gpointer user_data) { + static char *fname = NULL; - static char *fname = NULL; + if(!exportdialog) { + build_exportdialog(); + } + if(fname) { + gtk_file_chooser_set_filename(GTK_FILE_CHOOSER (exportdialog), fname); + gtk_file_chooser_unselect_all(GTK_FILE_CHOOSER (exportdialog)); + } + if(gtk_toggle_button_get_active( + GTK_TOGGLE_BUTTON(gtk_builder_get_object(sizebuilder, "size_current")))) + { + GtkLabel *header = NULL; + char header_str[128]; + + export_x = XRange; + export_y = YRange; + header = GTK_LABEL(gtk_builder_get_object(sizebuilder, "size_header")); + snprintf(header_str, 127, "Size: %d x %d", export_x, export_y); + gtk_label_set_text(header, header_str); + } + while(TRUE) { + GtkWidget *question; + GdkPixbuf *pbuf; + GError *err = NULL; + gboolean success = TRUE; + guint format = 0; + gchar *formatname = NULL; + GSList *tmplist = NULL; + guchar *tmpbuf; + + if (gtk_dialog_run (GTK_DIALOG (exportdialog)) != GTK_RESPONSE_ACCEPT) { + break; + } + + if(fname) { + g_free (fname); + } + fname = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (exportdialog)); + if(g_file_test(fname, G_FILE_TEST_EXISTS)) { + gint resp; + question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), + GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, + "A file named \"%s\" already exists. Do you want to replace it?", + fname); + resp = gtk_dialog_run(GTK_DIALOG(question)); + gtk_widget_destroy (question); + if(resp != GTK_RESPONSE_YES) { + continue; + } + } + + format = egg_file_format_chooser_get_format ( + EGG_FILE_FORMAT_CHOOSER(format_chooser), fname); + if(!format) { + char *tmp; + question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), + GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, + "Could not recognise format of output file \"%s\", please choose another format.", + ((tmp = rindex(fname, '/')) != NULL) ? (tmp+1) : (fname)); + gtk_dialog_run(GTK_DIALOG(question)); + gtk_widget_destroy (question); + continue; + } + formatname = (gchar *) egg_file_format_chooser_get_format_data( + EGG_FILE_FORMAT_CHOOSER(format_chooser), format); + + tmpbuf = g_new(guchar, 4*export_x*export_y); + render_buffer((Pixel *) tmpbuf, export_x, export_y); + pbuf = gdk_pixbuf_new_from_data(tmpbuf, + GDK_COLORSPACE_RGB, + TRUE, 8, + export_x, export_y, 4*export_x, + NULL, NULL); + success = gdk_pixbuf_save(pbuf, fname, formatname, &err, NULL); + + if(!success && (err != NULL) ) { + question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), + GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, "Error saving image: %s", + err->message); + gtk_dialog_run(GTK_DIALOG(question)); + gtk_widget_destroy (question); + } + g_object_unref(pbuf); + g_free(tmpbuf); + break; + } + gtk_widget_hide (exportdialog); - if (!exportdialog) { - build_exportdialog(); - } - if (fname) { - gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(exportdialog), fname); - gtk_file_chooser_unselect_all(GTK_FILE_CHOOSER(exportdialog)); - } - if (gtk_toggle_button_get_active - (GTK_TOGGLE_BUTTON - (gtk_builder_get_object(sizebuilder, "size_current")))) { - GtkLabel *header = NULL; - char header_str[128]; - - export_x = XRange; - export_y = YRange; - header = GTK_LABEL(gtk_builder_get_object(sizebuilder, "size_header")); - snprintf(header_str, 127, "Size: %d x %d", export_x, export_y); - gtk_label_set_text(header, header_str); - } - while (TRUE) { - GtkWidget *question; - GdkPixbuf *pbuf; - GError *err = NULL; - gboolean success = TRUE; - guint format = 0; - gchar *formatname = NULL; - GSList *tmplist = NULL; - Pixel *tmpbuf; - - if (gtk_dialog_run(GTK_DIALOG(exportdialog)) != GTK_RESPONSE_ACCEPT) { - break; - } - - if (fname) { - g_free(fname); - } - fname = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(exportdialog)); - if (g_file_test(fname, G_FILE_TEST_EXISTS)) { - gint resp; - question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), - GTK_DIALOG_MODAL | - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_QUESTION, - GTK_BUTTONS_YES_NO, - "A file named \"%s\" already exists. Do you want to replace it?", - fname); - resp = gtk_dialog_run(GTK_DIALOG(question)); - gtk_widget_destroy(question); - if (resp != GTK_RESPONSE_YES) { - continue; - } - } - - format = - egg_file_format_chooser_get_format(EGG_FILE_FORMAT_CHOOSER - (format_chooser), fname); - if (!format) { - char *tmp; - question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), - GTK_DIALOG_MODAL | - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_WARNING, - GTK_BUTTONS_OK, - "Could not recognise format of output file \"%s\", please choose another format.", - ((tmp = - rindex(fname, - '/')) != - NULL) ? (tmp + 1) : (fname)); - gtk_dialog_run(GTK_DIALOG(question)); - gtk_widget_destroy(question); - continue; - } - formatname = - (gchar *) - egg_file_format_chooser_get_format_data(EGG_FILE_FORMAT_CHOOSER - (format_chooser), format); - - tmpbuf = g_new(Pixel, export_x * export_y); - render_buffer(tmpbuf, export_x, export_y); - pbuf = gdk_pixbuf_new_from_data((guchar *) tmpbuf, - GDK_COLORSPACE_RGB, - TRUE, 8, - export_x, export_y, - sizeof(Pixel) * export_x, - NULL, NULL); - success = gdk_pixbuf_save(pbuf, fname, formatname, &err, NULL); - - if (!success && (err != NULL)) { - question = gtk_message_dialog_new(GTK_WINDOW(exportdialog), - GTK_DIALOG_MODAL | - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_WARNING, - GTK_BUTTONS_OK, - "Error saving image: %s", - err->message); - gtk_dialog_run(GTK_DIALOG(question)); - gtk_widget_destroy(question); - } - g_object_unref(pbuf); - g_free(tmpbuf); - break; - } - gtk_widget_hide(exportdialog); } - void pagesetup_cb(GtkAction *action, gpointer user_data) { if (print_pagesetup == NULL) { debian/rasmol.menu0000644000000000000000000000056112150676424011362 0ustar ?package(rasmol):needs="x11" \ section="Applications/Science/Biology" \ title="Rasmol (GTK version)" \ icon="/usr/share/pixmaps/rasmol.xpm" \ command="/usr/bin/rasmol-gtk" ?package(rasmol):needs="text" \ section="Applications/Science/Biology" \ title="Rasmol (classic version)" \ icon="/usr/share/pixmaps/rasmol.xpm" \ command="/usr/bin/rasmol-classic" debian/rasmol-doc.doc-base.refcard0000644000000000000000000000033212150676424014237 0ustar Document: rasmol-refcard Title: Rasmol Quick Reference Card Author: Roger Sayle and others. Abstract: Command Reference for Rasmol Section: Science/Chemistry Format: PDF Files: /usr/share/doc/rasmol-doc/refcardA4.pdf debian/rasmol_large.png0000644000000000000000000012651712150676424012366 0ustar PNG  IHDR{3sRGBbKGD pHYs  tIME  -:ђp tEXtComment id IDATxy-U~= st!lSR@BB @BX"*L".'%'l0(]Pw3漢ߐ?~ݽ{yO6{>w}w]k}tYguYguYguYguYguYguYg,i} G}O9k MS0Z?PBH )%Z[X! 9T {6|Cԭ\:{{#nkk "գ JH2@ BVaqwn2nu+w;;{8rz2ƍ9::H)Qj $R\D N@EU`0B9 x{~}wo#d0վ[؍99K/G=ϧQpC)%R^\z/Ԟ!W= ISb`0 0 8>#׭\:{7 YEo .d{kd~oL\~|@" }A: "%'dY`# C!7o$L|Owtk7wnww0HKYu0A)XW-FC HVB%! bx<&眜0 k-[[[̳# ?I~G[t7;O<7oަ7E lm0.vm(J 1 O"{YHTڛbuK!Z(%y|>( ¨)5i/[L&G?h.Yۻ.Wdō7(҄&S `2sppC,K!q/ b\,i/^y .9sFIP(, NCFg\hkr{2?G*MYN໻>83K.,`2Y0lK8Ц@J zLL8皭qkh6)񛲨L{kRFJ5|Qx|>##n<( NOfO;q^:B;+<4_CN>5SR|mR % j2@>P*X!jkox*mQI\c4I:rΡ&k 8Pc6R%ƔbB^̰V~un;pOXA>i;XGS[Xk"HTI +]+@!h˪T^= $5VWމb p C~K187®i]6D5%K*O- ʪ/iRQqm(GwS&C1:Υ3vA=  KѥE(EkK-O @V+Ҵ3AΙT :~XP2~g(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ǐR"ˤdJa^YAJ|`PSjjse[ƶӠZ +)0 pxt5677]bQ# 0=;Q}|X:5G_LtyX##z nF\A)`8(sdYfHL-Qx嶴791y< 2:-iIGm:ml jtJMT_RW^sābggwޅR7t  <χ\rvJ%~?_r|(w>Wn͛7~|< Iqvf( @ c I\v w?;w % aP@k/vOϕ'~Lk8Zlm`ooZkL&899p8,}&^.FeZ}dYVzlooc:Bߏo~:\ͥ>O߽{i!MSiMptt~Ay]ܻw7nYnll_6ӭ7>>o[~խnu[Vխnu[Vխnu[Vխnu[z, .^܎IENDB`debian/compat0000644000000000000000000000000212150676424010373 0ustar 8 debian/rasmol.install0000644000000000000000000000066412150676424012070 0ustar RASLIC usr/share/doc/rasmol doc/rasmol.hlp usr/share/rasmol src/rasmol-gtk usr/bin debian/rasmol-gtk.desktop usr/share/applications debian/rasmol.xpm usr/share/pixmaps debian/rasmol.png usr/share/pixmaps src/rasmol.8 usr/lib/rasmol src/rasmol.16 usr/lib/rasmol src/rasmol.32 usr/lib/rasmol debian/rasmol-classic.desktop usr/share/applications debian/rasmol.png0000644000000000000000000003121212150676424011177 0ustar PNG  IHDRtM=:sRGBbKGD pHYs  tIME  0Q tEXtComment id IDATxyi]ywTUwHC7M넄@3j#LL.D. `(˅^ML1H"&/PB5:={SЧ.Sg׮]/utnMozo *!I/= jV=&q(fI?dcLJbz((JR!!5H՘7P2Y MUBk1)Rh(eP2A)I1byy&WCx EUskiȑ#4C$(%BBJI3H_ !08z(u]k]77=_ h5T I$iC,uB$H)Z$qi4MmZk$! xM/  ?ġ|m~q8vf֎܂ IatBs`i|H)ɲ DMBGJCqEhΝyVG\mpE ai'P;Obvg4Rc iZ20u< xiŤ5(bg>Gϼ^ e\au:F믻e$ijV Yw1,KIR){=@!R!AXi@U5m?=W;o{MT q! R9sTt ,>H屶PUU E6$ KY. I*H3GruOD8o~~XY#kGB1XX"IrlH Z9J)4%I &Q"IJQ$4K,J_P!;[4ڜ&Oms;SOJjKZLREJ !f.QLNw5{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+ IENDB`debian/rasmol.postinst0000644000000000000000000000034212150676424012276 0ustar #!/bin/sh set -e #DEBHELPER# if [ "$1" = "configure" ]; then update-alternatives --install /usr/bin/rasmol rasmol /usr/bin/rasmol-gtk 11 update-alternatives --install /usr/bin/rasmol rasmol /usr/bin/rasmol-classic 10 fi debian/rasmol.bash_completion0000644000000000000000000000116012150676424013560 0ustar # rasmol(1) completion # put this file in /etc/bash_completion.d/ have rasmol && _rasmol() { local cur COMPREPLY=() cur=${COMP_WORDS[COMP_CWORD]} if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '-nodisplay -script \ -pdb -mdl -mol2 -xyz -mopac -alchemy \ -charmm -cif' -- $cur ) ) else _filedir '@(pdb|PDB|mol|MOL|mol2|xyz|XYZ|mop|MOP|mopcrt|MOPCRT|mopint|MOPINT|mopout|MOPOUT|alc|ALC|crd|cor|cif|CIF|mmcif|mmCIF|MMCIF)' fi } [ "${have:-}" ] && complete -F _rasmol $filenames rasmol debian/rasmol.mime0000644000000000000000000000045212150676424011344 0ustar chemical/x-pdb; viewer=/usr/bin/rasmol-gtk; test=/usr/bin/test -n "$DISPLAY"; description=Protein DataBank Format; nametemplate=%s.pdb; priority=6 chemical/x-pdb; viewer=/usr/bin/rasmol-classic; test=/usr/bin/test -n "$DISPLAY"; description=Protein DataBank Format; nametemplate=%s.pdb; priority=6