[Bug 1406051] Re: link-grammar pacakge is out-of-date

2016-06-30 Thread Launchpad Bug Tracker
This bug was fixed in the package link-grammar - 5.3.7-2

---
link-grammar (5.3.7-2) unstable; urgency=medium

  * Build link-grammar-java for alpha but not m68k or sh4 (Closes:
#828809)

 -- Jeremy Bicha   Tue, 28 Jun 2016 00:05:38 -0400

** Changed in: link-grammar (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1406051] Re: link-grammar pacakge is out-of-date

2016-06-29 Thread Jeremy Bicha
** Changed in: link-grammar (Ubuntu)
 Assignee: Jeremy Bicha (jbicha) => (unassigned)

** Changed in: link-grammar (Ubuntu)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1406051] Re: link-grammar pacakge is out-of-date

2016-06-28 Thread Bug Watch Updater
** Changed in: link-grammar (Debian)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1406051] Re: link-grammar pacakge is out-of-date

2016-06-16 Thread linas
On Thu, Jun 16, 2016 at 1:11 PM, Jeremy Bicha  wrote:

>
> Now that I've finished the packaging work, I just need to get link-
> grammar 5.3.7 sponsored in Debian.
>

Thanks!  There might be a version 5.3.8 in a few weeks, with misc minor
fixes, the most serious of which is a crash for certain very rare Russian
sentences (english is not affected).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1406051] Re: link-grammar pacakge is out-of-date

2016-06-16 Thread Jeremy Bicha
Linas, thanks again. Turns out I already had the fix but it didn't work.

https://github.com/AbiWord/abiword/commit/de9d8544500fefec944ff52b5920b5fada675bb9

I think my build failed because the generated Makefile.in didn't have
the fancy 5.1 checking so I simplified the patch and now it works fine.

https://anonscm.debian.org/cgit/collab-
maint/abiword.git/tree/debian/patches/0012-Bug-13726-Fix-Grammar-plugin-
build-with-link-grammar.patch

Now that I've finished the packaging work, I just need to get link-
grammar 5.3.7 sponsored in Debian.

And then this bug will be automatically closed when the package gets
synced from Debian.

** Changed in: link-grammar (Ubuntu)
   Status: Triaged => In Progress

** Changed in: link-grammar (Ubuntu)
 Assignee: (unassigned) => Jeremy Bicha (jbicha)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1406051] Re: link-grammar pacakge is out-of-date

2016-06-16 Thread linas
Hi Jeremy,

On Thu, Jun 16, 2016 at 3:39 AM, Jeremy Bicha  wrote:

>  I get this build error:
>
> Making all in linkgrammarwrap
>

I just glanced at the sources for that, It looks slightly archaic, hasn't
been touched in a while, but from what I can tell, it should work if you
just stub out the panic_parse option.


> LinkGrammarWrap.cpp: In member function ‘bool
> LinkGrammarWrap::parseSentence(PieceOfText*)’:
> LinkGrammarWrap.cpp:92:44: error: ‘parse_options_set_panic_mode’ was not
> declared in this scope
>parse_options_set_panic_mode(m_Opts, TRUE);
>

In the short-run, just remove that line; that should cure the problem.  In
the long run, the whole file should probably have to be combed over and
modernized.  It looks mostly OK to me, but I can't necessarily see if there
is some deeper bug in there.  If you contact the mailing list, and ask
nicely, I suspect that Amir might actually enjoy doing this.


> It looks like
>
> https://github.com/opencog/link-grammar/commit/04eebb49714876c65128d03cd528d2c4259887d8
> is to blame. That was included in link-grammar 5.1.0. Both Fedora and
> openSUSE still package the version before that (5.0.8) (and maybe this is
> why?).
>

No one has ever popped up and mentioned this before!  Yes, clearly, it
would be a show-stopper.

>
> I have to admit I don't really know much about link-grammar except I'm
> trying to help out and package the update. If you could help fix the
> Abiword build, I'd sure appreciate it.
>
> By the way, I sent you an email earlier asking if the Abiword grammar
> plugin supports languages besides English but I didn't get a reply.
>

Sorry, I'm drowning in email.  I know nothing at all about Abiword ...
Looking at the code:

http://svn.abisource.com/abiword/branches/ABI-2-8-0-STABLE/plugins/grammar/linkgrammarwrap/LinkGrammarWrap.cpp

I can see there is a hard-coded "en" for English.  That would have to be
generalized.

The only other "ready for general use" language would be Russian, that
should work just fine out of the box.

After a large amount of fiddling with the morphology analyzer, someone
might be able to get Persian (Farsi) to work.

None of the other langauges (turkish, lithuanian, german, arabic, etc) have
enough coverage to be usable.  That may change by next year.  Maybe.

--linas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1406051] Re: link-grammar pacakge is out-of-date

2016-06-15 Thread Jeremy Bicha
Thank you Linas. I passed your comment on to bugzilla and closed the bug
there since it was probably my fault.

I see now that I actually wasn't building abiword against link-grammar 5
like I thought I was. Now that I am, I get this build error:

