--- aiksaurus-1.2.1+dev-0.12.orig/base/aiksaurus.t.cpp +++ aiksaurus-1.2.1+dev-0.12/base/aiksaurus.t.cpp @@ -22,6 +22,7 @@ #include "Aiksaurus.h" #include "AsciiCompare.h" #include "config.h" +#include #include #include using namespace std; --- aiksaurus-1.2.1+dev-0.12.orig/configure.ac +++ aiksaurus-1.2.1+dev-0.12/configure.ac @@ -50,6 +50,9 @@ LT_CURRENT=`expr $AIK_MICRO_VERSION - $AIK_INTERFACE_AGE` LT_REVISION=$AIK_INTERFACE_AGE LT_AGE=`expr $AIK_BINARY_AGE - $AIK_INTERFACE_AGE` +m4_pattern_allow([LT_CURRENT]) +m4_pattern_allow([LT_REVISION]) +m4_pattern_allow([LT_AGE]) LT_AIK_VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE" --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/impl/Arguments.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/impl/Arguments.cpp @@ -19,6 +19,7 @@ #include "Arguments.h" #include +#include using namespace std; --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/impl/WordsFile.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/impl/WordsFile.cpp @@ -116,9 +116,9 @@ AiksaurusImpl::WordsFile::WordsFile(const char* fname) { bool ok; - d_data_ptr = new(nothrow) FileArray(fname, s_structsize, ok); - d_word = new(nothrow) char[s_maxwords + 1]; - d_links = new(nothrow) int[s_maxlinks + 1]; + d_data_ptr = new(std::nothrow) FileArray(fname, s_structsize, ok); + d_word = new(std::nothrow) char[s_maxwords + 1]; + d_links = new(std::nothrow) int[s_maxlinks + 1]; // Ensure that all of our memory allocations succeeded. if (!d_data_ptr || !d_word || !d_links) --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/impl/WordsFile.t.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/impl/WordsFile.t.cpp @@ -1,23 +1,24 @@ #include "WordsFile.h" #include +#include #include using namespace AiksaurusImpl; int main() { - cout << "Enter input file: " << flush; - string input; cin >> input; + std::cout << "Enter input file: " << std::flush; + std::string input; std::cin >> input; - cout << "Enter output file: " << flush; - string ofile; cin >> ofile; + std::cout << "Enter output file: " << std::flush; + std::string ofile; std::cin >> ofile; - ofstream out(ofile.c_str()); + std::ofstream out(ofile.c_str()); WordsFile wf(input.c_str()); if (wf.getError().isError()) { - cerr << wf.getError().getDescription() << endl; + std::cerr << wf.getError().getDescription() << std::endl; return 1; } @@ -27,7 +28,7 @@ if (wf.getError().isError()) { - cerr << wf.getError().getDescription() << endl; + std::cerr << wf.getError().getDescription() << std::endl; return 1; } --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/Arguments.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/Arguments.cpp @@ -19,6 +19,7 @@ #include "Arguments.h" #include +#include using namespace std; --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/BigWords.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/BigWords.cpp @@ -2,6 +2,8 @@ #include #include "Arguments.h" +using namespace std; + int main(int argc, const char** argv) { Arguments A(argc, argv); --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/ExtractWords.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/ExtractWords.cpp @@ -4,6 +4,9 @@ #include #include #include +#include + +using namespace std; class insensitiveStringCompare { --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/FastSaurus.h +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/FastSaurus.h @@ -16,7 +16,7 @@ AikSaurusFAST(); - const std::vector& getSynonyms(const string& word); + const std::vector& getSynonyms(const std::string& word); }; extern AikSaurusFAST Thesaurus; --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/HexView.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/HexView.cpp @@ -6,6 +6,8 @@ #include #include +using namespace std; + int main(int argc, const char** argv) { int mode = 0; --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/InsensitiveSorter.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/InsensitiveSorter.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include "InsensitiveSort.h" using namespace std; --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/LinkWords.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/LinkWords.cpp @@ -4,19 +4,20 @@ #include #include #include +#include using namespace std; class WriteFile { private: - ostream& d_out; + std::ostream& d_out; static vector d_sizes; static int d_max, d_min; public: - WriteFile(ostream& out) + WriteFile(std::ostream& out) : d_out(out) { --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/MeaningStream.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/MeaningStream.cpp @@ -15,7 +15,7 @@ bool MeaningStream::operator>>(int& id) { - unsigned char x1, x2; + char x1, x2; if (!d_in.get(x1)) return false; --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/Meanings.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/Meanings.cpp @@ -2,12 +2,14 @@ #include #include #include +#include + using namespace std; static const int MAX_LINE_SIZE = 64000; -void printMeaningSet(ostream& out, const MeaningSet& set) +void printMeaningSet(std::ostream& out, const MeaningSet& set) { out << "{ "; copy(set.begin(), set.end(), ostream_iterator(cout, ", ")); --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/Meanings.h +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/Meanings.h @@ -48,11 +48,11 @@ void extractMeaningFamily( std::istream& lines, MeaningFamily& family, - vector& dlrs, - vector& rlrs + std::vector& dlrs, + std::vector& rlrs ); - bool inMeaningSet(const string& str, const MeaningSet& ms); + bool inMeaningSet(const std::string& str, const MeaningSet& ms); class ostream; void printMeaningSet(ostream& out, const MeaningSet& ms); --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/MergeEngine.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/MergeEngine.cpp @@ -5,6 +5,7 @@ #include #include #include +#include using namespace std; static void @@ -19,10 +20,10 @@ class OutputMeaningSet { - ostream& d_out; + std::ostream& d_out; public: - OutputMeaningSet(ostream& out) : d_out(out) { } + OutputMeaningSet(std::ostream& out) : d_out(out) { } void operator()(const MeaningSet& x) { --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/RandomWords.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/RandomWords.cpp @@ -7,6 +7,7 @@ #include #include #include +#include using namespace std; --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/RatioAdder.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/RatioAdder.cpp @@ -6,6 +6,7 @@ #include #include #include +#include using namespace std; const char * message = --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/Ratios.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/Ratios.cpp @@ -1,5 +1,7 @@ #include "FastSaurus.h" #include "Ratios.h" + +using namespace std; double returnLinkRatio(const std::string& word, const MeaningSet& meanings) --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/SmallMerge.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/SmallMerge.cpp @@ -2,6 +2,7 @@ #include "SetUtils.h" #include // needed for std::binary_search #include // needed for std::cout +#include using namespace std; // DEBUGGING OPTIONS: --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/SortLinks.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/SortLinks.cpp @@ -3,6 +3,7 @@ #include #include #include +#include using namespace std; typedef vector LinkList; --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/SortMeanings.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/SortMeanings.cpp @@ -3,6 +3,7 @@ #include #include #include +#include using namespace std; int main() --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/SplitBad.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/SplitBad.cpp @@ -7,6 +7,7 @@ #include #include #include +#include using namespace std; double MIN_RATIO; --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/WordStats.cpp +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/WordStats.cpp @@ -3,6 +3,8 @@ #include #include +using namespace std; + int main() { vector sizes; --- aiksaurus-1.2.1+dev-0.12.orig/data/0.12-dev/src/Words.h +++ aiksaurus-1.2.1+dev-0.12/data/0.12-dev/src/Words.h @@ -24,6 +24,6 @@ } }; -void extractWords(istream& file, vector& words); +void extractWords(std::istream& file, std::vector& words); #endif // INCLUDED_WORDS_H --- aiksaurus-1.2.1+dev-0.12.orig/debian/aiksaurus.1 +++ aiksaurus-1.2.1+dev-0.12/debian/aiksaurus.1 @@ -0,0 +1,28 @@ +.TH AIKSAURUS "1" "August 2007" "Aiksaurus Version 1.2.1" "User Commands" +.SH NAME +Aiksaurus \- English-language thesaurus +.SH SYNOPSIS +.B aiksaurus +[\fIword\fR] +.SH DESCRIPTION +Aiksaurus is an English\-language thesaurus library. This +is a simple command\-line interface to it. +.TP +\fB\-v\fR, \fB\-\-version\fR +Output version information and quit. +.TP +\fB\-h\fR, \fB\-\-help\fR +Output this help message and quit. +.PP +For more help, visit +.IP +http://www.aiksaurus.com/ +.SH COPYRIGHT +Copyright \(co 2001 by Jared Davis. +.PP +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. +.SH AUTHORS +Marcela Tiznado --- aiksaurus-1.2.1+dev-0.12.orig/debian/aiksaurus.files +++ aiksaurus-1.2.1+dev-0.12/debian/aiksaurus.files @@ -0,0 +1,3 @@ +usr/bin/aiksaurus +usr/bin/caiksaurus + --- aiksaurus-1.2.1+dev-0.12.orig/debian/changelog +++ aiksaurus-1.2.1+dev-0.12/debian/changelog @@ -0,0 +1,214 @@ +aiksaurus (1.2.1+dev-0.12-6.1ubuntu2) trusty; urgency=medium + + * Use autoreconf to update libtool for new ports: + - bump debhelper compat to 9 + - patch configure.ac to override possibly undefined errors + - execute automake with foreign option to avoid boiler plate files + * Fix missing gtk+ link flags in gtkAiksaur.t.o + + -- Dimitri John Ledkov Tue, 24 Dec 2013 17:06:40 +0000 + +aiksaurus (1.2.1+dev-0.12-6.1ubuntu1) saucy; urgency=low + + * Manually add the equivalent of dh_autotools-dev since we're not using + short form dh rules; Remove some rules that were attempting portions of + the dh_autotools-dev rules; Needed for aarch64 enablement + - update debian/rules + * Add autotools-dev to build dependencies and bump debhelper build + dependency to 7 to match + - update debian/control + + -- Micah Gersten Sun, 13 Oct 2013 19:33:40 -0500 + +aiksaurus (1.2.1+dev-0.12-6.1) unstable; urgency=low + + * Non-maintainer upload. + * Don't ship .la files (Closes: #621155). + + -- Luk Claes Sat, 11 Jun 2011 15:05:12 +0200 + +aiksaurus (1.2.1+dev-0.12-6) unstable; urgency=low + + * Bupmed to Standards-Version: 3.8.0. + + -- Masayuki Hatta (mhatta) Mon, 14 Jul 2008 02:23:10 +0900 + +aiksaurus (1.2.1+dev-0.12-5) unstable; urgency=low + + * Bumped to Standards-Version: 3.7.3. + * Fixed various lintian warnings. + * Fixed FTBFS with gcc-4.3 - closes: #451678 + * Added gaiksaurus.desktop from Ubuntu - closes: #451683 + * Added aiksaurus.1 manpage, thanks Marcela Tiznado - closes: #436191 + + -- Masayuki Hatta (mhatta) Sun, 09 Dec 2007 09:09:27 +0900 + +aiksaurus (1.2.1+dev-0.12-4) unstable; urgency=low + + * Fixed build problem with GCC 4.3 - closes: #417079 + + -- Masayuki Hatta (mhatta) Tue, 01 May 2007 17:13:30 +0900 + +aiksaurus (1.2.1+dev-0.12-3) unstable; urgency=low + + * Bumped to Standards-Verion: 3.7.2. + * Acknowledged a (really old) NMU - closes: #241279 + + -- Masayuki Hatta (mhatta) Mon, 9 Oct 2006 22:47:44 +0900 + +aiksaurus (1.2.1+dev-0.12-2.1) unstable; urgency=high + + * Non-maintainer upload. + * Rebuild to remove reference to libXcursor.la, so that abiword can be + built. + + -- Joshua Kwan Tue, 2 May 2006 19:13:21 -0700 + +aiksaurus (1.2.1+dev-0.12-2) unstable; urgency=low + + * Works done at Codefest in Malaysia 2006. + * Acknowledged NMU, thanks vorlon - closes: #339144, #318883 + * Bumped to Standards-Version: 3.6.2.2 (no physical changes). + * Updated FSF's address in debian/copyright. + + -- Masayuki Hatta (mhatta) Sun, 5 Mar 2006 00:51:49 +0900 + +aiksaurus (1.2.1+dev-0.12-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Medium-urgency upload for RC bugfix. + * Rename libaiksaurus-1.2-0 to libaiksaurus-1.2-0c2a, and rename + libaiksaurusgtk0 to libaiksaurusgtk0c2a for the libstdc++ allocator + change (closes: #339144). + * Drop irrelevant shlibs entries that don't correspond to any shipped + libs. + * Drop build-dependency on libstdc++2.10-dev. + * Fix tools in data/0.12-dev/ to build with a modern C++ compiler, so + that we have full valid source for being able to regenerate the + thesaurus data files. + + -- Steve Langasek Sun, 27 Nov 2005 00:24:13 -0800 + +aiksaurus (1.2.1+dev-0.12-1) unstable; urgency=low + + * New upstream release + * Acknowledged NMUs - closes: #249909, #262556 + * Now buildable on ia64 and kfreebsd-i386 - closes: #315156, #316574 + * Made Standards-Version: 3.6.2.1 (no physical changes). + * Package names are massively changed. It serves GCC 4.0 transition, too. + * No uses dpatch. + + -- Masayuki Hatta (mhatta) Thu, 14 Jul 2005 16:11:32 +0900 + +aiksaurus (1.0.1+cvs.2004.03.15+dev-0.12-0.2) unstable; urgency=low + + * Non-maintainer upload. + * Only depend on libstdc++2.10-dev on platforms which provide it; + this should be sufficient to satisfy the "buildable from source" + requirement, since the bits we would need g++2.95 for aren't + actually being regenerated as part of the build. Closes: #262556. + + -- Steve Langasek Fri, 13 Aug 2004 00:30:52 -0700 + +aiksaurus (1.0.1+cvs.2004.03.15+dev-0.12-0.1) unstable; urgency=low + + * Non-maintainer upload. + * Disable *_DISABLE_DEPRECATED. Fix FTBTS. (Closes: #249909) + * Added 0.12-dev source code with minimal Makefile support for the minimum + set of tools to produce data/*.dat files. (Closes: #241279) + * Re-libtoolize the package, to fix problems with wrong sharedlib + extension detection + + -- Steve Langasek Sun, 25 Jul 2004 19:48:16 -0700 + +aiksaurus (1.0.1+cvs.2004.03.15-1) unstable; urgency=low + + * New upstream release (CVS snapshot). + * Set appropriate versioned dependency - closes: #234995 + * Renamed libaiksaurus*-bin -> *aiksaurus - closes: #214770 + * Revised description. + + -- Masayuki Hatta (mhatta) Mon, 15 Mar 2004 14:28:13 +0900 + +aiksaurus (1.0.1+cvs.2004.02.20-1) unstable; urgency=low + + * New upstream release (CVS snapshot). + * [control] changed Maintainer field. + + -- Masayuki Hatta (mhatta) Sat, 21 Feb 2004 17:37:21 +0900 + +aiksaurus (1.0.1+cvs.2004.02.07-1) unstable; urgency=low + + * New upstream release (CVS snapshot). + + -- Masayuki Hatta (mhatta) Sat, 7 Feb 2004 19:33:05 +0900 + +aiksaurus (1.0.1+cvs.2003.09.16-1) unstable; urgency=low + + * New upstream release (CVS snapshot). + * Fixed shlibs. + + -- Masayuki Hatta Tue, 16 Sep 2003 09:07:22 +0900 + +aiksaurus (1.0.1+cvs.2003.08.30-1) unstable; urgency=low + + * New upstream release (CVS snapshot). + * Bumped Standards-Version to 3.6.0. + + -- Masayuki Hatta Sat, 30 Aug 2003 06:53:46 +0900 + +aiksaurus (1.0.1+cvs.2003.08.28-1) unstable; urgency=low + + * New upstream release (CVS snapshot). + * Fixed mangled dependency - closes: #203296, #203128 + * Now links with g++ - closes: #185939 + + -- Masayuki Hatta Thu, 28 Aug 2003 16:41:21 +0900 + +aiksaurus (1.0.1+cvs.2003.07.27-1) unstable; urgency=low + + * New upstream release (CVS snapshot). + * Now aiksaurusgtk is incorporated into the main aiksaurus tree. + * Keyboard input now works - closes: #197992 + + -- Masayuki Hatta Sun, 27 Jul 2003 09:12:27 +0900 + +aiksaurus (0.15+cvs.2003.05.09-1) unstable; urgency=low + + * New upstream release (CVS snapshot). + + -- Masayuki Hatta Fri, 9 May 2003 19:46:45 +0900 + +aiksaurus (0.15+cvs.2003.03.10-1) unstable; urgency=low + + * New upstream release (CVS snapshot). + * -data is now built in binary-indep target - closes: #179398 + + -- Masayuki Hatta Mon, 10 Mar 2003 12:17:18 +0900 + +aiksaurus (0.15-4) unstable; urgency=low + + * GCC 3.2 Transition begins. Now it's called libaiksaurus0c102. + * Bumped Standards-Version to 3.5.8. + + -- Masayuki Hatta Tue, 14 Jan 2003 20:27:15 +0900 + +aiksaurus (0.15-3) unstable; urgency=low + + * Now can be built with g++ 3.0. Thanks, LaMont - closes: #149841 + + -- Masayuki Hatta Mon, 15 Jul 2002 21:22:38 +0900 + +aiksaurus (0.15-2) unstable; urgency=low + + * Fixed typo in description. + * Added workaround for building on hppa & ia64(not sure it works). + + -- Masayuki Hatta Mon, 17 Jun 2002 20:45:38 +0900 + +aiksaurus (0.15-1) unstable; urgency=low + + * Initial Release - closes: #144655 + + -- Masayuki Hatta Sun, 9 Jun 2002 20:01:29 +0900 + --- aiksaurus-1.2.1+dev-0.12.orig/debian/compat +++ aiksaurus-1.2.1+dev-0.12/debian/compat @@ -0,0 +1 @@ +9 --- aiksaurus-1.2.1+dev-0.12.orig/debian/control +++ aiksaurus-1.2.1+dev-0.12/debian/control @@ -0,0 +1,96 @@ +Source: aiksaurus +Section: devel +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Masayuki Hatta (mhatta) +Build-Depends: debhelper (> 9), libgtk2.0-dev, autotools-dev, pkg-config, dh-autoreconf +Standards-Version: 3.8.0 + +Package: libaiksaurus-1.2-dev +Section: libdevel +Architecture: any +Depends: libaiksaurus-1.2-0c2a (= ${binary:Version}) +Provides: libaiksaurus-dev +Conflicts: libaiksaurus-dev +Description: an English-language thesaurus (development) + Aiksaurus is an English-language thesaurus that is suitable for integration + with word processors, email composers, and other authoring software. + . + This package contains files needed for development with Aiksaurus. + +Package: libaiksaurus-1.2-0c2a +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, libaiksaurus-1.2-data +Replaces: libaiksaurus0, libaiksaurus0c102, libaiksaurus-1.2-0 +Conflicts: libaiksaurus0, libaiksaurus0c102, libaiksaurus-1.2-0 +Description: an English-language thesaurus (development) + Aiksaurus is an English-language thesaurus that is suitable for integration + with word processors, email composers, and other authoring software. + . + This package contains the shared library. + +Package: aiksaurus +Section: text +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libaiksaurus-bin +Replaces: libaiksaurus-bin +Provides: libaiksaurus-bin +Description: an English-language thesaurus (utility) + Aiksaurus is an English-language thesaurus that is suitable for integration + with word processors, email composers, and other authoring software. + . + This package contains aiksaurus, a command-line frontend for Aiksaurus. + +Package: libaiksaurus-1.2-data +Section: libs +Architecture: all +Provides: libaiksaurus-data +Conflicts: libaiksaurus-data +Description: an English-language thesaurus (data) + Aiksaurus is an English-language thesaurus that is suitable for integration + with word processors, email composers, and other authoring software. + . + This package contains thesaurus data. + +Package: libaiksaurusgtk-1.2-dev +Section: libdevel +Architecture: any +Depends: libaiksaurusgtk-1.2-0c2a (= ${binary:Version}) +Provides: libaiksaurusgtk-dev +Conflicts: libaiksaurusgtk-dev +Description: graphical interface to the Aiksaurus toolkit (development) + This is a graphical interface to the Aiksaurus English language thesaurus + programming toolkit, meant to be embedded in other applications. A + standalone AiksaurusGTK program is available in libaiksaursgtk-bin. + . + This is the development component of AiksaurusGTK, needed to develop + applications with AiksaurusGTK. + +Package: libaiksaurusgtk-1.2-0c2a +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Replaces: libaiksaurusgtk0, libaiksaurusgtk0c102, libaiksaurusgtk-1.2-0 +Conflicts: libaiksaurusgtk0, libaiksaurusgtk0c102, libaiksaurusgtk-1.2-0 +Description: graphical interface to the Aiksaurus toolkit (library) + This is a graphical interface to the Aiksaurus English language thesaurus + programming toolkit, meant to be embedded in other applications. A + standalone AiksaurusGTK program is available in libaiksaursgtk-bin. + . + This is the runtime component of AiksaurusGTK, needed to run applications + built with it. + +Package: gaiksaurus +Section: text +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libaiksaurusgtk-bin +Replaces: libaiksaurusgtk-bin +Provides: libaiksaurusgtk-bin +Description: graphical interface to the Aiksaurus toolkit (GTK+ frontend) + This is a graphical interface to the Aiksaurus English language thesaurus + programming toolkit, meant to be embedded in other applications. + . + This contains gaiksaurus, a standalone GTK+ frontend for AiksaurusGTK. --- aiksaurus-1.2.1+dev-0.12.orig/debian/copyright +++ aiksaurus-1.2.1+dev-0.12/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Masayuki Hatta on +Sun, 27 Jul 2003 09:12:27 +0900. + +It was downloaded from http://aiksaurus.sourceforge.net/ + +Upstream Author: Jared Davis + +Copyright: Copyright (c) 2001- Jared Davis, ALl Rights Reserved. + + This package 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; version 2 dated June, 1991. + + 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. + + 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'. + --- aiksaurus-1.2.1+dev-0.12.orig/debian/dirs +++ aiksaurus-1.2.1+dev-0.12/debian/dirs @@ -0,0 +1,2 @@ +usr/bin + --- aiksaurus-1.2.1+dev-0.12.orig/debian/docs +++ aiksaurus-1.2.1+dev-0.12/debian/docs @@ -0,0 +1,2 @@ +README +README.W32 --- aiksaurus-1.2.1+dev-0.12.orig/debian/gaiksaurus.desktop +++ aiksaurus-1.2.1+dev-0.12/debian/gaiksaurus.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=GTK Aiksaurus +GenericName=Thesaurus +Comment=Find Synonyms and Homonyms +Type=Application +Exec=gaiksaurus +Icon=gaiksaurus +Categories=GNOME;Office; \ No newline at end of file --- aiksaurus-1.2.1+dev-0.12.orig/debian/gaiksaurus.files +++ aiksaurus-1.2.1+dev-0.12/debian/gaiksaurus.files @@ -0,0 +1 @@ +usr/bin/gaiksaurus --- aiksaurus-1.2.1+dev-0.12.orig/debian/gaiksaurus.menu +++ aiksaurus-1.2.1+dev-0.12/debian/gaiksaurus.menu @@ -0,0 +1,2 @@ +?package(gaiksaurus):needs="X11" section="Applications/Text"\ + title="AiksaurusGTK" command="/usr/bin/gaiksaurus" --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurus-1.2-0c2a.dirs +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurus-1.2-0c2a.dirs @@ -0,0 +1 @@ +usr/lib --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurus-1.2-0c2a.files +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurus-1.2-0c2a.files @@ -0,0 +1 @@ +usr/lib/libAiksaurus-*.so.* --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurus-1.2-0c2a.postinst +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurus-1.2-0c2a.postinst @@ -0,0 +1,42 @@ +#!/bin/sh +# postinst script for libaiksaurus-1.2-0c2a +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ldconfig + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurus-1.2-0c2a.shlibs +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurus-1.2-0c2a.shlibs @@ -0,0 +1 @@ +libAiksaurus-1.2 0 libaiksaurus-1.2-0c2a (>= 1.2.1+dev-0.12) --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurus-1.2-data.files +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurus-1.2-data.files @@ -0,0 +1 @@ +usr/share/aiksaurus --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurus-1.2-dev.dirs +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurus-1.2-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurus-1.2-dev.files +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurus-1.2-dev.files @@ -0,0 +1,6 @@ +usr/include/Aiksaurus/Aiksaurus.h +usr/include/Aiksaurus/AiksaurusC.h +usr/lib/libAiksaurus.a +usr/lib/libAiksaurus.so +usr/lib/pkgconfig/aiksaurus-* + --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurusgtk-1.2-0c2a.dirs +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurusgtk-1.2-0c2a.dirs @@ -0,0 +1 @@ +usr/lib --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurusgtk-1.2-0c2a.docs +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurusgtk-1.2-0c2a.docs @@ -0,0 +1 @@ +gtk/doc/*.html --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurusgtk-1.2-0c2a.files +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurusgtk-1.2-0c2a.files @@ -0,0 +1 @@ +usr/lib/libAiksaurusGTK-*.so.* --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurusgtk-1.2-0c2a.postinst +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurusgtk-1.2-0c2a.postinst @@ -0,0 +1,42 @@ +#!/bin/sh +# postinst script for libaiksaurusgtk-1.2-0c2a +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ldconfig + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurusgtk-1.2-0c2a.shlibs +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurusgtk-1.2-0c2a.shlibs @@ -0,0 +1 @@ +libAiksaurusGTK-1.2 0 libaiksaurusgtk-1.2-0c2a (>= 1.2.1+dev-0.12) --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurusgtk-1.2-dev.dirs +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurusgtk-1.2-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- aiksaurus-1.2.1+dev-0.12.orig/debian/libaiksaurusgtk-1.2-dev.files +++ aiksaurus-1.2.1+dev-0.12/debian/libaiksaurusgtk-1.2-dev.files @@ -0,0 +1,5 @@ +usr/include/Aiksaurus/AiksaurusGTK.h +usr/include/Aiksaurus/AiksaurusGTK-C.h +usr/lib/libAiksaurusGTK.a +usr/lib/libAiksaurusGTK.so +usr/lib/pkgconfig/gaiksaurus-* --- aiksaurus-1.2.1+dev-0.12.orig/debian/rules +++ aiksaurus-1.2.1+dev-0.12/debian/rules @@ -0,0 +1,123 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +# shared library versions, option 1 +version=2.0.5 +major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: + dh_testdir + AUTOMAKE="automake --foreign" dh_autoreconf + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ + --enable-static + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + dh_autoreconf_clean + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + install -D -m 644 debian/gaiksaurus.desktop $(CURDIR)/debian/gaiksaurus/usr/share/applications/gaiksaurus.desktop + dh_desktop + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_movefiles -i + dh_installdocs -i + dh_installchangelogs -i ChangeLog + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_movefiles -a + dh_installchangelogs -a ChangeLog + dh_installdocs -a + dh_installexamples -a +# dh_install + dh_installmenu -a +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman -paiksaurus debian/aiksaurus.1 + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a +# dh_perl +# d_python +# dh_makeshlibs + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- aiksaurus-1.2.1+dev-0.12.orig/gtk/src/Display.cpp +++ aiksaurus-1.2.1+dev-0.12/gtk/src/Display.cpp @@ -18,6 +18,8 @@ * 02111-1307, USA. */ +#include + #include "Display.h" #include "Meaning.h" #include "DialogMediator.h" --- aiksaurus-1.2.1+dev-0.12.orig/gtk/src/Makefile.am +++ aiksaurus-1.2.1+dev-0.12/gtk/src/Makefile.am @@ -44,6 +44,6 @@ bin_PROGRAMS = gaiksaurus gaiksaurus_SOURCES = gtkAiksaur.t.cpp -gaiksaurus_LDADD = libAiksaurusGTK.la +gaiksaurus_LDADD = libAiksaurusGTK.la $(GTK_LIBS) EXTRA_DIST = $(OTHERHEADERS) --- aiksaurus-1.2.1+dev-0.12.orig/gtk/src/gtkAiksaur.t.cpp +++ aiksaurus-1.2.1+dev-0.12/gtk/src/gtkAiksaur.t.cpp @@ -21,6 +21,7 @@ #include #include "config.h" #include +#include #include #include using namespace std;