Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229729 - app-office/texmaker-1.71-r1 tries to build against wrong hunspell lib and fails
Summary: app-office/texmaker-1.71-r1 tries to build against wrong hunspell lib and fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 230329 230523 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-27 12:32 UTC by René 'Necoro' Neumann
Modified: 2008-07-02 15:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
texmaker-1.71-hunspell.patch.diff (texmaker-1.71-hunspell.patch.diff,429 bytes, patch)
2008-06-27 12:44 UTC, René 'Necoro' Neumann
Details | Diff
texmaker-1.71-hunspell.patch (texmaker-1.71-hunspell.patch,1.66 KB, patch)
2008-06-27 18:50 UTC, René 'Necoro' Neumann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2008-06-27 12:32:00 UTC
I have tried to install texmaker-1.71-r1 - but it fails as it can't find the hunspell lib:

/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lhunspell

This is, because the hunspell lib is actually hunspell-1.2:
# equery f hunspell | grep ".so\$"
/usr/lib/libhunspell-1.2.so

As the compiling against the system hunspell is done through a patch (cf. bug #220617), this should be fixed easily :)
Comment 1 René 'Necoro' Neumann 2008-06-27 12:44:28 UTC
Created attachment 158627 [details, diff]
texmaker-1.71-hunspell.patch.diff

Here is the patch to patch the texmaker-hunspell.patch :)
Using this, it works on my machine
Comment 2 René 'Necoro' Neumann 2008-06-27 12:46:38 UTC
Just noted it: Do not use the "Diff" function of bugzilla here ... having a diff'ed patch makes it render wrong things :)
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-27 13:43:28 UTC
Instead hardcoding it'd be better, if pkgconfig would be used.
Comment 4 René 'Necoro' Neumann 2008-06-27 18:50:46 UTC
Created attachment 158687 [details, diff]
texmaker-1.71-hunspell.patch

Here is the patch using pkg-config.

NOTE: This is not a patch patching the old patch - but this is the "toplevel" patch going to replace the current one in CVS.

Btw: I don't know if pkg-config has to go into the dependencies of the package...
Comment 5 Alexis Ballier gentoo-dev 2008-07-02 14:50:02 UTC
*** Bug 230329 has been marked as a duplicate of this bug. ***
Comment 6 Alexis Ballier gentoo-dev 2008-07-02 14:50:43 UTC
*** Bug 230523 has been marked as a duplicate of this bug. ***
Comment 7 Alexis Ballier gentoo-dev 2008-07-02 15:08:11 UTC
applied, thanks a lot !