--- boinc-app-seti-5.13+cvs20060510.orig/debian/extra/app_info.xml.in +++ boinc-app-seti-5.13+cvs20060510/debian/extra/app_info.xml.in @@ -0,0 +1,17 @@ + + + setiathome_enhanced + + + setiathome_enhanced + + + + setiathome_enhanced + VERSION + + setiathome_enhanced + + + + --- boinc-app-seti-5.13+cvs20060510.orig/debian/extra/seti.cfg +++ boinc-app-seti-5.13+cvs20060510/debian/extra/seti.cfg @@ -0,0 +1,7 @@ +[DEFAULT] +project = seti +app_info = /usr/share/boinc-app-seti/app_info.xml +apps = /usr/lib/boinc-app-seti/setiathome_enhanced +urls = setiathome.berkeley.edu + setiathome.ssl.berkeley.edu + setiweb.ssl.berkeley.edu --- boinc-app-seti-5.13+cvs20060510.orig/debian/boinc-app-seti.install +++ boinc-app-seti-5.13+cvs20060510/debian/boinc-app-seti.install @@ -0,0 +1,2 @@ +debian/extra/app_info.xml usr/share/boinc-app-seti +debian/extra/seti.cfg usr/share/boinc-apps/info --- boinc-app-seti-5.13+cvs20060510.orig/debian/control +++ boinc-app-seti-5.13+cvs20060510/debian/control @@ -0,0 +1,31 @@ +Source: boinc-app-seti +Section: science +Priority: optional +Maintainer: Debian BOINC Maintainers +Uploaders: Steffen Moeller , Frank S. Thomas , Christoph Martin +Standards-Version: 3.7.2 +Build-Depends: cdbs (>= 0.4.27-1), debhelper (>= 5), quilt, patchutils (>= 0.2.25), automake1.9 (>= 1.9.3), autoconf (>= 2.59), boinc-dev (>= 5.10.8-1), libfftw3-dev +Homepage: http://setiathome.ssl.berkeley.edu +Vcs-Svn: svn://svn.debian.org/pkg-boinc/trunk/boinc-app-seti/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc-app-seti/ + +Package: boinc-app-seti +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, boinc-client (>= 5.4.3-1) +Description: SETI@home application for the BOINC client + SETI@home is a distributed computing project using Internet-connected + computers for the Search for Extraterrestrial Intelligence (SETI). It + searches for possible evidence of extraterrestrial intelligence in + radio transmissions collected by the Arecibo radio telescope. + . + This package contains the SETI@home Enhanced application for the BOINC + distributed computing platform. The BOINC client downloads the radio + data which the SETI@home application analyzes looking for signals of + extraterrestrial origin. Results are then send back to the SETI@home + server by the BOINC client. + . + Note that this package has been primarily created for users of + architectures for which SETI@home does not provide it's application. + If your architecture is x86 or AMD64 the BOINC client automatically + downloads the latest SETI@home application if you participate in this + project. There is no need to install this package then. --- boinc-app-seti-5.13+cvs20060510.orig/debian/patches/003_dont_use_own_jpeglib.patch +++ boinc-app-seti-5.13+cvs20060510/debian/patches/003_dont_use_own_jpeglib.patch @@ -0,0 +1,46 @@ +The commented SAH_CHECK_JPEGLIB in configure.ac prevents that setiathome +will be linked against libjpeg. If the package should be configured with +"--enable-graphics" this needs to be uncommented. + +Index: boinc-app-seti-5.13+cvs20060510/Makefile.am +=================================================================== +--- boinc-app-seti-5.13+cvs20060510.orig/Makefile.am 2005-10-26 20:23:03.000000000 +0200 ++++ boinc-app-seti-5.13+cvs20060510/Makefile.am 2007-07-19 14:10:04.000000000 +0200 +@@ -28,7 +28,7 @@ + endif + + +-SUBDIRS = $(JPEGDIR) $(IMDIR) $(GLUTDIR) $(CLIENT_SUBDIRS) $(SERVER_SUBDIRS) ++SUBDIRS = $(IMDIR) $(GLUTDIR) $(CLIENT_SUBDIRS) $(SERVER_SUBDIRS) + + dist-hook: + rm -rf `find $(distdir) -name .backup -prune -o -name '*~' -o -name CVS` +Index: boinc-app-seti-5.13+cvs20060510/configure.ac +=================================================================== +--- boinc-app-seti-5.13+cvs20060510.orig/configure.ac 2007-07-19 14:10:04.000000000 +0200 ++++ boinc-app-seti-5.13+cvs20060510/configure.ac 2007-07-19 14:10:41.000000000 +0200 +@@ -195,7 +195,7 @@ + AC_DEFINE([HAVE_LIBSOCKET],[1],[Define to 1 if you have the socket library])) + SAH_CHECK_LIB([z], [uncompress], + AC_DEFINE([HAVE_LIBZ],[1],[Define to 1 if you have the z library])) +-SAH_CHECK_JPEGLIB ++#SAH_CHECK_JPEGLIB + SAH_CHECK_LIB([stdc++],[sscanf], + AC_DEFINE([HAVE_LIBSTDC__],[1],[Define to 1 if you have the stdc++ library])) + SAH_CHECK_LIB([gcc_eh],[_Unwind_Resume], +@@ -315,6 +315,7 @@ + AH_TEMPLATE([HAVE_STD_TRANSFORM],[Define to 1 if transform is in namespace std::]) + SAH_FUNCS_IN_NAMESPACE([['min(0,0)'] ['max(0,0)'] ['transform((char *)0,(char *)0,(char *)0,(int(*)(int))malloc)']],std) + ++AM_CONDITIONAL(USE_MY_LIBJPEG, [false]) + AM_CONDITIONAL(USE_MY_IMAGELIBS, [false]) + AM_CONDITIONAL(USE_MY_GLUT, [false]) + AM_CONDITIONAL(ENABLE_SERVER, [test "${enable_server}" = yes]) +@@ -360,7 +361,6 @@ + ]) + + AC_CONFIG_FILES([Makefile +- jpeglib/Makefile + client/Makefile + tools/Makefile + db/Makefile --- boinc-app-seti-5.13+cvs20060510.orig/debian/patches/002_disable_static_linkage.patch +++ boinc-app-seti-5.13+cvs20060510/debian/patches/002_disable_static_linkage.patch @@ -0,0 +1,31 @@ +Index: boinc-app-seti-5.13+cvs20060510/configure.ac +=================================================================== +--- boinc-app-seti-5.13+cvs20060510.orig/configure.ac 2007-03-29 11:05:09.000000000 +0200 ++++ boinc-app-seti-5.13+cvs20060510/configure.ac 2007-03-29 11:06:02.000000000 +0200 +@@ -156,15 +156,18 @@ + AC_SYS_LARGEFILE + ACX_PTHREAD([AC_DEFINE(HAVE_PTHREAD,1, [Have pthread])]) + +-STATIC_LIB_LIST="stdc++ gcc gcc_eh gtk* gdk* gmodule gthread glib wx* tiff jpeg +-png Xi glut socket z fftw3f" ++#STATIC_LIB_LIST="stdc++ gcc gcc_eh gtk* gdk* gmodule gthread glib wx* tiff jpeg ++#png Xi glut socket z fftw3f" ++# ++#case ${target} in ++# *-linux*) STATIC_LIB_LIST="${STATIC_LIB_LIST} nsl ssl crypto" ++# ;; ++# *-solaris*) STATIC_LIB_LIST="${STATIC_LIB_LIST} X* ssl crypto" ++# ;; ++#esac + +-case ${target} in +- *-linux*) STATIC_LIB_LIST="${STATIC_LIB_LIST} nsl ssl crypto" +- ;; +- *-solaris*) STATIC_LIB_LIST="${STATIC_LIB_LIST} X* ssl crypto" +- ;; +-esac ++# This needs at least one word, so I'm using nolib, which isn't a lib. :-) ++STATIC_LIB_LIST="nolib" + + # Checks for libraries. + CHECK_SSL --- boinc-app-seti-5.13+cvs20060510.orig/debian/patches/README.patches +++ boinc-app-seti-5.13+cvs20060510/debian/patches/README.patches @@ -0,0 +1,9 @@ +0xx patches are Debian-specific build patches, that have not and will not be +proposed upstream; they don't need to be. + +If there are any: + +1xx patches have been proposed upstream and accepted; these can safely be +deleted when updating to a new release. + +2xx patches are awaiting the approval of upstream. --- boinc-app-seti-5.13+cvs20060510.orig/debian/patches/004_include_new_str_util.h.patch +++ boinc-app-seti-5.13+cvs20060510/debian/patches/004_include_new_str_util.h.patch @@ -0,0 +1,42 @@ +In BOINC 5.10 the functions strlcpy() and strlcat() that were previously +declared in lib/util.h have been moved to the new lib/str_util.h header. +Therefore we need to include this header in the following source files. +Note that boinc-dev (>= 5.10.8-1) is needed to build boinc-app-seti with +this patch applied. + +Index: boinc-app-seti-5.13+cvs20060510/client/timecvt.cpp +=================================================================== +--- boinc-app-seti-5.13+cvs20060510.orig/client/timecvt.cpp 2006-01-12 02:51:17.000000000 +0100 ++++ boinc-app-seti-5.13+cvs20060510/client/timecvt.cpp 2007-07-19 08:40:24.000000000 +0200 +@@ -49,6 +49,7 @@ + + #include "util.h" + #include "s_util.h" ++#include "str_util.h" + #include "timecvt.h" + + void timecvt_start() {} +Index: boinc-app-seti-5.13+cvs20060510/db/xml_util.cpp +=================================================================== +--- boinc-app-seti-5.13+cvs20060510.orig/db/xml_util.cpp 2006-05-04 23:45:46.000000000 +0200 ++++ boinc-app-seti-5.13+cvs20060510/db/xml_util.cpp 2007-07-19 08:40:24.000000000 +0200 +@@ -88,6 +88,7 @@ + #include + + #include "std_fixes.h" ++#include "str_util.h" + #include "util.h" + #include "xml_util.h" + +Index: boinc-app-seti-5.13+cvs20060510/client/sah_gfx.cpp +=================================================================== +--- boinc-app-seti-5.13+cvs20060510.orig/client/sah_gfx.cpp 2007-07-19 08:45:13.000000000 +0200 ++++ boinc-app-seti-5.13+cvs20060510/client/sah_gfx.cpp 2007-07-19 08:45:52.000000000 +0200 +@@ -122,6 +122,7 @@ + #endif + + #include "util.h" ++#include "str_util.h" + #include "boinc_api.h" + #include "graphics_api.h" + #ifdef DYNAMIC_GRAPHICS --- boinc-app-seti-5.13+cvs20060510.orig/debian/patches/series +++ boinc-app-seti-5.13+cvs20060510/debian/patches/series @@ -0,0 +1,4 @@ +001_build_fixes.patch +002_disable_static_linkage.patch +003_dont_use_own_jpeglib.patch +004_include_new_str_util.h.patch --- boinc-app-seti-5.13+cvs20060510.orig/debian/patches/001_build_fixes.patch +++ boinc-app-seti-5.13+cvs20060510/debian/patches/001_build_fixes.patch @@ -0,0 +1,50 @@ +Index: boinc-app-seti-5.13+cvs20060510/client/Makefile.am +=================================================================== +--- boinc-app-seti-5.13+cvs20060510.orig/client/Makefile.am 2007-03-29 11:05:11.000000000 +0200 ++++ boinc-app-seti-5.13+cvs20060510/client/Makefile.am 2007-03-29 11:05:54.000000000 +0200 +@@ -90,11 +90,11 @@ + seti_boinc_LDADD = $(CLIENT_LD_ADD) + seti_boinc_LINK = $(CXX) -o $@ + +-if LINUX ++#if LINUX + # too much optimization on main.cpp breaks the client for some reason +-seti_boinc-main.o: +- if $(CXX) --include ../config.h -DDYNAMIC_GRAPHICS=1 $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DEFS) -DTEXT_UI -DNDEBUG -DCLIENT -I$(top_srcdir)/db $(BOINC_CFLAGS) $(PTHREAD_CFLAGS) -O2 -Wall -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +-endif ++#seti_boinc-main.o: ++# if $(CXX) --include ../config.h -DDYNAMIC_GRAPHICS=1 $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(DEFS) -DTEXT_UI -DNDEBUG -DCLIENT -I$(top_srcdir)/db $(BOINC_CFLAGS) $(PTHREAD_CFLAGS) -O2 -Wall -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi ++#endif + + + if ENABLE_GUI +Index: boinc-app-seti-5.13+cvs20060510/db/sqlblob.h +=================================================================== +--- boinc-app-seti-5.13+cvs20060510.orig/db/sqlblob.h 2007-03-29 11:05:11.000000000 +0200 ++++ boinc-app-seti-5.13+cvs20060510/db/sqlblob.h 2007-03-29 11:05:54.000000000 +0200 +@@ -75,7 +75,7 @@ + fflush(stderr); + #endif + } +- b.mem=new std::vector(xml_decode_string(buf.c_str()+start,end-start,enc_string)); ++ b.mem=new std::vector(xml_decode_string(buf.c_str()+start,end-start,enc_string)); + #ifdef DEBUG_ALLOCATIONS + fprintf(stderr,"sqlblob: allocated a vector at 0x%p\n",b.mem); + fflush(stderr); +Index: boinc-app-seti-5.13+cvs20060510/db/xml_util.h +=================================================================== +--- boinc-app-seti-5.13+cvs20060510.orig/db/xml_util.h 2007-03-29 11:05:11.000000000 +0200 ++++ boinc-app-seti-5.13+cvs20060510/db/xml_util.h 2007-03-29 11:05:54.000000000 +0200 +@@ -220,9 +220,9 @@ + + // decode an XML character string. Return a the decoded string in a vector + // (null not necessarily a terminator). +-//template +-//vector xml_decode_string(const char *input, size_t length=0, +-// const char *encoding="x_xml_entity"); ++template ++std::vector xml_decode_string(const char *input, size_t length=0, ++ const char *encoding="x_xml_entity"); + + // do the same thing, but get the length and encoding type from the + // xml tag properties. --- boinc-app-seti-5.13+cvs20060510.orig/debian/compat +++ boinc-app-seti-5.13+cvs20060510/debian/compat @@ -0,0 +1 @@ +5 --- boinc-app-seti-5.13+cvs20060510.orig/debian/control.in +++ boinc-app-seti-5.13+cvs20060510/debian/control.in @@ -0,0 +1,31 @@ +Source: boinc-app-seti +Section: science +Priority: optional +Maintainer: Debian BOINC Maintainers +Uploaders: Steffen Moeller , Frank S. Thomas , Christoph Martin +Standards-Version: 3.7.2 +Build-Depends: @cdbs@, automake1.9 (>= 1.9.3), autoconf (>= 2.59), boinc-dev (>= 5.10.8-1), libfftw3-dev +Homepage: http://setiathome.ssl.berkeley.edu +Vcs-Svn: svn://svn.debian.org/pkg-boinc/trunk/boinc-app-seti/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc-app-seti/ + +Package: boinc-app-seti +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, boinc-client (>= 5.4.3-1) +Description: SETI@home application for the BOINC client + SETI@home is a distributed computing project using Internet-connected + computers for the Search for Extraterrestrial Intelligence (SETI). It + searches for possible evidence of extraterrestrial intelligence in + radio transmissions collected by the Arecibo radio telescope. + . + This package contains the SETI@home Enhanced application for the BOINC + distributed computing platform. The BOINC client downloads the radio + data which the SETI@home application analyzes looking for signals of + extraterrestrial origin. Results are then send back to the SETI@home + server by the BOINC client. + . + Note that this package has been primarily created for users of + architectures for which SETI@home does not provide it's application. + If your architecture is x86 or AMD64 the BOINC client automatically + downloads the latest SETI@home application if you participate in this + project. There is no need to install this package then. --- boinc-app-seti-5.13+cvs20060510.orig/debian/boinc-app-seti.README.Debian +++ boinc-app-seti-5.13+cvs20060510/debian/boinc-app-seti.README.Debian @@ -0,0 +1,9 @@ +BOINC version of SETI@home (boinc-app-seti) for Debian +====================================================== + +This package creates symlinks for the SETI@home binary and its app_info.xml +file in Debian's default BOINC data directory /var/lib/boinc-client. If you +are not using the default data directory you need to create these symlinks +yourself. +Refer to the paragraph "Installing and configuring BOINC application packages" +in /usr/share/doc/boinc-client/README.Debian for detailed instructions. --- boinc-app-seti-5.13+cvs20060510.orig/debian/changelog +++ boinc-app-seti-5.13+cvs20060510/debian/changelog @@ -0,0 +1,47 @@ +boinc-app-seti (5.13+cvs20060510-3) unstable; urgency=low + + * debian/rules: Remove two binary files that are not removed by "make clean" + and use clean instead of distclean as DEB_MAKE_CLEAN_TARGET, because + distclean removes files that are needed to build this package. These + changes fixes the FTBFS if build twice in a row. (closes: #442513) + * debian/control.in: + - Moved Homepage pseudo field in the long description to the source stanza + because this is now a propper debian/control field supported by dpkg. + - fftw3-dev was renamed to libfftw3-dev, adjusted Build-Depends + accordingly. + + -- Frank S. Thomas Thu, 11 Oct 2007 16:21:39 +0200 + +boinc-app-seti (5.13+cvs20060510-2) unstable; urgency=low + + * debian/boinc-app-seti-prerm: Stop the BOINC core client before removing + the SETI@home symlinks from the data directory to prevent the client from + downloading new work units although no application to process these is + present. (related to: #415765) + * debian/control.in: + - Added XS-Vcs fields to the source stanza. + - Improved the description of the package and explicitly stated that this + package is not needed on i386 and amd64 hosts since SETI@home supports + those architectures officially. + * debian/copyright: Added copyright information for glut/Roman.stroke and + glut/stroke.h and added a copyright note about the Debian packaging. + * Changed from dpatch to the quilt patch system. + * debian/patches/: + - 004_include_new_str_util.h.patch added. The strlcpy() and strlcat() + functions that were previously declared in boinc-dev/lib/util.h have + been moved in BOINC 5.10 to the new boinc-dev/lib/str_util.h header + file, so we need to include this new header in some files. Bumped build + dependency to "boinc-dev (>= 5.10.8-1)" accordingly. (closes: #433737) + - 003_dont_use_own_jpeglib.patch modified to prevent that setiathome is + linked against libjpeg. This ensures predictability of the dependecy + list, see http://lists.debian.org/debian-devel/2007/07/msg00588.html for + details. + + -- Frank S. Thomas Thu, 19 Jul 2007 14:21:27 +0200 + +boinc-app-seti (5.13+cvs20060510-1) unstable; urgency=low + + * Initial release based on Steffen Moeller's boinc-client-seti package. + + -- Frank S. Thomas Mon, 22 May 2006 09:09:03 +0200 + --- boinc-app-seti-5.13+cvs20060510.orig/debian/copyright +++ boinc-app-seti-5.13+cvs20060510/debian/copyright @@ -0,0 +1,139 @@ +This package was debianized by Steffen Moeller on +Sat, 13 Nov 2004 23:28:53 +0100 and updated by Frank S. Thomas + on Mon, 28 Mar 2005 23:08:37 +0200. + +It was downloaded from http://setiweb.ssl.berkeley.edu/sah/seti_source/nightly/ + +Upstream Authors: Eric J. Korpela + Jeff Cobb + Matt Lebofsky + David Anderson + Charlie Fenton + Rom Walton + Tetsuji Rai + Eric Heien + Hiram Clawson + +Copyright (C) 1999-2006 Regents of the University of California + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + + In addition, as a special exception, the Regents of the University + of California give permission to link the code of this program with + libraries that provide specific optimized fast Fourier transform + (FFT) functions as an alternative to FFTW and distribute a linked + executable and source code. You must obey the GNU General Public + License in all respects for all of the code used other than the FFT + library itself. Any modification required to support these libraries + must be distributed under the terms of this license. If you modify + this program, you may extend this exception to your version of the + program, but you are not obligated to do so. If you do not wish to + do so, delete this exception statement from your version. Please be + aware that FFTW is not covered by this exception, therefore you may + not use FFTW in any derivative work so modified without permission + of the authors of FFTW. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + +Copyright and license notices for additional software included in this package: + +client/fft8g.cpp, client/fftg8.h +================================ + +Author: Takuya OOURA + +Copyright (C) 1995-2001 Takya OOURA + +License: + + You may use, copy, modify and distribute this code for any purpose + (include commercial use) and without fee. Please refer to this + package when you modify this code. + + +glut/* +====== + +Copyright (C) 1994-1998 Mark J. Kilgard +Copyright (C) 1997 Nate Robins + +License: + + This program is freely distributable without licensing fees + and is provided without guarantee or warrantee expressed or + implied. This program is -not- in the public domain. + + +glut/Roman.stroke, glut/stroke.h +================================ + +Copyright (C) 1989,1990, 1991 by Sun Microsystems, Inc. and the X Consortium. + + All Rights Reserved + + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the names of Sun Microsystems, + the X Consortium, and MIT not be used in advertising or publicity + pertaining to distribution of the software without specific, written + prior permission. + + SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + + +vector_lib/* +============ + +Author: Eric J. Korpela + +Copyright (C) 2004 Regents of the University of California + +License: + + libSIMD++ is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 2, or (at your + option) any later version. + + libSIMD++ is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with libSIMD++; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + +The Debian packaging is (C) 2004-2006 Debian BOINC Maintainers + and is licensed under +the GPL, see above. --- boinc-app-seti-5.13+cvs20060510.orig/debian/boinc-app-seti.dirs +++ boinc-app-seti-5.13+cvs20060510/debian/boinc-app-seti.dirs @@ -0,0 +1,3 @@ +usr/lib/boinc-app-seti +usr/share/boinc-app-seti +usr/share/boinc-apps/info --- boinc-app-seti-5.13+cvs20060510.orig/debian/rules +++ boinc-app-seti-5.13+cvs20060510/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +# Remember to comment this before tagging for a release. +#DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +PKG = boinc-app-seti + +DEB_CONFIGURE_SCRIPT_ENV += BOINCDIR="/usr/share/boinc-dev" +DEB_CONFIGURE_EXTRA_FLAGS := \ + --enable-client \ + --disable-graphics \ + --disable-dynamic-graphics \ + --disable-server \ + --disable-static-linkage +DEB_INSTALL_DOCS_ALL := AUTHORS +DEB_MAKE_CLEAN_TARGET = clean + +UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | cut -f 1 -d '+') +APP_INFO_VERSION = $(shell echo $(UPSTREAM_VERSION) | sed -e 's/\.//g') + +post-patches:: + aclocal-1.9 -I m4 && autoheader && automake-1.9 && autoconf + +install/$(PKG):: + cp client/seti_boinc debian/$(PKG)/usr/lib/$(PKG)/setiathome_enhanced + + cat debian/extra/app_info.xml.in | \ + sed -e 's/VERSION/$(APP_INFO_VERSION)/' > debian/extra/app_info.xml + +clean:: + dh_clean client/setiathome-$(UPSTREAM_VERSION).* + dh_clean debian/extra/app_info.xml --- boinc-app-seti-5.13+cvs20060510.orig/debian/README.Debian-source +++ boinc-app-seti-5.13+cvs20060510/debian/README.Debian-source @@ -0,0 +1,21 @@ +README.Debian-source for SETI@home for BOINC (boinc-app-seti) +============================================================= + +The SETI@home project does not distribute source code releases as tarballs, +only tarballs of nightly CVS snapshots are available. These can be downloaded +from this location: + + http://setiweb.ssl.berkeley.edu/sah/seti_source/nightly/ + +For more information about the SETI@home source code see: + + http://setiathome.berkeley.edu/sah_porting.php + +The Debian BOINC Maintainers use a script called 'download-seti' to download +nightly tarballs and to prepare them for release in Debian. This script is +available in our Subversion repository: + + http://svn.debian.org/wsvn/pkg-boinc/scripts/download-seti?op=file + +For exmaple, to download the SETI@home tarball from the 16 May 2006 the +'download-seti' script is invoked as: $ download-seti 2006-05-16 --- boinc-app-seti-5.13+cvs20060510.orig/debian/boinc-app-seti.postinst +++ boinc-app-seti-5.13+cvs20060510/debian/boinc-app-seti.postinst @@ -0,0 +1,39 @@ +#!/bin/sh +# postinst script for boinc-app-seti + +set -e + +BOINC_DIR=/var/lib/boinc-client + +init_boinc_client() +{ + if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d boinc-client $1 + else + /etc/init.d/boinc-client $1 + fi +} + +case "$1" in + configure) + update-boinc-applinks --create --project=seti --data-dir=$BOINC_DIR + chown -R boinc:boinc $BOINC_DIR/projects 2>/dev/null || true + + # Restart the BOINC core client after update-boinc-applinks has + # created the symlinks for the anonymous application(s) and the + # app_info.xml file. + init_boinc_client restart + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- boinc-app-seti-5.13+cvs20060510.orig/debian/boinc-app-seti.prerm +++ boinc-app-seti-5.13+cvs20060510/debian/boinc-app-seti.prerm @@ -0,0 +1,43 @@ +#!/bin/sh +# prerm script for boinc-app-seti + +set -e + +BOINC_DIR=/var/lib/boinc-client + +init_boinc_client() +{ + if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d boinc-client $1 + else + /etc/init.d/boinc-client $1 + fi +} + +case "$1" in + remove) + # Stop the core client and wait one second to give it the + # chance to shut down gracefully before removing the S@h + # application. Start the client then again. + init_boinc_client stop + sleep 1 + update-boinc-applinks --remove --project=seti --data-dir=$BOINC_DIR + init_boinc_client start + ;; + + upgrade) + update-boinc-applinks --remove --project=seti --data-dir=$BOINC_DIR + ;; + + failed-upgrade|deconfigure) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0