[153408] trunk/dports/gnome/gnome-session
devans at macports.org
devans at macports.org
Fri Sep 30 00:27:07 CEST 2016
Revision: 153408
https://trac.macports.org/changeset/153408
Author: devans at macports.org
Date: 2016-09-29 15:27:07 -0700 (Thu, 29 Sep 2016)
Log Message:
-----------
gnome-session: update to version 3.22.0, dependencies, rebase patches.
Modified Paths:
--------------
trunk/dports/gnome/gnome-session/Portfile
trunk/dports/gnome/gnome-session/files/patch-configure.ac.diff
trunk/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff
Added Paths:
-----------
trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff
trunk/dports/gnome/gnome-session/files/patch-tools-Makefile.am.diff
Removed Paths:
-------------
trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-helper.c.diff
Property Changed:
----------------
trunk/dports/gnome/gnome-session/
trunk/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff
Property changes on: trunk/dports/gnome/gnome-session
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/mld-qt-481/dports/gnome/gnome-session:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/gnome/gnome-session:108269-118732,119139-150099
/users/devans/GNOME-3/unstable/dports/gnome/gnome-session:116416-118152,122271-125737,132287-134574,138925-140553,144983-147190
/users/rmstonecipher/gnome/gnome-session:102363-103172
+ /branches/mld-qt-481/dports/gnome/gnome-session:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/gnome/gnome-session:108269-118732,119139-153407
/users/devans/GNOME-3/unstable/dports/gnome/gnome-session:116416-118152,122271-125737,132287-134574,138925-140553,144983-147190,150440-152882
/users/rmstonecipher/gnome/gnome-session:102363-103172
Modified: trunk/dports/gnome/gnome-session/Portfile
===================================================================
--- trunk/dports/gnome/gnome-session/Portfile 2016-09-29 22:24:22 UTC (rev 153407)
+++ trunk/dports/gnome/gnome-session/Portfile 2016-09-29 22:27:07 UTC (rev 153408)
@@ -4,7 +4,7 @@
PortSystem 1.0
name gnome-session
-version 3.20.2
+version 3.22.0
license LGPL-2+
set branch [join [lrange [split ${version} .] 0 1] .]
description Session component for the GNOME 3 desktop.
@@ -18,8 +18,8 @@
use_xz yes
-checksums rmd160 d4606cee3b2caaf5592cb44adc93ad242ddd71c9 \
- sha256 025f97e0b9f5431890598d6130040e1e7071771cc29e1d29d8e2e7c84d95f6da
+checksums rmd160 1199446839822e2b4b9d33931cc0d4c0d37f8510 \
+ sha256 ec5c5e133c8ff1c044802eb887f4911183c45ca2d9de4ce29c6f10768ddc8e42
depends_build port:pkgconfig \
port:intltool \
@@ -32,7 +32,6 @@
depends_lib port:desktop-file-utils \
port:gnome-desktop \
port:metacity \
- port:gnome-panel \
port:gtk3 \
port:dbus-glib \
port:json-glib \
@@ -50,8 +49,9 @@
depends_run port:gnome-themes-standard
patchfiles patch-configure.ac.diff \
+ patch-tools-Makefile.am.diff \
patch-gnome-session-main.c.diff \
- patch-gnome-session-check-accelerated-helper.c.diff \
+ patch-gnome-session-check-accelerated-gl-helper.c.diff \
patch-header-guard-typo.diff
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
Modified: trunk/dports/gnome/gnome-session/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/gnome/gnome-session/files/patch-configure.ac.diff 2016-09-29 22:24:22 UTC (rev 153407)
+++ trunk/dports/gnome/gnome-session/files/patch-configure.ac.diff 2016-09-29 22:27:07 UTC (rev 153408)
@@ -1,11 +1,20 @@
---- configure.ac.orig 2015-05-02 11:15:33.000000000 -0700
-+++ configure.ac 2015-05-02 11:18:36.000000000 -0700
-@@ -97,7 +97,8 @@
+--- configure.ac.orig 2016-06-20 12:41:43.000000000 -0700
++++ configure.ac 2016-06-23 13:19:03.000000000 -0700
+@@ -86,7 +86,7 @@
+ PKG_CHECK_MODULES(XEXT, xext xau)
+
+ PKG_CHECK_MODULES(GL_TEST, xcomposite gl glib-2.0)
+-PKG_CHECK_MODULES(GLES_TEST, egl glesv2)
++dnl PKG_CHECK_MODULES(GLES_TEST, egl glesv2)
+
+ dnl ====================================================================
+ dnl Check for gconf
+@@ -96,7 +96,8 @@
[enable_gconf=$enableval],
[enable_gconf=auto])
-PKG_CHECK_MODULES(GCONF, gconf-2.0, [have_gconf=yes], [have_gconf=no])
-+#PKG_CHECK_MODULES(GCONF, gconf-2.0, [have_gconf=yes], [have_gconf=no])
++dnl PKG_CHECK_MODULES(GCONF, gconf-2.0, [have_gconf=yes], [have_gconf=no])
+have_gconf=no
if test x$enable_gconf = xauto ; then
Copied: trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff (from rev 153407, users/devans/GNOME-3/stable/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff)
===================================================================
--- trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff (rev 0)
+++ trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff 2016-09-29 22:27:07 UTC (rev 153408)
@@ -0,0 +1,122 @@
+--- tools/gnome-session-check-accelerated-gl-helper.c.orig 2016-08-18 11:09:18.000000000 -0700
++++ tools/gnome-session-check-accelerated-gl-helper.c 2016-08-19 21:58:54.000000000 -0700
+@@ -91,6 +91,75 @@
+
+ #include "gnome-session-check-accelerated-common.h"
+
++#ifdef __APPLE__
++#include <Availability.h>
++#if __MAC_OS_X_VERSION_MIN_REQUIRED <= 1060
++
++static const int line_size = 128;
++
++static ssize_t
++getdelim (char **lineptr, size_t *n, int delim, FILE *stream);
++
++static ssize_t
++getline (char **lineptr, size_t *n, FILE *stream);
++
++static ssize_t
++getdelim (char **lineptr, size_t *n, int delim, FILE *stream)
++{
++ int indx = 0;
++ int c;
++
++ /* Sanity checks. */
++ if (lineptr == NULL || n == NULL || stream == NULL)
++ return -1;
++
++ /* Allocate the line the first time. */
++ if (*lineptr == NULL)
++ {
++ *lineptr = malloc (line_size);
++ if (*lineptr == NULL)
++ return -1;
++ *n = line_size;
++ }
++
++ /* Clear the line. */
++ memset (*lineptr, '\0', *n);
++
++ while ((c = getc (stream)) != EOF)
++ {
++ /* Check if more memory is needed. */
++ if (indx >= *n)
++ {
++ *lineptr = realloc (*lineptr, *n + line_size);
++ if (*lineptr == NULL)
++ {
++ return -1;
++ }
++ /* Clear the rest of the line. */
++ memset(*lineptr + *n, '\0', line_size);
++ *n += line_size;
++ }
++
++ /* Push the result in the line. */
++ (*lineptr)[indx++] = c;
++
++ /* Bail out. */
++ if (c == delim)
++ {
++ break;
++ }
++ }
++ return (c == EOF) ? -1 : indx;
++}
++
++static ssize_t
++getline (char **lineptr, size_t *n, FILE *stream)
++{
++ return getdelim (lineptr, n, '\n', stream);
++}
++#endif
++#endif
++
+ #define SIZE_UNSET 0
+ #define SIZE_ERROR -1
+ static int max_texture_size = SIZE_UNSET;
+@@ -481,26 +550,42 @@
+ _print_error ("No X display.");
+ goto out;
+ }
+-
++/*
++ * Mac OS X always fails these checks due to the following
++ * - No composite extension
++ * - No GLX_EXT_texture_from_pixmap support
++ * This is mainly for gnome-shell which we don't support yet.
++ * For now, print the error but allow gnome-session to
++ * continue to start up. We'll deal with any consequences
++ * down the line.
++ */
+ if (!_has_composite (display)) {
+ _print_error ("No composite extension.");
++#ifndef __APPLE__
+ goto out;
++#endif
+ }
+
+ renderer = _get_hardware_gl (display);
+ if (!renderer) {
+ _print_error ("No hardware 3D support.");
++#ifndef __APPLE__
+ goto out;
++#endif
+ }
+
+ if (!_has_texture_from_pixmap (display)) {
+ _print_error ("No GLX_EXT_texture_from_pixmap support.");
++#ifndef __APPLE__
+ goto out;
++#endif
+ }
+
+ if (!_is_max_texture_size_big_enough (display)) {
+ _print_error ("GL_MAX_{TEXTURE,RENDERBUFFER}_SIZE is too small.");
++#ifndef __APPLE__
+ goto out;
++#endif
+ }
+
+ ret = has_llvmpipe ? HELPER_SOFTWARE_RENDERING : HELPER_ACCEL;
Property changes on: trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff
___________________________________________________________________
Added: svn:mergeinfo
+ /branches/mld-qt-481/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/branches/mld-qt-481/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-helper.c.diff:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff:119039-144981
/users/devans/GNOME-3/stable/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff:108269-118732,119139-150099,152884-153407
/users/devans/GNOME-3/stable/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-helper.c.diff:108269-113174,114678-116652
/users/devans/GNOME-3/unstable/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff:116416-118152,122271-125737,132287-134574,138925-140553,144983-147190,150440-152882
/users/rmstonecipher/gnome/gnome-session/files/patch-gnome-session-check-accelerated-gl-helper.c.diff:102363-103172
/users/rmstonecipher/gnome/gnome-session/files/patch-gnome-session-check-accelerated-helper.c.diff:102363-103172
Deleted: trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-helper.c.diff
===================================================================
--- trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-helper.c.diff 2016-09-29 22:24:22 UTC (rev 153407)
+++ trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-helper.c.diff 2016-09-29 22:27:07 UTC (rev 153408)
@@ -1,120 +0,0 @@
---- tools/gnome-session-check-accelerated-helper.c.orig 2013-10-04 19:29:25.000000000 -0700
-+++ tools/gnome-session-check-accelerated-helper.c 2013-12-20 12:45:20.000000000 -0800
-@@ -86,6 +86,75 @@
-
- #include "gnome-session-check-accelerated-common.h"
-
-+#ifdef __APPLE__
-+#include <Availability.h>
-+#if __MAC_OS_X_VERSION_MIN_REQUIRED <= 1060
-+
-+static const int line_size = 128;
-+
-+static ssize_t
-+getdelim (char **lineptr, size_t *n, int delim, FILE *stream);
-+
-+static ssize_t
-+getline (char **lineptr, size_t *n, FILE *stream);
-+
-+static ssize_t
-+getdelim (char **lineptr, size_t *n, int delim, FILE *stream)
-+{
-+ int indx = 0;
-+ int c;
-+
-+ /* Sanity checks. */
-+ if (lineptr == NULL || n == NULL || stream == NULL)
-+ return -1;
-+
-+ /* Allocate the line the first time. */
-+ if (*lineptr == NULL)
-+ {
-+ *lineptr = malloc (line_size);
-+ if (*lineptr == NULL)
-+ return -1;
-+ *n = line_size;
-+ }
-+
-+ /* Clear the line. */
-+ memset (*lineptr, '\0', *n);
-+
-+ while ((c = getc (stream)) != EOF)
-+ {
-+ /* Check if more memory is needed. */
-+ if (indx >= *n)
-+ {
-+ *lineptr = realloc (*lineptr, *n + line_size);
-+ if (*lineptr == NULL)
-+ {
-+ return -1;
-+ }
-+ /* Clear the rest of the line. */
-+ memset(*lineptr + *n, '\0', line_size);
-+ *n += line_size;
-+ }
-+
-+ /* Push the result in the line. */
-+ (*lineptr)[indx++] = c;
-+
-+ /* Bail out. */
-+ if (c == delim)
-+ {
-+ break;
-+ }
-+ }
-+ return (c == EOF) ? -1 : indx;
-+}
-+
-+static ssize_t
-+getline (char **lineptr, size_t *n, FILE *stream)
-+{
-+ return getdelim (lineptr, n, '\n', stream);
-+}
-+#endif
-+#endif
-+
- #define SIZE_UNSET 0
- #define SIZE_ERROR -1
- static int max_texture_size = SIZE_UNSET;
-@@ -427,24 +496,41 @@
- goto out;
- }
-
-+/*
-+ * Mac OS X always fails these checks due to the following
-+ * - No composite extension
-+ * - No GLX_EXT_texture_from_pixmap support
-+ * This is mainly for gnome-shell which we don't support yet.
-+ * For now, print the error but allow gnome-session to
-+ * continue to start up. We'll deal with any consequences
-+ * down the line.
-+ */
- if (!_has_composite (display)) {
- _print_error ("No composite extension.");
-+#ifndef __APPLE__
- goto out;
-+#endif
- }
-
- if (!_has_hardware_gl (display)) {
- _print_error ("No hardware 3D support.");
-+#ifndef __APPLE__
- goto out;
-+#endif
- }
-
- if (!_has_texture_from_pixmap (display)) {
- _print_error ("No GLX_EXT_texture_from_pixmap support.");
-+#ifndef __APPLE__
- goto out;
-+#endif
- }
-
- if (!_is_max_texture_size_big_enough (display)) {
- _print_error ("GL_MAX_{TEXTURE,RENDERBUFFER}_SIZE is too small.");
-+#ifndef __APPLE__
- goto out;
-+#endif
- }
-
- if (has_llvmpipe) {
Modified: trunk/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff
===================================================================
--- trunk/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff 2016-09-29 22:24:22 UTC (rev 153407)
+++ trunk/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff 2016-09-29 22:27:07 UTC (rev 153408)
@@ -1,6 +1,6 @@
--- gnome-session/main.c.orig 2016-01-21 07:05:18.000000000 -0800
+++ gnome-session/main.c 2016-01-22 22:47:15.000000000 -0800
-@@ -180,6 +180,14 @@
+@@ -182,6 +182,14 @@
if (g_getenv ("DBUS_SESSION_BUS_ADDRESS"))
return TRUE;
@@ -15,7 +15,7 @@
/* Just a sanity check to prevent infinite recursion if
* dbus-launch fails to set DBUS_SESSION_BUS_ADDRESS
*/
-@@ -204,6 +212,7 @@
+@@ -206,6 +214,7 @@
g_strerror (errno));
return FALSE;
}
@@ -23,7 +23,7 @@
/* Should not be reached */
return TRUE;
-@@ -265,6 +274,17 @@
+@@ -267,6 +276,17 @@
}
}
Property changes on: trunk/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/mld-qt-481/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff:108269-113174,114678-118732,119139-147323
/users/devans/GNOME-3/unstable/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff:132287-134574,144983-147190
/users/rmstonecipher/gnome/gnome-session/files/patch-gnome-session-main.c.diff:102363-103172
+ /branches/mld-qt-481/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff:108269-113174,114678-118732,119139-153407
/users/devans/GNOME-3/unstable/dports/gnome/gnome-session/files/patch-gnome-session-main.c.diff:132287-134574,144983-147190,150440-152882
/users/rmstonecipher/gnome/gnome-session/files/patch-gnome-session-main.c.diff:102363-103172
Copied: trunk/dports/gnome/gnome-session/files/patch-tools-Makefile.am.diff (from rev 153407, users/devans/GNOME-3/stable/dports/gnome/gnome-session/files/patch-tools-Makefile.am.diff)
===================================================================
--- trunk/dports/gnome/gnome-session/files/patch-tools-Makefile.am.diff (rev 0)
+++ trunk/dports/gnome/gnome-session/files/patch-tools-Makefile.am.diff 2016-09-29 22:27:07 UTC (rev 153408)
@@ -0,0 +1,45 @@
+--- tools/Makefile.am.orig 2016-05-26 14:04:18.000000000 -0700
++++ tools/Makefile.am 2016-06-23 14:07:01.000000000 -0700
+@@ -1,8 +1,7 @@
+ bin_PROGRAMS = gnome-session-quit gnome-session-inhibit
+ libexec_PROGRAMS = \
+ gnome-session-check-accelerated \
+- gnome-session-check-accelerated-gl-helper \
+- gnome-session-check-accelerated-gles-helper
++ gnome-session-check-accelerated-gl-helper
+
+ if BUILD_SESSION_SELECTOR
+ bin_PROGRAMS += gnome-session-selector
+@@ -44,19 +43,19 @@
+ gnome_session_inhibit_LDADD = \
+ $(GNOME_SESSION_LIBS)
+
+-gnome_session_check_accelerated_gles_helper_SOURCES = \
+- gnome-session-check-accelerated-common.h \
+- gnome-session-check-accelerated-gles-helper.c
+-
+-gnome_session_check_accelerated_gles_helper_CPPFLAGS = \
+- -DPKGDATADIR=\""$(pkgdatadir)"\" \
+- $(GLES_TEST_CFLAGS) \
+- $(GTK3_CFLAGS)
+-
+-gnome_session_check_accelerated_gles_helper_LDADD = \
+- $(GLES_TEST_LIBS) \
+- $(GTK3_LIBS) \
+- $(X11_LIBS)
++# gnome_session_check_accelerated_gles_helper_SOURCES = \
++# gnome-session-check-accelerated-common.h \
++# gnome-session-check-accelerated-gles-helper.c
++#
++#gnome_session_check_accelerated_gles_helper_CPPFLAGS = \
++# -DPKGDATADIR=\""$(pkgdatadir)"\" \
++# $(GLES_TEST_CFLAGS) \
++# $(GTK3_CFLAGS)
++#
++#gnome_session_check_accelerated_gles_helper_LDADD = \
++# $(GLES_TEST_LIBS) \
++# $(GTK3_LIBS) \
++# $(X11_LIBS)
+
+ gnome_session_check_accelerated_gl_helper_SOURCES = \
+ gnome-session-check-accelerated-common.h \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20160929/6d9fc851/attachment-0002.html>
More information about the macports-changes
mailing list