Skip to content
Commits on Source (12)
......@@ -22,10 +22,4 @@ source files are built and included into the library:
from what project these header files are used
gdimg.cpp: This would introduce an unneeded dependency from libgd-dev
FIXME: I tried to build mdtest but linking it against the just build
library does not work the way I tried. Some hint from someone who
knows automake better than me might be helpful.
-- Andreas Tille <tille@debian.org> Thu, 18 Apr 2019 12:54:42 +0200
libgclib (0.11.2-2) unstable; urgency=medium
* Team upload.
* Link the shared library against pthread
* Add Build-Depends-Package: libgclib-dev to debian/libgclib0.symbols
* debhelper-compat 12
* Standards-Version: 4.4.0
* Trim trailing whitespace.
* Set upstream metadata fields: Name.
* Build mdtest properly and use it as a rudimentary test
* Add autopkgtest
-- Michael R. Crusoe <michael.crusoe@gmail.com> Wed, 25 Sep 2019 10:54:10 +0200
libgclib (0.11.2-1) unstable; urgency=medium
* Initial release (Closes: #924582)
......
.libs/
config/
config.h
config.log
config.status
libgclib.pc
libtool
mdtest
stamp-h1
*.lo
libgclib.la
......@@ -4,9 +4,9 @@ Uploaders: Steffen Moeller <moeller@debian.org>,
Andreas Tille <tille@debian.org>
Section: science
Priority: optional
Build-Depends: debhelper (>= 12~),
Build-Depends: debhelper-compat (= 12),
d-shlibs
Standards-Version: 4.3.0
Standards-Version: 4.4.0
Vcs-Browser: https://salsa.debian.org/med-team/libgclib
Vcs-Git: https://salsa.debian.org/med-team/libgclib.git
Homepage: https://github.com/gpertea/gclib
......
libgclib.so.0 libgclib0 #MINVER#
* Build-Depends-Package: libgclib-dev
COLOR_buf@Base 0.11.2
GA_flag_BAD_ALIGN@Base 0.11.2
GA_flag_HAS_PARENT@Base 0.11.2
......
......@@ -3,7 +3,7 @@ Last-Update: Thu, 18 Apr 2019 12:54:42 +0200
Descriptions: Build proper libraries via automake
--- /dev/null
+++ b/Makefile.am
+++ libgclib/Makefile.am
@@ -0,0 +1,38 @@
+lib_LTLIBRARIES = libgclib.la
+
......@@ -32,7 +32,7 @@ Descriptions: Build proper libraries via automake
+# gtest.cpp # Seems to be just a test (FIXME: create autopkgtest from it)
+
+
+libgclib_la_LDFLAGS = -version-info @LIB_VERSION@
+libgclib_la_LDFLAGS = -version-info @LIB_VERSION@ -lpthread
+
+libgclib_la_CPPFLAGS = $(INCLUDES)
+
......@@ -40,11 +40,11 @@ Descriptions: Build proper libraries via automake
+pkgconfig_DATA = libgclib.pc
+
+# FIXME: Build mdtest to properly test the lib. The code below does not work
+# mdtest_SOURCES = mdtest.cpp libgclib.a
+# mdtest_LDADD = -L. -lgclib
+# bin_PROGRAMS = mdtest
+mdtest_SOURCES = mdtest.cpp libgclib.a
+mdtest_LDADD = libgclib.la
+bin_PROGRAMS = mdtest
--- /dev/null
+++ b/libgclib.pc.in
+++ libgclib/libgclib.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=${prefix}
......@@ -58,7 +58,7 @@ Descriptions: Build proper libraries via automake
+Libs: -L${libdir} -lgclib
+Cflags: -I${includedir}
--- /dev/null
+++ b/configure.ac
+++ libgclib/configure.ac
@@ -0,0 +1,61 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
......@@ -121,7 +121,7 @@ Descriptions: Build proper libraries via automake
+ ])
+AC_OUTPUT
+
--- a/Makefile
--- libgclib.orig/Makefile
+++ /dev/null
@@ -1,114 +0,0 @@
-INCDIRS := -I. -I${GDIR} -I${BAM}
......
#!/usr/bin/make -f
# DH_VERBOSE := 1
DH_VERBOSE := 1
export LC_ALL=C.UTF-8
include /usr/share/dpkg/default.mk
......@@ -27,10 +27,11 @@ override_dh_install:
find debian/$(DEB_SOURCE)-dev -name gdimg.h -delete
find debian/$(DEB_SOURCE)-dev -name GBam.h -delete
override_dh_installexamples:
dh_installexamples
chmod a-x debian/$(DEB_SOURCE)-dev/usr/share/doc/$(DEB_SOURCE)-dev/examples/*
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o mdtest mdtest.cpp ./.libs/libgclib.a $(LIBS) -lpthread
./mdtest
echo "FIXME: needs MD string as argument"
./mdtest 7TEST^BCT
endif
Tests: run-test
Depends: libgclib-dev, build-essential
Restrictions: allow-stderr
#!/bin/sh -ex
pkg=libgclib-dev
if [ "$ADTTMP" = "" ] ; then
ADTTMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
fi
cd "$ADTTMP"
cp /usr/share/doc/libgclib-dev/examples/mdtest.cpp ./
g++ -I /usr/include/gclib -o mdtest mdtest.cpp -lgclib
./mdtest 7TEST^BCT