pkgsrc/net/libsoup/Makefile

57 lines
1.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.24 2016/04/11 19:01:37 ryoon Exp $
DISTNAME= libsoup-2.52.2
PKGREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsoup/2.52/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= HTTP library implementation in C
LICENSE= gnu-lgpl-v2
USE_TOOLS+= pkg-config gmake intltool msgfmt
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
# XXX work around botched gettext check (ignores libintl)
CONFIGURE_ENV+= DATADIRNAME=share
Update net/libsoup to 2.53.2. Changes: Changes in libsoup from 2.53.1 to 2.53.2: * Fixed up symbol visibility handling for mingw by copying GLib's system [Ignacio Casal Quinteiro, #757146] * Finally marked the old SoupSessionAsync and SoupSessionSync methods as deprecated [Ignacio Casal Quinteiro, Dan Winship, #757146] * Added libsoup-2.4.deps for valac [Rico Tzschichholz] * Make it possible to build from git without gtk-doc being installed [Ignacio Casal Quinteiro] * Updated translations: Norwegian bokmål, Occitan Changes in libsoup from 2.52.1 to 2.53.1: * Really fixed build under MinGW for sure this time [Ignacio Casal Quinteiro] * Fixed SoupServer Web Sockets code so that the SoupClientContext passed to a SoupServerWebsocketCallback is fully usable (rather than crashing when you try to do most things). Changes in libsoup from 2.52.0 to 2.52.1: * Fixed build under MinGW [Chun-wei Fan] * Fixed build with --disable-introspection [#755389, Quentin Glidic] * Fixed HTTP authentication protection space handling for files directly under the root directory. [#755617, Carlos Garcia Campos] * Fixed a warning when loading data from SoupCache while using an authenticated proxy. [#756076, Carlos Garcia Campos] * Updated translations: German, Vietnamese Changes in libsoup from 2.51.92 to 2.52.0: * Removed duplicate test paths from tests/date so it will pass with glib 2.46.0 Changes in libsoup from 2.51.90 to 2.51.92: * Added g_autoptr() support for all libsoup types. [#754721, Kalev Lember] * Added a missing (allow-none) annotation to soup_uri_normalize() [#754776, Jens Georg] * Updated translations: Polish Changes in libsoup from 2.51.3 to 2.51.90: * Added a new GVariant-based XMLRPC API, and deprecated the old GValue-based API (along with the associated GValue-manipulating utilities). [#746495, Xavier Claessens] * Multiple build fixes for Visual Studio [#752952, Chun-wei Fan] * Added VAPI generation [#750679, Daniel Espinosa] * Fixed the mode bits on soup-cookie.c, which was previously marked executable for some reason. [rh #1247285] * Updated translations: Norwegian bokmål, Portuguese, Thai, Turkish Changes in libsoup from 2.50.0 to 2.51.3: * Fixed "make check" in non-English locales [rh #1224989, #749397] * Fixed some compiler warnings [#748514, Philip Withnall] * New/Updated translations: Aragonese, Catalan, Occitan, Russian
2016-01-04 15:24:31 +01:00
# XXX: disable Vala bindings otherwise the configure phase fails because is not
# XXX: able to find vapigen.
CONFIGURE_ARGS+= --enable-vala=no
DEPENDS+= glib-networking-[0-9]*:../../net/glib-networking
PKGCONFIG_OVERRIDE+= libsoup-2.4.pc.in
Update net/libsoup to 2.53.2. Changes: Changes in libsoup from 2.53.1 to 2.53.2: * Fixed up symbol visibility handling for mingw by copying GLib's system [Ignacio Casal Quinteiro, #757146] * Finally marked the old SoupSessionAsync and SoupSessionSync methods as deprecated [Ignacio Casal Quinteiro, Dan Winship, #757146] * Added libsoup-2.4.deps for valac [Rico Tzschichholz] * Make it possible to build from git without gtk-doc being installed [Ignacio Casal Quinteiro] * Updated translations: Norwegian bokmål, Occitan Changes in libsoup from 2.52.1 to 2.53.1: * Really fixed build under MinGW for sure this time [Ignacio Casal Quinteiro] * Fixed SoupServer Web Sockets code so that the SoupClientContext passed to a SoupServerWebsocketCallback is fully usable (rather than crashing when you try to do most things). Changes in libsoup from 2.52.0 to 2.52.1: * Fixed build under MinGW [Chun-wei Fan] * Fixed build with --disable-introspection [#755389, Quentin Glidic] * Fixed HTTP authentication protection space handling for files directly under the root directory. [#755617, Carlos Garcia Campos] * Fixed a warning when loading data from SoupCache while using an authenticated proxy. [#756076, Carlos Garcia Campos] * Updated translations: German, Vietnamese Changes in libsoup from 2.51.92 to 2.52.0: * Removed duplicate test paths from tests/date so it will pass with glib 2.46.0 Changes in libsoup from 2.51.90 to 2.51.92: * Added g_autoptr() support for all libsoup types. [#754721, Kalev Lember] * Added a missing (allow-none) annotation to soup_uri_normalize() [#754776, Jens Georg] * Updated translations: Polish Changes in libsoup from 2.51.3 to 2.51.90: * Added a new GVariant-based XMLRPC API, and deprecated the old GValue-based API (along with the associated GValue-manipulating utilities). [#746495, Xavier Claessens] * Multiple build fixes for Visual Studio [#752952, Chun-wei Fan] * Added VAPI generation [#750679, Daniel Espinosa] * Fixed the mode bits on soup-cookie.c, which was previously marked executable for some reason. [rh #1247285] * Updated translations: Norwegian bokmål, Portuguese, Thai, Turkish Changes in libsoup from 2.50.0 to 2.51.3: * Fixed "make check" in non-English locales [rh #1224989, #749397] * Fixed some compiler warnings [#748514, Philip Withnall] * New/Updated translations: Aragonese, Catalan, Occitan, Russian
2016-01-04 15:24:31 +01:00
PKGCONFIG_OVERRIDE+= libsoup-gnome-2.4.pc.in
TEST_TARGET= check
# gcc>=4.2 specific -Werror=XXX flags will be added unconditionally.
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4.[01].*) || !empty(CC_VERSION:Mgcc-[1-3].*)
CONFIGURE_ARGS+= --disable-more-warnings
.endif
.if !empty(PKGSRC_COMPILER:Mclang)
_WRAP_EXTRA_ARGS.CC+= -Wno-error=format-nonliteral
CWRAPPERS_APPEND.cc+= -Wno-error=format-nonliteral
.endif
REPLACE_PYTHON= libsoup/tld-parser.py
PYTHON_FOR_BUILD_ONLY= yes
.include "../../lang/python/application.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
Update net/libsoup to 2.53.2. Changes: Changes in libsoup from 2.53.1 to 2.53.2: * Fixed up symbol visibility handling for mingw by copying GLib's system [Ignacio Casal Quinteiro, #757146] * Finally marked the old SoupSessionAsync and SoupSessionSync methods as deprecated [Ignacio Casal Quinteiro, Dan Winship, #757146] * Added libsoup-2.4.deps for valac [Rico Tzschichholz] * Make it possible to build from git without gtk-doc being installed [Ignacio Casal Quinteiro] * Updated translations: Norwegian bokmål, Occitan Changes in libsoup from 2.52.1 to 2.53.1: * Really fixed build under MinGW for sure this time [Ignacio Casal Quinteiro] * Fixed SoupServer Web Sockets code so that the SoupClientContext passed to a SoupServerWebsocketCallback is fully usable (rather than crashing when you try to do most things). Changes in libsoup from 2.52.0 to 2.52.1: * Fixed build under MinGW [Chun-wei Fan] * Fixed build with --disable-introspection [#755389, Quentin Glidic] * Fixed HTTP authentication protection space handling for files directly under the root directory. [#755617, Carlos Garcia Campos] * Fixed a warning when loading data from SoupCache while using an authenticated proxy. [#756076, Carlos Garcia Campos] * Updated translations: German, Vietnamese Changes in libsoup from 2.51.92 to 2.52.0: * Removed duplicate test paths from tests/date so it will pass with glib 2.46.0 Changes in libsoup from 2.51.90 to 2.51.92: * Added g_autoptr() support for all libsoup types. [#754721, Kalev Lember] * Added a missing (allow-none) annotation to soup_uri_normalize() [#754776, Jens Georg] * Updated translations: Polish Changes in libsoup from 2.51.3 to 2.51.90: * Added a new GVariant-based XMLRPC API, and deprecated the old GValue-based API (along with the associated GValue-manipulating utilities). [#746495, Xavier Claessens] * Multiple build fixes for Visual Studio [#752952, Chun-wei Fan] * Added VAPI generation [#750679, Daniel Espinosa] * Fixed the mode bits on soup-cookie.c, which was previously marked executable for some reason. [rh #1247285] * Updated translations: Norwegian bokmål, Portuguese, Thai, Turkish Changes in libsoup from 2.50.0 to 2.51.3: * Fixed "make check" in non-English locales [rh #1224989, #749397] * Fixed some compiler warnings [#748514, Philip Withnall] * New/Updated translations: Aragonese, Catalan, Occitan, Russian
2016-01-04 15:24:31 +01:00
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.38.0
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5
BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
CONFIGURE_ARGS+= --enable-introspection
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"