[irstlm] 02/146: Initial package

Giulio Paci giuliopaci-guest at moszumanska.debian.org
Tue May 17 07:37:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

giuliopaci-guest pushed a commit to branch master
in repository irstlm.

commit dad1ca33278b6d1f41086d3ec0242005716590b3
Author: Giulio Paci <giuliopaci at gmail.com>
Date:   Wed Apr 18 19:58:00 2012 +0200

    Initial package
---
 debian/changelog                       |   6 ++
 debian/compat                          |   1 +
 debian/control                         |  20 +++++
 debian/control.in                      |  14 ++++
 debian/copyright                       |  56 +++++++++++++
 debian/copyright_hints                 | 145 +++++++++++++++++++++++++++++++++
 debian/docs                            |   1 +
 debian/gbp.conf                        |   5 ++
 debian/manpages                        |   1 +
 debian/patches/compilation_fixes.patch |  30 +++++++
 debian/patches/scripts_fix.patch       |  11 +++
 debian/patches/series                  |   5 ++
 debian/patches/spelling_fixes.patch    |  27 ++++++
 debian/rules                           |  53 ++++++++++++
 debian/source/format                   |   1 +
 debian/source/local-options            |   2 +
 debian/watch                           |   2 +
 17 files changed, 380 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fb83143
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+irstlm (5.70.04-1) unstable; urgency=low
+
+  * Initial release.
+    Closes: .
+
+ -- Giulio Paci <giuliopaci at gmail.com>  Tue, 17 Apr 2012 10:21:16 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e994f0a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: irstlm
+Section: misc
+Priority: optional
+Maintainer: Giulio Paci <giuliopaci at gmail.com>
+Build-Depends: cdbs (>= 0.4.70~),
+ devscripts,
+ libtool,
+ automake1.11,
+ autoconf,
+ debhelper,
+ dh-buildinfo
+Standards-Version: 3.9.3
+Homepage: https://sourceforge.net/projects/irstlm/
+
+Package: irstlm
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: IRST Language Modeling Toolkit
+ The IRST Language Modeling Toolkit can be used to learn a language model
+ from data.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..524eefa
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,14 @@
+Source: irstlm
+Section: misc
+Priority: optional
+Maintainer: Giulio Paci <giuliopaci at gmail.com>
+Build-Depends: @cdbs@
+Standards-Version: 3.9.3
+Homepage: https://sourceforge.net/projects/irstlm/
+
+Package: irstlm
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: IRST Language Modeling Toolkit
+ The IRST Language Modeling Toolkit can be used to learn a language model
+ from data.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5497aa8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,56 @@
+Format: http://www.debian.org/doc/copyright-format/1.0
+Upstream-Contact: Marcello Federico <federico at fbk.eu>
+Upstream-Name: irstlm
+Source: https://sourceforge.net/projects/irstlm/
+
+Files: *
+Copyright: 2006-2010 Marcello Federico, ITC-irst Trento, Italy
+	 Marcello Federico <federico at fbk.eu>
+	 FBK-irst, Trento, ITALY
+License: LGPL-2.1+
+
+Files: src/score-lm.cpp
+Copyright: 2010, Christian Hardmeier, FBK-irst Trento, Italy
+License: LGPL-2.1+
+
+Files: src/prune-lm.cpp
+Copyright: 2008, Fabio Brugnara, FBK-irst Trento, Italy
+License: LGPL-2.1+
+
+Files: m4/ax_boost_thread.m4
+Copyright: 2009, Michael Tindal
+  2009, Thomas Porschberg <thomas at randspringer.de>
+License: permissive
+ Copying and distribution of this file, with or without modification,
+ are permitted in any medium without royalty provided the copyright
+ notice and this notice are preserved.
+
+Files: m4/ax_boost_base.m4
+Copyright: 2008, Thomas Porschberg <thomas at randspringer.de>
+License: permissive
+ Copying and distribution of this file, with or without modification,
+ are permitted in any medium without royalty provided the copyright
+ notice and this notice are preserved.
+
+Files: debian/*
+Copyright: 2012 Giulio Paci <giuliopaci at gmail.com>
+License: LGPL-2.1+
+
+License: LGPL-2.1+
+ This library 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.1 of the
+ License, or (at your option) any later version.
+ .
+ This library 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 for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301 USA
+ .
+ The text of the GNU Lesser General Public License is available at
+ `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..53e43db
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,145 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: scripts/build-sublm.pl
+ scripts/goograms2ngrams.pl
+ scripts/lm-stat.pl
+ scripts/merge-sublm.pl
+ scripts/ngram-split.pl
+ scripts/split-dict.pl
+ src/cmd.c
+ src/cmd.h
+ src/compile-lm.cpp
+ src/cplsa.cpp
+ src/cplsa.h
+ src/dictionary.cpp
+ src/dictionary.h
+ src/doc.cpp
+ src/doc.h
+ src/htable.cpp
+ src/htable.h
+ src/interplm.cpp
+ src/interplm.h
+ src/interpolate-lm.cpp
+ src/linearlm.cpp
+ src/linearlm.h
+ src/lmContainer.cpp
+ src/lmContainer.h
+ src/lmInterpolation.cpp
+ src/lmInterpolation.h
+ src/lmclass.cpp
+ src/lmclass.h
+ src/lmmacro.cpp
+ src/lmmacro.h
+ src/lmtable.cpp
+ src/lmtable.h
+ src/mdiadapt.cpp
+ src/mdiadapt.h
+ src/mfstream.cpp
+ src/mfstream.h
+ src/mixture.cpp
+ src/mixture.h
+ src/n_gram.cpp
+ src/ngramcache.cpp
+ src/ngramcache.h
+ src/ngramtable.cpp
+ src/ngramtable.h
+ src/normcache.cpp
+ src/normcache.h
+ src/plsa.cpp
+ src/quantize-lm.cpp
+ src/shiftlm.cpp
+ src/shiftlm.h
+ src/stream-tlm.cpp
+ src/tlm.cpp
+ src/util.cpp
+Copyright: 2006, Marcello Federico, ITC-irst Trento, Italy
+  2007, Marcello Federico, ITC-irst Trento, Italy
+License: LGPL-2.1+
+ FIXME
+
+Files: Makefile.am
+ README
+ RELEASE
+ config.h.in
+ configure.in
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/docs
+ debian/gbp.conf
+ debian/manpages
+ debian/patches/compilation_fixes.patch
+ debian/patches/scripts_fix.patch
+ debian/patches/series
+ debian/patches/spelling_fixes.patch
+ debian/rules
+ debian/source/format
+ debian/source/local-options
+ debian/watch
+ irstlm.xcodeproj/project.pbxproj
+ m4/ax_xmlrpc_c.m4
+ make-release
+ regenerate-makefiles.sh
+ scripts/Makefile.am
+ scripts/add-start-end.sh
+ scripts/build-lm-qsub.sh
+ scripts/build-lm.sh
+ scripts/rm-start-end.sh
+ scripts/split-ngt.sh
+ scripts/wrapper
+ src/Makefile.am
+ src/dict.cpp
+ src/gzfilebuf.h
+ src/index.h
+ src/timer.cpp
+ src/timer.h
+ src/util.h
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: src/mempool.cpp
+ src/mempool.h
+ src/n_gram.h
+ src/ngt.cpp
+Copyright: 2006, Marcello Federico, ITC-irst Trento, Italy
+  Marcello Federico, ITC-irst, 1998,
+License: LGPL-2.1+
+ FIXME
+
+Files: Copyright
+Copyright: 2006, Marcello Federico, ITC-irst Trento, Italy
+  3686, 2010-10-15 11:55:32Z bertoldi $
+License: LGPL-2.1+
+ FIXME
+
+Files: src/score-lm.cpp
+Copyright: 2010, Christian Hardmeier, FBK-irst Trento, Italy
+License: LGPL-2.1+
+ FIXME
+
+Files: src/prune-lm.cpp
+Copyright: 2008, Fabio Brugnara, FBK-irst Trento, Italy
+License: LGPL-2.1+
+ FIXME
+
+Files: scripts/sort-lm.pl
+Copyright: 2010, Marcello Federico, FBK-irst Trento, Italy
+License: LGPL-2.1+
+ FIXME
+
+Files: m4/ax_boost_thread.m4
+Copyright: 2009, Michael Tindal
+  2009, Thomas Porschberg <thomas at randspringer.de>
+License: UNKNOWN
+ FIXME
+
+Files: m4/ax_boost_base.m4
+Copyright: 2008, Thomas Porschberg <thomas at randspringer.de>
+License: UNKNOWN
+ FIXME
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..a7281f9
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,5 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+
diff --git a/debian/patches/compilation_fixes.patch b/debian/patches/compilation_fixes.patch
new file mode 100644
index 0000000..011219d
--- /dev/null
+++ b/debian/patches/compilation_fixes.patch
@@ -0,0 +1,30 @@
+Description: compilation fixes
+ Use default automake install targets to install scripts.
+Author: Giulio Paci <giuliopaci at gmail.com>
+Forwarded: no
+--- a/scripts/Makefile.am
++++ b/scripts/Makefile.am
+@@ -1,19 +1,9 @@
+-#sh_programs = add-start-end.sh build-lm-qsub.sh build-lm.sh machine-type.bash machine-type.csh os-type.bash os-type.csh rm-start-end.sh split-ngt.sh
+-sh_programs = add-start-end.sh build-lm-qsub.sh build-lm.sh rm-start-end.sh split-ngt.sh
+-perl_programs = build-sublm.pl goograms2ngrams.pl lm-stat.pl merge-sublm.pl ngram-split.pl sort-lm.pl split-dict.pl
+-dist_programs = wrapper $(sh_programs) $(perl_programs) 
+ 
+ wrapperbindir = @prefix@/bin
+ 
+-install:
+-	for p in $(sh_programs) $(perl_programs) ; do \
+-		cp $$p $(wrapperbindir) ;\
+-	done
++wrapperbin_SCRIPTS = \
++add-start-end.sh build-lm-qsub.sh build-lm.sh rm-start-end.sh split-ngt.sh \
++build-sublm.pl goograms2ngrams.pl lm-stat.pl merge-sublm.pl ngram-split.pl sort-lm.pl split-dict.pl
+ 
+-uninstall:
+-	for p in $(sh_programs) $(perl_programs) ; do \
+-                rm -f $(wrapperbindir)/$$p ;\
+-        done
+-
+-EXTRA_DIST = $(dist_programs)
++EXTRA_DIST = wrapper
+ 
diff --git a/debian/patches/scripts_fix.patch b/debian/patches/scripts_fix.patch
new file mode 100644
index 0000000..3c0cd3a
--- /dev/null
+++ b/debian/patches/scripts_fix.patch
@@ -0,0 +1,11 @@
+Description: fixes minor errors in scripts
+Author: Giulio Paci <giuliopaci at gmail.com>
+Forwarded: no
+--- a/scripts/build-lm-qsub.sh
++++ b/scripts/build-lm-qsub.sh
+@@ -1,4 +1,4 @@
+-##! /bin/sh
++#! /bin/sh
+ 
+ usage()
+ {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e2f4189
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,5 @@
+
+compilation_fixes.patch
+spelling_fixes.patch
+
+scripts_fix.patch
diff --git a/debian/patches/spelling_fixes.patch b/debian/patches/spelling_fixes.patch
new file mode 100644
index 0000000..2612dbb
--- /dev/null
+++ b/debian/patches/spelling_fixes.patch
@@ -0,0 +1,27 @@
+Description: fix mispellings in binaries
+Author: Giulio Paci <giuliopaci at gmail.com>
+Forwarded: no
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/cplsa.cpp
++++ b/src/cplsa.cpp
+@@ -304,7 +304,7 @@
+ 				int m=trset.m;
+ 				/* unused parameter       int n=trset.n;   */
+ 				int j=trset.cd; //current document	      
+-				int N=0; // doc lenght
++				int N=0; // doc length
+ 				
+ 				//resume H
+ 				hindf.read((char *)H,topics * sizeof(double));
+--- a/src/dictionary.cpp
++++ b/src/dictionary.cpp
+@@ -93,7 +93,7 @@
+ 		
+ 		//skip words of length zero chars: why should this happen?
+ 		if (strlen(buffer)==0){
+-			cerr << "zero lenght word!\n";
++			cerr << "zero length word!\n";
+ 			continue;
+ 		}
+ 		
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0dc753e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,53 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_TAR_SRCDIR := .
+
+DEB_AUTO_UPDATE_LIBTOOL = pre
+DEB_AUTO_UPDATE_ACLOCAL = 1.11
+DEB_ACLOCAL_ARGS = -I m4
+DEB_AUTO_UPDATE_AUTOMAKE = 1.11
+DEB_AUTOMAKE_ARGS = --foreign --add-missing --copy
+DEB_AUTO_UPDATE_AUTOCONF = 2.68
+DEB_AUTO_UPDATE_AUTOHEADER = 2.68
+
+DEB_CONFIGURE_USER_FLAGS = --enable-shared
+
+BACKUP=config.h.in
+
+pre-build::
+	# Backup files expected to be modified.
+	for i in $(BACKUP); do \
+		if [ ! -f "$$i".backup ]; then cp -a "$$i" "$$i".backup; fi ; \
+	done
+
+clean::
+	for i in $(BACKUP); do \
+		if [ -f "$$i".backup ]; then mv -f "$$i".backup "$$i"; fi ; \
+	done
+
+clean::
+	$(RM) \
+	Makefile.in \
+	aclocal.m4 \
+	config.guess \
+	config.sub \
+	configure \
+	depcomp \
+	install-sh \
+	ltmain.sh \
+	m4/libtool.m4 \
+	m4/ltoptions.m4 \
+	m4/ltsugar.m4 \
+	m4/ltversion.m4 \
+	m4/lt~obsolete.m4 \
+	missing \
+	scripts/Makefile.in \
+	src/Makefile.in
+
+# Needed by upstream build process
+CDBS_BUILD_DEPENDS +=
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..9cdfca9
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+unapply-patches
+abort-on-upstream-changes
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b0e4b2b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/irstlm/irstlm-(\d.+)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/irstlm.git



More information about the debian-science-commits mailing list