--- gpp4-1.0.4.orig/debian/control +++ gpp4-1.0.4/debian/control @@ -0,0 +1,58 @@ +Source: gpp4 +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Morten Kjeldgaard +Homepage: http://www.bioxray.au.dk/~mok/gpp4 +Build-Depends: debhelper (>= 5), autotools-dev, quilt +Build-Depends-Indep: doxygen +Standards-Version: 3.7.3 +Section: science + +Package: libgpp4-0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: shared library for CCP4 compatible programs + The goal of the ggp4 project is to provide a drop-in replacement for the + non-free CCP4 library for macromolecular crystallography. The library + performs a number of common tasks in standardized manner. These tasks + include file opening, parsing keyworded input, and reading and writing of + standard data formats for electron density maps and X-Ray diffraction + data. Programs may call this library to ensure compatibility with the + CCP4 program suite, as well as a similar look-and-feel. + . + This package provides a shared library needed to run programs that + have been linked to libgpp4.so. + +Package: libgpp4-dev +Section: libdevel +Architecture: any +Suggests: libgpp4-doc +Depends: libgpp4-0 (= ${binary:Version}) +Description: development environment for CCP4 compatible programs + The goal of the ggp4 project is to provide a drop-in replacement for the + non-free CCP4 library for macromolecular crystallography. The library + performs a number of common tasks in standardized manner. These tasks + include file opening, parsing keyworded input, and reading and writing of + standard data formats for electron density maps and X-Ray diffraction + data. Programs may call this library to ensure compatibility with the + CCP4 program suite, as well as a similar look-and-feel. + . + This package provides header files and library for developing free + CCP4 compatible programs. + +Package: libgpp4-doc +Section: doc +Architecture: all +Suggests: www-browser +Enhances: libgpp4-dev +Description: doxygen generated documentation for libgpp4 + The goal of the ggp4 project is to provide a drop-in replacement for the + non-free CCP4 library for macromolecular crystallography. The library + performs a number of common tasks in standardized manner. These tasks + include file opening, parsing keyworded input, and reading and writing of + standard data formats for electron density maps and X-Ray diffraction + data. Programs may call this library to ensure compatibility with the + CCP4 program suite, as well as a similar look-and-feel. + . + This package provides doxygen generated documentation for the library. --- gpp4-1.0.4.orig/debian/rules +++ gpp4-1.0.4/debian/rules @@ -0,0 +1,102 @@ +#!/usr/bin/make -f +# -*- mode: makefile; mode: font-lock -*- + +include /usr/share/quilt/quilt.make + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Export DH_OPTIONS to save options for binary-common +export DH_OPTIONS + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 -D_REENTRANT +else + CFLAGS += -O2 -D_REENTRANT +endif + +config.status: patch configure + dh_testdir + ./configure --prefix=/usr + +build: build-arch + +build-arch: build-arch-stamp +build-arch-stamp: config.status + dh_testdir + + # Build the libary + $(MAKE) CFLAGS="$(CFLAGS)" + touch $@ + +# The build-indep target is called from install-indep only +# This is to avoid generating the doxygen docs in a -B build +build-indep: build-indep-stamp +build-indep-stamp: + dh_testdir + + # create the doxygen documentation + cd src; doxygen + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp + + # Clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + + # remove the doxygen-generated tree + rm -rf doc/ + + dh_clean + +install: install-indep install-arch + +install-indep: build-indep + +install-arch: + dh_testdir + dh_testroot + dh_clean -k + + # Install the compiled library in debian/tmp tree + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + dh_install -a --sourcedir=debian/tmp + +# Build architecture-independent packages +binary-indep: build-indep install-indep + dh_testdir + dh_testroot + # Now call make recursively to execute the common bits + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture-dependent package +binary-arch: build-arch install-arch + dh_testdir + dh_testroot + dh_strip + dh_makeshlibs + dh_shlibdeps + # Now call make recursively to execute the common bits + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +# These are the debhelpers common to both indep and arch-dependent +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch build-indep build-arch --- gpp4-1.0.4.orig/debian/watch +++ gpp4-1.0.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://ftp.bioxray.au.dk/pub/mok/src/gpp4-(.*)\.tar\.gz debian uupdate --- gpp4-1.0.4.orig/debian/libgpp4-dev.install +++ gpp4-1.0.4/debian/libgpp4-dev.install @@ -0,0 +1,4 @@ +usr/include/gpp4 +usr/lib/libgpp4.a +usr/lib/libgpp4.so +usr/lib/pkgconfig/gpp4.pc --- gpp4-1.0.4.orig/debian/changelog +++ gpp4-1.0.4/debian/changelog @@ -0,0 +1,17 @@ +gpp4 (1.0.4-0ubuntu3) hardy; urgency=low + + * FTBFS error on the hppa platform fixed (LP: #193289) + + -- Morten Kjeldgaard Tue, 19 Feb 2008 15:32:00 +0100 + +gpp4 (1.0.4-0ubuntu2) hardy; urgency=low + + * Removed dependency to non-existent package libgpp4-data (LP: #186393) + + -- Morten Kjeldgaard Sun, 27 Jan 2008 18:12:07 +0100 + +gpp4 (1.0.4-0ubuntu1) hardy; urgency=low + + * Initial release (LP: #176209) + + -- Morten Kjeldgaard Thu, 10 Jan 2008 00:06:26 +0100 --- gpp4-1.0.4.orig/debian/libgpp4-0.install +++ gpp4-1.0.4/debian/libgpp4-0.install @@ -0,0 +1,2 @@ +usr/lib/libgpp4.so.* +usr/share/gpp4 --- gpp4-1.0.4.orig/debian/compat +++ gpp4-1.0.4/debian/compat @@ -0,0 +1 @@ +5 --- gpp4-1.0.4.orig/debian/libgpp4-0.docs +++ gpp4-1.0.4/debian/libgpp4-0.docs @@ -0,0 +1 @@ +README --- gpp4-1.0.4.orig/debian/patches/series +++ gpp4-1.0.4/debian/patches/series @@ -0,0 +1 @@ +ccp4_sysdep.h.patch --- gpp4-1.0.4.orig/debian/patches/ccp4_sysdep.h.patch +++ gpp4-1.0.4/debian/patches/ccp4_sysdep.h.patch @@ -0,0 +1,11 @@ +--- gpp4.orig/src/ccp4_sysdep.h ++++ gpp4/src/ccp4_sysdep.h +@@ -260,7 +260,7 @@ + # define NATIVEIT DFNTI_IBO + #endif + +-#if defined(MIPSEB) || defined(__hpux) || defined(_AIX) || defined(m68k) || defined(mc68000) || defined(sparc) || defined (__sparc__) ++#if defined(MIPSEB) || defined(__hpux) || defined(_AIX) || defined(m68k) || defined(mc68000) || defined(sparc) || defined (__sparc__) || defined (__hppa__) + # define NATIVEIT DFNTI_MBO + # define NATIVEFT DFNTF_BEIEEE + #endif --- gpp4-1.0.4.orig/debian/copyright +++ gpp4-1.0.4/debian/copyright @@ -0,0 +1,72 @@ +X-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +X-Debianized-By: Morten Kjeldgaard +X-Debianized-Date: Thu, 9 Aug 2007 18:26:38 +0200. +X-Source-Downloaded-From: ftp://ftp.bioxray.au.dk/pub/mok/src +X-Upstream-Author: Morten Kjeldgaard + +Files: src/* +Copyright: (C) 2001 CCLRC (Central Laboratory of the Research Councils) + (C) 2001 Charles Ballard + (C) 2001-2003 Martyn Winn + (C) 2001 Eugene Krissinel + (C) 2001, 2003 Peter Briggs + (C) 2002 Kevin Cowtan + (C) 2005 Ralf Grosse-Kunstleve + (C) 2005 Paul Emsley + (C) 2007 Morten Kjeldgaard +License: LGPL-2+ + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Files: data/* +Copyright: (C) 2001-2007 CCLRC (Central Laboratory of the Research Councils) +License: LGPL-2+ + +Files: debian/*, configure.ac, */Makefile.am, test/* +Copyright: (C) 2007, Morten Kjeldgaard +License: LGPL-2+ + +Files: config/config.guess, config/config.sub, config/depcomp, config/ltmain.sh, + config/missing, aclocal.m4 +Copyright: (C) 1992-2004 Free Software Foundation, Inc. + (C) 1996 Gordon Matzigkeit , 1996 +License: GPL-2+ + +Files: config/install-sh +Copyright: (C) 1994 X Consortium +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + . + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + +X-Comment: On Debian GNU/Linux systems, the complete text of the GNU Lesser + General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. --- gpp4-1.0.4.orig/debian/libgpp4-doc.docs +++ gpp4-1.0.4/debian/libgpp4-doc.docs @@ -0,0 +1 @@ +doc/html --- gpp4-1.0.4.orig/debian/libgpp4-doc.doc-base +++ gpp4-1.0.4/debian/libgpp4-doc.doc-base @@ -0,0 +1,9 @@ +Document: gpp4 +Title: gpp4 Programmers Manual +Author: Various +Abstract: This manual is generated from the source code of libgpp4. +Section: science + +Format: HTML +Index: /usr/share/doc/libgpp4-doc/html/index.html +Files: /usr/share/doc/libgpp4-doc/html/*.html