debian/0000775000000000000000000000000012257134373007177 5ustar debian/rules0000775000000000000000000000263612257134307010263 0ustar #!/usr/bin/make -f export DEB_CFLAGS_MAINT_APPEND := -Wall export DEB_CXXFLAGS_MAINT_APPEND := -Wall export DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs -Wl,--as-needed # For the repack: package name, mangled upstream version, non-free files PACKAGE := libpano13 VERSION := $(shell dpkg-parsechangelog | perl -ne 'print "$$1\n" if (/^Version: (.*?)(?:\+dfsg)?\-.*?$$/)') override_dh_auto_configure: dh_auto_configure --verbose -- \ --enable-shared --enable-static \ --with-jpeg --with-png --with-tiff \ --with-zlib --without-java LIBS="-lm" override_dh_makeshlibs: dh_makeshlibs -V 'libpano13-2 (>=2.9.18)' override_dh_auto_install: dh_auto_install --verbose # Clear the rpath set on some architectures (e.g. amd64) chrpath -d $(CURDIR)/debian/tmp/usr/bin/* \ $(CURDIR)/debian/tmp/usr/lib/*/*.so rm -vf $(CURDIR)/debian/tmp/usr/lib/*/*.la override_dh_install: dh_install --fail-missing # Build the DFSG-free source tarball get-orig-source: # Download uscan --force-download --rename # Extract and prune non-free files tar xfz ../$(PACKAGE)_$(VERSION).orig.tar.gz find $(PACKAGE)-$(VERSION) \( -name '*.rc' -or -name '*.vcproj' \ -or -name '*.sln' -or -name '*.vsprops' \) -type f -delete # Rename, repack and clean mv $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).orig tar cfz ../$(PACKAGE)_$(VERSION)+dfsg.orig.tar.gz $(PACKAGE)-$(VERSION).orig rm -rf $(PACKAGE)-$(VERSION).orig %: dh $@ --with autoreconf debian/watch0000664000000000000000000000021012144070347010214 0ustar version=3 opts=dversionmangle=s/\+dfsg$//,\ uversionmangle=s/_rc/~rc/;s/_beta/~beta/ \ http://sf.net/panotools/libpano13-(.*)\.tar\.gz debian/changelog0000664000000000000000000003244412257134366011062 0ustar libpano13 (2.9.18+dfsg-6ubuntu2) 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}). -- Logan Rosen Thu, 26 Dec 2013 18:16:38 -0500 libpano13 (2.9.18+dfsg-6ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - debian/control: Build-depend on libtiff-dev rather than libtiff4-dev. -- Logan Rosen Mon, 13 May 2013 00:54:43 -0400 libpano13 (2.9.18+dfsg-6) unstable; urgency=low * Switch from cdbs to dh (v9). We now append to default LDFLAGS instead of overriding them. -- Andreas Metzler Sun, 12 May 2013 15:34:03 +0200 libpano13 (2.9.18+dfsg-5) unstable; urgency=low * Source upload with no changes to fix multi-arch co-installability broken by binNMUs. -- Andreas Metzler Sun, 28 Apr 2013 08:55:24 +0200 libpano13 (2.9.18+dfsg-4ubuntu1) quantal; urgency=low * Build-depend on libtiff-dev rather than libtiff4-dev. -- Colin Watson Tue, 04 Sep 2012 14:16:13 +0100 libpano13 (2.9.18+dfsg-4) unstable; urgency=low * Convert to multi-arch. + configure with --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH), update chrpath invocation and debian/*.install accordingly. + Bump cdbs Build-Depends to 0.4.93 (required for expanding $(DEB_HOST_MULTIARCH)). + Bump debhelper b-d to 8.1.3 (for ${misc:Pre-Depends}). + Runtime library is Multi-Arch: same and has Pre-Depends: ${misc:Pre-Depends}, -bin (helper binaries) is Multi-Arch: foreign. -dev is unchanged. + [lintian] Drop section setting from libpano13-2 package stanza. -- Andreas Metzler Sun, 05 Feb 2012 11:18:42 +0100 libpano13 (2.9.18+dfsg-3) unstable; urgency=low * Build-Depend on libjpeg-dev instead of libjpeg62-dev. Closes: #634142 -- Andreas Metzler Sun, 17 Jul 2011 14:16:50 +0200 libpano13 (2.9.18+dfsg-2) unstable; urgency=low * libpano13-2 now Breaks/Replaces: libpano13-1 (>= 2.9.15~beta2-1). This fixes cross-upgrades from the (slightly broken) packages in hugin PPA. (LP: #761760) -- Andreas Metzler Sun, 22 May 2011 14:46:00 +0200 libpano13 (2.9.18+dfsg-1) unstable; urgency=low * New upstream version, identical to 2.9.18~rc2. * Drop CFLAGS += -Wall again, it is set by default. -- Andreas Metzler Sun, 08 May 2011 14:17:45 +0200 libpano13 (2.9.18~rc2+dfsg-2) experimental; urgency=low * 20_initfilenameargs.diff Fix sporadic ftbfs. https://bugs.launchpad.net/panotools/+bug/734867 -- Andreas Metzler Sat, 19 Mar 2011 14:34:57 +0100 libpano13 (2.9.18~rc2+dfsg-1) experimental; urgency=low * New upstream version. -- Andreas Metzler Mon, 07 Mar 2011 19:09:57 +0100 libpano13 (2.9.18~rc1+dfsg-1) experimental; urgency=low * New upstream version. * Update 10_workaround_libtool_link_as_needed_bug for libtool 2.2.6b. -- Andreas Metzler Sun, 06 Mar 2011 10:17:13 +0100 libpano13 (2.9.18~beta1+dfsg-1) experimental; urgency=low * New upstream version. * Drop patches included uptream. (20_fixpowerc.diff 21_ftbfsgnuhurd.diff) * Set CFLAGS += -Wall, the latest combination of cdbs + dpkg-dev does not seem to set it by default. * Bump shlibs. -- Andreas Metzler Sat, 19 Feb 2011 16:04:50 +0100 libpano13 (2.9.17+dfsg-4) unstable; urgency=low * Remove Florent Bayle from Uploaders. Thank you for your work. Closes: #554063 * Also drop Cyril Brulebois from Uploaders. Thank you very much for your efforts. * Use debhelper compatibility level 7. * Upload to unstable. -- Andreas Metzler Sun, 06 Feb 2011 18:24:30 +0100 libpano13 (2.9.17+dfsg-3) experimental; urgency=low * 21_ftbfsgnuhurd.diff: Fix FTBFS on GNU/hurd. -- Andreas Metzler Tue, 26 Oct 2010 19:34:56 +0200 libpano13 (2.9.17+dfsg-2) experimental; urgency=low * 20_fixpowerc.diff: Fix endless loop on PowerPC of commandline utils (used in testsuite). Closes: #599092 -- Andreas Metzler Thu, 07 Oct 2010 19:07:52 +0200 libpano13 (2.9.17+dfsg-1) experimental; urgency=low * New upstream version. * Reintroduce support for dropping files to debian/rules' get-orig-source target. * Drop Visual C++ files from tarball, use +dfsg versioning. * Change shlibs to the normal >= relation again, since this is a stable release. * Standards-Version: 3.9.1. * Strip down libpano13 package description. Closes: #594596 -- Andreas Metzler Sat, 02 Oct 2010 08:59:48 +0200 libpano13 (2.9.17~beta2-1) experimental; urgency=low * New upstream version. * Drop 20_bumpsoname.diff. * Bump shlibs. * Switch to dpkg-source v3. -- Andreas Metzler Sun, 18 Jul 2010 08:24:39 +0200 libpano13 (2.9.15~beta2-1) experimental; urgency=low * New upstream version. * Drop patches applied upstream: + 20_libpano13+kbsd.diff + 30_undo_soname.bump * 20_bumpsoname.diff: Bump soname, now that the ABI really has changed. * Change library packagename to match soname. * Tighten libpano13-2 shlibs file to exactly match upstream version while still preserving binNMU-ability. Upstream might break the ABI another time without wanting to change the soname again before 2.9.15 is finally released. This tight dependency should be removed after the final release. -- Andreas Metzler Thu, 17 Sep 2009 15:20:46 +0200 libpano13 (2.9.15~beta1-1) experimental; urgency=low * New upstream pre-release. + debian/patches/30_undo_soname.bump - Undo unnecessary soname change. + Bump shlibs. (Newly added function.) + Ship newly available pkgconfig file. * Run upstream testsuite. Since it requires tiffcmp add libtiff-tools to build-depends. The upstream tarball is incomplete, it is missing some reference files for the testsuite. Pull them from upstream SVN and add them to the (repackaged) tarball. -- Andreas Metzler Mon, 14 Sep 2009 10:29:22 +0200 libpano13 (2.9.14-3) unstable; urgency=medium * 20_fixpowerc.diff: Fix endless loop of commandline utils on PowerPC (used in testsuite). Closes: #599092 -- Andreas Metzler Thu, 07 Oct 2010 19:35:23 +0200 libpano13 (2.9.14-2) unstable; urgency=low * Stop shipping la file in -dev package. (Squeeze release goal). * debian/patches/20_libpano13+kbsd.diff - Fix FTBFS on GNU/kFreeBSD. Patch by Cyril Brulebois. Closes: #543998 -- Andreas Metzler Sat, 29 Aug 2009 14:36:20 +0200 libpano13 (2.9.14-1) unstable; urgency=low * Upload to unstable. * [Lintian] Fix typo in debian control: s/algorithmical/algorithmic/. * Standards-Version: 3.8.2, no changes required. * Improve on watchfile to handle rc and beta versions. -- Andreas Metzler Sun, 09 Aug 2009 14:01:24 +0200 libpano13 (2.9.14~rc1-1) experimental; urgency=low * New upstream prerelease. + New soname due to ABI breakage (new member in public struct). Change package name of library package. + Does not contain non-free files PixMap.c PixMap.h, no need for .dfsg version anymore. Also does away with the need for a complex get-orig-source target. + debian/manpages/* now shipped in upstream-tarball. Adapt build-system accordingly. * [lintian] Add ${misc:Depends}. * Standards version 3.8.1. + [debian/control] Add Homepage field. + Add rudimentary debian/README.source, basically pointing to quilt documentation. -- Andreas Metzler Sun, 03 May 2009 19:56:34 +0200 libpano13 (2.9.12.dfsg-2) unstable; urgency=low * Drop Java support altogether (Closes: #477884). While checking that bugreport, it appeared that “HasJava” is only used in a single source file, which happens to be commented out. - debian/control: Drop libgcj-dev from Build-Depends. - debian/rules: Turn “--with-java” into “--without-java”. - debian/rules: Not bumping shlibs since no symbols changed (as expected given the above explanation). * Update my mail address in Uploaders. -- Cyril Brulebois Sat, 26 Apr 2008 12:29:49 +0200 libpano13 (2.9.12.dfsg-1) unstable; urgency=low * Initial release (Closes: #433261), based on libpano12/2.8.6-0.1. * Repack because of the license of PixMap.{c,h}. These files seem to be needed only on Mac anyway: - Add a get-orig-source target to debian/rules. - Add version mangling to debian/watch. * The following glitches have been forwarded upstream so that these files will get proper copyright and license statements in further releases: - Copyright years are missing for jpegicc.{c,h}. - Copyright and license are missing for f2c.h. This file is available in the libf2c2 source package, and its copyright file has been used to complete this one. - Copyright and license are missing for rgbe.{c,h}. These files are available in the enblend source package, and its copyright file has been used to complete this one. The copyright by Bruce Walter is the original copyright notice, these files are now public domain. * Move from libpano12 to libpano13: - Update debian/copyright. - Update debian/watch, get rid of “debian uupdate”. - Update package names in debian/control, and clear the following fields: Provides, Conflicts, Replaces. - Add “Conflicts: libpano12-bin” and “Replaces: libpano12-bin” to libpano13-bin. - Rename debian/libpano12* into debian/libpano13*. - Update debian/libpano13-bin.install: - Rename pano12info into panoinfo. - Rename PTOptimizer into PToptimizer. - Update debian/libpano13-bin.manpages accordingly. - Rename the manpages accordingly. - Update debian/manpages/panoinfo.1. - Update debian/manpages/PToptimizer.1. * debian/rules adjustments: - Delete unneeded variable declarations (major, version). - Delete useless comments. - Delete trailing spaces. * Move Maintainer to the pkg-phototools team, add Florent Bayle and myself to Uploaders. * Bump Standards-Version to 3.7.3 (no change needed). * Add Vcs-Git and Vcs-Browser. Note that both libpano12 and libpano13 are maintained within the same libpano.git repository. * Bump debhelper compatibility from 4 to 5. Changes needed: - Remove “usr/lib/pkgconfig/*” from debian/libpano13-dev.install since “--fail-missing” is now the default behaviour of dh_install. * Use “LDFLAGS="-Wl,--as-needed"” on the ./configure line to avoid extra linking. * To achieve that, it is needed to patch config/ltmain.sh (libtool) because of very long-standing (and will-be-very-long-standing) libtool bug, see #347650: - Add quilt as Build-Depends, and to debian/rules. - Add 10_workaround_libtool_link_as_needed_bug to workaround libtool bug. - Add a TODO item about that bug, basically “keep an eye on it in case it ever gets fixed”. * Since that might break things sometimes, add “-Wl,-z,defs” before “-Wl,--as-needed”, so as to catch undefined references as early as possible in the build process. That done, it appears that “-lm” is missing, thus: add “LIBS="-lm"” on the ./configure line. * Remove debian/*.dirs files, since they aren't needed. * Clear the rpath set on some architectures (e.g. amd64) instead of relibtoolizing (at least at the moment): - Add chrpath to Build-Depends. - Add “chrpath -d” calls on debian/tmp/usr/{bin/*,lib/*.so} after the “make install” call. - Add a TODO item about that. * Switch from plain debhelper to cdbs. The build is conventional enough to drop lengthy makefiles in favour of shorter ones: - Add cdbs to Build-Depends. - Add autotools-dev as well, to get config.{guess,sub} updated during the build. - Use only some includes and variables in debian/rules, but keep the additional get-orig-source target. - Drop debian/libpano13-0.docs, cdbs is smart enough to install those files. - A single trick is needed: dh_install is called for each binary when using debhelper.mk, which makes the use of “--*-missing” a bit tricky. That's why a hook between “make install” and “dh_*” is needed, removing the RPATH's as well running dh_install with one of the “--*-missing” option. This is cdbs's #461368. * Ship all binaries, using a wildcard in debian/libpano13-bin.install. * Update the long description of libpano13-bin accordingly, listing all binaries along with an oneliner description for each. * Write manpages for all binaries, in the perlpod format. Generate them using pod2man at build-time. Ship them through libpano13.manpages, by using a wildcard. * Get rid of strange (strictly-versioned) interdependencies, leading to a dependency loop: - Remove “Suggests: libpano13-dev” from libpano13-0. - Downgrade “Recommends: libpano13-bin” to a “Suggests:”, still in libpano13-0. -- Cyril Brulebois Thu, 24 Jan 2008 23:37:28 +0100 debian/compat0000664000000000000000000000000212144070675010374 0ustar 9 debian/copyright0000664000000000000000000001131112144070347011122 0ustar This package is based on the libpano12 package, debianized by Florent Bayle on Fri, 29 Apr 2005 19:01:28 +0200. It was downloaded from . Upstream Authors and Copyright Holders: Daniel M. German , 2005-2006 Jim Watters , 2003-2007 Bruno Postle , 2006 Max Lyons , 2006 Other Authors: Helmut Dersch , 1998-2006 Author of PTStitcher (licensed under the same terms), from which some parts of code are borrowed. Tom Lane, Marti Maria See jpegicc.* below. Kevin Kratzke Rik Littlefield Fulvio Senore Thomas Rauscher Pablo d'Angelo Bret McKee Robert Platt Copyright: 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 WITHOUTANY 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 complete text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2 file. Some parts of the software are derived from other sources, which are distributed under different copyrights. These are: (1) The public domain Levenberg-Marquardt solver of the Argonne National Laboratories MINPACK mathematical library, C translation by Steve Moshier (file lmdif.c). (2) Fast fourier transformation (fftn.c, fftn.h), code by: RC Singleton, Stanford Research Institute, Sept. 1968 Copyright MJ Olesen, Queen's University at Kingston, 1995-97. Licence: Permission to use, copy, modify, and distribute this software for any purpose without fee is hereby granted, provided that this entire notice is included in all copies of any software which is or includes a copy or modification of this software and in all copies of the supporting documentation for such software. THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR QUEEN'S UNIVERSITY AT KINGSTON MAKES ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. All of which is to say that you can do what you like with this source code provided you don't try to sell it as your own and you include an unaltered copy of this message (including the copyright). It is also implicitly understood that bug fixes and improvements should make their way back to the general Internet community so that everyone benefits. Files: jpegicc.c, jpegicc.h: Copyright: Tom Lane Marti Maria License: GPL-2+ | This source file was originally part of the LCMS package. I asked | Marti for permission to change its license from MIT to GPL (Aug 4, | 2006). -- Daniel German Files: f2c.h Copyright: © 1990-1995 AT&T Bell Laboratories and Bellcore License: | Permission to use, copy, modify, and distribute this software | and its documentation for any purpose and without fee is hereby | granted, provided that the above copyright notice appear in all | copies and that both that the copyright notice and this | permission notice and warranty disclaimer appear in supporting | documentation, and that the names of AT&T Bell Laboratories or | Bellcore or any of their entities not be used in advertising or | publicity pertaining to distribution of the software without | specific, written prior permission. | | AT&T and Bellcore disclaim all warranties with regard to this | software, including all implied warranties of merchantability | and fitness. In no event shall AT&T or Bellcore be liable for | any special, indirect or consequential damages or any damages | whatsoever resulting from loss of use, data or profits, whether | in an action of contract, negligence or other tortious action, | arising out of or in connection with the use or performance of | this software. Files: rgbe.c, rgbe.h Copyright: © 1995 Bruce Walter License: | The license of these files has been clarified by Bruce Walter during | a private email conversation. | | These files are public domain. debian/source/0000775000000000000000000000000012144071120010460 5ustar debian/source/format0000664000000000000000000000001412144070347011700 0ustar 3.0 (quilt) debian/libpano13-bin.docs0000664000000000000000000000002112144070347012373 0ustar doc/Optimize.txt debian/TODO0000664000000000000000000000116312144070347007663 0ustar TODO for libpano13: ------------------- * Check whether relibtoolizing would help getting rid of the rpath set on some architectures, instead of using chrpath. * [Upstream#1861166] Needed LIBS="-lm" option for ./configure. * [BTS#347650] Additional linking even with -Wl,--as-needed because of libtool's reordering its arguments. Keep an eye on this bug so as to drop the workaround once the bug is closed (if ever): - debian/patches/10_workaround_libtool_link_as_needed_bug. * Eventually move GPLv2+ to GPL-2+. -- Cyril Brulebois Tue, 25 Dec 2007 23:02:45 +0100 debian/libpano13-bin.install0000664000000000000000000000004112144070347013113 0ustar usr/bin/* usr/share/man/man1/*.1 debian/libpano13-2.install0000664000000000000000000000002412144070347012505 0ustar usr/lib/*/lib*.so.* debian/control0000664000000000000000000000461312257134323010601 0ustar Source: libpano13 Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian PhotoTools Maintainers Uploaders: Andreas Metzler Build-Depends: debhelper (>= 9), libpng12-dev, libjpeg-dev, libtiff-dev, dh-autoreconf, chrpath, libtiff-tools Standards-Version: 3.9.4 Vcs-Browser: http://git.debian.org/?p=pkg-phototools/libpano.git Vcs-Git: git://git.debian.org/git/pkg-phototools/libpano.git Homepage: http://panotools.sourceforge.net/ Package: libpano13-dev Section: libdevel Architecture: any Depends: libpano13-2 (= ${binary:Version}), ${misc:Depends} Description: panorama tools library development files This package contains the panoramatools library. It provides basic algorithmic tools to generate, edit and transform many kinds of panoramic images. . This package holds static libraries and headers needed by developers who wish to use libpano13 in their programs. Package: libpano13-2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Suggests: libpano13-bin # Workaround for breakage in hugin PPA Breaks: libpano13-1 (>= 2.9.15~beta2-1) Replaces: libpano13-1 (>= 2.9.15~beta2-1) Multi-Arch: same Description: panorama tools library This package contains the panoramatools library. It provides basic algorithmic tools to generate, edit and transform many kinds of panoramic images. Package: libpano13-bin Section: graphics Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: libpano12-bin Replaces: libpano12-bin Multi-Arch: foreign Description: panorama tools utilities This package contains the following tools, all part of the Panorama Tools library, and supposed to make it easy to work with panoramic images: * panoinfo - List details about the libpano13 library * PTblender - Colour and brightness correction of panoramas * PTcrop - Crop TIFF images * PTinfo - Display information about a panotools-generated image * PTmasker - Compute stitching masks * PTmender - Replacement for PTStitcher * PToptimizer - Wrapper around control point optimization routines * PTroller - Merge several images into a single one * PTtiff2psd - Convert a set of TIFF files into a Photoshop PSD file * PTtiffdump - Compare two TIFF images * PTuncrop - Uncrop TIFF images debian/patches/0000775000000000000000000000000012144071120010607 5ustar debian/patches/20_initfilenameargs.diff0000664000000000000000000000220612144070347015275 0ustar Description: initialize panoFileMakeTemp() arguments Author: Andreas Metzler Forwarded: https://bugs.launchpad.net/panotools/+bug/734867 diff -r 34d8f7279b7d PTcommon.c --- a/PTcommon.c Wed Mar 16 19:16:58 2011 +0000 +++ b/PTcommon.c Sat Mar 19 14:29:51 2011 +0100 @@ -1027,7 +1027,7 @@ int panoCreatePanorama(fullPath ptrImage /// CREATE OUTPUT FILE // Copy the current output file name to he fullPathImages[loopCounter] - memcpy(&fullPathImages[loopCounter], &panoFileName, sizeof(fullPath)); + memcpy(&fullPathImages[loopCounter], panoFileName, sizeof(fullPath)); // Create temporary file where output data wil be written if (panoFileMakeTemp(&fullPathImages[loopCounter]) == 0) { diff -r 34d8f7279b7d tiff.c --- a/tiff.c Wed Mar 16 19:16:58 2011 +0000 +++ b/tiff.c Sat Mar 19 14:29:51 2011 +0100 @@ -1913,6 +1913,7 @@ int panoTiffCrop(char *inputFile, char * int i; fullPath tempFile; + strcpy(tempFile.name, ""); // Let us do the processing in a different file if (panoFileMakeTemp(&tempFile) == 0) { PrintError("Could not make Tempfile"); debian/patches/series0000664000000000000000000000010212144070347012027 0ustar 10_workaround_libtool_link_as_needed_bug 20_initfilenameargs.diff debian/patches/10_workaround_libtool_link_as_needed_bug0000664000000000000000000000162612144070347020631 0ustar Bug-Debian: http://bugs.debian.org/347650 Last-Update: 2011-03-06 --- libpano13-2.9.18~rc1+dfsg.orig/config/ltmain.sh +++ libpano13-2.9.18~rc1+dfsg/config/ltmain.sh @@ -4716,6 +4716,11 @@ func_mode_link () arg=$func_stripname_result ;; + -Wl,--as-needed|-Wl,--no-as-needed) + deplibs="$deplibs $arg" + continue + ;; + -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result @@ -5067,6 +5072,15 @@ func_mode_link () lib= found=no case $deplib in + -Wl,--as-needed|-Wl,--no-as-needed) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + fi + continue + ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" debian/libpano13-dev.install0000664000000000000000000000011212144070347013120 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/*.pc