--- libgetopt++-0.0.2-p22.orig/debian/changelog +++ libgetopt++-0.0.2-p22/debian/changelog @@ -0,0 +1,31 @@ +libgetopt++ (0.0.2-p22-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Rename library packages for g++ 5 transition, patch from + Ubuntu (see #791122) + + -- Jonathan Wiltshire Sat, 08 Aug 2015 15:37:39 +0100 + +libgetopt++ (0.0.2-p22-3) unstable; urgency=low + + * No change upload to change maintainer - Adeodato has asked me to take it + over. + + -- Robert Collins Tue, 01 Sep 2009 10:11:07 +1000 + +libgetopt++ (0.0.2-p22-2) unstable; urgency=low + + * Use quilt, and move bit about StringCollector.h out of .diff.gz. + * Add patch to fix FTBFS with GCC 4.3. (Closes: #417351) + * Use ${binary:Version} instead of ${Source-Version}. + * Bump debian/compat to 5. + + -- Adeodato Simó Thu, 06 Sep 2007 21:13:35 +0200 + +libgetopt++ (0.0.2-p22-1) unstable; urgency=low + + * Initial release. (Closes: #375903) + + * Add missing StringCollector.h to getoptinclude_HEADERS. + + -- Adeodato Simó Wed, 28 Jun 2006 19:53:33 +0200 --- libgetopt++-0.0.2-p22.orig/debian/compat +++ libgetopt++-0.0.2-p22/debian/compat @@ -0,0 +1 @@ +5 --- libgetopt++-0.0.2-p22.orig/debian/control +++ libgetopt++-0.0.2-p22/debian/control @@ -0,0 +1,39 @@ +Source: libgetopt++ +Section: libs +Priority: optional +Maintainer: Robert Collins +Build-Depends: autotools-dev, debhelper, quilt +Standards-Version: 3.7.2 + +Package: libgetopt++1v5 +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libgetopt++1 +Replaces: libgetopt++1 +Description: C++ library for command line parsing + libgetopt++ is a C++ library to parse options that a program gets specified + from the command line. It has the following features: + . + * Minimal footprint in main.cc, and no header or source changes outside the + user of an option when the option is altered or a new option added. + . + * Multiple option sets can co-exist safely. The default option set is a + singleton, but additional static sets can be created and used. + . + * Easy to use: adding a new option is simply a case of adding a static + variable for the option, in the scope that the option needs to be visible. + . + * There are multiple concrete Option classes provided: Bool, String, + StringCollector. + . + * Extensible: simply create a new subclass of Option to implement a new + Option type, and use it in your program. + +Package: libgetopt++-dev +Architecture: any +Section: libdevel +Depends: libgetopt++1v5 (= ${binary:Version}), ${shlibs:Depends} +Description: development files for libgetopt++ + This package provides the development files for libgetopt++, a C++ library to + parse options that a program gets specified from the command line. Install it + if you want to compile a program that makes use of this library. --- libgetopt++-0.0.2-p22.orig/debian/copyright +++ libgetopt++-0.0.2-p22/debian/copyright @@ -0,0 +1,41 @@ +Debianized by Adeodato Simó 2006-06-28 + +The sources of libgetopt++ can be obtained from the Bazaar branch +rbtcollins@hotmail.com--barch/libgetoptplusplus--own-getopt--1.0, for +example with the following commands: + + % baz register-archive http://people.ubuntu.com/~robertc/rbtcollins@hotmail.com--barch + % baz get rbtcollins@hotmail.com--barch/libgetoptplusplus--own-getopt--1.0 + +Upstream author: + + Robert Collins + +Copyright and license terms: + + - The sources of libgetopt++ are: + + | Copyright (c) 2002, 2003 Robert Collins + + | 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 of the License, 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; if not, write to the Free Software + | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + + On Debian systems, the full text of the GNU General Public License is available + in /usr/share/common-licenses/GPL. + + - The packaging scripts in the debian/ subdirectory are: + + | Copyright (c) 2006, 2007 Adeodato Simó + + And licensed under the same terms of libgetopt++ itself. --- libgetopt++-0.0.2-p22.orig/debian/libgetopt++-dev.docs +++ libgetopt++-0.0.2-p22/debian/libgetopt++-dev.docs @@ -0,0 +1 @@ +README --- libgetopt++-0.0.2-p22.orig/debian/libgetopt++-dev.install +++ libgetopt++-0.0.2-p22/debian/libgetopt++-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include +debian/tmp/usr/lib/libgetopt++.a +debian/tmp/usr/lib/libgetopt++.la +debian/tmp/usr/lib/libgetopt++.so --- libgetopt++-0.0.2-p22.orig/debian/libgetopt++1v5.install +++ libgetopt++-0.0.2-p22/debian/libgetopt++1v5.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/libgetopt++.so.1 +debian/tmp/usr/lib/libgetopt++.so.1.0.1 --- libgetopt++-0.0.2-p22.orig/debian/libgetopt++1v5.lintian-overrides +++ libgetopt++-0.0.2-p22/debian/libgetopt++1v5.lintian-overrides @@ -0,0 +1,2 @@ +# G++5 ABI transition +libgetopt++1v5: package-name-doesnt-match-sonames libgetopt++1 --- libgetopt++-0.0.2-p22.orig/debian/patches/fix_gcc4.3_ftbfs.diff +++ libgetopt++-0.0.2-p22/debian/patches/fix_gcc4.3_ftbfs.diff @@ -0,0 +1,10 @@ +--- a/src/OptionSet.cc ++++ b/src/OptionSet.cc +@@ -22,6 +22,7 @@ + #include "getopt++/DefaultFormatter.h" + + #include ++#include + + using namespace std; + --- libgetopt++-0.0.2-p22.orig/debian/patches/install_StringCollector.h.diff +++ libgetopt++-0.0.2-p22/debian/patches/install_StringCollector.h.diff @@ -0,0 +1,24 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -30,7 +30,8 @@ + include/getopt++/DefaultFormatter.h \ + include/getopt++/GetOption.h \ + include/getopt++/OptionSet.h \ +- include/getopt++/StringOption.h ++ include/getopt++/StringOption.h \ ++ include/getopt++/StringCollector.h + + tests_testoption_SOURCES = tests/testoption.cc + tests_testoption_LDADD = libgetopt++.la +--- a/Makefile.in ++++ b/Makefile.in +@@ -241,7 +241,8 @@ + include/getopt++/DefaultFormatter.h \ + include/getopt++/GetOption.h \ + include/getopt++/OptionSet.h \ +- include/getopt++/StringOption.h ++ include/getopt++/StringOption.h \ ++ include/getopt++/StringCollector.h + + tests_testoption_SOURCES = tests/testoption.cc + tests_testoption_LDADD = libgetopt++.la --- libgetopt++-0.0.2-p22.orig/debian/patches/series +++ libgetopt++-0.0.2-p22/debian/patches/series @@ -0,0 +1,2 @@ +install_StringCollector.h.diff +fix_gcc4.3_ftbfs.diff --- libgetopt++-0.0.2-p22.orig/debian/rules +++ libgetopt++-0.0.2-p22/debian/rules @@ -0,0 +1,109 @@ +#! /usr/bin/make -f + +include /usr/share/quilt/quilt.make + +### + +# Configure arguments + +confflags = --prefix=/usr --disable-dependency-tracking + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +confflags += --build $(DEB_BUILD_GNU_TYPE) + +# Only specify --host when cross-compiling +ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --host $(DEB_HOST_GNU_TYPE) +endif + +### + +# Directory to make the build on + +objdir = $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE) + +### + +# CFLAGS + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +### + +$(objdir)/config.status: configure $(QUILT_STAMPFN) + dh_testdir + + -mkdir $(objdir) + cd $(objdir) && \ + env CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" ../configure $(confflags) + +# + +build: build-stamp +build-stamp: $(objdir)/config.status + dh_testdir + + cd $(objdir) && \ + $(MAKE) + + touch $@ + +# + +clean: unpatch + dh_testdir + dh_testroot + + rm -f build-stamp + rm -rf $(objdir) + + dh_clean + +# + +install: + dh_testdir + dh_testroot + dh_clean + dh_installdirs + cd $(objdir) && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + dh_install + +# + +binary: binary-arch binary-indep + +binary-arch: build install + $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common + +binary-indep: build install + #$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + @echo Nothing to do for binary-indep. + +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# + +.PHONY: build clean install binary binary-arch binary-indep binary-common