[143659] users/devans/GNOME-3/unstable/dports/gnome
devans at macports.org
devans at macports.org
Wed Dec 16 19:22:48 PST 2015
Revision: 143659
https://trac.macports.org/changeset/143659
Author: devans at macports.org
Date: 2015-12-16 19:22:48 -0800 (Wed, 16 Dec 2015)
Log Message:
-----------
GNOME-3/unstable: gnome-calendar, new port, a calendar application for GNOME.
Added Paths:
-----------
users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/
users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/Portfile
users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/files/
users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/files/autogen.sh
users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/files/patch-src-Makefile.am.diff
Added: users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/Portfile (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/Portfile 2015-12-17 03:22:48 UTC (rev 143659)
@@ -0,0 +1,63 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id: Portfile 139455 2015-08-17 21:12:24Z devans at macports.org $
+
+PortSystem 1.0
+
+name gnome-calendar
+version 3.19.3
+license GPL-2+
+set branch [join [lrange [split ${version} .] 0 1] .]
+description Calendar is a calendar application for GNOME.
+long_description ${description}
+maintainers devans openmaintainer
+categories gnome
+platforms darwin
+homepage https://wiki.gnome.org/Design/Apps/Calendar
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 f9cd9c9503883232eeebc3770c772e2d7fe45bb0 \
+ sha256 68bdf85642e3d51b49849a7a7791b95933cca47ef1e22d8f5891d2bf279f0592
+
+depends_build port:pkgconfig \
+ port:intltool \
+ port:appstream-glib \
+ port:gnome-common \
+ port:autoconf \
+ port:automake \
+ port:libtool
+
+depends_lib port:desktop-file-utils \
+ port:gtk3 \
+ port:evolution-data-server \
+ port:gnome-online-accounts \
+ port:libical
+
+depends_run port:gnome-themes-standard \
+ port:yelp
+
+patchfiles patch-src-Makefile.am.diff
+
+# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
+
+post-patch {
+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+# fixup gsettings schema for glib2 >= 1.45.1
+ reinplace "s|_summary|summary|g" ${worksrcpath}/data/org.gnome.calendar.gschema.xml.in
+ reinplace "s|_description|description|g" ${worksrcpath}/data/org.gnome.calendar.gschema.xml.in
+}
+
+configure.cmd ./autogen.sh
+
+configure.args --enable-compile-warnings=minimum \
+ --disable-schemas-compile \
+ --disable-silent-rules
+
+post-activate {
+ system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+}
+
+livecheck.type gnome-with-unstable
Added: users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/files/autogen.sh
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/files/autogen.sh (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/files/autogen.sh 2015-12-17 03:22:48 UTC (rev 143659)
@@ -0,0 +1,25 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+set -e
+
+intltoolize --force --copy --automake
+autoreconf -i -f
+
+if test -z "$NOCONFIGURE"; then
+ run_configure=true
+ for arg in $*; do
+ case $arg in
+ --no-configure)
+ run_configure=false
+ ;;
+ *)
+ ;;
+ esac
+ done
+else
+ run_configure=false
+fi
+
+if test $run_configure = true; then
+ ./configure "$@"
+fi
Added: users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/files/patch-src-Makefile.am.diff
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/files/patch-src-Makefile.am.diff (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/gnome-calendar/files/patch-src-Makefile.am.diff 2015-12-17 03:22:48 UTC (rev 143659)
@@ -0,0 +1,12 @@
+--- src/Makefile.am.orig 2015-12-16 16:00:15.000000000 -0800
++++ src/Makefile.am 2015-12-16 16:02:57.000000000 -0800
+@@ -62,9 +62,6 @@
+ gcal-utils.c \
+ gcal-utils.h
+
+-gnome_calendar_LDFLAGS = \
+- -Wl,--export-dynamic
+-
+ gnome_calendar_LDADD = \
+ -lm \
+ $(CALENDAR_LIBS)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151216/db18beec/attachment.html>
More information about the macports-changes
mailing list