commit
a325dc1921
@ -0,0 +1,57 @@
|
||||
This file is part of MXE.
|
||||
See index.html for further information.
|
||||
|
||||
diff -Naur libsoup-2.54.0.1.orig/autogen.sh libsoup-2.54.0.1/autogen.sh
|
||||
--- libsoup-2.54.0.1.orig/autogen.sh 2016-03-23 15:19:17.000000000 +0300
|
||||
+++ libsoup-2.54.0.1/autogen.sh 2016-04-09 18:29:05.799748895 +0300
|
||||
@@ -19,13 +19,6 @@
|
||||
exit 1
|
||||
fi
|
||||
|
||||
-GTKDOCIZE=`which gtkdocize`
|
||||
-if test -z $GTKDOCIZE; then
|
||||
- echo "*** No GTK-Doc found, please install it ***"
|
||||
- exit 1
|
||||
-fi
|
||||
-
|
||||
-gtkdocize || exit $?
|
||||
intltoolize --automake --copy
|
||||
autoreconf --force --install --verbose
|
||||
|
||||
diff -Naur libsoup-2.54.0.1.orig/docs/reference/Makefile.am libsoup-2.54.0.1/docs/reference/Makefile.am
|
||||
--- libsoup-2.54.0.1.orig/docs/reference/Makefile.am 2016-03-23 15:19:17.000000000 +0300
|
||||
+++ libsoup-2.54.0.1/docs/reference/Makefile.am 2016-04-09 18:30:33.644569273 +0300
|
||||
@@ -77,7 +77,6 @@
|
||||
$(GLIB_LIBS)
|
||||
|
||||
# include common portion ...
|
||||
-include $(top_srcdir)/gtk-doc.make
|
||||
|
||||
# kludges
|
||||
$(srcdir)/tmpl/*.sgml:
|
||||
diff -Naur libsoup-2.54.0.1.orig/Makefile.am libsoup-2.54.0.1/Makefile.am
|
||||
--- libsoup-2.54.0.1.orig/Makefile.am 2016-03-23 15:19:17.000000000 +0300
|
||||
+++ libsoup-2.54.0.1/Makefile.am 2016-04-09 22:41:40.604386782 +0300
|
||||
@@ -1,7 +1,7 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||
|
||||
-SUBDIRS = libsoup po tests examples docs build/win32
|
||||
+SUBDIRS = libsoup tests docs build/win32
|
||||
|
||||
EXTRA_DIST = \
|
||||
data/effective_tld_names.dat \
|
||||
diff -Naur libsoup-2.54.0.1.orig/tests/test-utils.c libsoup-2.54.0.1/tests/test-utils.c
|
||||
--- libsoup-2.54.0.1.orig/tests/test-utils.c 2016-03-23 15:19:17.000000000 +0300
|
||||
+++ libsoup-2.54.0.1/tests/test-utils.c 2016-04-09 18:31:51.741646290 +0300
|
||||
@@ -215,10 +215,6 @@
|
||||
return;
|
||||
apache_running = FALSE;
|
||||
|
||||
- if (pid) {
|
||||
- while (kill (pid, 0) == 0)
|
||||
- g_usleep (100);
|
||||
- }
|
||||
}
|
||||
|
||||
#endif /* HAVE_APACHE */
|
@ -0,0 +1,17 @@
|
||||
/*
|
||||
* This file is part of MXE.
|
||||
* See index.html for further information.
|
||||
*/
|
||||
|
||||
#include <libsoup/soup.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
SoupServer *server;
|
||||
GError *error;
|
||||
|
||||
server = soup_server_new (SOUP_SERVER_SERVER_HEADER, "simple-httpd ", SOUP_SERVER_TLS_CERTIFICATE, NULL, NULL);
|
||||
soup_server_listen_all (server, 1234, SOUP_SERVER_LISTEN_HTTPS, &error);
|
||||
|
||||
return 0;
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := libsoup
|
||||
$(PKG)_IGNORE := libsoup-pre%
|
||||
$(PKG)_VERSION := 2.54.0.1
|
||||
$(PKG)_APIVER := 2.4
|
||||
$(PKG)_CHECKSUM := b466c68e6575ca5ed170da60cc316c562a96db5dba5345a6043f740201afa8f4
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := https://github.com/GNOME/$(PKG)/archive/$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_DEPS := gcc glib libxml2 sqlite
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(call MXE_GET_GITHUB_TAGS, GNOME/libsoup)
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && \
|
||||
NOCONFIGURE=1 \
|
||||
ACLOCAL_FLAGS=-I'$(PREFIX)/$(TARGET)/share/aclocal' \
|
||||
./autogen.sh
|
||||
cd '$(1)' && ./configure \
|
||||
$(MXE_CONFIGURE_OPTS) \
|
||||
--disable-vala
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1)' -j 1 install
|
||||
|
||||
$(TARGET)-gcc \
|
||||
-W -Wall -Werror -ansi \
|
||||
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
|
||||
`$(TARGET)-pkg-config $(PKG)-$($(PKG)_APIVER) --cflags --libs`
|
||||
endef
|
Loading…
Reference in new issue