XDS-Viewer: Difference between revisions

From XDSwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
XDS-viewer is a open source program that was written by Michael Hoffer (Kabsch lab). It replaces the now obsolete [[VIEW]] program.
XDS-viewer is a open source program that was written by Michael Hoffer (Kabsch lab). It replaces the now obsolete [[VIEW]] program, and is available from http://xds-viewer.sourceforge.net/ .


I was able to compile the program (version 0.5) for RedHat Enterprise Linux versions 3, 4 and 5 (or rather, for their CentOS equivalents) by the following recipe:
Source code adapted to Qt5 is available as [https://{{SERVERNAME}}/pub/xds-viewer-0.7.tar.gz] (Thomas Hauß, HZB).


# the X11 development libs are needed; in case they are not available use something like:
To compile the program, use the following recipe:
# yum install libX11-devel libXext-devel
# also check out http://doc.trolltech.com/4.5/requirements-x11.html !
wget http://download.qtsoftware.com/qt/source/qt-x11-opensource-src-4.5.0.tar.gz
# unpack the tarfile and run "./configure -static"; then "gmake -j <number of processes>".
# Warning: this takes hours and up to 10 GB disk space!
# It may be possible to add e.g. the -no-qt3support -no-exceptions options but I didn't try.
wget http://www.cmake.org/files/v2.6/cmake-2.6.3-Linux-i386.sh
# unpack and note where the bin directory is
wget http://downloads.sourceforge.net/xds-viewer/xds-viewer-0.5.tar.gz
# unpack, then edit compile.sh and add a line like
# PATH=<path to cmake bin directory>:/usr/local/Trolltech/Qt-4.5.0/bin:$PATH
sh compile.sh  # this gives the binary in the build/bin directory


I worked out the following patch to make the x and y values fit into the upper right window:
wget http://downloads.sourceforge.net/xds-viewer/xds-viewer-0.6.tar.gz
tar xf xds-viewer-0.6.tar.gz
cd xds-viewer-0.6
sh compile.sh
# If this complains about missing tools or libraries, use e.g. "yum search cmake"
# I had to "yum install cmake qt-devel"
# on CentOS6 I had to install and use cmake3 instead of cmake
# installation of the 0.7 version works in the same way
 
The following patch makes the x and y values fit into the upper right window:


  --- xds-viewer-old/src/mainwindow.ui    2009-03-08 15:00:55.000000000 +0100
  --- xds-viewer-old/src/mainwindow.ui    2009-03-08 15:00:55.000000000 +0100
Line 35: Line 28:
               <strikeout>false</strikeout>
               <strikeout>false</strikeout>


The resulting binaries are available at ftp://turn5.biologie.uni-konstanz.de/pub .
Linux binaries are available at https://{{SERVERNAME}}/pub/linux_bin . The default one is a [https://{{SERVERNAME}}/pub/linux_bin/XDS-viewer Qt5 binary] (a Qt4 binary is available as XDS-viewer.qt4).


Update Dec 21, 2009: XDS-viewer is at version 0.6 but the changes are minor, they affect only the installation script. The above still applies. Cmake is at version 2.8.0 now.
A Qt5 binary for MacOS [https://{{SERVERNAME}}/pub/mac_bin/XDS-Viewer-macOS10.13.dmg 10.13], and one for [https://{{SERVERNAME}}/pub/mac_bin/XDS-Viewer-macOS10.15.dmg 10.15] and newer was made available by Thomas Hauß (HZB). Mac users must decide which one is appropriate.


==Gentoo Linux==
==Binaries at the sourceforge site==
[https://sourceforge.net/project/platformdownload.php?group_id=239755 These binaries] are really old.


You can find the ebuild in the science overlay.
==See also==


emerge sci-visualization/xds-viewer
[[Installation]]

Latest revision as of 19:15, 28 November 2021

XDS-viewer is a open source program that was written by Michael Hoffer (Kabsch lab). It replaces the now obsolete VIEW program, and is available from http://xds-viewer.sourceforge.net/ .

Source code adapted to Qt5 is available as [1] (Thomas Hauß, HZB).

To compile the program, use the following recipe:

wget http://downloads.sourceforge.net/xds-viewer/xds-viewer-0.6.tar.gz
tar xf xds-viewer-0.6.tar.gz
cd xds-viewer-0.6
sh compile.sh 
# If this complains about missing tools or libraries, use e.g. "yum search cmake" 
# I had to "yum install cmake qt-devel"
# on CentOS6 I had to install and use cmake3 instead of cmake 
# installation of the 0.7 version works in the same way

The following patch makes the x and y values fit into the upper right window:

--- xds-viewer-old/src/mainwindow.ui    2009-03-08 15:00:55.000000000 +0100
+++ xds-viewer-new/src/mainwindow.ui    2009-03-05 22:22:37.000000000 +0100
@@ -142,7 +142,7 @@
            <property name="font" >
             
              <family>Monospace</family>
-             <pointsize>12</pointsize>
+             <pointsize>11</pointsize>
              <weight>75</weight>
              <bold>true</bold>
              <strikeout>false</strikeout>

Linux binaries are available at https://wiki.uni-konstanz.de/pub/linux_bin . The default one is a Qt5 binary (a Qt4 binary is available as XDS-viewer.qt4).

A Qt5 binary for MacOS 10.13, and one for 10.15 and newer was made available by Thomas Hauß (HZB). Mac users must decide which one is appropriate.

Binaries at the sourceforge site

These binaries are really old.

See also

Installation