--- avr-libc-1.8.0+Atmel3.5.0.orig/debian/avr-man +++ avr-libc-1.8.0+Atmel3.5.0/debian/avr-man @@ -0,0 +1,2 @@ +#! /bin/sh +exec man -s 3avr "$@" --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/avr-man.1 +++ avr-libc-1.8.0+Atmel3.5.0/debian/avr-man.1 @@ -0,0 +1,17 @@ +.TH "AVR_MAN" 1 "2014-01-02" +.SH NAME +avr-man - a man(1) replacement to access the avr-libc manual pages +.SH SYNOPSIS +\fB avr-man \fR [ \fIOPTION\fR ] \fIpage\fR +.SH DESCRIPTION +.B avr-man +is a wrapper script for \fBman\fR(1), displaying results for the specified \fIpage\fR from the manual pages shipped with the +.IR avr-libc +package. +.PP +\fIOPTION\fR parameters are passed to man. It is included for backwards compatibility. The recommended way to access these pages is now: + + man 3avr page + +.SH "SEE ALSO" +\fBman\fR(1) --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/bug_675759.patch +++ avr-libc-1.8.0+Atmel3.5.0/debian/bug_675759.patch @@ -0,0 +1,15 @@ +Index: include/avr/pgmspace.h +=================================================================== +--- include/avr/pgmspace.h (revision 2293) ++++ include/avr/pgmspace.h (revision 2294) +@@ -1081,8 +1081,8 @@ + extern int memcmp_PF(const void *, uint_farptr_t, size_t) __ATTR_PURE__; + + +-__attribute__((__always_inline__)) static inline size_t strlen_P(const char * s); +-static inline size_t strlen_P(const char *s) { ++__attribute__((__always_inline__)) static __inline__ size_t strlen_P(const char * s); ++static __inline__ size_t strlen_P(const char *s) { + return __builtin_constant_p(__builtin_strlen(s)) + ? __builtin_strlen(s) : __strlen_P(s); + } --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/changelog +++ avr-libc-1.8.0+Atmel3.5.0/debian/changelog @@ -0,0 +1,321 @@ +avr-libc (1:1.8.0+Atmel3.5.0-1) unstable; urgency=medium + + * New upstream release + * Add configure option --enable-device-lib + + -- Hakan Ardo Fri, 11 Dec 2015 16:58:02 +0100 + +avr-libc (1:1.8.0+Atmel3.4.5-1) unstable; urgency=medium + + * Added watch file + * New upstream release + + -- Hakan Ardo Wed, 01 Apr 2015 20:17:29 +0200 + +avr-libc (1:1.8.0+Atmel3.4.4-1) unstable; urgency=medium + + * New upstream release from Atmel-AVR-GNU-Toolchain v3.4.4 + (http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU- + Toolchain/3.4.4/) (closes: #740391, #739953, #695514, #719635) + * Moved manpages to the 3avr section of /usr/share/man + * Added avr-man manpage (closes: #733939) + * Added build-arch and build-indep targets + * Moved build to binary-indep target + * Increased standards version to 3.9.5 + * Added ${misc:Depends} dependency + * Applied upstream fix to make pgmspace.h ansi compatible (closes: + #675759) + + -- Hakan Ardo Tue, 03 Jun 2014 14:25:22 +0200 + +avr-libc (1:1.8.0-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/control: Switch to automake1.11. (Closes: #724351) + + -- Eric Dorland Sun, 02 Mar 2014 18:14:01 -0500 + +avr-libc (1:1.8.0-4) unstable; urgency=low + + * Recompiled with gcc 4.8 + + -- Hakan Ardo Sat, 05 Oct 2013 15:54:43 +0200 + +avr-libc (1:1.8.0-3) unstable; urgency=low + + * Move man pages to /usr/share/doc/avr-libc/man (closes: #678584, + #677059) + + -- Hakan Ardo Thu, 26 Jul 2012 07:31:00 +0200 + +avr-libc (1:1.8.0-2) unstable; urgency=low + + * New upstream release + + -- Hakan Ardo Wed, 23 May 2012 10:30:07 +0200 + +avr-libc (1:1.8.0-1) experimental; urgency=low + + * new upstream release + + -- Hakan Ardo Thu, 22 Mar 2012 21:01:33 +0100 + +avr-libc (1:1.7.1-3) experimental; urgency=low + + * recompiled with gcc 4.7 + + -- Hakan Ardo Thu, 22 Mar 2012 20:43:05 +0100 + +avr-libc (1:1.7.1-2) unstable; urgency=low + + * include/util/delay.h.in: Add math.h to list of includes (closes: + #633822) + + -- Hakan Ardo Thu, 14 Jul 2011 11:15:32 +0200 + +avr-libc (1:1.7.1-1) unstable; urgency=low + + * New upstream release (closes: #626119) + * Now build-depends on doxygen-latex (closes: #616199) + + -- Hakan Ardo Sun, 10 Jul 2011 16:46:05 +0200 + +avr-libc (1:1.6.8-2) unstable; urgency=low + + * Recompiled with new toolchain + * Added ATmega325P to wdt.h (closes: #587574) + + -- Hakan Ardo Fri, 30 Jul 2010 10:55:29 +0200 + +avr-libc (1:1.6.8-1) unstable; urgency=low + + * New upstream release + * Replaced builddep on gs-gpl with ghostscript + * Autotools executed during build. + * Now build-depends on doxygen >= 1.6.2 + * Errors in first two latex passes ignored (closes: #562312) + + -- Hakan Ardo Sun, 21 Feb 2010 11:54:12 +0100 + +avr-libc (1:1.6.7-1) unstable; urgency=low + + * New upstream relese (closes: #544030) + * Added lintian overrides (closes: #553265) + + -- Hakan Ardo Sat, 31 Oct 2009 11:52:10 +0100 + +avr-libc (1:1.6.2.cvs20080610-2) unstable; urgency=low + + * Added build-depends on texlive-extra-utils (closes: #493454) + + -- Hakan Ardo Sun, 10 Aug 2008 09:59:16 +0200 + +avr-libc (1:1.6.2.cvs20080610-1) unstable; urgency=low + + * New upstream release: WinAVR-20080610 + + -- Hakan Ardo Sat, 19 Jul 2008 11:18:39 +0200 + +avr-libc (1:1.6.2-2) unstable; urgency=low + + * Recompiled with new gcc to add support for avr6 + * Moved /usr/avr to /usr/lib/avr (closes: #486844) + * pdf manual index now has pagenumbers (closes: #486219) + + -- Hakan Ardo Wed, 02 Jul 2008 13:53:45 +0200 + +avr-libc (1:1.6.2-1) unstable; urgency=low + + * New upstream release + + -- Hakan Ardo Fri, 04 Apr 2008 17:05:32 +0200 + +avr-libc (1:1.6.1-1) unstable; urgency=low + + * New upstream release (closes: #464622) + + -- Hakan Ardo Fri, 08 Feb 2008 14:58:42 +0100 + +avr-libc (1:1.4.7-1) unstable; urgency=low + + * New upstream release (closes: #410831, #420163, #421088, #452199, #394231) + * Replaced tetex packages with texlive in Build-Depends (closes: + #427266) + * Now ignores returnstatus of pdflatex when generating docs to prevent + the build processing from halting on latex warnings (closes: + #427266) + + -- Hakan Ardo Sat, 29 Dec 2007 16:20:03 +0100 + +avr-libc (1:1.4.6-1) unstable; urgency=low + + * New upstream release + + -- Hakan Ardo Thu, 9 Aug 2007 11:28:01 +0200 + +avr-libc (1:1.4.5-3) unstable; urgency=low + + * Recompiled with new gcc/binutils + * Fixed build-depends (closes: #420060) + + -- Hakan Ardo Sun, 22 Apr 2007 17:52:23 +0200 + +avr-libc (1:1.4.5-2) unstable; urgency=low + + * Convertion to debheler fixed (closes: #398220) + * Reference to /usr/share/common-licenses in copyright file + + -- Hakan Ardo Wed, 15 Nov 2006 21:12:47 +0100 + +avr-libc (1:1.4.5-1) unstable; urgency=low + + * New upstream release + * Converted from debmake to debhelper (closes: #373000) + + -- Hakan Ardo Wed, 1 Nov 2006 07:32:23 +0100 + +avr-libc (1:1.4.4-2) unstable; urgency=low + + * Recompiled with gcc-4.1 + + -- Hakan Ardo Mon, 1 May 2006 12:03:39 +0200 + +avr-libc (1:1.4.4-1) unstable; urgency=low + + * New upstream release (closes: #355631, #360685) + + -- Hakan Ardo Mon, 24 Apr 2006 20:43:52 +0200 + +avr-libc (1:1.4.3-1) unstable; urgency=low + + * New upstream release (closes: #350536,#299881). Older versions of avr-libc + are avalible as avr-libc-1.2 and avr-libc-1.0. + + -- Hakan Ardo Sun, 5 Feb 2006 11:29:51 +0100 + +avr-libc (1:1.2.3-3) unstable; urgency=low + + * Added build depends on netpbm + * Added build depends on tetex-extra + + -- Hakan Ardo Sat, 19 Mar 2005 11:16:14 +0100 + +avr-libc (1:1.2.3-2) unstable; urgency=low + + * Added gs to Build-Depends + + -- Hakan Ardo Wed, 2 Mar 2005 07:05:20 +0100 + +avr-libc (1:1.2.3-1) unstable; urgency=low + + * Upstream release + + -- Hakan Ardo Sun, 27 Feb 2005 10:19:36 +0100 + +avr-libc (1:1.2.0-1) unstable; urgency=low + + * Upstream release + + -- Hakan Ardo Sun, 2 Jan 2005 15:31:06 +0100 + +avr-libc (1:1.0.5-1) unstable; urgency=low + + * New upstream release + + -- Hakan Ardo Sun, 26 Dec 2004 12:58:53 +0100 + +avr-libc (1:1.0.4-1) unstable; urgency=low + + * Upstream update + + -- Hakan Ardo Wed, 11 Aug 2004 17:48:58 +0200 + +avr-libc (1:1.0.3-1) unstable; urgency=low + + * Upstream update + + -- Hakan Ardo Mon, 29 Mar 2004 15:08:19 +0200 + +avr-libc (20030512cvs-1) unstable; urgency=low + + * Updated to 20030512 + + -- Hakan Ardo Sat, 24 May 2003 13:39:43 +0200 + +avr-libc (20020203-4) unstable; urgency=low + + * Enabled crtm8.o and crtm128.o (closes: #160290) + * Secured __port_cbi_sbi_ok macro with parens (closes: #182898) + * LICENSE file now included (closes: #182899) + + -- Hakan Ardo Sat, 15 Mar 2003 10:09:49 +0100 + +avr-libc (20020203-3) unstable; urgency=low + + * Added avr link in include dir (closes: #173755) + * Documents and examples now included (closes: #160298) + * Moved around )s in iomacros.h (closes: #162030, #174505) + + -- Hakan Ardo Wed, 26 Feb 2003 18:31:28 +0100 + +avr-libc (20020203-2) unstable; urgency=low + + * Support for the mega AVRs now restored (avr3,avr4 and avr5) + + -- Hakan Ardo Mon, 15 Apr 2002 14:53:38 +0200 + +avr-libc (20020203-1) unstable; urgency=low + + * New upstream release (closes: #139033) + + -- Hakan Ardo Sat, 30 Mar 2002 10:23:12 +0100 + +avr-libc (20010708-4) unstable; urgency=low + + * Updated Build-Depend on gcc to reflect version dependency + (close: #133366). + * Changed arch to all (closes: #134443) + + -- Hakan Ardo Mon, 11 Mar 2002 15:56:30 +0100 + +avr-libc (20010708-3) unstable; urgency=low + + * Recompiled with new avr-gcc instead oc avr-linux-gcc + + -- Hakan Ardo Sat, 9 Feb 2002 16:10:00 +0100 + +avr-libc (20010708-2) unstable; urgency=low + + * Fixed some spell errors (Bug #100109) + * Fixed clean target not to craete dirs (Bug #107089) + + -- Hakan Ardo Sat, 9 Feb 2002 16:09:35 +0100 + +avr-libc (20010708-1) unstable; urgency=low + + * New upstream release + + -- Hakan Ardo Sat, 14 Jul 2001 12:46:11 +0200 + +avr-libc (20010331-1) unstable; urgency=low + + * New upstream release. + * Added Build-Depends + + -- Hakan Ardo Sat, 7 Apr 2001 19:15:22 +0200 + +avr-libc (20000514-2) unstable; urgency=low + + * Moved to main + + -- Hakan Ardo Sun, 29 Oct 2000 13:11:28 +0100 + +avr-libc (20000514-1) unstable; urgency=low + + * Initial Release. + + -- Hakan Ardo Wed, 20 Sep 2000 22:08:40 +0200 + +Local variables: +mode: debian-changelog +End: --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/compat +++ avr-libc-1.8.0+Atmel3.5.0/debian/compat @@ -0,0 +1 @@ +5 --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/control +++ avr-libc-1.8.0+Atmel3.5.0/debian/control @@ -0,0 +1,14 @@ +Source: avr-libc +Section: otherosfs +Priority: extra +Maintainer: Hakan Ardo +Standards-Version: 3.9.5 +Build-Depends: gcc-avr (>=1:4.9.2+Atmel3.5.0), binutils-avr (>=2.25+Atmel3.5.0), debhelper (>=5), doxygen-latex (>=1.8.7), doxygen (>=1.8.7), transfig, ghostscript, netpbm, x11-common, autotools-dev, autoconf2.59, automake1.11, unzip + +Package: avr-libc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, gcc-avr (>=1:4.9.2+Atmel3.5.0), binutils-avr (>=2.25+Atmel3.5.0) +Description: Standard C library for Atmel AVR development + Standard library used to the development of C programs for the + Atmel AVR micro controllers. This package contains static + libraries as well as the header files needed. --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/copyright +++ avr-libc-1.8.0+Atmel3.5.0/debian/copyright @@ -0,0 +1,77 @@ +This package was debianized by Hakan Ardo hakan@debian.org on +Wed, 20 Sep 2000 22:08:40 +0200. + +It was downloaded from: + + http://savannah.nongnu.org/download/avr-libc/ + +Copyright: + +The contents of avr-libc are licensed with a Modified BSD License. + +All of this is supposed to be Free Software, Open Source, DFSG-free, +GPL-compatible, and OK to use in both free and proprietary applications. + +See the license information in the individual source files for details. + +Additions and corrections to this file are welcome. + +Both the BSD and GPL licens is available in /usr/share/common-licenses. + +******************************************************************************* +Portions of avr-libc are Copyright (c) 1999-2004 +Keith Gudger, +Steinar Haugen, +Peter Jansen, +Reinhard Jessich, +Magnus Johansson, +Artur Lipowski, +Marek Michalkiewicz, +Colin O'Flynn, +Bob Paddock, +Reiner Patommel, +Michael Rickman, +Theodore A. Roth, +Juergen Schilling, +Philip Soeberg, +Nils Kristian Strom, +Michael Stumpf, +Stefan Swanepoel, +Eric B. Weddington, +Joerg Wunsch, +The Regents of the University of California. +All rights reserved. + +Portions of avr-libc documentation Copyright (c) 1990, 1991, 1993, 1994 +The Regents of the University of California. +All rights reserved. + + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * 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. + + * Neither the name of the copyright holders nor the names of + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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. + +******************************************************************************* --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/docs +++ avr-libc-1.8.0+Atmel3.5.0/debian/docs @@ -0,0 +1 @@ +avr-libc/README --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/ignore_latext_exit_code.patch +++ avr-libc-1.8.0+Atmel3.5.0/debian/ignore_latext_exit_code.patch @@ -0,0 +1,19 @@ +*** avr-libc/doc/api/Makefile.am.org 2014-06-04 12:52:19.029957750 +0200 +--- avr-libc/doc/api/Makefile.am 2014-06-04 12:52:32.273985630 +0200 +*************** +*** 227,233 **** + dox-pdf: $(USER_MANUAL).pdf + + $(USER_MANUAL).pdf: latex_src/refman.tex +! cd latex_src && ${MAKE} refman.pdf + cp latex_src/refman.pdf $(USER_MANUAL).pdf + + # Install rules for the various documentation parts. The actual +--- 227,233 ---- + dox-pdf: $(USER_MANUAL).pdf + + $(USER_MANUAL).pdf: latex_src/refman.tex +! -cd latex_src && ${MAKE} refman.pdf + cp latex_src/refman.pdf $(USER_MANUAL).pdf + + # Install rules for the various documentation parts. The actual --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/lintian_overrides +++ avr-libc-1.8.0+Atmel3.5.0/debian/lintian_overrides @@ -0,0 +1,2 @@ +avr-libc: arch-independent-package-contains-binary-or-object + --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/rules +++ avr-libc-1.8.0+Atmel3.5.0/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f +# Made with the aid of debmake, by Christoph Lameter, +# based on the sample debian/rules file for GNU hello by Ian Jackson. + +package=avr-libc + +SRC=avr-libc + +unpack: unpack-stamp +unpack-stamp: + tar xf avr-libc*.tar.bz2 + mv libc/avr-libc . + unzip avr8-headers*.zip + touch unpack-stamp + +patch: patch-stamp +patch-stamp: unpack-stamp + cp avr/*.h $(SRC)/include/avr/ + sed -i -s 's/^MAN_EXTENSION.*/MAN_EXTENSION = .3avr/' \ + $(SRC)/doc/api/doxygen.config.in + echo 'MAN_SUBDIR = man3' >> $(SRC)/doc/api/doxygen.config.in + sed -i -s 's/man\/man3\/\*.3/man\/man3\/\*.3avr/' \ + $(SRC)/doc/api/Makefile.am + cd $(SRC) && patch -p0 < ../debian/bug_675759.patch + patch -p0 < debian/ignore_latext_exit_code.patch + touch patch-stamp + +build: build-stamp +build-stamp: patch-stamp + $(checkdir) + cd $(SRC) && ./bootstrap + cd $(SRC) && ./configure --build=`./config.guess` --host=avr \ + --prefix=/usr/lib --enable-device-lib \ + --disable-versioned-doc --enable-doc \ + --disable-ps-doc --datadir=/usr/share --bindir=/usr/bin \ + --mandir=/usr/share/man + + cd $(SRC) && make + touch build-stamp + +build-arch: build +build-indep: build + +clean: + $(checkdir) + -rm -rf build-stamp unpack-stamp patch-stamp avr $(SRC) + -rm -rf debian/tmp debian/files* core debian/substvars + -dh_clean + +binary-indep: checkroot build + $(checkdir) + RGBDEF=/etc/X11/rgb.txt make -C $(SRC) install DESTDIR=`pwd`/debian/$(package) + cp $(SRC)/NEWS debian/$(package)/usr/share/doc/$(package)/changelog + install -d debian/$(package)/usr/share/lintian/overrides + cp debian/lintian_overrides debian/$(package)/usr/share/lintian/overrides/$(package) + mv debian/avr-libc/usr/lib/bin debian/avr-libc/usr/ + install -d debian/avr-libc/usr/share/man/man1 + cp debian/avr-man.1 debian/avr-libc/usr/share/man/man1 + cp debian/avr-man debian/avr-libc/usr/bin/ + + dh_installchangelogs + dh_installdocs + dh_installman + dh_compress + dh_fixperms + dh_installdeb + + dh_md5sums + dh_gencontrol + dh_builddeb + +binary-arch: checkroot build + +define checkdir + test -f debian/rules +endef + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot --- avr-libc-1.8.0+Atmel3.5.0.orig/debian/watch +++ avr-libc-1.8.0+Atmel3.5.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/^.*\+Atmel// \ + http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/ (\d+\.\d+\.\d+)/