commit cmuclmtk for openSUSE:Factory
Hello community, here is the log from the commit of package cmuclmtk for openSUSE:Factory checked in at 2018-02-13 10:26:55 Comparing /work/SRC/openSUSE:Factory/cmuclmtk (Old) and /work/SRC/openSUSE:Factory/.cmuclmtk.new (New) Package is "cmuclmtk" Tue Feb 13 10:26:55 2018 rev:8 rq:574878 version:0.7 Changes: --- /work/SRC/openSUSE:Factory/cmuclmtk/cmuclmtk.changes2014-03-14 15:13:55.0 +0100 +++ /work/SRC/openSUSE:Factory/.cmuclmtk.new/cmuclmtk.changes 2018-02-13 10:26:55.902437113 +0100 @@ -1,0 +2,8 @@ +Thu Feb 8 16:37:48 UTC 2018 - stefan.bru...@rwth-aachen.de + +- Remove Buildrequires: gdb and vim. As the latter is build with + gvim support, this adds all of gtk and rust (librsvg) to the + build dependency chain. Via presage -> fcitx this also creates a + huge build dependency loop. + +--- Other differences: -- ++ cmuclmtk.spec ++ --- /var/tmp/diff_new_pack.tx3B7y/_old 2018-02-13 10:26:56.670409442 +0100 +++ /var/tmp/diff_new_pack.tx3B7y/_new 2018-02-13 10:26:56.670409442 +0100 @@ -29,9 +29,9 @@ Patch3: 0003-Fix-endian-check.patch Patch4: 0004-Fix-vocab_size.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: gdb -BuildRequires: less -BuildRequires: vim +BuildRequires: gcc +BuildRequires: gmake +BuildRequires: gawk %description The CMU-Cambridge Language Modeling Toolkit is a free set of tools
commit cmuclmtk for openSUSE:Factory
Hello community, here is the log from the commit of package cmuclmtk for openSUSE:Factory checked in at 2014-03-14 15:13:53 Comparing /work/SRC/openSUSE:Factory/cmuclmtk (Old) and /work/SRC/openSUSE:Factory/.cmuclmtk.new (New) Package is "cmuclmtk" Changes: --- /work/SRC/openSUSE:Factory/cmuclmtk/cmuclmtk.changes2014-03-02 18:22:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.cmuclmtk.new/cmuclmtk.changes 2014-03-14 15:13:55.0 +0100 @@ -1,0 +2,9 @@ +Tue Mar 11 01:26:19 CET 2014 - r...@suse.de + +- add patch 0002-Fix-includes.patch from upstream +- add patch 0003-Fix-endian-check.patch +- add patch 0004-Fix-vocab_size.patch +- run testsuite (but ignore errors for now, completes only + on little-endian 64bit) + +--- New: 0002-Fix-includes.patch 0003-Fix-endian-check.patch 0004-Fix-vocab_size.patch Other differences: -- ++ cmuclmtk.spec ++ --- /var/tmp/diff_new_pack.VkFjyZ/_old 2014-03-14 15:13:55.0 +0100 +++ /var/tmp/diff_new_pack.VkFjyZ/_new 2014-03-14 15:13:55.0 +0100 @@ -24,8 +24,14 @@ Group: System/Libraries Url:http://cmusphinx.sourceforge.net Source: %{name}-%{version}.tar.gz -Patch: decl-mismatch.patch +Patch1: decl-mismatch.patch +Patch2: 0002-Fix-includes.patch +Patch3: 0003-Fix-endian-check.patch +Patch4: 0004-Fix-vocab_size.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gdb +BuildRequires: less +BuildRequires: vim %description The CMU-Cambridge Language Modeling Toolkit is a free set of tools @@ -66,7 +72,10 @@ %prep %setup -q -%patch -p1 +%patch1 -p1 +%patch2 +%patch3 +%patch4 %build %configure @@ -78,6 +87,9 @@ rm -rf %{buildroot}%{_libdir}/*.a rm -rf %{buildroot}%{_libdir}/*.la +%check +make check || true + %post -n libcmuclmtk0 -p /sbin/ldconfig %postun -n libcmuclmtk0 -p /sbin/ldconfig ++ 0002-Fix-includes.patch ++ --- src/liblmest/generate.c +++ src/liblmest/generate.c @@ -99,8 +99,8 @@ int i,j,bo_case,initial_history_id; id__t sought_trigram[3]; double p,acc,trigram_prob; - vocab_sz_t lm_vocab_sz; - char** lm_vocab; + vocab_sz_t lm_vocab_sz = 0; + char** lm_vocab = NULL; if(png!=NULL && pang!=NULL) quit(-1,"Confused by multiple input type.\n"); --- src/libs/rr_mkdtemp.c +++ src/libs/rr_mkdtemp.c @@ -36,6 +36,8 @@ #include #include +#include +#include #include <../win32/compat.h> --- src/programs/text2idngram.c +++ src/programs/text2idngram.c @@ -51,7 +51,7 @@ #include #include #include -#include +#include #include #include "../liblmest/toolkit.h" --- src/programs/text2wngram.c +++ src/programs/text2wngram.c @@ -36,10 +36,10 @@ #define DEFAULT_MAX_FILES 20 -#include #include #include #include +#include #include #include "../liblmest/toolkit.h" @@ -70,6 +70,15 @@ fprintf(stderr,"< .text > .wngram\n"); } +void merge_tempfiles (int start_file, + int end_file, + char *temp_file_root, + char *temp_file_ext, + int max_files, + FILE *outfile, + int n, + int verbosity); + int main (int argc, char **argv) { int n; --- src/programs/wngram2idngram.c +++ src/programs/wngram2idngram.c @@ -45,7 +45,7 @@ #include #include #include -#include +#include #include #include "../liblmest/toolkit.h" @@ -361,7 +361,7 @@ }else { /* Write to temporary file */ for (i=0;i<=n-1;i++) - rr_fwrite((char*)¤t_ngram[i],sizeof(unsigned short),1, + rr_fwrite((char*)¤t_ngram[i],sizeof(wordid_t),1, non_unk_fp,"temporary n-gram ids"); rr_fwrite((char*)¤t_count,sizeof(int),1,non_unk_fp, ++ 0003-Fix-endian-check.patch ++ --- src/libs/mips_swap.h +++ src/libs/mips_swap.h @@ -20,8 +20,8 @@ #include "general.h" -#ifndef WORDS_BIGENDIAN/* reverse byteorder */ - +#if __BYTE_ORDER == __LITTLE_ENDIAN +/* reverse byteorder */ /* the following works even for badly aligned pointers */ #define SWAPFIELD(x) {if (sizeof(*(x))==sizeof(short)) {SWAPHALF((x))} \ ++ 0004-Fix-vocab_size.patch ++ --- src/liblmest/load_lm.c +++ src/liblmest/load_lm.c @@ -84,6 +84,7 @@ char *lm_filename) { int i; + wordid_t vocab_size; ng->disc_meth=NULL; ng->vocab_size = 0; ng->bin_fp = rr_iopen(lm_filename); @@ -98,7 +99,8 @@ /* Scalar parameters */ rr_fread((char*)&ng->n,sizeof(unsigned short),1,ng->bin_fp,"n",0); - rr_fread((char*)&ng->vocab_size,sizeof(wordid_
commit cmuclmtk for openSUSE:Factory
Hello community, here is the log from the commit of package cmuclmtk for openSUSE:Factory checked in at 2014-03-02 18:22:31 Comparing /work/SRC/openSUSE:Factory/cmuclmtk (Old) and /work/SRC/openSUSE:Factory/.cmuclmtk.new (New) Package is "cmuclmtk" Changes: --- /work/SRC/openSUSE:Factory/cmuclmtk/cmuclmtk.changes2012-09-21 14:38:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.cmuclmtk.new/cmuclmtk.changes 2014-03-02 18:22:32.0 +0100 @@ -1,0 +2,5 @@ +Sat Mar 1 20:03:46 UTC 2014 - sch...@suse.de + +- decl-mismatch.patch: fix mismatching declaration + +--- New: decl-mismatch.patch Other differences: -- ++ cmuclmtk.spec ++ --- /var/tmp/diff_new_pack.vQBt1A/_old 2014-03-02 18:22:33.0 +0100 +++ /var/tmp/diff_new_pack.vQBt1A/_new 2014-03-02 18:22:33.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package cmuclmtk # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,14 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: cmuclmtk Version: 0.7 Release: 0 -License: AFL-2.1 and BSD-3-Clause Summary: CMU-Cambridge Statistical Language Modeling toolkit -Url: http://cmusphinx.sourceforge.net +License:AFL-2.1 and BSD-3-Clause Group: System/Libraries +Url:http://cmusphinx.sourceforge.net Source:%{name}-%{version}.tar.gz +Patch: decl-mismatch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -64,6 +66,7 @@ %prep %setup -q +%patch -p1 %build %configure ++ decl-mismatch.patch ++ Index: cmuclmtk-0.7/src/libs/rd_wlist_arry.c === --- cmuclmtk-0.7.orig/src/libs/rd_wlist_arry.c +++ cmuclmtk-0.7/src/libs/rd_wlist_arry.c @@ -41,13 +41,14 @@ #include #include #include "general.h" +#include "sih.h" #include "ac_parsetext.h" /* allocate an lagre enough array and read in a list of words (first word on each line) Leave entry no. 0 empty. */ -void read_wlist_into_array(char *wlist_filename, int verbosity, char ***p_wlist, int *p_n_wlist) +void read_wlist_into_array(char *wlist_filename, int verbosity, char ***p_wlist, vocab_sz_t *p_n_wlist) { static char rname[]="read_wlist_into_array"; FILE *wlist_fp = rr_iopen(wlist_filename); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cmuclmtk for openSUSE:Factory
Hello community, here is the log from the commit of package cmuclmtk for openSUSE:Factory checked in at 2012-09-21 14:38:02 Comparing /work/SRC/openSUSE:Factory/cmuclmtk (Old) and /work/SRC/openSUSE:Factory/.cmuclmtk.new (New) Package is "cmuclmtk", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/cmuclmtk/cmuclmtk.changes2012-07-30 20:15:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.cmuclmtk.new/cmuclmtk.changes 2012-09-21 14:38:03.0 +0200 @@ -1,0 +2,5 @@ +Tue Sep 18 12:55:46 UTC 2012 - i...@marguerite.su + +- add cmuclmtk requires to libcmuclmtk-devel. + +--- Other differences: -- ++ cmuclmtk.spec ++ --- /var/tmp/diff_new_pack.O1CbxN/_old 2012-09-21 14:38:06.0 +0200 +++ /var/tmp/diff_new_pack.O1CbxN/_new 2012-09-21 14:38:06.0 +0200 @@ -50,6 +50,7 @@ %package -n libcmuclmtk-devel Summary: CMU-Cambridge Statistical Language Modeling toolkit Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} Requires: libcmuclmtk0 = %{version} %description -n libcmuclmtk-devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org