Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604398 - app-accessibility/speech-dispatcher-0.8.3 - incorrect includedir value in speech-dispatcher.pc
Summary: app-accessibility/speech-dispatcher-0.8.3 - incorrect includedir value in spe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-02 13:45 UTC by Coacher
Modified: 2017-10-12 11:15 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2017-01-02 13:45:14 UTC
Hello.

speech-dispatcher.pc says:
prefix=/usr
[...]
includedir=${prefix}/include
[...]

Actual headers reside in /usr/include/speech-dispatcher/ instead:
# ll /usr/include/speech-dispatcher/
total 28
-rw-r--r-- 1 root root 9004 Jan  2 11:52 libspeechd.h
-rw-r--r-- 1 root root 1185 Jan  2 11:52 libspeechd_version.h
-rw-r--r-- 1 root root 1844 Jan  2 11:52 spd_audio_plugin.h
-rw-r--r-- 1 root root 1197 Jan  2 11:52 speechd_defines.h
-rw-r--r-- 1 root root 2537 Jan  2 11:52 speechd_types.h


This breaks normal [1,2,3] includes like `#include <libspeechd.h>'.

Please either install to a standard location aka /usr/include, or fix pkgconfig file to have the correct includedir.


[1]: http://git.freebsoft.org/?p=speechd.git;a=blob;f=src/clients/say/say.c;hb=1ec1df87ae797f11e5d26cf2a73d176940948044#l44
[2]: http://git.freebsoft.org/?p=speechd.git;a=blob;f=src/api/guile/gssip.c;h=6a710bc2ac3eba4fa665dd6c66c92ee1eeccc0b5;hb=1ec1df87ae797f11e5d26cf2a73d176940948044#l34
[3]: http://git.freebsoft.org/?p=speechd.git;a=blob;f=src/tests/connection-recovery.c;h=8ad28ad0b49a8a8804ef15efa7fd848c45b02df7;hb=1ec1df87ae797f11e5d26cf2a73d176940948044#l33
Comment 1 Larry the Git Cow gentoo-dev 2017-10-12 11:15:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df108f64fe52cc9371808a0cdddddfbf4136503c

commit df108f64fe52cc9371808a0cdddddfbf4136503c
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-10-12 11:11:57 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-10-12 11:15:07 +0000

    app-accessibility/speech-dispatcher: version bump 0.8.7
    
    Closes: https://bugs.gentoo.org/604396
    Closes: https://bugs.gentoo.org/604398
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-accessibility/speech-dispatcher/Manifest       |   1 +
 .../speech-dispatcher-0.8.7.ebuild                 | 109 +++++++++++++++++++++
 2 files changed, 110 insertions(+)