--- libonig-5.9.1.orig/configure.in +++ libonig-5.9.1/configure.in @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(onig, 5.9.1) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_HEADER(config.h) --- libonig-5.9.1.orig/debian/changelog +++ libonig-5.9.1/debian/changelog @@ -0,0 +1,61 @@ +libonig (5.9.1-1ubuntu1) trusty; urgency=medium + + * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by + getting new libtool macros (still updates config.{sub,guess}). + * Use automake's "foreign" option to fix FTBFS while autoreconfing. + + -- Logan Rosen Wed, 08 Jan 2014 03:16:15 -0500 + +libonig (5.9.1-1) unstable; urgency=low + + [ Max Kellermann ] + * new upstream release + * acknowledge NMU, thanks Laurent (closes: #426355) + * run test suite after build + * added watch file + * bumped Standards-Version to 3.7.3 + * added homepage header to debian/control + * priority "extra" + + -- Alexander Wirt Mon, 07 Jan 2008 11:46:27 +0100 + +libonig (5.9.0-0.1) unstable; urgency=low + + * Non-maintainer upload. + * New upstream release (Closes: #426355) + * debian/control: + - Use binary:Version instead of Source-Version + * debian/rules: + - Don't hide make distclean error + - Fix copy of config.{sub,guess} + - Remove deprecated DH_COMPAT and use compat file instead + + -- Laurent Bigonville Sat, 04 Aug 2007 15:07:34 +0200 + +libonig (5.5.2-1) unstable; urgency=low + + * new upstream release + + -- Max Kellermann Wed, 14 Feb 2007 23:12:29 +0100 + +libonig (5.5.0-1) unstable; urgency=low + + [ Max Kellermann ] + * new upstream release + * update config.{sub,guess} in debian/rules + * removed libonig.la + + -- Alexander Wirt Wed, 6 Dec 2006 20:51:10 +0100 + +libonig (5.2.0-1) unstable; urgency=low + + * new upstream release + * updated copyright file since license has been changed to BSD + + -- Max Kellermann Wed, 15 Nov 2006 09:32:24 +0100 + +libonig (4.4.4-1) unstable; urgency=low + + * initial debian release (Closes: #388412) + + -- Max Kellermann Wed, 20 Sep 2006 12:17:40 +0200 --- libonig-5.9.1.orig/debian/compat +++ libonig-5.9.1/debian/compat @@ -0,0 +1 @@ +5 --- libonig-5.9.1.orig/debian/control +++ libonig-5.9.1/debian/control @@ -0,0 +1,36 @@ +Source: libonig +Section: libs +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Max Kellermann +Uploaders: Alexander Wirt +Homepage: http://www.geocities.jp/kosako3/oniguruma/ +Build-Depends: debhelper (>= 5), dh-autoreconf +Standards-Version: 3.7.3 + +Package: libonig2 +Architecture: any +Depends: ${shlibs:Depends} +Description: Oniguruma regular expressions library + The characteristics of this library is that different character + encoding for every regular expression object can be specified. + +Package: libonig2-dbg +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, libonig2 (= ${binary:Version}) +Description: Debugging symbols for libonig2 + The characteristics of this library is that different character + encoding for every regular expression object can be specified. + . + This package provides the debugging symbols. + +Package: libonig-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, libonig2 (= ${binary:Version}) +Description: Development files for libonig2 + The characteristics of this library is that different character + encoding for every regular expression object can be specified. + . + This package provides development files and static libraries. --- libonig-5.9.1.orig/debian/copyright +++ libonig-5.9.1/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Max Kellermann on +Tue Sep 19 21:00:57 CEST 2006 + +It was downloaded from http://www.geocities.jp/kosako3/oniguruma/ + +Upstream Author: K.Kosako + +Copyright: + + Copyright (c) 2002-2006 K.Kosako + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. --- libonig-5.9.1.orig/debian/libonig-dev.docs +++ libonig-5.9.1/debian/libonig-dev.docs @@ -0,0 +1,9 @@ +AUTHORS +README +README.ja +doc/API +doc/API.ja +doc/FAQ +doc/FAQ.ja +doc/RE +doc/RE.ja --- libonig-5.9.1.orig/debian/libonig-dev.examples +++ libonig-5.9.1/debian/libonig-dev.examples @@ -0,0 +1 @@ +sample/*.c --- libonig-5.9.1.orig/debian/libonig-dev.install +++ libonig-5.9.1/debian/libonig-dev.install @@ -0,0 +1,4 @@ +usr/bin/*-config +usr/lib/lib*.so +usr/lib/lib*.a +usr/include --- libonig-5.9.1.orig/debian/libonig2-dbg.dirs +++ libonig-5.9.1/debian/libonig2-dbg.dirs @@ -0,0 +1 @@ +usr/share/doc --- libonig-5.9.1.orig/debian/libonig2.install +++ libonig-5.9.1/debian/libonig2.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libonig-5.9.1.orig/debian/onig-config.1 +++ libonig-5.9.1/debian/onig-config.1 @@ -0,0 +1,50 @@ +.TH ONIG-CONFIG 1 +.SH NAME +onig-config - provide information about the installed version of libonig +.SH SYNOPSIS + +\fBonig-config\fR [ \fB --prefix\fI[=DIR]\fB \fR ] [ \fB --exec-prefix\fI[=DIR]\fB \fR ] [ \fB --libs \fR ] [ \fB --cflags \fR ] [ \fB --version \fR ] + +.SH DESCRIPTION +\fBonig-config\fR returns the configuration of the installed Oniguruma +library: the options required to compile a program which uses the +library. + + +.SH OPTIONS +.TP 10 +\fB--prefix=PREFIX\fR +If specified, use \fIPREFIX\fR instead +of the installation prefix that +\fIlibonig\fR was built with when computing +the output for the \fB--cflags\fR and +\fB--libs\fR options. This option is also used for +the exec prefix if \fB--exec-prefix\fR was +not specified. This option must be specified before any +\fB--libs\fR or \fB--cflags\fR options. +.TP +\fB--exec-prefix=PREFIX\fR +If specified, use \fIPREFIX\fR instead +of the installation exec prefix that +\fIlibonig\fR was built with when computing +the output for the \fB--cflags\fR and +\fB--libs\fR options. This option must be specified +before any \fB--libs\fR or \fB--cflags\fR options. +.TP +\fB--libs\fR +Print the linker flags that are necessary to link a +\fIlibonig\fR program. +.TP +\fB--cflags\fR +Print the compiler flags that are necessary to compile a +\fIlibonig\fR program. +.TP +\fB--version\fR +Print the currently installed version of +\fIlibonig\fR on the standard output. + + +.SH AUTHOR +This manual page was written by Max Kellermann for +the Debian GNU/Linux system (but may be used by others), based on +other Debian manual pages. --- libonig-5.9.1.orig/debian/rules +++ libonig-5.9.1/debian/rules @@ -0,0 +1,109 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +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 -fno-strict-aliasing +endif + +configure: debian/stamp-configure +debian/stamp-configure: + dh_testdir + dh_autoreconf + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --disable-dependency-tracking \ + --without-rubydir \ + --prefix=/usr + + @touch $@ + +build: debian/stamp-build +debian/stamp-build: debian/stamp-configure + dh_testdir + + $(MAKE) + + @touch $@ + +check: debian/stamp-check +debian/stamp-check: debian/stamp-build + dh_testdir + + $(MAKE) check + + @touch $@ + +clean: + dh_testdir + dh_testroot + rm -f debian/stamp-* + + [ ! -f Makefile ] || $(MAKE) distclean + dh_autoreconf_clean + dh_clean + +install: debian/stamp-install +debian/stamp-install: debian/stamp-build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=`pwd`/debian/tmp install + + @touch $@ + +# Build architecture-independent files here. +binary-indep: build check install + dh_testdir -i + dh_testroot -i + dh_installdocs -i -A AUTHORS TODO README NEWS + dh_installchangelogs -i debian/no-upstream-changelog + dh_install -i --sourcedir=debian/tmp + dh_link -i + dh_strip -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build check install + dh_testdir -a + dh_testroot -a + dh_installexamples -plibonig-dev + dh_installdocs -plibonig-dev + dh_installdocs -plibonig2 -A AUTHORS README README.ja + ln -sf libonig2 debian/libonig2-dbg/usr/share/doc/libonig2-dbg + dh_installman -plibonig-dev -A debian/onig-config.1 + dh_installchangelogs -plibonig2 HISTORY + dh_installchangelogs -plibonig-dev HISTORY + dh_install -a --sourcedir=debian/tmp + dh_link -a + dh_strip -a --dbg-package=libonig2-dbg + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a -V 'libonig2 (>= 5.2.0)' + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: configure build check clean binary-indep binary-arch binary install --- libonig-5.9.1.orig/debian/watch +++ libonig-5.9.1/debian/watch @@ -0,0 +1,5 @@ +version=3 + +http://www.geocities.jp/kosako3/oniguruma/ \ + archive/onig-(\S+)\.tar\.gz +