[149594] trunk/dports/gnome/accountsservice

devans at macports.org devans at macports.org
Mon Jun 27 13:42:08 PDT 2016


Revision: 149594
          https://trac.macports.org/changeset/149594
Author:   devans at macports.org
Date:     2016-06-27 13:42:07 -0700 (Mon, 27 Jun 2016)
Log Message:
-----------
accountsservice: update to version 0.6.42, patch to fix configuration and build.

Modified Paths:
--------------
    trunk/dports/gnome/accountsservice/Portfile
    trunk/dports/gnome/accountsservice/files/patch-src-daemon.c.diff

Added Paths:
-----------
    trunk/dports/gnome/accountsservice/files/patch-define-wtmpx_filename.diff

Removed Paths:
-------------
    trunk/dports/gnome/accountsservice/files/patch-src-wtmp-helper.c.diff

Modified: trunk/dports/gnome/accountsservice/Portfile
===================================================================
--- trunk/dports/gnome/accountsservice/Portfile	2016-06-27 20:33:09 UTC (rev 149593)
+++ trunk/dports/gnome/accountsservice/Portfile	2016-06-27 20:42:07 UTC (rev 149594)
@@ -5,7 +5,7 @@
 PortGroup           gobject_introspection 1.0
 
 name                accountsservice
-version             0.6.40
+version             0.6.42
 description         AccountsService provides a set of D-Bus interfaces for querying \
                     and manipulating user account information.
 
@@ -19,8 +19,8 @@
 
 use_xz              yes
 
-checksums           rmd160  83c148f750058039728397b5c8d058058557d519 \
-                    sha256  f04f756600cbab558671658ab8e77212de2a000c07bc0469e7b51541871fcb2b
+checksums           rmd160  72b3025468b855d50517729530a92e5cb31ca82e \
+                    sha256  e56494c2f18627900b57234e5628923cc16a37bf8fd16b06c46118d6ae9c007e
 
 depends_build       port:pkgconfig \
                     port:intltool \
@@ -34,9 +34,9 @@
 depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                     port:policykit
 
-patchfiles          patch-src-daemon.c.diff \
-                    patch-src-libaccountsservice-Makefile.am.diff \
-                    patch-src-wtmp-helper.c.diff
+patchfiles          patch-define-wtmpx_filename.diff \
+                    patch-src-daemon.c.diff \
+                    patch-src-libaccountsservice-Makefile.am.diff
 
 post-patch {
     reinplace "s|@@MP_PREFIX@@|${prefix}|" ${worksrcpath}/src/daemon.c

Copied: trunk/dports/gnome/accountsservice/files/patch-define-wtmpx_filename.diff (from rev 149593, trunk/dports/gnome/accountsservice/files/patch-src-wtmp-helper.c.diff)
===================================================================
--- trunk/dports/gnome/accountsservice/files/patch-define-wtmpx_filename.diff	                        (rev 0)
+++ trunk/dports/gnome/accountsservice/files/patch-define-wtmpx_filename.diff	2016-06-27 20:42:07 UTC (rev 149594)
@@ -0,0 +1,25 @@
+--- configure.ac.orig	2016-06-09 07:17:02.000000000 -0700
++++ configure.ac	2016-06-13 05:16:10.000000000 -0700
+@@ -193,6 +193,9 @@
+ AC_CHECK_DECLS([WTMPX_FILENAME], [wtmpx_found="WTMPX_FILENAME"],
+                [], [AC_INCLUDES_DEFAULT
+ #include <utmpx.h>
++#ifdef __APPLE__
++#define WTMPX_FILENAME UTMPX_FILE
++#endif
+                ])
+ if test "$wtmpx_found" = "no" ; then
+   AC_CHECK_DECLS([_PATH_WTMPX], [wtmpx_found="_PATH_WTMPX"],
+--- src/wtmp-helper.c.orig	2014-05-21 11:13:14.000000000 -0700
++++ src/wtmp-helper.c	2014-05-21 11:25:37.000000000 -0700
+@@ -29,6 +29,10 @@
+ 
+ #include <utmpx.h>
+ 
++#ifdef __APPLE__
++#define WTMPX_FILENAME UTMPX_FILE
++#endif
++
+ typedef struct {
+         guint64 frequency;
+         gint64 time;

Modified: trunk/dports/gnome/accountsservice/files/patch-src-daemon.c.diff
===================================================================
--- trunk/dports/gnome/accountsservice/files/patch-src-daemon.c.diff	2016-06-27 20:33:09 UTC (rev 149593)
+++ trunk/dports/gnome/accountsservice/files/patch-src-daemon.c.diff	2016-06-27 20:42:07 UTC (rev 149594)
@@ -9,7 +9,7 @@
  
  enum {
          PROP_0,
-@@ -138,6 +138,22 @@
+@@ -137,6 +137,22 @@
                             gpointer   *state)
  {
          struct passwd *pwent;
@@ -32,7 +32,7 @@
          FILE *fp;
  
          /* First iteration */
-@@ -158,6 +174,7 @@
+@@ -157,6 +173,7 @@
  
          /* Last iteration */
          fclose (fp);

Deleted: trunk/dports/gnome/accountsservice/files/patch-src-wtmp-helper.c.diff
===================================================================
--- trunk/dports/gnome/accountsservice/files/patch-src-wtmp-helper.c.diff	2016-06-27 20:33:09 UTC (rev 149593)
+++ trunk/dports/gnome/accountsservice/files/patch-src-wtmp-helper.c.diff	2016-06-27 20:42:07 UTC (rev 149594)
@@ -1,13 +0,0 @@
---- src/wtmp-helper.c.orig	2014-05-21 11:13:14.000000000 -0700
-+++ src/wtmp-helper.c	2014-05-21 11:25:37.000000000 -0700
-@@ -29,6 +29,10 @@
- 
- #include <utmpx.h>
- 
-+#ifdef __APPLE__
-+#define WTMPX_FILENAME UTMPX_FILE
-+#endif
-+
- typedef struct {
-         guint64 frequency;
-         gint64 time;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160627/bb2f6de4/attachment.html>


More information about the macports-changes mailing list