Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,13 +1,12 @@
# $NetBSD: Makefile,v 1.19 2014/01/02 12:19:00 obache Exp $
#
# $NetBSD: Makefile,v 1.23 2015/03/13 11:21:39 prlw1 Exp $
DISTNAME= json-glib-0.16.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/json-glib/0.16/}
DISTNAME= json-glib-1.0.2
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/json-glib/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://live.gnome.org/JsonGlib
HOMEPAGE= https://wiki.gnome.org/Projects/JsonGlib
COMMENT= JSON parser for GLib-based libraries and applications
LICENSE= gnu-lgpl-v2.1
@@ -15,10 +14,21 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake msgfmt msgmerge pkg-config xgettext
CONFIGURE_ARGS+= --disable-man
PKGCONFIG_OVERRIDE+= json-glib.pc.in
TEST_TARGET= check
.include "options.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.34.0
PRINT_PLIST_AWK+= \
($$0 ~ /^lib\/girepository-1.0\//) || \
($$0 ~ /^share\/gir-1.0\//) \
{ $$0 = "$${PLIST.introspection}" $$0; } \
($$0 ~ /^${PKGLOCALEDIR:S|/|\/|g}\/locale\//) \
{ $$0 = "$${PLIST.nls}" $$0; }
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.38.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,4 +1,6 @@
@comment $NetBSD: PLIST,v 1.7 2013/04/21 14:04:20 rodent Exp $
@comment $NetBSD: PLIST,v 1.8 2014/04/20 09:36:29 obache Exp $
bin/json-glib-format
bin/json-glib-validate
include/json-glib-1.0/json-glib/json-builder.h
include/json-glib-1.0/json-glib/json-enum-types.h
include/json-glib-1.0/json-glib/json-generator.h
@@ -9,6 +11,7 @@ include/json-glib-1.0/json-glib/json-parser.h
include/json-glib-1.0/json-glib/json-path.h
include/json-glib-1.0/json-glib/json-reader.h
include/json-glib-1.0/json-glib/json-types.h
include/json-glib-1.0/json-glib/json-version-macros.h
include/json-glib-1.0/json-glib/json-version.h
${PLIST.introspection}lib/girepository-1.0/Json-1.0.typelib
lib/libjson-glib-1.0.la
@@ -23,7 +26,7 @@ share/gtk-doc/html/json-glib/annotation-glossary.html
share/gtk-doc/html/json-glib/ch01.html
share/gtk-doc/html/json-glib/ch02.html
share/gtk-doc/html/json-glib/ch03.html
share/gtk-doc/html/json-glib/ch04.html
share/gtk-doc/html/json-glib/ch05.html
share/gtk-doc/html/json-glib/home.png
share/gtk-doc/html/json-glib/index.html
share/gtk-doc/html/json-glib/index.sgml
@@ -37,6 +40,7 @@ share/gtk-doc/html/json-glib/ix07.html
share/gtk-doc/html/json-glib/ix08.html
share/gtk-doc/html/json-glib/json-advanced.html
share/gtk-doc/html/json-glib/json-base.html
share/gtk-doc/html/json-glib/json-format-tool.html
share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html
share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html
share/gtk-doc/html/json-glib/json-glib-JSON-Array.html
@@ -49,10 +53,15 @@ share/gtk-doc/html/json-glib/json-glib.devhelp2
share/gtk-doc/html/json-glib/json-glib.html
share/gtk-doc/html/json-glib/json-streams.html
share/gtk-doc/html/json-glib/json-tools.html
share/gtk-doc/html/json-glib/json-validate-tool.html
share/gtk-doc/html/json-glib/left-insensitive.png
share/gtk-doc/html/json-glib/left.png
share/gtk-doc/html/json-glib/license.html
share/gtk-doc/html/json-glib/right-insensitive.png
share/gtk-doc/html/json-glib/right.png
share/gtk-doc/html/json-glib/style.css
share/gtk-doc/html/json-glib/tools.html
share/gtk-doc/html/json-glib/up-insensitive.png
share/gtk-doc/html/json-glib/up.png
${PLIST.nls}share/locale/as/LC_MESSAGES/json-glib-1.0.mo
${PLIST.nls}share/locale/bg/LC_MESSAGES/json-glib-1.0.mo
@@ -69,7 +78,9 @@ ${PLIST.nls}share/locale/es/LC_MESSAGES/json-glib-1.0.mo
${PLIST.nls}share/locale/et/LC_MESSAGES/json-glib-1.0.mo
${PLIST.nls}share/locale/eu/LC_MESSAGES/json-glib-1.0.mo
${PLIST.nls}share/locale/fr/LC_MESSAGES/json-glib-1.0.mo
${PLIST.nls}share/locale/fur/LC_MESSAGES/json-glib-1.0.mo
${PLIST.nls}share/locale/gl/LC_MESSAGES/json-glib-1.0.mo
${PLIST.nls}share/locale/he/LC_MESSAGES/json-glib-1.0.mo
${PLIST.nls}share/locale/hi/LC_MESSAGES/json-glib-1.0.mo
${PLIST.nls}share/locale/hu/LC_MESSAGES/json-glib-1.0.mo
${PLIST.nls}share/locale/id/LC_MESSAGES/json-glib-1.0.mo

View File

@@ -1,5 +1,7 @@
$NetBSD: distinfo,v 1.12 2014/01/02 12:19:00 obache Exp $
$NetBSD: distinfo,v 1.14 2015/03/13 11:21:39 prlw1 Exp $
SHA1 (json-glib-0.16.2.tar.xz) = a67e1f0d5a3cc5c96e999ddb24c75c6ca21d8252
RMD160 (json-glib-0.16.2.tar.xz) = f6ddacdd58846ea65b99cbd18eb4943f6a66019b
Size (json-glib-0.16.2.tar.xz) = 506640 bytes
SHA1 (json-glib-1.0.2.tar.xz) = 17de45d0be56910dcaef62712e95626d7989ee52
RMD160 (json-glib-1.0.2.tar.xz) = f80ecfdd7f6a0f8fa2dd8f5cdf704a301582bad5
Size (json-glib-1.0.2.tar.xz) = 550340 bytes
SHA1 (patch-build_autotools_glibtests.m4) = 4400f8f35f9dbd39835474fa11641192e845adcf
SHA1 (patch-configure) = 87150c39ebeb5083168275eeab4d855c7dc6fcf1

View File

@@ -1,8 +1,8 @@
# $NetBSD: options.mk,v 1.3 2014/01/02 12:19:00 obache Exp $
# $NetBSD: options.mk,v 1.4 2014/04/20 09:32:57 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.json-glib
PKG_SUPPORTED_OPTIONS= introspection nls tests
PKG_SUGGESTED_OPTIONS+= introspection nls tests
PKG_SUPPORTED_OPTIONS= introspection nls
PKG_SUGGESTED_OPTIONS+= introspection nls
PLIST_VARS+= introspection nls
.include "../../mk/bsd.options.mk"
@@ -24,9 +24,3 @@ PLIST.nls= yes
.else
CONFIGURE_ARGS+= --disable-nls
.endif
.if !empty(PKG_OPTIONS:Mtests)
TEST_TARGET= check
.else
CONFIGURE_ARGS+= --disable-glibtest
.endif

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-build_autotools_glibtests.m4,v 1.2 2015/03/13 11:21:39 prlw1 Exp $
* test(1) portability fix
https://bugzilla.gnome.org/show_bug.cgi?id=746143
--- build/autotools/glibtests.m4.orig 2013-11-22 17:36:08.000000000 +0000
+++ build/autotools/glibtests.m4
@@ -21,7 +21,7 @@ AC_DEFUN([GLIB_TESTS],
*) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;;
esac])
AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1")
- if test "$ENABLE_INSTALLED_TESTS" == "1"; then
+ if test "$ENABLE_INSTALLED_TESTS" = "1"; then
AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME)
AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME)
fi

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-configure,v 1.2 2015/03/13 11:21:39 prlw1 Exp $
* test(1) portability fix
https://bugzilla.gnome.org/show_bug.cgi?id=746143
--- configure.orig 2014-04-20 08:58:47.000000000 +0000
+++ configure
@@ -12430,7 +12430,7 @@ else
ENABLE_ALWAYS_BUILD_TESTS_FALSE=
fi
- if test "$ENABLE_INSTALLED_TESTS" == "1"; then
+ if test "$ENABLE_INSTALLED_TESTS" = "1"; then
installed_test_metadir=${datadir}/installed-tests/json-glib
installed_testdir=${libexecdir}/installed-tests/json-glib