FS#12081 - gtkhtml needs added dependency of 'iso-codes'

Attached to Project: Arch Linux
Opened by Marq Schneider (queueRAM) - Monday, 10 November 2008, 23:43 GMT
Last edited by Jan de Groot (JGC) - Sunday, 30 November 2008, 14:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

1. Description:
The pkg-config file (see 2.2.1.) for gtkhtml has a Requires: section that includes 'iso-codes'. However, the gtkhtml pacman package does not have a depends of 'iso-codes', only a makedepends. This will cause builds of other packages that require gtkhtml and use pkg-config to detect the presence of it to fail on the requires check.


2. Additional Info:
2.1. Package Version
gtkhtml-3.24.1.1-1

2.2. Config and/or Log Files
2.2.1. Contents of /usr/lib/pkgconfig/libgtkhtml-3.14.pc:
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
gtkhtml_datadir=${prefix}/share/gtkhtml-3.14
gtkhtml_apiversion=3.14

Name: libgtkhtml
Description: libgtkhtml
Requires: gtk+-2.0 >= 2.12.0 libgnomeui-2.0 >= 2.0.0 libglade-2.0 >= 2.0.0 enchant gconf-2.0 iso-codes
Version: 3.24.1.1
Libs: -L${libdir} -lgtkhtml-3.14
Cflags: -I${includedir}/libgtkhtml-3.14

2.2.2. Tail of output from 'pkg-config --exists libgtkhtml-3.14' with PKG_CONFIG_DEBUG_SPEW environment variable set:
Looking for package 'iso-codes'
Looking for package 'iso-codes-uninstalled'
Looking for 'iso-codes' using legacy -config scripts
Calling gnome-config
Package iso-codes was not found in the pkg-config search path.
Perhaps you should add the directory containing `iso-codes.pc'
to the PKG_CONFIG_PATH environment variable
Package 'iso-codes', required by 'libgtkhtml', not found


3. Steps to reproduce:
One way to reproduce is to just run 'pkg-config --exists libgtkhtml-3.14' and check the return value: 'echo $?'. It will return 1 (failed) if pkg-config doesn't think libgtkhtml-3.14 exists, or 0 (success) if it thinks it does exist. For more verbose output, see log above (2.2.2.).
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 30 November 2008, 14:40 GMT
Reason for closing:  Fixed
Comment by Aaron Griffin (phrakture) - Tuesday, 11 November 2008, 16:24 GMT
Is this the gtkhtml package, or the libgtkhtml package?
Comment by Marq Schneider (queueRAM) - Tuesday, 11 November 2008, 20:25 GMT
This is for the 'gtkhtml' package. Although, i am kind of confused as to what the differences are between the two. It appears as though 'libgtkhtml' is just an older version (2.xx) of 'gtkhtml' (3.xx). Both provide libgtkhtml-N.so libraries. 'gtkhtml' also provides editor libraries, but i'm not sure what function that serves. I don't actually have the 'libgtkhtml' package installed. It only appears to be used by 'screem'.

Loading...