--- libgvectors-0.1.orig/debian/changelog +++ libgvectors-0.1/debian/changelog @@ -0,0 +1,6 @@ +libgvectors (0.1) unstable; urgency=low + + * Initial release + + -- Rafael Ostertag Fri, 14 Sep 2007 21:06:40 +0200 + --- libgvectors-0.1.orig/debian/compat +++ libgvectors-0.1/debian/compat @@ -0,0 +1 @@ +5 --- libgvectors-0.1.orig/debian/dirs +++ libgvectors-0.1/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- libgvectors-0.1.orig/debian/copyright +++ libgvectors-0.1/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Rafael Ostertag on +Fri, 14 Sep 2007 21:06:40 +0200. + +It was downloaded from http://www.guengel.ch/myapps/libgvectors + +Upstream Author(s): + + Rafael Ostertag + +Copyright: + + Copyright (C) 2007 Rafael Ostertag + +License: + + This package 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 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 General Public License for more details. + + You should have received a copy of the GNU 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 + +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) 2007, Rafael Ostertag and +is licensed under the GPL, see above. --- libgvectors-0.1.orig/debian/control +++ libgvectors-0.1/debian/control @@ -0,0 +1,94 @@ +Source: libgvectors +Priority: extra +Maintainer: Rafael Ostertag +Build-Depends: debhelper (>= 5), autotools-dev, libxml++2.6-dev (>= 2.14.0), libgfileio-dev (>= 0.1) +Standards-Version: 3.7.2 +Section: libs + +Package: libgvectors-dev +Section: libdevel +Architecture: any +Depends: libgvectors (= ${Source-Version}), libxml++2.6-dev (>= 2.14.0), libgfileio-dev (>= 0.1) +Suggests: libgvectors-doc (= ${Source-Version}) +Description: A C++ library for visualizing mathematical vectors + The C++ library provides three fundamental classes for achieving the + visualization of mathematical vectors: + . + * GVector + A class representing a three dimensional vector and providing + fundamental operations for vector arithmetic. + . + * VisualVector + Visualizes a GVector. It provides methods for projecting three + dimensional vectors on a two dimensional plane. + . + * VectorStore + Used to store and retrieve visual vectors in a hierarchical + manner. It provides proxy methods to certain VisualVector methods + used to draw vectors on a screen. + . + Additionally, it provides an interface to save and load a vector + store to and from file. + . + Libgvectors makes as little as possible assumptions about the + graphics library used to draw vectors on a screen and is not bound to + any particular graphics library. + . + This package contains the development headers and static libraries. + +Package: libgvectors +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A C++ library for visualizing mathematical vectors + The C++ library provides three fundamental classes for achieving the + visualization of mathematical vectors: + . + * GVector + A class representing a three dimensional vector and providing + fundamental operations for vector arithmetic. + . + * VisualVector + Visualizes a GVector. It provides methods for projecting three + dimensional vectors on a two dimensional plane. + . + * VectorStore + Used to store and retrieve visual vectors in a hierarchical + manner. It provides proxy methods to certain VisualVector methods + used to draw vectors on a screen. + . + Additionally, it provides an interface to save and load a vector + store to and from file. + . + Libgvectors makes as little as possible assumptions about the + graphics library used to draw vectors on a screen and is not bound to + any particular graphics library. + +Package: libgvectors-doc +Section: doc +Architecture: any +Description: A C++ library for visualizing mathematical vectors + The C++ library provides three fundamental classes for achieving the + visualization of mathematical vectors: + . + * GVector + A class representing a three dimensional vector and providing + fundamental operations for vector arithmetic. + . + * VisualVector + Visualizes a GVector. It provides methods for projecting three + dimensional vectors on a two dimensional plane. + . + * VectorStore + Used to store and retrieve visual vectors in a hierarchical + manner. It provides proxy methods to certain VisualVector methods + used to draw vectors on a screen. + . + Additionally, it provides an interface to save and load a vector + store to and from file. + . + Libgvectors makes as little as possible assumptions about the + graphics library used to draw vectors on a screen and is not bound to + any particular graphics library. + . + This package contains the API documentation. --- libgvectors-0.1.orig/debian/rules +++ libgvectors-0.1/debian/rules @@ -0,0 +1,118 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +# shared library versions, option 1 +version=0.0.0 +major=0 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) -j 3 + $(MAKE) -j 3 check + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + # Because we use dh_install to install the docs instead of + # dh_installdocs + ln -s $(CURDIR)/debian/tmp/usr/share/doc/libgvectors $(CURDIR)/debian/tmp/usr/share/doc/libgvectors-doc + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs +# dh_installexamples + dh_install --sourcedir=debian/tmp +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libgvectors-0.1.orig/debian/docs +++ libgvectors-0.1/debian/docs @@ -0,0 +1,5 @@ +BUGS +NEWS +README +TODO +AUTHORS --- libgvectors-0.1.orig/debian/libgvectors-dev.dirs +++ libgvectors-0.1/debian/libgvectors-dev.dirs @@ -0,0 +1,3 @@ +usr/lib +usr/include +usr/include/gvectors --- libgvectors-0.1.orig/debian/libgvectors-dev.install +++ libgvectors-0.1/debian/libgvectors-dev.install @@ -0,0 +1,5 @@ +usr/include/gvectors/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/lib/*.la --- libgvectors-0.1.orig/debian/libgvectors.install +++ libgvectors-0.1/debian/libgvectors.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libgvectors-0.1.orig/debian/libgvectors.dirs +++ libgvectors-0.1/debian/libgvectors.dirs @@ -0,0 +1 @@ +usr/lib --- libgvectors-0.1.orig/debian/libgvectors-doc.dirs +++ libgvectors-0.1/debian/libgvectors-doc.dirs @@ -0,0 +1 @@ +usr/share/doc/libgvectors-doc --- libgvectors-0.1.orig/debian/libgvectors-doc.install +++ libgvectors-0.1/debian/libgvectors-doc.install @@ -0,0 +1,2 @@ +usr/share/doc/libgvectors-doc/html/* + --- libgvectors-0.1.orig/configure +++ libgvectors-0.1/configure @@ -21143,8 +21143,8 @@ { echo "$as_me:$LINENO: checking for libxml++-2.6 presence" >&5 echo $ECHO_N "checking for libxml++-2.6 presence... $ECHO_C" >&6; } if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6 >= 2.16.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "libxml++-2.6 >= 2.16.0") 2>&5 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6 >= 2.14.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libxml++-2.6 >= 2.1r46.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then @@ -21159,12 +21159,12 @@ if test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6 >= 2.16.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "libxml++-2.6 >= 2.16.0") 2>&5 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6 >= 2.14.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libxml++-2.6 >= 2.14.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml++-2.6 >= 2.16.0" 2>/dev/null` + pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml++-2.6 >= 2.14.0" 2>/dev/null` else pkg_failed=yes fi @@ -21173,12 +21173,12 @@ fi if test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6 >= 2.16.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "libxml++-2.6 >= 2.16.0") 2>&5 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6 >= 2.14.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libxml++-2.6 >= 2.14.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml++-2.6 >= 2.16.0" 2>/dev/null` + pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml++-2.6 >= 2.14.0" 2>/dev/null` else pkg_failed=yes fi @@ -21187,18 +21187,18 @@ fi if test $pkg_failed = yes; then - LIBXML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml++-2.6 >= 2.16.0"` + LIBXML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml++-2.6 >= 2.14.0"` # Put the nasty error message in config.log where it belongs echo "$LIBXML_PKG_ERRORS" 1>&5 - { { echo "$as_me:$LINENO: error: Package requirements (libxml++-2.6 >= 2.16.0) were not met. + { { echo "$as_me:$LINENO: error: Package requirements (libxml++-2.6 >= 2.14.0) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively you may set the LIBXML_CFLAGS and LIBXML_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for more details." >&5 -echo "$as_me: error: Package requirements (libxml++-2.6 >= 2.16.0) were not met. +echo "$as_me: error: Package requirements (libxml++-2.6 >= 2.14.0) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.