debian/0000755000000000000000000000000012260163252007165 5ustar debian/rules0000755000000000000000000000611312260163252010246 0ustar #!/usr/bin/make -f # -*- makefile -*- # The following is for internal development usage only # Update that sum when new _upstream_ releases occur, this # catches silent file content forges at the upstream server side # Archive downloaded from https://www.icce.rug.nl/debian/flexc++ # file: flexc++_x.y.z.tar.gz MD5TRUSTED := 6578f810f54e18234556dab3112e4d84 # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all export DEB_BUILD_HARDENING=1 export CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) export LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) export CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS) export CXXFLAGS += --std=c++0x -Wall export CXX = g++-4.8 SKEL = /usr/share/flexc++ build: build-indep build-arch build-indep: build-arch: build-stamp build-stamp: dh_testdir # compile the package. ./build program ./build man ./build manual touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp ./build distclean dh_clean install: build-arch dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/flexc++. ./build install program debian/flexc++/usr/bin/flexc++ ./build install skel debian/flexc++/usr/share/flexc++ ./build install std debian/flexc++/usr/share/doc/flexc++ ./build install man debian/flexc++/usr/share/man ./build install manual debian/flexc++/usr/share/doc/flexc++/manual binary-indep: binary-arch: build-arch install dh_testdir dh_testroot dh_installchangelogs dh_installdocs README.class-setup # dh_installexamples dh_installman dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb DEBVERSION:=$(shell head -n 1 debian/changelog | sed -e 's/^[^(]*(\([^)]*\)).*/\1/') UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//') UPNAME := flexc++ UPFILE := $(UPNAME)_$(UPVERSION).tar.gz DEFILE := $(UPNAME)_$(UPVERSION).orig.tar.gz URL := https://www.icce.rug.nl/debian/flexc++ MD5CURRENT := `md5sum ../tarballs/$(DEFILE) | sed -e 's/ .*//'` get-orig-source: @@[ -d ../tarballs/. ]||mkdir -p ../tarballs -@if [ ! -f ../tarballs/$(DEFILE) ] ; then \ echo -e "Downloading $(URL)/$(UPFILE)\nSaving into ../tarballs/$(DEFILE) ..." ; \ wget --no-check-certificate --quiet -N -nv -T10 -t3 -O \ ../tarballs/$(DEFILE) $(URL)/$(UPFILE) ; \ else \ echo "Upstream source tarball have been already downloaded" ; \ fi -@if [ "$(MD5CURRENT)" != "$(MD5TRUSTED)" ] ; then \ echo "Expecting upstream filename md5sum $(MD5TRUSTED), but $(MD5CURRENT) found" ; \ echo "Upstream filename md5sum is NOT trusted! Possible upstream filename forge!" ; \ false ; \ else \ echo "Upstream filename md5sum is trusted!" ; \ fi print-version: @@echo "Debian version: $(DEBVERSION)" @@echo "Upstream version: $(UPVERSION)" binary: binary-indep binary-arch .PHONY: build build-indep build-arch clean binary-indep binary-arch binary install debian/changelog0000644000000000000000000002174012260163252011043 0ustar flexc++ (1.08.00-1) unstable; urgency=low * New upstream release extends and reorganizes flexc++'s documentation and adds a member to the Scanner class which is called after a regular expression has been matched. -- Frank B. Brokken Sat, 28 Dec 2013 18:09:41 +0100 flexc++ (1.07.00-2) unstable; urgency=low * Export CXX during the build. Together with the explicit dependency on g++4.8, this should address the FTBFS on architecures where the default g++ is <= 4.6. (Closes: #699574) -- tony mancill Sun, 11 Aug 2013 16:52:15 -0700 flexc++ (1.07.00-1) unstable; urgency=low [ Frank B. Brokken ] * New upstream release removes --force-* options -- Frank B. Brokken Sun, 11 Aug 2013 18:52:02 +0200 flexc++ (1.06.00-2) unstable; urgency=low * Update Vcs fields to be canonical. * Rename collab-maint git repository from flexc++ to flexcpp. * Switch g++ dependency to g++-4.8 to allow auto-builders to install the necessary compiler on architectures where g++ (>= 4:4.7) is not available. * Update debian/compat and debhelper dependency to 9. -- tony mancill Sat, 10 Aug 2013 22:40:17 -0700 flexc++ (1.06.00-1) unstable; urgency=low * New upstream release fixes a look-ahead operator bug and issues warnings for options when conflicting with files previously generated by flexc++. -- Frank B. Brokken Tue, 06 Aug 2013 13:53:26 +0200 flexc++ (1.05.00-1) unstable; urgency=low * New upstream release disallows path-specifications for destination filenames * Removed git-build target from debian/rules * Removed explicit g++ compiler version specification (4.7) from debian/rules -- Frank B. Brokken Tue, 28 May 2013 18:44:01 +0200 flexc++ (1.04.00-2) unstable; urgency=low * Upload to unstable. -- tony mancill Wed, 08 May 2013 20:15:39 -0700 flexc++ (1.04.00-1) experimental; urgency=low * New upstream release repairs several minor flaws * Adapted debian/rules to the project/{debian,src,build} directory structure used by git-bl -- Frank B. Brokken Fri, 15 Mar 2013 14:29:33 +0100 flexc++ (1.03.01-1) unstable; urgency=low [ Frank B. Brokken ] * New upstream release catches std::exception exceptions instead of FBB::Errno exceptions and (1.03.00) returns 0 with --version or --help [ tony mancill ] * Update build-deps to g++-4.7. * Update d/control Vcs fields to point to repo on git.debian.org. -- tony mancill Fri, 25 Jan 2013 19:41:45 -0800 flexc++ (1.02.00-1) unstable; urgency=low * New upstream release allows blanks after mini-scanner specifications -- Frank B. Brokken Sun, 25 Nov 2012 11:43:59 +0100 flexc++ (1.01.00-1) unstable; urgency=low * New upstream release removes the --interactive option, fixes a small bug in one of the skeleton files, and offers updated documentation -- Frank B. Brokken Mon, 05 Nov 2012 11:10:57 +0100 flexc++ (1.00.00-1) unstable; urgency=low * New upstream release fixes two small bugs and bumps to 1.00.00 after having been used for a year without any major problems. -- Frank B. Brokken Tue, 18 Sep 2012 05:22:24 +0200 flexc++ (0.98.01-1) unstable; urgency=low * Upstream build script recognizes CXX, CPPFLAGS, CXXFLAGS, LDFLAGS, and SKEL environment variables -- Frank B. Brokken Sun, 22 Jul 2012 11:05:33 +0200 flexc++ (0.98.00-1) unstable; urgency=low [ Frank B. Brokken ] * New upstream release + adds the option to createa case-insensitive scanner * Build-depend on libbobcat-dev >= 3.00.02 -- George Danchev Wed, 06 Jun 2012 09:19:03 +0200 flexc++ (0.97.20-1) unstable; urgency=low * New upstream release. -- Frank B. Brokken Fri, 20 Apr 2012 16:34:20 +0200 flexc++ (0.97.00-1) unstable; urgency=low * New upstream release. See the upstream's changelog * Build dependency on bisonc++ removed. -- Frank B. Brokken Sat, 14 Apr 2012 13:56:04 +0200 flexc++ (0.96.00-1) unstable; urgency=low * New upstream release changes the interpretation of INITIAL to an inclusive mini scanner, as per the std. flex manual. * Build-Depends on bisonc++. -- Frank B. Brokken Thu, 29 Mar 2012 17:15:54 +0200 flexc++ (0.95.00-1) unstable; urgency=low [ Frank B. Brokken ] * New upstream release, removes erroneously added %max-depth directive. [ tony mancill ] * Set Standards-Version to 3.9.3. -- tony mancill Tue, 28 Feb 2012 00:09:38 +0000 flexc++ (0.94.00-1) unstable; urgency=low * New upstream release, adds the --max-depth option and facilities for determining the number and names of nested specification files. -- Frank B. Brokken Thu, 23 Feb 2012 12:39:28 +0100 flexc++ (0.93.00-1) unstable; urgency=low * New upstream release, reimplements the interactive scanner -- Frank B. Brokken Mon, 20 Feb 2012 14:17:55 +0100 flexc++ (0.92.00-1) unstable; urgency=low * New upstream release, fixes several small issues, see the upstream changelog -- Frank B. Brokken Fri, 17 Feb 2012 14:17:14 +0100 flexc++ (0.91.00-1) unstable; urgency=low * New upstream release, fixes segfault, version number and adds --target-directory option. -- Frank B. Brokken Sat, 11 Feb 2012 13:50:02 +0100 flexc++ (0.09.51-1) unstable; urgency=low * New upstream release rebases release.yo to flexc++'s main directory -- Frank B. Brokken Mon, 06 Feb 2012 21:16:48 +0100 flexc++ (0.09.50-1) unstable; urgency=low * New upstream release, first version submitted to Debian -- Frank B. Brokken Mon, 06 Feb 2012 17:05:52 +0100 flexc++ (0.09.32-1) unstable; urgency=low * New upstream release -- Frank B. Brokken Sun, 05 Feb 2012 18:00:19 +0100 flexc++ (0.09.20-1) unstable; urgency=low * New upstream release -- Frank B. Brokken Sat, 04 Feb 2012 16:09:20 +0100 flexc++ (0.09.10-1) unstable; urgency=low * New upstream release -- Frank B. Brokken Fri, 03 Feb 2012 13:51:56 +0100 flexc++ (0.09.01-1) unstable; urgency=low * New upstream release -- Frank B. Brokken Fri, 03 Feb 2012 11:34:03 +0100 flexc++ (0.09.00.06-1) unstable; urgency=low * New upstream release implements new grammar -- Frank B. Brokken Mon, 30 Jan 2012 20:53:23 +0100 flexc++ (0.8.3-1) unstable; urgency=low * New upstream release fixes segfault detected by Jean-Paul van Oosten -- Frank B. Brokken Sat, 14 Jan 2012 11:43:10 +0100 flexc++ (0.8.2-1) unstable; urgency=low * New upstream release adds new switchStream member, handling streams -- Frank B. Brokken Fri, 30 Dec 2011 17:35:39 +0100 flexc++ (0.8.1-1) unstable; urgency=low * New upstream release repairs regex definition handling -- Frank B. Brokken Thu, 29 Dec 2011 23:31:04 +0100 flexc++ (0.8.0-1) unstable; urgency=low * New upstream release completely rebuilt of flexc++ -- Frank B. Brokken Wed, 13 Jul 2011 21:52:56 +0200 flexc++ (0.7.1~pre-1) unstable; urgency=low * New upstream release -- Frank B. Brokken Fri, 26 Mar 2010 16:31:28 +0100 flexc++ (0.7.0~pre-1) unstable; urgency=low * New upstream release -- Frank B. Brokken Sat, 20 Mar 2010 17:58:49 +0100 flexc++ (0.5.3-1) unstable; urgency=low * New upstream release -- Frank B. Brokken Fri, 19 Mar 2010 10:28:11 +0100 flexc++ (0.5.3~pre-2) unstable; urgency=low * New upstream release -- Frank B. Brokken Tue, 16 Mar 2010 13:51:33 +0100 flexc++ (0.5.3~pre-1) unstable; urgency=low * New (intermediate) upstream release -- Frank B. Brokken Tue, 09 Mar 2010 13:33:55 +0100 flexc++ (0.5.2~pre-1) unstable; urgency=low * New (intermediate) upstream release -- Frank B. Brokken Fri, 05 Mar 2010 16:29:24 +0100 flexc++ (0.5.0-1) unstable; urgency=low * New upstream release -- Frank B. Brokken Thu, 04 Mar 2010 11:46:07 +0100 flexc++ (0.1.2-1) unstable; urgency=low * New upstream release -- Frank B. Brokken Tue, 17 Mar 2009 12:00:10 +0100 flexc++ (0.1.1) unstable; urgency=low * Control file adapted, new upstream reelase -- Frank B. Brokken Sat, 14 Mar 2009 09:27:25 +0100 flexc++ (0.1.0) unstable; urgency=low * Initial creation of a Debian package -- Frank B. Brokken Fri, 13 Mar 2009 08:50:08 +0100 flexc++ (0.0.0) unstable; urgency=low * Definition of the flexc++ debian files -- Frank B. Brokken Sat, 19 Apr 2008 15:29:47 +0200 debian/source/0000755000000000000000000000000012260163252010465 5ustar debian/source/format0000644000000000000000000000001412260163252011673 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212260163252010363 0ustar 9 debian/copyright0000644000000000000000000000245712260163252011130 0ustar This package was debianized by Frank B. Brokken on Sat, 19 Apr 2008 15:29:47 +0200. It was downloaded from: http://oosix.icce.rug.nl/svnroot/flexc++/ Upstream Author: Frank B. Brokken Copyright: Flexc++ scanner generator Copyright (c) 2008 - now by Frank B. Brokken, University of Groningen. License: 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 WITHOUT ANY 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 package; 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 can be found in `/usr/share/common-licenses/GPL'. Debian packaging copyright:   (C) 2008 Frank B. Brokken and is licensed under the GPL, see above. debian/control0000644000000000000000000000411612260163252010572 0ustar Source: flexc++ Section: devel Priority: optional Maintainer: Frank B. Brokken Uploaders: George Danchev , tony mancill Build-Depends: debhelper (>= 9), libbobcat-dev (>= 3.12.00), icmake (>= 7.21.0), g++-4.8 (>= 4.8.2), yodl (>= 3.03.0), hardening-wrapper, hardening-includes Standards-Version: 3.9.5 Homepage: http://flexcpp.sourceforge.net Vcs-Git: git://anonscm.debian.org/collab-maint/flexcpp.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/flexcpp.git Package: flexc++ Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: bisonc++ Description: Flex-style scanner generator for C++ Flexc++ was designed after `flex'. Flexc++ offers as compared to flex's C++ option a cleaner class-design. . Flexc++ generates a scanner class that is ready for use, as well as a member function producing the lexical scanner tokens (lex()). The class can easily be provided with additional members without the need for polymorphic functions. Consequently, classes generated by flexc++ have no virtual members and actually have but one public member: lex(), replacing the old-style flex and flex++ yylex() function. . Flexc++ offers many options, among which an option to define classes generated by flexc++ in a separate namespace. This allows developers to define additional symbols, even outside of the class generated by flexc++, without encountering name-collision problems. With flexc++, artificial means to prevent name-collisions, like the yy-conventions used by flex and flex++ are no longer required. Flexc++ generates C++ code. If C code is required, flex should be used. Flexc++'s grammar requirements are highly compatible with flex's requirements, so converting a flex grammar into a flexc++ grammar should be fairly simple. . In addition to the flexc++ scanner generator itself and several skeleton files, the package contains an extensive man-page, as well as a full manual rewritten after the original flex manual, and several examples.