Making all in linkgrammarwrap
make[5]: Entering directory '/<>/plugins/grammar/linkgrammarwrap'
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../../..  -pthread -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libpng16 -pthread 
-I/usr/include/fribidi -I/usr/include/wv -I/usr/include/freetype2 
-I/usr/include/enchant -I/usr/include/libgsf-1 -I/usr/include/rasqal 
-I/usr/include/raptor2 -I/usr/include/evolution-data-server -I/usr/include/nss 
-I/usr/include/nspr -I/usr/include/libsecret-1 -I/usr/include/libsoup-2.4 
-I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/gtk-3.0/unix-print 
-I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient 
-I/usr/include/mircommon -I/usr/include/mircookie -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/librsvg-2.0 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/freetype2 
-I/usr/include/libgoffice-0.10 -I/usr/include -I../../..  
-I../../../src/af/ev/gtk -I../../../src/af/ev/xp -I../../../src/af/gr/gtk 
-I../../../src/af/gr/xp -I../../../src/af/util/unix -I../../../src/af/util/xp 
-I../../../src/af/xap/gtk -I../../../src/af/xap/xp -I../../../src/text/fmt/gtk 
-I../../../src/text/fmt/xp -I../../../src/text/ptbl/xp 
-I../../../src/wp/impexp/gtk -I../../../src/wp/impexp/xp 
-I../../../src/wp/ap/gtk -I../../../src/wp/ap/xp -I../../../src/plugins 
-DABI_DLL -DABI_BUILD_VERSION=\"3.0.1\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings 
-Wmissing-noreturn -Wunused -Wpointer-arith -Wshadow  -g -O2 -fPIE 
-fstack-protector-strong -Wformat -Werror=format-security 
-Wno-overloaded-virtual -MT LinkGrammarWrap.lo -MD -MP -MF 
.deps/LinkGrammarWrap.Tpo -c -o LinkGrammarWrap.lo LinkGrammarWrap.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libpng16 -pthread -I/usr/include/fribidi -I/usr/include/wv 
-I/usr/include/freetype2 -I/usr/include/enchant -I/usr/include/libgsf-1 
-I/usr/include/rasqal -I/usr/include/raptor2 
-I/usr/include/evolution-data-server -I/usr/include/nss -I/usr/include/nspr 
-I/usr/include/libsecret-1 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 
-I/usr/include/cairo -I/usr/include/gtk-3.0/unix-print -I/usr/include/gtk-3.0 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient 
-I/usr/include/mircommon -I/usr/include/mircookie -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/librsvg-2.0 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/freetype2 
-I/usr/include/libgoffice-0.10 -I/usr/include -I../../.. 
-I../../../src/af/ev/gtk -I../../../src/af/ev/xp -I../../../src/af/gr/gtk 
-I../../../src/af/gr/xp -I../../../src/af/util/unix -I../../../src/af/util/xp 
-I../../../src/af/xap/gtk -I../../../src/af/xap/xp -I../../../src/text/fmt/gtk 
-I../../../src/text/fmt/xp -I../../../src/text/ptbl/xp 
-I../../../src/wp/impexp/gtk -I../../../src/wp/impexp/xp 
-I../../../src/wp/ap/gtk -I../../../src/wp/ap/xp -I../../../src/plugins 
-DABI_DLL -DABI_BUILD_VERSION=\"3.0.1\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings 
-Wmissing-noreturn -Wunused -Wpointer-arith -Wshadow -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security 
-Wno-overloaded-virtual -MT LinkGrammarWrap.lo -MD -MP -MF 
.deps/LinkGrammarWrap.Tpo -c LinkGrammarWrap.cpp  -fPIC -DPIC -o 
.libs/LinkGrammarWrap.o
LinkGrammarWrap.cpp: In member function ‘bool 
LinkGrammarWrap::parseSentence(PieceOfText*)’:
LinkGrammarWrap.cpp:92:44: error: ‘parse_options_set_panic_mode’ was not 
declared in this scope
   parse_options_set_panic_mode(m_Opts, TRUE);
^
Makefile:580: recipe for target 'LinkGrammarWrap.lo' failed
make[5]: *** [LinkGrammarWrap.lo] Error 1
make[5]: Leaving 

Re: [Bug 1406051] Re: link-grammar pacakge is out-of-date

2016-06-15 Thread linas
I can't log into bugzilla right now, can you post the following for me?


This error message suggests that you are reading the new (current) version
of en/4.0.dict with rather old link-grammar libraries (dating back at least
a few years, or more).  This suggests that you have multiple versions of LG
installed -- probably one in /usr/lib from an old Debian package, as well
as the new one, presumably in /usr/local/lib and that ldd is finding the
old library, instead of the new one.

At least, that's what I think that error means.

--linas

On Mon, Jun 13, 2016 at 7:25 AM, Jeremy Bicha  wrote:

> This is currently blocked on
>
> http://bugzilla.abisource.com/13784
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1406051
>
> Title:
>   link-grammar pacakge is out-of-date
>
> Status in link-grammar package in Ubuntu:
>   Triaged
> Status in link-grammar package in Debian:
>   New
>
> Bug description:
>   The link-grammar packaging in trusty/utopic/vivid is almost 4 years
>   out of date: the current version is 5.2.0, not 4.7.4 .. what can I do
>   to get the new release packaged?
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1406051] Re: link-grammar pacakge is out-of-date

2016-06-12 Thread Jeremy Bicha
This is currently blocked on

http://bugzilla.abisource.com/13784

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1406051] Re: link-grammar pacakge is out-of-date

2014-12-28 Thread Andreas Moog
Hi there,

thanks for your report. Since this package is primarily maintained in
Debian, I opened a bug in their bugtracker about the upgrade.

Cheers,
  Andreas

** Bug watch added: Debian Bug tracker #774088
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774088

** Also affects: link-grammar (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774088
   Importance: Unknown
   Status: Unknown

** Changed in: link-grammar (Ubuntu)
   Importance: Undecided = Wishlist

** Tags added: upgrade-software-version

** Changed in: link-grammar (Ubuntu)
   Status: New = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1406051] Re: link-grammar pacakge is out-of-date

2014-12-28 Thread linas
thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1406051] Re: link-grammar pacakge is out-of-date

2014-12-28 Thread Bug Watch Updater
** Changed in: link-grammar (Debian)
   Status: Unknown = New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406051

Title:
  link-grammar pacakge is out-of-date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/link-grammar/+bug/1406051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs