[med-svn] r3208 - in trunk/packages/biococoa/trunk/debian: . patches
tille at alioth.debian.org
tille at alioth.debian.org
Thu Mar 26 08:00:54 UTC 2009
Author: tille
Date: 2009-03-26 08:00:53 +0000 (Thu, 26 Mar 2009)
New Revision: 3208
Added:
trunk/packages/biococoa/trunk/debian/patches/
trunk/packages/biococoa/trunk/debian/patches/link-libs.patch
trunk/packages/biococoa/trunk/debian/patches/series
Modified:
trunk/packages/biococoa/trunk/debian/changelog
trunk/packages/biococoa/trunk/debian/control
trunk/packages/biococoa/trunk/debian/rules
Log:
Commit a patch of Yavor Doganov <yavor at gnu.org> (many thanks Yavor!) which splits the package into a lib and a devel package; switch to cdbs as well
Modified: trunk/packages/biococoa/trunk/debian/changelog
===================================================================
--- trunk/packages/biococoa/trunk/debian/changelog 2009-03-25 15:23:21 UTC (rev 3207)
+++ trunk/packages/biococoa/trunk/debian/changelog 2009-03-26 08:00:53 UTC (rev 3208)
@@ -22,6 +22,16 @@
* Moved BioCocoa.1 to BioCocoa.3
* Suggests sequenceconverter.app
+ [ Yavor Doganov ]
+ * debian/control (Build-Depends): Add cdbs and quilt. Drop gnustep-make
+ and libgnustep-gui-dev.
+ (libbiococoa-dev, libbiococoa2): New packages.
+ (biococoa): Remove.
+ * debian/rules: Rewrite to use CDBS, as requested by Andreas.
+ * debian/patches/link-libs.patch: New; link against libobjc and
+ libgnustep-base.
+ * debian/patches/series: Create.
+
-- Andreas Tille <tille at debian.org> Mon, 23 Mar 2009 07:57:10 +0100
biococoa.app (1.6.0-8) unstable; urgency=low
Modified: trunk/packages/biococoa/trunk/debian/control
===================================================================
--- trunk/packages/biococoa/trunk/debian/control 2009-03-25 15:23:21 UTC (rev 3207)
+++ trunk/packages/biococoa/trunk/debian/control 2009-03-26 08:00:53 UTC (rev 3208)
@@ -6,20 +6,39 @@
Uploaders: Scott Christley <schristley at mac.com>,
Andreas Tille <tille at debian.org>,
Charles Plessy <plessy at debian.org>
-Build-Depends: debhelper, gnustep-make, libgnustep-base-dev (>= 1.16.1), libgnustep-gui-dev (>= 0.12.0)
+Build-Depends: cdbs, debhelper, libgnustep-base-dev (>= 1.16.1), quilt
Standards-Version: 3.8.1
Homepage: http://bioinformatics.org/biococoa/
Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/biococoa/trunk/?rev=0&sc=0
Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/biococoa/trunk/
-Package: biococoa
+Package: libbiococoa-dev
+Section: libdevel
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: libbiococoa2 (= ${binary:Version}), libgnustep-base-dev, ${gnustep:Depends}
+Description: Bioinformatics framework for GNUstep and Cocoa (development files)
+ BioCocoa is an open source Cocoa framework for bioinformatics. It intends to
+ provide Cocoa programmers with a full suite of tools for handling and
+ manipulating biological sequences. Cocoa is a great framework for rapid
+ application development and it is therefore often used to create innovative
+ bioscientific apps. To speed up development even more, BioCocoa wants to
+ offer reusable Cocoa classes that are specific for molecular biology and
+ biofinformatics. At this time, BioCocoa offers model classes for biological
+ sequences, controller classes for alignment, sequence manipulation and I/O,
+ interfacing with ENTREZ and view classes that let you easily display and work
+ with sequences in your own applications.
+ .
+ This package contains the development files, documentation and
+ examples for developing GNUstep applications using the BioCocoa framework.
+
+Package: libbiococoa2
+Section: libs
Replaces: biococoa.app
Provides: biococoa.app
Conflicts: biococoa.app
-Suggests: sequenceconverter.app
-Description: Bioinformatics framework for GNUstep and Cocoa
+Architecture: any
+Depends: ${shlibs:Depends}, ${gnustep:Depends}
+Description: Bioinformatics framework for GNUstep and Cocoa (library files)
BioCocoa is an open source Cocoa framework for bioinformatics. It intends to
provide Cocoa programmers with a full suite of tools for handling and
manipulating biological sequences. Cocoa is a great framework for rapid
@@ -30,3 +49,5 @@
sequences, controller classes for alignment, sequence manipulation and I/O,
interfacing with ENTREZ and view classes that let you easily display and work
with sequences in your own applications.
+ .
+ This package contains the runtime libraries.
Added: trunk/packages/biococoa/trunk/debian/patches/link-libs.patch
===================================================================
--- trunk/packages/biococoa/trunk/debian/patches/link-libs.patch (rev 0)
+++ trunk/packages/biococoa/trunk/debian/patches/link-libs.patch 2009-03-26 08:00:53 UTC (rev 3208)
@@ -0,0 +1,16 @@
+2009-03-25 Yavor Doganov <yavor at gnu.org>
+
+ * GNUmakefile (LIBRARIES_DEPEND_UPON): New variable; link against
+ libraries we use symbols from.
+
+--- biococoa.orig/GNUmakefile 2009-03-25 21:20:36.000000000 +0200
++++ biococoa/GNUmakefile 2009-03-25 21:21:13.000000000 +0200
+@@ -33,6 +33,8 @@
+
+ FRAMEWORK_NAME = BioCocoa
+
++LIBRARIES_DEPEND_UPON += $(FND_LIBS) $(OBJC_LIBS)
++
+ BioCocoa_SUBPROJECTS = \
+ BCFoundation
+
Added: trunk/packages/biococoa/trunk/debian/patches/series
===================================================================
--- trunk/packages/biococoa/trunk/debian/patches/series (rev 0)
+++ trunk/packages/biococoa/trunk/debian/patches/series 2009-03-26 08:00:53 UTC (rev 3208)
@@ -0,0 +1 @@
+link-libs.patch
Modified: trunk/packages/biococoa/trunk/debian/rules
===================================================================
--- trunk/packages/biococoa/trunk/debian/rules 2009-03-25 15:23:21 UTC (rev 3207)
+++ trunk/packages/biococoa/trunk/debian/rules 2009-03-26 08:00:53 UTC (rev 3208)
@@ -2,57 +2,37 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-#include /usr/share/quilt/quilt.make
+DEB_GS_FRAMEWORKS = BioCocoa
-include /usr/share/GNUstep/debian/config.mk
-GNUSTEP_MAKEFILES=$(GS_MAKE_DIR)
+DEB_GS_INTERFACE_VERSION_BioCocoa = 2
+DEB_GS_DEVPKG_NAME_BioCocoa = libbiococoa-dev
-pkg = biococoa
+include /usr/share/cdbs/1/rules/gnustep.mk
+include /usr/share/cdbs/1/class/gnumakefile.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-build: build-stamp
+DEB_GS_AUTO_DH_INSTALL = y
+DEB_DH_MAKESHLIBS_ARGS_$(DEB_GS_LIBPKG_NAME_BioCocoa) := --noscripts
-build-stamp:
- dh_testdir
- gs_make
- touch build-stamp
+# Get verbose build logs.
+export messages=yes
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- gs_make distclean clean
- dh_clean
+framework = BioCocoa
+d_dev = $(CURDIR)/debian/$(DEB_GS_DEVPKG_NAME_$(framework))
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- gs_make install DESTDIR=$(CURDIR)/debian/$(pkg) GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
+# Get rid of the libgcc dependency (explicitly added by gnustep-make);
+# might help with eventual GCC transitions.
+LDFLAGS := -Wl,-z,defs -Wl,--as-needed
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+# Build with optimization by default, currently not handled by
+# gnustep-make. The GNUstep CDBS rules lack support for "noopt".
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+OPTFLAG := -O0
+else
+OPTFLAG := -O2
+endif
+DEB_MAKE_INVOKE += OPTFLAG=$(OPTFLAG)
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs Readme.txt
- dh_installdocs
- dh_installexamples
- find $(CURDIR)/debian/$(pkg)/usr/share/doc/$(pkg)/examples/ -type f -exec chmod 644 \{\} \;
- dh_installmenu
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary-post-install/libbiococoa-dev::
+ find $(d_dev)/usr/share/doc/$(DEB_GS_DEVPKG_NAME_$(framework))/examples/ \
+ -type f -exec chmod 644 \{\} \;
More information about the debian-med-commit
mailing list