Friday, 10 January 2014

Re: Fwd: lib64 in pkgconfig file.

On Thu, Jan 09, 2014 at 05:37:59PM +0000, Michael Drake wrote:
>
> This was sent to me, but belongs here.
>
> ------ Forwarded message ------
> From: Christopher Meng <cickumqt@gmail.com>
> Date: 09 Jan 2014 1205
> Subject: lib64 in pkgconfig file.
>
> Hi,
>
> Several lib of netsurf doesn't use cmake or autofool( ;) ) to
> configure, so on 64 arch systems, Fedora uses /lib64(now /usr/lib64 as
> /usr/lib in i686).
>
> pkgconfig.in contains sample:
>
> prefix=PREFIX
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
>
> Name: libhubbub
> Description: HTML5 parsing library
> Version: VERSION
> Requires: libparserutils
> Libs: -L${libdir} -lhubbub
> Cflags: -I${includedir}
>
> So we need to patch them everytime in building..

The problem is not with our pkgconfig or build system, but with his OS.
I see no need to add massive complications to entertain one broken
system. His packaging can locally patch it to respect their insanities.

> Do we have any plan of moving to cmake or other building systems or
> even autofool? ;)
>
> Also, -Werror option shouldn't be enabled in released tarballs since
> sometimes we can't build them anymore.

He's wrong. New warnings means the compiler may have found a bug or
compiles code differently to how it used to; and as such may introduce
new problems that it is important to know about before risking private
information to software like web browsers. If in future a new warning
occurs, he should create a patch that removes the warning and submit it
upstream.

B.

No comments:

Post a Comment