glib2: update to 2.58.1 7276/head
authorPeter Wagner <tripolar@gmx.at>
Sun, 28 Oct 2018 15:56:11 +0000 (16:56 +0100)
committerPeter Wagner <tripolar@gmx.at>
Sun, 28 Oct 2018 15:56:11 +0000 (16:56 +0100)
Signed-off-by: Peter Wagner <tripolar@gmx.at>
libs/glib2/Makefile
libs/glib2/patches/001-automake-compat.patch

index 3f1d014482e08c9536ff5cdd4c611fdebec4f3d1..e69cc782c9566f9f10d767b0dacaaeaebe2bb542 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=glib2
-PKG_VERSION:=2.56.1
-PKG_RELEASE:=1
+PKG_VERSION:=2.58.1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
 PKG_BUILD_DIR:=$(BUILD_DIR)/glib-$(PKG_VERSION)
-PKG_SOURCE_URL:=@GNOME/glib/2.56
-PKG_HASH:=40ef3f44f2c651c7a31aedee44259809b6f03d3d20be44545cd7d177221c0b8d
+PKG_SOURCE_URL:=@GNOME/glib/2.58
+PKG_HASH:=97d6a9d926b6aa3dfaadad3077cfb43eec74432ab455dff14250c769d526d7d6
 
 PKG_BUILD_PARALLEL:=1
 HOST_BUILD_PARALLEL:=1
@@ -44,19 +44,23 @@ define Package/glib2/description
   The GLib library of C routines
 endef
 
+TARGET_CFLAGS += -Wno-error=implicit-function-declaration
+
 HOST_CONFIGURE_ARGS += \
        --disable-selinux \
        --with-libiconv=gnu \
        --with-pcre=internal \
-       --enable-libmount=no
+       --disable-libmount
 
 CONFIGURE_ARGS += \
        --enable-shared \
        --enable-static \
-       --enable-debug=no \
+       --disable-debug \
        --disable-selinux \
-       --enable-libmount=no \
+       --disable-libmount \
        --disable-fam \
+       --disable-gtk-doc-html \
+       --disable-man \
        --with-libiconv=gnu \
        --with-pcre=internal
 
@@ -69,6 +73,11 @@ CONFIGURE_VARS += \
        ac_cv_func_posix_getgrgid_r=yes
 
 define Build/InstallDev
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(CP) \
+               $(PKG_INSTALL_DIR)/usr/bin/* \
+               $(1)/usr/bin/
+
        $(INSTALL_DIR) $(1)/usr/include
        $(CP) \
                $(PKG_INSTALL_DIR)/usr/include/glib-2.0 \
index 0b510675a42870935e8d7d89725b089f5341f87e..dec6f3c9ece8b87ecf0eafdb217ac655aa36a333 100644 (file)
@@ -1,11 +1,8 @@
---- a/gtk-doc.make
+diff --git a/gtk-doc.make b/gtk-doc.make
+new file mode 100644
+index 0000000..14f18fd
+--- /dev/null
 +++ b/gtk-doc.make
-@@ -298,7 +298,7 @@ uninstall-local:
- #
- # Require gtk-doc when making dist
- #
--if HAVE_GTK_DOC
-+if ENABLE_GTK_DOC
- dist-check-gtkdoc: docs
- else
- dist-check-gtkdoc:
+@@ -0,0 +1,2 @@
++EXTRA_DIST =
++CLEANFILES =