Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196693 - x11-plugins/purple-plugin_pack (2.1.1 and 2.2.0) switchspell does not work
Summary: x11-plugins/purple-plugin_pack (2.1.1 and 2.2.0) switchspell does not work
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL: http://plugins.guifications.org/trac/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-22 07:36 UTC by Karl H
Modified: 2008-04-01 04:50 UTC (History)
1 user (show)

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


Attachments
purple-plugin_pack-2.1.1.ebuild (purple-plugin_pack-2.1.1.ebuild,1.52 KB, text/plain)
2007-11-08 20:29 UTC, Karl H
Details
proposed patch to ebuild (purple-plugin_pack-2.1.1.ebuild.patch,636 bytes, patch)
2007-11-08 20:32 UTC, Karl H
Details | Diff
2.2.0 modified ebuild (purple-plugin_pack-2.2.0.ebuild,2.41 KB, text/plain)
2007-12-05 10:17 UTC, Karl H
Details
patch for 2.2.0 ebuild (purple-plugin_pack-2.2.0.ebuild.patch,833 bytes, patch)
2007-12-05 10:17 UTC, Karl H
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karl H 2007-10-22 07:36:58 UTC
somewhere libaspell is not linked here or in gtkspell.

A fix for the switchspell plugin is to configure the plugin pack with GTKSPELL_LIBS="-laspell"

Reproducible: Always

Steps to Reproduce:
1. emerge x11-plugins/purple-plugin_pack-2.1.1
2.try to use switch spell plugin
3.
Comment 1 Torsten Grote 2007-11-05 22:31:36 UTC
I can confirm this bug! Could you please elaborate more on the fix?

Setting $GTKSPELL_LIBS did not work for me. I do not even have aspell installed and was not able to compile without switchspell.
Comment 2 Karl H 2007-11-08 20:29:00 UTC
Created attachment 135513 [details]
purple-plugin_pack-2.1.1.ebuild

Attached fixed ebuild.    define GTKSPELL_LIBS="-laspell" for econf, and add app-text/aspell dependency
Comment 3 Karl H 2007-11-08 20:32:45 UTC
Created attachment 135514 [details, diff]
proposed patch  to  ebuild 

patch / diff of what is in /usr/portage/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.1.1.ebuild  to fixed ebuild
Comment 4 Torsten Grote 2007-11-08 20:39:43 UTC
Thank you for your fixed ebuild.

It would be nice if there would be an use flag for switchspell, so the aspell dependency is only pulled in if this switchspell plugin is wanted. I would do it on my own, but it does not work the way it worked with talkfilters. Maybe some other plugin requires switchspell...
Comment 5 Karl H 2007-11-08 22:14:03 UTC
Do you have app-text/talkfilters installed and the talkfilters USE flag?

emerge -pv talkfilters


I suppose a cool ebuild would detect if you have aspell installed,  if you have it installed set GTKSPELL_LIBS="-laspell"  or base it on the "spell" USE flag.



Comment 6 Karl H 2007-12-05 10:17:00 UTC
Created attachment 137790 [details]
2.2.0 modified ebuild

Same issue that was in 2.1.1. is in 2.2.0
Comment 7 Karl H 2007-12-05 10:17:58 UTC
Created attachment 137792 [details, diff]
patch for 2.2.0 ebuild
Comment 8 Stefan de Konink 2008-01-06 00:03:15 UTC
could someone apply this?
Comment 9 Olivier Crete (RETIRED) gentoo-dev 2008-02-18 22:44:54 UTC
The patch ain't complete because it doesn't disable the the spell plugin on -spell
Comment 10 Olivier Crete (RETIRED) gentoo-dev 2008-04-01 02:47:36 UTC
Actually, can you try fixing the configure.ac in a way thats mergeable upstream?
Comment 11 Olivier Crete (RETIRED) gentoo-dev 2008-04-01 04:50:12 UTC
This was fixed upstreamd and will be fixed in the next release... For now, I've just disabled the plugin