Subject: pkg/18188: Update devel/libglade2 to 2.0.1
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 09/05/2002 22:13:28
>Number: 18188
>Category: pkg
>Synopsis: Update devel/libglade2 to 2.0.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Sep 05 13:12:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Julio Merino
>Release: NetBSD 1.6G
>Organization:
HispaBSD
>Environment:
System: NetBSD darkstar 1.6G NetBSD 1.6G (DARKSTAR) #10: Wed Sep 4 15:25:12 CEST 2002 jmmv@darkstar:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
The package devel/libglade2 is now 2.0.0, which corresponds to
Gnome 2.0.0 development platform. This patch updates the package
to libglade 2.0.1, which is used in Gnome 2.0.1.
The patch also applies the buildlink2 stuff to the build process.
There is also an attached buildlink2.mk file, which is currently
missing.
>How-To-Repeat:
>Fix:
Here is the new buildlink2.mk file:
# $NetBSD$
.if !defined(LIBGLADE2_BUILDLINK2_MK)
LIBGLADE2_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= libglade2
BUILDLINK_DEPENDS.libglade2?= libglade2>=2.0.1
BUILDLINK_PKGSRCDIR.libglade2?= ../../devel/libglade2
EVAL_PREFIX+= BUILDLINK_PREFIX.libglade2=libglade2
BUILDLINK_PREFIX.libglade2_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.libglade2= include/libglade-2.0/glade/*
BUILDLINK_FILES.libglade2+= lib/libglade-2.0.*
BUILDLINK_FILES.libglade2+= lib/pkgconfig/libglade-2.0.pc
CPPFLAGS+= -I${BUILDLINK_DIR}/include/libglade-2.0
.include "../../textproc/libxml2/buildlink2.mk"
.include "../../x11/gtk2/buildlink2.mk"
BUILDLINK_TARGETS+= libglade2-buildlink
libglade2-buildlink: _BUILDLINK_USE
.endif # LIBGLADE2_BUILDLINK2_MK
And here is the patch to update the package:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libglade2/Makefile,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 Makefile
--- Makefile 2002/07/12 17:33:14 1.1.1.1
+++ Makefile 2002/09/05 20:07:52
@@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.1.1.1 2002/07/12 17:33:14 wiz Exp $
#
-DISTNAME= libglade-2.0.0
-PKGNAME= libglade2-2.0.0
+DISTNAME= libglade-2.0.1
+PKGNAME= libglade2-2.0.1
CATEGORIES= devel gnome
-MASTER_SITES= ${MASTER_SITE_GNOME:=2.0.0/sources/libglade/}
+MASTER_SITES= ${MASTER_SITE_GNOME:=2.0.1/sources/libglade/}
MAINTAINER= jmmv@hispabsd.org
HOMEPAGE= http://www.daa.com.au/~james/gnome/
@@ -12,12 +12,12 @@
BUILD_USES_MSGFMT= YES
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
USE_X11BASE= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
-.include "../../textproc/libxml2/buildlink.mk"
-.include "../../x11/gtk2/buildlink.mk"
+.include "../../textproc/libxml2/buildlink2.mk"
+.include "../../x11/gtk2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libglade2/PLIST,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 PLIST
--- PLIST 2002/07/12 17:33:14 1.1.1.1
+++ PLIST 2002/09/05 20:07:52
@@ -8,7 +8,7 @@
lib/libglade-2.0.la
lib/libglade-2.0.so
lib/libglade-2.0.so.0
-lib/libglade-2.0.so.0.0
+lib/libglade-2.0.so.0.1
lib/pkgconfig/libglade-2.0.pc
share/gtk-doc/html/libglade/gladexml.html
share/gtk-doc/html/libglade/libglade-dtd-exceptions.html
@@ -27,5 +27,6 @@
@dirrm share/xml/libglade
@unexec ${RMDIR} %D/share/xml 2>/dev/null || true
@dirrm share/gtk-doc/html/libglade
+@unexec ${RMDIR} %D/share/gtk-doc/html 2>/dev/null || true
@dirrm include/libglade-2.0/glade
@dirrm include/libglade-2.0
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libglade2/distinfo,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 distinfo
--- distinfo 2002/07/12 17:33:14 1.1.1.1
+++ distinfo 2002/09/05 20:07:52
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2002/07/12 17:33:14 wiz Exp $
-SHA1 (libglade-2.0.0.tar.gz) = 73aa032f89a012f0727ebe1379148a9c0a1c3d70
-Size (libglade-2.0.0.tar.gz) = 353683 bytes
+SHA1 (libglade-2.0.1.tar.gz) = 15197752962c8b12efd4a2832d78c3577d11ffea
+Size (libglade-2.0.1.tar.gz) = 354841 bytes
SHA1 (patch-aa) = daa85a2941cd4900139dda63f4e9b62aa3c2a7ed
>Release-Note:
>Audit-Trail:
>Unformatted: