From marck@woozle.rinet.ru  Wed Mar 20 12:25:36 2002
Return-Path: <marck@woozle.rinet.ru>
Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68])
	by hub.freebsd.org (Postfix) with ESMTP id 1B7F937B400
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Mar 2002 12:25:32 -0800 (PST)
Received: (from marck@localhost)
	by woozle.rinet.ru (8.11.6/8.11.6) id g2KKPQ460633;
	Wed, 20 Mar 2002 23:25:26 +0300 (MSK)
	(envelope-from marck)
Message-Id: <200203202025.g2KKPQ460633@woozle.rinet.ru>
Date: Wed, 20 Mar 2002 23:25:26 +0300 (MSK)
From: Dmitry Morozovsky <marck@rinet.ru>
Reply-To: Dmitry Morozovsky <marck@rinet.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: imlib-1.9.13 does not install headers
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         36146
>Category:       ports
>Synopsis:       imlib-1.9.13 does not install headers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 20 12:30:01 PST 2002
>Closed-Date:    Sun Apr 14 15:32:17 PDT 2002
>Last-Modified:  Sun Apr 14 15:32:17 PDT 2002
>Originator:     Dmitry Morozovsky
>Release:        FreeBSD 4-STABLE i386
>Organization:
Cronyx Plus LLC (RiNet ISP)
>Environment:
System: FreeBSD 4-STABLE. Ports tree as of today.


	
>Description:

current imlib port does not install files needed for other ports, namely:

include/gdk_imlib.h
include/gdk_imlib_private.h
include/gdk_imlib_types.h
lib/libgdk_imlib.a
lib/libgdk_imlib.so


>How-To-Repeat:

cd /usr/ports/graphics/imlib && make install
cd /usr/ports/x11/gnomelibs && make

>Fix:

I don't know the correct way to fix this. 
Either patch Makefile.in's or make additional after-install target 
in port Makefile should help.

The latter is here:


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/imlib/Makefile,v
retrieving revision 1.80
diff -u -r1.80 Makefile
--- Makefile	2002/03/15 07:12:55	1.80
+++ Makefile	2002/03/20 20:25:13
@@ -35,4 +35,11 @@
 pre-configure:
 	${PERL} -pi -e "s^%%LOCALBASE%%^${LOCALBASE}^" ${WRKSRC}/imlib-config.in
 
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/gdk_imlib/gdk_imlib.h ${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/gdk_imlib/gdk_imlib_private.h ${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/gdk_imlib/gdk_imlib_types.h ${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/gdk_imlib/.libs/libgdk_imlib.a ${PREFIX}/lib
+	${LN} -sf libgdk_imlib.so.5 ${PREFIX}/lib/libgdk_imlib.so
+
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->gnome 
Responsible-Changed-By: petef 
Responsible-Changed-When: Tue Mar 26 00:04:20 PST 2002 
Responsible-Changed-Why:  
Over to maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36146 

From: Joe Marcus Clarke <marcus@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, marck@rinet.ru
Cc:  
Subject: Re: ports/36146: imlib-1.9.13 does not install headers
Date: 06 Apr 2002 18:02:48 -0500

 --=-yVA3pO1jNNqYLiN+uyLb
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 
 When I installed imlib-1.9.14, I have these files installed:
 
 /usr/X11R6/include/gdk_imlib.h
 /usr/X11R6/include/gdk_imlib_private.h
 /usr/X11R6/include/gdk_imlib_types.h
 /usr/X11R6/lib/libgdk_imlib.so.5
 /usr/X11R6/lib/libgdk_imlib.so
 /usr/X11R6/lib/libgdk_imlib.a
 
 All ports requiring imlib seem to build just fine.  Can you give me an
 example port which does not?  Thanks.
 
 Joe
 
 
 
 --=-yVA3pO1jNNqYLiN+uyLb
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.6 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iEYEABECAAYFAjyvfpgACgkQb2iPiv4Uz4fx2gCfd5PxdeTqAH7CkmK5DPI4fzWs
 olQAnR/jowmNs2YyqIIy9wkCOSyH4JfG
 =r2r5
 -----END PGP SIGNATURE-----
 
 --=-yVA3pO1jNNqYLiN+uyLb--
 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Apr 14 15:31:38 PDT 2002 
State-Changed-Why:  
Timeout from submitter.  The problem is not reproduceable on any of  
my -stable or -CURRENT systems with the latest version of imlib. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36146 
>Unformatted:
