23245628 Deliver gnome-calendar 3.18.0 in Solaris
authorNiveditha Rau <Niveditha.Rau@Oracle.COM>
Mon, 10 Oct 2016 22:23:05 -0700
changeset 7217 3944ab989650
parent 7216 e6bcf0c5a213
child 7218 b301fad4ef3a
23245628 Deliver gnome-calendar 3.18.0 in Solaris PSARC/2016/375 GNOME apps and icons
components/gnome/gnome-calendar/Makefile
components/gnome/gnome-calendar/depend.mk
components/gnome/gnome-calendar/gnome-calendar.p5m
components/gnome/gnome-calendar/patches/01-link.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gnome-calendar/Makefile	Mon Oct 10 22:23:05 2016 -0700
@@ -0,0 +1,71 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+BUILD_BITS=		64
+COMPILER=		gcc
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		gnome-calendar
+COMPONENT_VERSION=	3.18.1
+COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Apps/Calendar
+COMPONENT_ARCHIVE_HASH= \
+	sha256:96f307c79952fa55bfdfc2b256085c568384dde2312b2815ee5e8e21e6adf2b9
+COMPONENT_BUGDB=	gnome/applications
+
+TPNO=			25846
+
+TEST_TARGET= $(NO_TESTS)
+
+# Needs updated evolution-data-server, not available on S11.
+include $(WS_MAKE_RULES)/no-evaluation.mk
+
+include $(WS_MAKE_RULES)/gnome-component.mk
+
+# Assumes GNU msgfmt in PATH.
+CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
+
+# Delete this when build servers are installed with libical
+ICAL_BASE = $(WS_COMPONENTS)/desktop/libical/build/prototype/$(MACH)
+PKG_CONFIG_PATHS += $(ICAL_BASE)$(PKG_CONFIG_PATH.$(BITS))
+LD_OPTIONS += -L $(ICAL_BASE)$(USRLIB)
+CPPFLAGS += -I$(ICAL_BASE)$(USRINCDIR)/libical
+
+DEPENDED += $(WS_TOP)/components/desktop/libical/build/manifest-$(MACH)-libical.depend
+REQUIRED_PACKAGES += $(shell $(GSED) -n -e 's/REQUIRED_PACKAGES += //p' ../../desktop/libical/Makefile)
+# end Delete
+
+
+# evolution-data-server requires nss/nspr, but Solaris doesn't include a 64-bit
+# pkg-config file for it, so we workaround this by using the one-off copy in the
+# evolution-data-server component directory
+PKG_CONFIG_PATHS += $(WS_COMPONENTS)/gnome/evolution-data-server
+
+REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
+REQUIRED_PACKAGES += library/desktop/cairo
+REQUIRED_PACKAGES += library/desktop/evolution-data-server
+REQUIRED_PACKAGES += library/desktop/gtk3
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/gnome/gnome-online-accounts
+REQUIRED_PACKAGES += library/libical
+REQUIRED_PACKAGES += system/library/math
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gnome-calendar/depend.mk	Mon Oct 10 22:23:05 2016 -0700
@@ -0,0 +1,1 @@
+gnome/gnome-calendar: desktop/libical
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gnome-calendar/gnome-calendar.p5m	Mon Oct 10 22:23:05 2016 -0700
@@ -0,0 +1,104 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+<transform file path=usr.*/man/.+ -> \
+    default mangler.man.stability "pass-through volatile">
+set name=pkg.fmri \
+    value=pkg:/gnome/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Gnome Calendar"
+set name=com.oracle.info.description value=gnome-calendar
+set name=com.oracle.info.tpno value=$(TPNO)
+set name=info.classification \
+    value=org.opensolaris.category.2008:Applications/Accessories
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2016/375
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file path=usr/bin/gnome-calendar
+file path=usr/share/appdata/org.gnome.Calendar.appdata.xml
+file path=usr/share/applications/org.gnome.Calendar.desktop
+file path=usr/share/dbus-1/services/org.gnome.Calendar.service
+file path=usr/share/glib-2.0/schemas/org.gnome.calendar.enums.xml
+file path=usr/share/glib-2.0/schemas/org.gnome.calendar.gschema.xml
+file path=usr/share/gnome-shell/search-providers/org.gnome.Calendar.search-provider.ini
+file path=usr/share/icons/hicolor/16x16/apps/gnome-calendar.png
+file path=usr/share/icons/hicolor/22x22/apps/gnome-calendar.png
+file path=usr/share/icons/hicolor/24x24/apps/gnome-calendar.png
+file path=usr/share/icons/hicolor/256x256/apps/gnome-calendar.png
+file path=usr/share/icons/hicolor/32x32/apps/gnome-calendar.png
+file path=usr/share/icons/hicolor/48x48/apps/gnome-calendar.png
+file path=usr/share/icons/hicolor/512x512/apps/gnome-calendar.png
+file path=usr/share/locale/an/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/ar/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/bs/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/ca/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/cs/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/da/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/de/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/el/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/eo/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/es/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/eu/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/fa/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/fi/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/fr/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/fur/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/ga/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/gl/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/he/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/hu/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/id/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/is/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/it/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/ja/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/kk/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/ko/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/lt/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/nb/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/nl/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/oc/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/pa/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/pl/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/pt/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/pt_BR/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/ru/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/sk/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/sl/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/sr/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/[email protected]/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/sv/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/tg/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/th/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/tr/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/uk/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/zh_CN/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/zh_HK/LC_MESSAGES/gnome-calendar.mo
+file path=usr/share/locale/zh_TW/LC_MESSAGES/gnome-calendar.mo
+license COPYING license=GPLv3
+# gsettings schemas referenced in source code files
+depend type=require fmri=__TBD pkg.debug.depend.reason=src/gcal-appliation.c \
+    pkg.tmp.gsettings-schema=org.gnome.calendar
+depend type=require fmri=__TBD pkg.debug.depend.reason=src/gcal-window.c \
+    pkg.tmp.gsettings-schema=org.gnome.desktop.interface
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gnome-calendar/patches/01-link.patch	Mon Oct 10 22:23:05 2016 -0700
@@ -0,0 +1,16 @@
+Remove GNU ld flag which makes it act the same as Solaris ld default.
+
+Need to convert to portable autoconf check for linker type & send upstream.
+
+--- gnome-calendar-3.18.1/src/Makefile.am	Thu Jun  2 14:20:27 2016
++++ gnome-calendar-3.18.1/src/Makefile.am	Thu Jun  2 14:20:35 2016
[email protected]@ -62,9 +62,6 @@
+     gcal-utils.c                                          \
+     gcal-utils.h
+ 
+-gnome_calendar_LDFLAGS =                                  \
+-  -Wl,--export-dynamic
+-
+ gnome_calendar_LDADD =                                    \
+   -lm                                                     \
+   $(CALENDAR_LIBS)