Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256076 - centerim-4.22.6-r1 and centerim-4.22.7 still wants fribidi-config which should be dropped in favor of pkg-config.
Summary: centerim-4.22.6-r1 and centerim-4.22.7 still wants fribidi-config which shoul...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-23 11:49 UTC by Grégoire Favre
Modified: 2012-03-19 13:13 UTC (History)
3 users (show)

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


Attachments
patch for fribidi_iso8859_8_to_unicode (centerim-4.22.7-fribidi.patch,625 bytes, patch)
2009-03-06 19:49 UTC, Andrea Grazioli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Grégoire Favre 2009-01-23 11:49:42 UTC
Compil fails because of the fribidi-config which doesn't exist anymore in dev-libs/fribidi-0.19.1

Have a look for example at http://www.nabble.com/fribidi-config-td17441318.html

Reproducible: Always
Comment 1 Martin Hajduch 2009-01-25 00:19:12 UTC
First problem can be fixed by patching ebuild, replacing src_unpack with something like this:

src_unpack() {
    default

    cd "${S}"
    sed -i \
        -e "s/fribidi-config/pkg-config fribidi/g" \
        -e "s/\$FRIBIDI_CONFIG --cflags/pkg-config fribidi --cflags/g" \
        -e "s/\$FRIBIDI_CONFIG --libs/pkg-config fribidi --libs/g" \
        configure \
        || die "sed failed"

    # Don't execute git commands, bug #228151
    cat >"${S}"/misc/git-version-gen <<-EOF
        #!/bin/sh
        echo -n "${PVR}"
    EOF
}

Unfortunately, that's not all - at least not with recent gcc (I'd say gcc >4.1 is a problem) - as you start getting errors like these:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../kkconsui/include -I../../kkstrtext  -Wno-write-strings -Os -mtune=c3-2 -fomit-frame-pointer -pipe -frename-registers -I/usr/include/gpgme  -MT conscommon.o -MD -MP -MF .deps/conscommon.Tpo -c -o conscommon.o conscommon.cc
conscommon.cc: In function 'std::string makebidi(const std::string&, int)':
conscommon.cc:277: error: 'fribidi_iso8859_8_to_unicode' was not declared in this scope
conscommon.cc:279: error: 'fribidi_unicode_to_iso8859_8' was not declared in this scope
make[3]: *** [conscommon.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-im/centerim-4.22.6-r1/work/centerim-4.22.6/kkconsui/src'
make[2]: *** [all-recursive] Error 1

No time to follow this up right now - but maybe it helps someone to move on further.
Comment 2 Grégoire Favre 2009-03-05 17:52:53 UTC
It's strange, nobody on gentoo use centerim with a more or less recent gcc ?
Comment 3 Andrea Grazioli 2009-03-06 19:49:49 UTC
Created attachment 184166 [details, diff]
patch for fribidi_iso8859_8_to_unicode

For the fribidi_iso8859_8_to_unicode problem try this patch.

See also comment #1 for the configure problem.

Ciao
Comment 4 Grégoire Favre 2009-03-06 21:41:35 UTC
Works great here, thank you very much :-)
Comment 5 Grégoire Favre 2009-06-06 20:37:12 UTC
Will it be included into mainline ?
Comment 6 Joost Ruis 2009-08-11 07:32:21 UTC
..
checking whether to use fribidi... checking for fribidi-config... no
configure: error: *** fribidi-config not found

Adding myself to CC. (please fix it?)
Comment 7 Jeremy Murphy 2010-09-08 14:13:01 UTC
Was this bug fixed in recent versions of centerim or is it still an issue?  I.e., can we close this bug or get updated details on the issue?
Comment 8 Martin Hajduch 2010-09-08 14:26:58 UTC
I had no problems building net-im/centerim-4.22.9 -> so it seems to be fixed - at least on my system.
Comment 9 Pacho Ramos gentoo-dev 2012-03-19 13:13:59 UTC
(In reply to comment #8)
> I had no problems building net-im/centerim-4.22.9 -> so it seems to be fixed
> - at least on my system.