debian/0000755000000000000000000000000012255544100007164 5ustar debian/docs0000644000000000000000000000002711365127361010045 0ustar data_layout.txt README debian/copyright0000644000000000000000000000702411365631647011140 0ustar This package was debianized by Rene Engelhard on Tue, 26 Jul 2005 23:12:49 +0200. It was downloaded from http://hunspell.sourceforge.net Authors: Kevin Hendricks László Németh Caolán McNamara License: /* * Copyright 2003 Kevin B. Hendricks, Stratford, Ontario, Canada * And Contributors. All rights reserved. * * 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 above copyright * notice, this list of conditions and the following disclaimer. * * 2. 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. * * 3. All modifications to the source code must be clearly marked as * such. Binary redistributions based on modified source code * must be clearly marked as modified versions in the documentation * and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY KEVIN B. HENDRICKS 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 * KEVIN B. HENDRICKS 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. * * WordNet files under following license: This software and database is being provided to you, the LICENSEE, by Princeton University under the following license. By obtaining, using and/or copying this software and database, you agree that you have read, understood, and will comply with these terms and conditions.: Permission to use, copy, modify and distribute this software and database and its documentation for any purpose and without fee or royalty is hereby granted, provided that you agree to comply with the following copyright notice and statements, including the disclaimer, and that the same appear on ALL copies of the software, database and documentation, including modifications that you make for internal use or for distribution. WordNet 2.0 Copyright 2003 by Princeton University. All rights reserved. THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PRINCETON UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANT- ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. The name of Princeton University or Princeton may not be used in advertising or publicity pertaining to distribution of the software and/or database. Title to copyright in this software, database and any associated documentation shall at all times remain with Princeton University and LICENSEE agrees to preserve same. debian/libmythes-dev.install0000644000000000000000000000016011365131165013331 0ustar usr/lib/libmythes*.a usr/lib/libmythes*.so usr/lib/pkgconfig usr/include usr/bin/th_gen_idx.pl usr/share/mythes debian/libmythes-dev.lintian-overrides0000644000000000000000000000003511373266775015341 0ustar executable-not-elf-or-script debian/changelog0000644000000000000000000000405212255544076011053 0ustar mythes (2:1.2.2-1ubuntu2) trusty; urgency=medium * Patch m4/libtool.m4 and configure to support ppc64el. -- Matthias Klose Sun, 22 Dec 2013 12:04:57 +0100 mythes (2:1.2.2-1ubuntu1) saucy; urgency=low * Use dh_autotools-dev to update config.{sub,guess} for AArch64. * Use dpkg-buildflags. -- Matthias Klose Thu, 10 Oct 2013 14:39:42 +0200 mythes (2:1.2.2-1build1) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Mon, 08 Oct 2012 08:32:13 +0100 mythes (2:1.2.2-1) unstable; urgency=low * New upstream release -- Rene Engelhard Wed, 21 Dec 2011 21:36:25 +0100 mythes (2:1.2.1-1) unstable; urgency=low * New upstream release -- Rene Engelhard Tue, 06 Jul 2010 19:31:09 +0200 mythes (2:1.2.0-4) unstable; urgency=low * replace our th_gen_idx.pl with "vanilla" OOos so that we still support -o * upload to unstable -- Rene Engelhard Fri, 14 May 2010 17:30:55 +0200 mythes (2:1.2.0-3) experimental; urgency=low * add missing build-deps on pkg-config, libhunspell-dev -- Rene Engelhard Tue, 11 May 2010 23:33:27 +0200 mythes (2:1.2.0-2) experimental; urgency=low * update debian/copyright to also mention Netheth Lazlo and Caolan McNamara -- Rene Engelhard Tue, 27 Apr 2010 20:53:20 +0200 mythes (2:1.2.0-1) experimental; urgency=low * reintroduce package; with epoch to be newer than OOos libmythes-dev which we replace * new upstream release * builds a shared lib now (closes: #324640), drop libmythes_pic.a * fix some lintian stuff * remove dpatch usage, use "3.0 (quilt)" -- Rene Engelhard Sun, 25 Apr 2010 23:23:56 +0200 mythes (1.0-2) experimental; urgency=low * build libymthes_pic.a -- Rene Engelhard Mon, 8 Aug 2005 04:43:10 +0200 mythes (1.0-1) experimental; urgency=low * Initial release -- Rene Engelhard Tue, 26 Jul 2005 23:12:49 +0200 debian/libmythes-1.2-0.install0000644000000000000000000000003011365130446013205 0ustar usr/lib/libmythes*.so.* debian/compat0000644000000000000000000000000211365131216010363 0ustar 5 debian/patches/0000755000000000000000000000000012255544057010626 5ustar debian/patches/th-gen-idx-pl-from-OOo.diff0000644000000000000000000000554611414664704015500 0ustar Origin: vendor Forwarded: not-needed --- mythes-1.2.1.orig/th_gen_idx.pl +++ mythes-1.2.1/th_gen_idx.pl @@ -1,11 +1,32 @@ -#!/usr/bin/perl - -# perl program to take a thesaurus structured text data file -# and create the proper sorted index file (.idx) +: +eval 'exec perl -wS $0 ${1+"$@"}' + if 0; +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org 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 Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). # -# typically invoked as follows: -# cat th_en_US_new.dat | ./th_gen_idx.pl > th_en_US_new.idx +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# +# for a copy of the LGPLv3 License. # +#************************************************************************* sub by_entry { my ($aent, $aoff) = split('\|',$a); @@ -13,6 +34,27 @@ sub by_entry { $aent cmp $bent; } +#FIXME: someone may want "infile" or even parameter parsing +sub get_outfile { + my $next_is_file = 0; + foreach ( @ARGV ) { + if ( $next_is_file ) { + return $_ + } + if ( $_ eq "-o" ) { + $next_is_file = 1; + } + } + return ""; +} + +sub usage { + print "usage:\n"; + print "$0 -o outfile < input\n"; + + exit 99; +} + # main routine my $ne = 0; # number of entries in index my @tindex=(); # the index itself @@ -24,6 +66,10 @@ my $nm=0; # number of meaning fo my $meaning=""; # current meaning and synonyms my $p; # misc uses my $encoding; # encoding used by text file +my $outfile = ""; + +$outfile = get_outfile(); +usage() if ( $outfile eq "" ); # top line of thesaurus provides encoding $encoding=; @@ -51,9 +97,13 @@ while ($rec=){ # now we have all of the information # so sort it and then output the encoding, count and index data @tindex = sort by_entry @tindex; -print STDOUT "$encoding\n"; -print STDOUT "$ne\n"; + +print "$outfile\n"; +open OUTFILE, ">$outfile" or die "ERROR: Can't open $outfile for writing!"; +print OUTFILE "$encoding\n"; +print OUTFILE "$ne\n"; foreach $one (@tindex) { - print STDOUT "$one\n"; + print OUTFILE "$one\n"; } +close OUTFILE; debian/patches/ppc64el.diff0000644000000000000000000000245212255544057012740 0ustar Index: b/configure =================================================================== --- a/configure +++ b/configure @@ -6591,7 +6591,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -6610,7 +6613,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) Index: b/m4/libtool.m4 =================================================================== --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1282,7 +1282,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -1301,7 +1304,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) debian/patches/series0000644000000000000000000000005112255544041012030 0ustar th-gen-idx-pl-from-OOo.diff ppc64el.diff debian/control0000644000000000000000000000224712225520266010600 0ustar Source: mythes Priority: optional Maintainer: Debian OpenOffice Team Uploaders: Rene Engelhard Build-Depends: debhelper (>= 6.0.7~), pkg-config (>= 0.9.0), libhunspell-dev, autotools-dev Standards-Version: 3.6.1 Section: libs Package: libmythes-dev Section: libdevel Architecture: any Depends: libmythes-1.2-0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Suggests: ${perl:Depends} Description: simple thesaurus library (development files) MyThes is a simple thesaurus that uses a structured text data file and an index file with binary search to lookup words and phrases and return information on part of speech, meanings, and synonyms . This package contains the static library and header file needed to develop applications using mythes. Package: libmythes-1.2-0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: simple thesaurus library MyThes is a simple thesaurus that uses a structured text data file and an index file with binary search to lookup words and phrases and return information on part of speech, meanings, and synonyms . This package contains the shared library. debian/rules0000755000000000000000000000314612225520227010251 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CFLAGS = -Wall $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) # 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)}'` configure: configure-stamp configure-stamp: dh_testdir dh_autotools-dev_updateconfig ./configure --prefix=/usr --enable-static \ CPPFLAGS="$(CPPFLAGS)" \ CFLAGS="$(CFLAGS)" \ LDFLAGS="$(LDFLAGS)" touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp [ ! -f Makefile ] || $(MAKE) distclean dh_autotools-dev_restoreconfig dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp dh_install --sourcedir=debian/tmp binary-indep: build install binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples example.cxx dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs dh_lintian dh_installdeb dh_shlibdeps dh_perl dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/source/0000755000000000000000000000000011365131271010466 5ustar debian/source/format0000644000000000000000000000001411365131271011674 0ustar 3.0 (quilt)