pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/glib2



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Aug  1 17:43:25 UTC 2018

Modified Files:
        pkgsrc/devel/glib2: Makefile.common distinfo
        pkgsrc/devel/glib2/patches: patch-aa

Log Message:
glib2: Update workaround for older Darwin releases.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/devel/glib2/Makefile.common
cvs rdiff -u -r1.233 -r1.234 pkgsrc/devel/glib2/distinfo
cvs rdiff -u -r1.60 -r1.61 pkgsrc/devel/glib2/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/glib2/Makefile.common
diff -u pkgsrc/devel/glib2/Makefile.common:1.64 pkgsrc/devel/glib2/Makefile.common:1.65
--- pkgsrc/devel/glib2/Makefile.common:1.64     Wed Jul  4 13:40:14 2018
+++ pkgsrc/devel/glib2/Makefile.common  Wed Aug  1 17:43:25 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.64 2018/07/04 13:40:14 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.65 2018/08/01 17:43:25 jperkin Exp $
 #
 # used by devel/glib2/Makefile
 # used by devel/gdbus-codegen/Makefile
@@ -65,27 +65,6 @@ SUBST_SED.thr+=              -e "s|@G_THREAD_LIBS_FO
 SUBST_MESSAGE.thr=     Fixing libgthread.
 .endif
 
-# glib-2.48.0 dropped support for OSX < 10.9.0 just to add notification
-# support, so we just disable that feature for older releases, and work
-# around some ObjC detection.
-.if !empty(MACHINE_PLATFORM:MDarwin-[0-9].*) || \
-    !empty(MACHINE_PLATFORM:MDarwin-1[012].*)
-SUBST_CLASSES+=                gcocoa
-SUBST_STAGE.gcocoa=    pre-configure
-SUBST_FILES.gcocoa=    configure
-SUBST_FILES.gcocoa+=   gio/Makefile.in gio/giomodule.c
-SUBST_SED.gcocoa=      -e 's,10.9.0,10.0.0,g'
-SUBST_SED.gcocoa+=     -e 's,gcocoanotificationbackend.c,,g'
-SUBST_SED.gcocoa+=     -e 's,gnextstepsettingsbackend.c,gnextstepsettingsbackend.m,g'
-SUBST_SED.gcocoa+=     -e '/gcocoanotificationbackend/d'
-SUBST_SED.gcocoa+=     -e '/g_type_ensure.*g_cocoa_notification/d'
-SUBST_SED.gcocoa+=     -e '/-xobjective-c/d'
-
-pre-configure:
-       ${MV} ${WRKSRC}/gio/gnextstepsettingsbackend.c \
-           ${WRKSRC}/gio/gnextstepsettingsbackend.m
-.endif
-
 .if !empty(MACHINE_PLATFORM:MDarwin-[56].*-*)
 CONFIGURE_ENV+=                gt_cv_c_wchar_t=no
 .endif

Index: pkgsrc/devel/glib2/distinfo
diff -u pkgsrc/devel/glib2/distinfo:1.233 pkgsrc/devel/glib2/distinfo:1.234
--- pkgsrc/devel/glib2/distinfo:1.233   Sat May 26 13:25:55 2018
+++ pkgsrc/devel/glib2/distinfo Wed Aug  1 17:43:25 2018
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.233 2018/05/26 13:25:55 schmonz Exp $
+$NetBSD: distinfo,v 1.234 2018/08/01 17:43:25 jperkin Exp $
 
 SHA1 (glib-2.56.1.tar.xz) = 4db098c15b9d57c37bb504a6f58ebe717994e6f2
 RMD160 (glib-2.56.1.tar.xz) = da4e45bf52d28b610a71bed8b4331bfb0b5c8d56
 SHA512 (glib-2.56.1.tar.xz) = 7e96cc23f3fa42a41b1974ae8fa2a7b123449643f265763d464620afcb011668e2de013ed2a6e5f13b6bd1bf3ab8eab43c05bf4a8ee0d99b7808767ab4fa69f4
 Size (glib-2.56.1.tar.xz) = 8028716 bytes
 SHA1 (patch-Makefile.in) = 4d587eb9ff27ff2b3489c59388319142e2fb6ced
-SHA1 (patch-aa) = 938e6fb29a2190eaa65b929b986c2f73c46d15ae
+SHA1 (patch-aa) = 5aac049588b3f2cb63d86259cf9ebeed61081c52
 SHA1 (patch-ab) = 04bde955a2a588011a8c77ada4923d5464a0d544
 SHA1 (patch-ac) = 96e153339675457356f71e35d20375bed669d337
 SHA1 (patch-ae) = 09f16e8e14bdea3ee0e478d335f65cb66939e5f5

