[Kde-imaging] libkipi 0.1: srcdir != builddir bug outside keg-libs-1

Renchi Raju renchi at pooh.tam.uiuc.edu
Fri Oct 22 04:56:14 CEST 2004



On Tue, 19 Oct 2004, Achim Bohnet wrote:

>
> building libkipi in a (minimal) pbuilder chroot environment
> without libkipi installed breaks with:
>
> I never found this before because cvsExtract (?) seem to strip one libkipi
> level from the keg-libs-1 layout, but cvs2dist I used earlier does not :(
>
>  keg-libs-1/libkipi/libkipi/interface.h
> but
>  libkipi-0.1/libkipi/interface.h
>
> My hack below supports both layouts:
>
> --- libkipi-0.1.orig/libkipi/Makefile.am
> +++ libkipi-0.1/libkipi/Makefile.am
> @@ -1,5 +1,5 @@
>  METASOURCES = AUTO
> -INCLUDES=  -I$(top_srcdir)/libkipi $(all_includes)
> +INCLUDES=  -I$(srcdir)/.. $(all_includes)
>
>  KDE_ICON = kipi
>
>
> don't know it there's a more elegant solution that '..' usage
> (beside using cvs2dist ;).

hmm... i had to struggle with libkipi a little bit, when i used
cvsExtract.sh . it messed up the directory layout and could generate the
pkg-config file correctly. There have been no significant changes in the
library. is the above issue enough to warrant a 0.1.1 release. i'm ok with
that.

renchi


More information about the Kde-imaging mailing list