pkgsrc/devel/libglade/Makefile

54 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.41 2002/10/05 04:10:03 rh Exp $
#
DISTNAME= libglade-0.17
PKGREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/libglade/}
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.daa.com.au/~james/gnome/
COMMENT= Runtime interpreter for GLADE gui files
BUILD_USES_MSGFMT= YES
2002-09-06 14:09:08 +02:00
USE_BUILDLINK2= YES
USE_X11BASE= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
Update libglade to 0.11 Changes include: - remove patches/patch-aa thanks to LTCONFIG_OVERRIDE * libglade-0.11: 5-December-1999 - fixed some more problems that would cause segfaults on some errors. - added support for GtkCalendar and GtkInputDialog. - added assertions to some functions to try to pick up more runtime errors. * libglade-0.9: 20-November-1999 - don't crash when creating a GtkPixmap widget if the pixmap file couldn't be found, or the pixmap file was corrupt. - fixed bug with setting the window policy. If you were using libglade-0.8 and found you could not resize windows correctly, then this bug should now be fixed. * libglade-0.8: 16-November-1999 - fixed mem leak in the GtkLabel and GtkAccelLabel creation routines. Also recognise the wrap property of these widgets. - fixed the code for removing placeholders in the tree, so it actually works. - fixed the i18n stuff so it doesn't translate empty strings. - take notice of more of the settings on GnomeDruidPageStandard's. - don't depend on internal libxml structures. This means that libxml 1.7.2 or greater is required, but libglade will be less likely to break if Daniel changes the internal structures. - fixed recognition of GNOME_STOCK_PIXMAP_EXIT. - some justification fixes for some menu items. - correctly name GnomeDockItems - be more consistent with setting the properties of toplevel windows. Also added support for the modal and default_width/default_height properties. - test-libglade.c is now dual licenced under GPL and X style licence. This clears up any problems with creating a non GPL/LGPL'd application using test-libglade as a starting point.
2000-01-01 14:36:43 +01:00
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
. include "../../databases/db/buildlink2.mk"
CPPFLAGS+= -I${BUILDLINK_PREFIX.db}/include/db2
.endif
DISPLAY?= # empty if unset
checkforx:
.if ${DISPLAY}=="" || ${DISPLAY_OK:!${X11BASE}/bin/xdpyinfo >/dev/null 2>&1 && echo YES || echo NO!} == "NO"
.if exists(${X11BASE}/bin/Xvfb)
-${SETENV} XAUTHORITY= ${X11BASE}/bin/Xvfb :2 &
DISPLAY= ':2'
.else
@${ECHO} "Error: Environment variable DISPLAY must be set"
@${ECHO} " and point to a connectible X server."
@${FALSE}
.endif # Xvfb
.endif # DISPLAY
MAKE_ENV+= DISPLAY=${DISPLAY}
pre-configure:
${RM} ${WRKSRC}/libgladeConf.sh
pre-build: checkforx
2002-09-06 14:09:08 +02:00
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../textproc/libxml/buildlink2.mk"
.include "../../x11/gnome-libs/buildlink2.mk"
.include "../../audio/esound/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"