Index: pkgsrc/devel/glib2/patches/patch-aa
diff -u pkgsrc/devel/glib2/patches/patch-aa:1.60 pkgsrc/devel/glib2/patches/patch-aa:1.61
--- pkgsrc/devel/glib2/patches/patch-aa:1.60    Fri Oct 13 15:35:10 2017
+++ pkgsrc/devel/glib2/patches/patch-aa Wed Aug  1 17:43:25 2018
@@ -1,11 +1,11 @@
-$NetBSD: patch-aa,v 1.60 2017/10/13 15:35:10 prlw1 Exp $
+$NetBSD: patch-aa,v 1.61 2018/08/01 17:43:25 jperkin Exp $
 
 - solaris sun studio check and fix
 - use pkgsrc libtool
 - broken dlopen(NULL,0) detection and workaround
   http://bugzilla.gnome.org/show_bug.cgi?id=140329
 
---- configure.orig     2017-06-22 13:16:20.000000000 +0000
+--- configure.orig     2018-04-07 02:37:11.000000000 +0000
 +++ configure
 @@ -736,6 +736,7 @@ GIO
  GSPAWN
@@ -15,7 +15,27 @@ $NetBSD: patch-aa,v 1.60 2017/10/13 15:3
  G_MODULE_BROKEN_RTLD_GLOBAL
  G_MODULE_HAVE_DLERROR
  G_MODULE_LDFLAGS
-@@ -21652,6 +21653,8 @@ else
+@@ -5512,6 +5513,9 @@ $as_echo_n "checking for Mac OS X Carbon
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
++#if MAC_OS_X_VERSION_MIN_REQUIRED < 1090
++#error too old
++#endif
+ #include <Carbon/Carbon.h>
+ #include <CoreServices/CoreServices.h>
+ 
+@@ -5530,6 +5534,9 @@ $as_echo_n "checking for Mac OS X Cocoa 
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
++#if MAC_OS_X_VERSION_MIN_REQUIRED < 1090
++#error too old
++#endif
+ #include <Cocoa/Cocoa.h>
+ #ifdef GNUSTEP_BASE_VERSION
+ #error "Detected GNUstep, not Cocoa"
+@@ -21597,6 +21604,8 @@ else
  # ifdef _MSC_VER
  #  include <malloc.h>
  #  define alloca _alloca
@@ -24,7 +44,7 @@ $NetBSD: patch-aa,v 1.60 2017/10/13 15:3
  # else
  #  ifdef HAVE_ALLOCA_H
  #   include <alloca.h>
-@@ -22487,8 +22490,8 @@ else
+@@ -22524,8 +22533,8 @@ else
  fi
  
  
@@ -35,7 +55,7 @@ $NetBSD: patch-aa,v 1.60 2017/10/13 15:3
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  /* end confdefs.h.  */
  #if defined(__SUNPRO_C) || (__SUNPRO_C >= 0x550)
-@@ -24302,16 +24305,48 @@ fi
+@@ -24521,16 +24530,48 @@ fi
  
  case $host in
    *-*-solaris* )
@@ -85,7 +105,7 @@ $NetBSD: patch-aa,v 1.60 2017/10/13 15:3
  esac
  
  if test "$ac_cv_func_statfs" = yes; then :
-@@ -25383,6 +25418,7 @@ else
+@@ -25692,6 +25733,7 @@ else
  fi
  G_MODULE_NEED_USCORE=0
  G_MODULE_BROKEN_RTLD_GLOBAL=0
@@ -93,7 +113,7 @@ $NetBSD: patch-aa,v 1.60 2017/10/13 15:3
  G_MODULE_HAVE_DLERROR=0
  if test -z "$G_MODULE_IMPL"; then
    case "$host" in
-@@ -25508,9 +25544,9 @@ if  test "$G_MODULE_IMPL" = "G_MODULE_IM
+@@ -25817,9 +25859,9 @@ if  test "$G_MODULE_IMPL" = "G_MODULE_IM
        LIBS="$G_MODULE_LIBS $LIBS"
        LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS"
        echo "void glib_plugin_test(void) { }" > plugin.c
@@ -105,7 +125,7 @@ $NetBSD: patch-aa,v 1.60 2017/10/13 15:3
                ${LDFLAGS} -module -o plugin.la -export-dynamic \
                -shrext ".o" -avoid-version plugin.lo \
                -rpath /dont/care >/dev/null 2>&1
-@@ -25624,6 +25660,56 @@ fi
+@@ -25957,6 +25999,56 @@ fi
        LIBS="$LIBS_orig"
  
  fi
@@ -162,7 +182,7 @@ $NetBSD: patch-aa,v 1.60 2017/10/13 15:3
  if test -z "$G_MODULE_IMPL"; then
        G_MODULE_IMPL=0
          G_MODULE_SUPPORTED=false
-@@ -25658,6 +25744,7 @@ fi
+@@ -25989,6 +26081,7 @@ fi
  
  
  
@@ -170,7 +190,7 @@ $NetBSD: patch-aa,v 1.60 2017/10/13 15:3
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gspawn implementation" >&5
  $as_echo_n "checking for gspawn implementation... " >&6; }
  case "$host" in
-@@ -26727,62 +26814,8 @@ if  test x"$have_threads" = xposix; then
+@@ -27039,62 +27132,8 @@ if  test x"$have_threads" = xposix; then
        G_THREAD_LIBS="-lpthread -lthread"
        ;;
      *)



Home | Main Index | Thread Index | Old Index