--- cycfx2prog-0.47.orig/debian/README.Debian +++ cycfx2prog-0.47/debian/README.Debian @@ -0,0 +1,11 @@ +cycfx2prog for Debian +--------------------- + + * For more information and example firmwares for the EZ-USB FX2 see: + + http://www.triplespark.net/elec/periph/USB-FX2/software/ + http://www.triplespark.net/elec/periph/USB-FX2/software/local_examples.html + http://www.triplespark.net/elec/periph/USB-FX2/software/io_examples.html + http://www.triplespark.net/elec/periph/USB-FX2/software/fx2pipe.html + + -- Uwe Hermann Fri, 15 Feb 2008 12:51:41 +0100 --- cycfx2prog-0.47.orig/debian/changelog +++ cycfx2prog-0.47/debian/changelog @@ -0,0 +1,32 @@ +cycfx2prog (0.47-1ubuntu2) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:18:21 +0000 + +cycfx2prog (0.47-1ubuntu1) oneiric; urgency=low + + * debian/patches/fix-ftbfs-with-ls-as-needed.patch: (LP: #770790) + - Reorder libraries to fix FTBFS with ld --as-needed + + -- Angel Abad Sun, 21 Aug 2011 13:21:27 +0200 + +cycfx2prog (0.47-1) unstable; urgency=low + + * New upstream release (Closes: #557772). + * Standards-Version: 3.8.3 (no changes required). + + -- Uwe Hermann Thu, 04 Feb 2010 00:59:45 +0100 + +cycfx2prog (0.41-2) unstable; urgency=low + + * debian/{watch,copyright,control}: New upstream website. + * Standards-Version: 3.8.0 (no changes required). + + -- Uwe Hermann Sun, 23 Nov 2008 01:20:42 +0100 + +cycfx2prog (0.41-1) unstable; urgency=low + + * Initial release (Closes: #465895). + + -- Uwe Hermann Fri, 15 Feb 2008 15:36:01 +0100 --- cycfx2prog-0.47.orig/debian/compat +++ cycfx2prog-0.47/debian/compat @@ -0,0 +1 @@ +5 --- cycfx2prog-0.47.orig/debian/control +++ cycfx2prog-0.47/debian/control @@ -0,0 +1,17 @@ +Source: cycfx2prog +Section: electronics +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Uwe Hermann +Build-Depends: cdbs, debhelper (>= 5), libusb-dev +Standards-Version: 3.8.3 +Homepage: http://www.triplespark.net/elec/periph/USB-FX2/software/ + +Package: cycfx2prog +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Cypress EZ-USB FX2 (LP) programmer + CycFX2Prog is a tool for programming the EZ-USB FX2 controller (i.e. + downloading 8051 firmware into the RAM of the device) and doing basic + endpoint communication for testing purposes. + --- cycfx2prog-0.47.orig/debian/copyright +++ cycfx2prog-0.47/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Uwe Hermann on +Fri, 15 Feb 2008 12:51:41 +0100. + +It was downloaded from: + + http://www.triplespark.net/elec/periph/USB-FX2/software/ + +Upstream Author: + + Wolfgang Wieser + +------------------------------------------------------------------------------- + +Files: * +Copyright: © 2006-2009 Wolfgang Wieser +License: GPL-2 + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +------------------------------------------------------------------------------- + +Files: debian/* +Copyright: © 2008-2010 Uwe Hermann +License: GPL-2+ + The Debian packaging is © 2008-2010, Uwe Hermann and + is licensed under the GPL (version 2 or later), see above. + --- cycfx2prog-0.47.orig/debian/dirs +++ cycfx2prog-0.47/debian/dirs @@ -0,0 +1 @@ +usr/bin --- cycfx2prog-0.47.orig/debian/patches/fix-ftbfs-with-ls-as-needed.patch +++ cycfx2prog-0.47/debian/patches/fix-ftbfs-with-ls-as-needed.patch @@ -0,0 +1,25 @@ +Description: Reorder libraries to fix FTBFS with ld --as-needed +Author: Angel Abad +Bug-Ubuntu: https://launchpad.net/bugs/770790 +Bug-Debian: http://bugs.debian.org/638713 + +diff -Nur -x '*.orig' -x '*~' cycfx2prog-0.47//Makefile cycfx2prog-0.47.new//Makefile +--- cycfx2prog-0.47//Makefile 2009-12-06 18:55:28.000000000 +0100 ++++ cycfx2prog-0.47.new//Makefile 2011-08-21 13:18:48.223560927 +0200 +@@ -2,14 +2,14 @@ + VERSION = 0.47 + CFLAGS = -O2 -fno-rtti -fno-exceptions -DCYCFX2PROG_VERSION=\"$(VERSION)\" \ + -W -Wall -Wformat +-LDFLAGS = -lusb ++LIBS = -lusb + DIST_DEST = cycfx2prog-$(VERSION) + + all: cycfx2prog + + # NOTE: Also add sources to the "dist:" target! + cycfx2prog: cycfx2prog.o cycfx2dev.o +- $(CC) $(LDFLAGS) cycfx2prog.o cycfx2dev.o -o cycfx2prog ++ $(CC) cycfx2prog.o cycfx2dev.o -o cycfx2prog $(LIBS) + + clean: + -rm -f *.o --- cycfx2prog-0.47.orig/debian/rules +++ cycfx2prog-0.47/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +# Note: The version number here must be increased with each upstream release! +CFLAGS = -O2 -fno-rtti -fno-exceptions -D'CYCFX2PROG_VERSION=\"0.47\"' -W \ + -Wall -Wformat +LDFLAGS = -lusb + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +binary-install/cycfx2prog:: + install cycfx2prog debian/cycfx2prog/usr/bin + +clean:: + rm -f cycfx2prog + --- cycfx2prog-0.47.orig/debian/watch +++ cycfx2prog-0.47/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.triplespark.net/elec/periph/USB-FX2/software/cycfx2prog-(.*)\.tar\.gz