--- libnsgif-0.0.1.orig/Makefile +++ libnsgif-0.0.1/Makefile @@ -15,7 +15,7 @@ WARNFLAGS := $(WARNFLAGS) -Wextra endif CFLAGS := $(CFLAGS) -D_BSD_SOURCE -I$(CURDIR)/include/ \ - -I$(CURDIR)/src $(WARNFLAGS) + -I$(CURDIR)/src $(WARNFLAGS) -fno-strict-aliasing ifneq ($(GCCVER),2) CFLAGS := $(CFLAGS) -std=c99 else --- libnsgif-0.0.1.orig/debian/changelog +++ libnsgif-0.0.1/debian/changelog @@ -0,0 +1,14 @@ +libnsgif (0.0.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Disable strict aliasing check to fix FTBFS with gcc 4.4, patch by + peter green. (Closes: #539542) + + -- Stefano Zacchiroli Sat, 26 Dec 2009 10:01:35 +0100 + +libnsgif (0.0.1-1) unstable; urgency=low + + * Initial release + + -- Daniel Silverstone Mon, 20 Jul 2009 13:20:41 +0200 + --- libnsgif-0.0.1.orig/debian/compat +++ libnsgif-0.0.1/debian/compat @@ -0,0 +1 @@ +7 --- libnsgif-0.0.1.orig/debian/rules +++ libnsgif-0.0.1/debian/rules @@ -0,0 +1,42 @@ +#!/usr/bin/make -f + +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) COMPONENT_TYPE=lib-shared PREFIX=/usr + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) COMPONENT_TYPE=lib-shared clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) COMPONENT_TYPE=lib-shared DESTDIR=$$(pwd)/debian/tmp PREFIX=/usr install + +binary-indep: + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a + dh_installdocs -a + dh_install -a + dh_strip -a --dbg-package=libnsgif0-dbg + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_compress -a + dh_fixperms -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libnsgif-0.0.1.orig/debian/copyright +++ libnsgif-0.0.1/debian/copyright @@ -0,0 +1,25 @@ +This is the pre-packaged .deb format version of the NetSurf GIF +library. It was packaged by the Debian/Ubuntu NetSurf Package Team + from sources originally published on +http://www.netsurf-browser.org/. + +Copyright (C) 2004 Richard Wilson +Copyright (C) 2008 Sean Fox + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + + * The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. --- libnsgif-0.0.1.orig/debian/watch +++ libnsgif-0.0.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://www.netsurf-browser.org/projects/libnsgif/ \ + \.\./releases/libnsgif-([\d\.]*)-src.tar.gz --- libnsgif-0.0.1.orig/debian/libnsgif0.symbols +++ libnsgif-0.0.1/debian/libnsgif0.symbols @@ -0,0 +1,5 @@ +libnsgif.so.0 libnsgif0 #MINVER# + gif_create@Base 0.0.1 + gif_decode_frame@Base 0.0.1 + gif_finalise@Base 0.0.1 + gif_initialise@Base 0.0.1 --- libnsgif-0.0.1.orig/debian/control +++ libnsgif-0.0.1/debian/control @@ -0,0 +1,35 @@ +Source: libnsgif +Section: libs +Priority: optional +Maintainer: Debian/Ubuntu NetSurf Package Team +Uploaders: Daniel Silverstone , Vincent Sanders +Standards-Version: 3.8.2.0 +Build-Depends: debhelper (>= 7) + +Package: libnsgif0 +Architecture: any +Depends: ${shlibs:Depends} +Description: NetSurf GIF decoder + libnsgif is a decoder for the GIF image format for NetSurf applications. + +Package: libnsgif0-dev +Architecture: any +Provides: libnsgif-dev +Conflicts: libnsgif-dev +Section: libdevel +Depends: libnsgif0 (= ${binary:Version}) +Description: NetSurf GIF decoder - Development files + libnsgif is a decoder for the GIF image format for NetSurf applications. + . + This package includes the headers and symlinks needed to build software + against libnsgif. + +Package: libnsgif0-dbg +Architecture: any +Depends: libnsgif0 (= ${binary:Version}) +Section: debug +Priority: extra +Description: NetSurf GIF decoder - Debugging symbols + libnsgif is a decoder for the GIF image format for NetSurf applications. + . + This package includes the debugging symbols for libnsgif0. --- libnsgif-0.0.1.orig/debian/libnsgif0.install +++ libnsgif-0.0.1/debian/libnsgif0.install @@ -0,0 +1 @@ +/usr/lib/libnsgif*.so.* --- libnsgif-0.0.1.orig/debian/libnsgif0-dev.install +++ libnsgif-0.0.1/debian/libnsgif0-dev.install @@ -0,0 +1,3 @@ +/usr/lib/pkgconfig/* +/usr/lib/libnsgif*.so +/usr/include/*