Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/math/gnumeric112/Makefile 2017/02/12 06:25:42 1.33 +++ pkgsrc/math/gnumeric112/Makefile 2022/04/18 19:11:35 1.78 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.33 2017/02/12 06:25:42 ryoon Exp $ +# $NetBSD: Makefile,v 1.78 2022/04/18 19:11:35 adam Exp $ -DISTNAME= gnumeric-1.12.23 +DISTNAME= gnumeric-1.12.48 PKGREVISION= 4 CATEGORIES= math gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnumeric/1.12/} @@ -11,46 +11,43 @@ HOMEPAGE= http://www.gnumeric.org/ COMMENT= Spreadsheet program from the GNOME project LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 -USE_TOOLS+= gmake intltool msgfmt perl:run pkg-config +DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3 + USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes +USE_TOOLS+= gmake intltool msgfmt perl:run pkg-config yacc +USE_TOOLS+= itstool GNU_CONFIGURE= yes PKGCONFIG_OVERRIDE= libspreadsheet.pc.in REPLACE_PERL+= plugins/perl-func/perl_func.pl +REPLACE_PERL+= test/*.pl -# PLIST contains versioned directory -#GOFFICE_VERSION= 0.10.0 -#PLIST_SUBST+= GOFFICE_VERSION=${GOFFICE_VERSION} +PYTHON_VERSIONS_INCOMPATIBLE= 27 -.include "options.mk" +# needs a DISPLAY +TEST_TARGET= check -CONFIGURE_ARGS+= --with-python -CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} -PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 1.12.9 -.include "../../lang/python/application.mk" -.include "../../devel/py-gobject3/buildlink3.mk" +.include "options.mk" -#CONFIGURE_ARGS+= --with-gnome +CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} .include "../../devel/glib2/schemas.mk" -# XXX: that version's not in pkgsrc yet -#BUILDLINK_API_DEPENDS.libgda+= libgda>=3.1.1 +# also needs libgda-ui, currently not in pkgsrc +#BUILDLINK_API_DEPENDS.libgda+= libgda>=5.0 #.include "../../databases/libgda/buildlink3.mk" -#.include "../../databases/libgnomedb/buildlink3.mk" -BUILDLINK_API_DEPENDS.libgsf+= libgsf>=1.14.32 +BUILDLINK_API_DEPENDS.libgsf+= libgsf>=1.14.33 .include "../../devel/libgsf/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/py-gobject3-common/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../lang/perl5/buildlink3.mk" -BUILDLINK_API_DEPENDS.goffice0.10+= goffice0.10>=0.10.23 +BUILDLINK_API_DEPENDS.goffice0.10+= goffice0.10>=0.10.46 .include "../../misc/goffice0.10/buildlink3.mk" -BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.4.12 .include "../../textproc/libxml2/buildlink3.mk" -.include "../../mk/omf-scrollkeeper.mk" BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.8.7 .include "../../x11/gtk3/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" - +.include "../../lang/python/pyversion.mk" .include "../../mk/bsd.pkg.mk"