debian/0000775000000000000000000000000012273742403007174 5ustar debian/copyright0000664000000000000000000001311011732451275011126 0ustar This work was packaged for Debian by: Fathi Boudra on Sat, 17 Apr 2010 20:52:56 +0300 It was downloaded from: ftp://ftp.kde.org/pub/kde/stable/kdevelop-pg-qt Upstream Authors: Jonathan Schmidt-Dominé Andreas Pakulat Roberto Raggi Jakob Petsovits Copyright: Copyright (C) 2009-2010 Jonathan Schmidt-Dominé Copyright (C) 2006 Andreas Pakulat Copyright (C) 2002-2006 Roberto Raggi Copyright (C) 2005-2006 Jakob Petsovits License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package 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. On Debian systems, the complete text of the GNU General Public License version 2 and version 3 can be found in "/usr/share/common-licenses/GPL-2" and "/usr/share/common-licenses/GPL-3". Copyright for FindKDevelop-PG-Qt.cmake file: Copyright (C) 2007 Andreas Pakulat Redistribution and use is allowed according to the terms of the BSD license. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. Files in include/ This file is part of kdev-pg Copyright 2002-2006 Roberto Raggi Copyright 2009 Milian Wolff Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. 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 KDEVELOP TEAM 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. kdev-pg/kdev-pg-parser.cc and kdev-pg/kdev-pg-parser.hh Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 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, 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 program. If not, see . As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. This special exception was added by the Free Software Foundation in version 2.2 of Bison. The Debian packaging is: Copyright (C) 2010 Fathi Boudra and is licensed under the LGPL version 2 or any later version, see above. debian/compat0000664000000000000000000000000211733621001010360 0ustar 9 debian/changelog0000664000000000000000000000243012273742403011045 0ustar kdevelop-pg-qt (1.0.0-2ubuntu1) trusty; urgency=medium * Add kubuntu_fix_ftbfs.patch to fix FTBFS -- Rohan Garg Mon, 03 Feb 2014 17:34:10 +0100 kdevelop-pg-qt (1.0.0-2) unstable; urgency=low * Team upload. Upload to unstable. -- Pino Toscano Sun, 20 May 2012 10:33:40 +0200 kdevelop-pg-qt (1.0.0-1) experimental; urgency=low * Team upload. * New upstream release. [ Andreas Cord-Landwehr ] * Remove patch fix_portability_issues.diff (applied upstream). [ Pino Toscano ] * Add a watch file. * Bump Standards-Version to 3.9.3, no changes required. * Bump debhelper build dependency and compat to 9. * Fix the installation of the cmake config files if there is no KDE4 stuff available (patch fix_cmake_installation.diff). -- Pino Toscano Sun, 25 Mar 2012 16:20:33 +0200 kdevelop-pg-qt (0.9.5-2) unstable; urgency=low * Fix a couple of portability issues (armel, all big endian arches). This should enable kdevelop-php to build on them (fix_portability_issues.diff). -- Modestas Vainius Mon, 06 Jun 2011 02:42:41 +0300 kdevelop-pg-qt (0.9.5-1) unstable; urgency=low * Initial release. (Closes: #578240) -- Fathi Boudra Sat, 04 Jun 2011 12:14:52 +0300 debian/source/0000775000000000000000000000000011732451275010477 5ustar debian/source/format0000664000000000000000000000001411732451275011705 0ustar 3.0 (quilt) debian/rules0000775000000000000000000000021011732451275010250 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --parallel .PHONY: override_dh_auto_test debian/docs0000664000000000000000000000001411732451275010045 0ustar README TODO debian/watch0000664000000000000000000000015011733620040010211 0ustar version=3 ftp://ftp.kde.org/pub/kde/stable/kdevelop-pg-qt/([\d.]+)/src/kdevelop-pg-qt-([\d.]+).tar.bz2 debian/patches/0000775000000000000000000000000012273742353010627 5ustar debian/patches/series0000664000000000000000000000006412273742353012044 0ustar fix_cmake_installation.diff kubuntu_fix_ftbfs.patch debian/patches/kubuntu_fix_ftbfs.patch0000664000000000000000000000277712273742064015413 0ustar commit ac587957cd0cabbc668604507e2cfebb6810ed09 Author: Milian Wolff Date: Thu Nov 29 15:56:40 2012 +0100 fix some warnings diff --git a/kdev-pg/kdev-pg-code-gen.cpp b/kdev-pg/kdev-pg-code-gen.cpp index e06c6be..badb461 100644 --- a/kdev-pg/kdev-pg-code-gen.cpp +++ b/kdev-pg/kdev-pg-code-gen.cpp @@ -51,7 +51,7 @@ namespace KDevPG void generateCondition(const World::NodeSet& s, QTextStream& out) { - if(s.size() == 0 || s.size() == 1 && nodeCast(*s.begin()) != 0) + if(s.size() == 0 || (s.size() == 1 && nodeCast(*s.begin()) != 0)) { out << "true /*epsilon*/"; return; diff --git a/kdev-pg/kdev-pg-lexer.ll b/kdev-pg/kdev-pg-lexer.ll index a0864af..9261d71 100644 --- a/kdev-pg/kdev-pg-lexer.ll +++ b/kdev-pg/kdev-pg-lexer.ll @@ -425,7 +425,7 @@ void appendLineBuffer() strcpy(yyTextLine+currentOffset, yytext + (yymoreFlag ? lastTextLeng : 0)); /* append current */ /* strcpy is faster than strcat */ - Q_ASSERT(strlen(yyTextLine) < yyTextLineLeng); + Q_ASSERT(strlen(yyTextLine) < size_t(yyTextLineLeng)); lastTextLeng = strlen(yytext); yymoreFlag = false; diff --git a/kdev-pg/kdev-pg-parser.yy b/kdev-pg/kdev-pg-parser.yy index d5a25f5..8f8d604 100644 --- a/kdev-pg/kdev-pg-parser.yy +++ b/kdev-pg/kdev-pg-parser.yy @@ -309,7 +309,7 @@ opt_lexer_action | T_CONTINUE { r = "\nlxCONTINUE;\n"; } - | /* empty */ { r = "\nlxSKIP\n" } + | /* empty */ { r = "\nlxSKIP\n"; } ; regexp debian/patches/fix_cmake_installation.diff0000664000000000000000000000062311733624535016172 0ustar Author: Pino Toscano Description: Set LIB_INSTALL_DIR even with no KDE4 stuff. Forwarded: no Last-Update: 2012-03-25 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ if(NOT KDE4_FOUND) cmake_policy(SET CMP0002 OLD) find_package(Qt4) set(DATA_INSTALL_DIR share) + set(LIB_INSTALL_DIR lib) endif(NOT KDE4_FOUND) # Use colored output (since cmake 2.4.0) debian/control0000664000000000000000000000172711733621072010604 0ustar Source: kdevelop-pg-qt Section: devel Priority: optional Maintainer: Debian Qt/KDE Maintainers Uploaders: Fathi Boudra Build-Depends: debhelper (>= 9), cmake (>= 2.8.0), bison, flex, libqt4-dev (>= 4.5.3) Standards-Version: 3.9.3 Homepage: http://techbase.kde.org/Development/KDevelop-PG-Qt_Introduction Vcs-Git: git://git.debian.org/pkg-kde/kde-std/kdevelop-pg-qt.git Vcs-Browser: http://git.debian.org/?p=pkg-kde/kde-std/kdevelop-pg-qt.git Package: kdevelop-pg-qt Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: LL(1) parser generator based on Qt KDevelop-PG-Qt is a parser generator written in readable source-code and generating readable source-code. Its syntax was inspirated by AntLR. It implements the visitor-pattern and uses the Qt library. . This package contains the kdev-pg-qt binary, the headers files generated by the KDevelop parser generator and the cmake file to find the parser.