Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 308 by lidaobing: [ibus-table] the generated .pc file has a wrong  
order
http://code.google.com/p/ibus/issues/detail?id=308

1. the generated ibus-table.pc has a wrong order of variable define

reproduce this bug
$ pkg-config --cflags ibus-table; echo $?
Variable 'datarootdir' not defined in '/usr/lib/pkgconfig/ibus-table.pc'
1

check the ibus-table.pc[1], the libdir is depends on datarootdir, but it's
defined before it.

a quick and dirty patch in attachment.

[1]
$ cat /usr/lib/pkgconfig/ibus-table.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${datarootdir}
datarootdir=${prefix}/share
datadir=${datarootdir}

extradatadir=${datarootdir}/ibus-table/data
tabledir=${datarootdir}/ibus-table/tables
icondir=${datarootdir}/ibus-table/icons
enginedir=${datarootdir}/ibus/engine

ibus_table_version=1.1.0.20090306

Name: IBus-Table
Description: Table Based Input Method Framework for Intelligent Input Bus
for Linux / Unix OS
Version: 1.1.0.20090306
Requires:
Libs:
Cflags:


Attachments:
        0001-fix-order-in-pkgconfig.patch  593 bytes

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

回复