23078956 adjust the remainder of the userland components to use perl 5.22
22909079 resume testing in several perl modules
22909338 xml-parsers pkg manifests should be cleaned up once 5.12 threaded is gone
23051223 dbd-sqlite's clobber doesn't remove generated DBD-SQLite.license file
23057814 graphviz perl package depends on other obsolete perl packages
22991554 DBD-SQLite has an unlisted build dependency on library/perl-5/database et al
#
# 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= 32
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME= evince
COMPONENT_VERSION= 2.30.3
COMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/Evince
COMPONENT_ARCHIVE_HASH= \
sha256:1ac6fb056c50a6298b31f696e196b5b940098c46f35dec85e69ea0c5d5b015de
COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.30/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB= gnome/evince
TPNO= 8693
TEST_TARGET= $(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
# Need to pick up the GNU version of xgettext.
PATH=$(GNUBIN):$(USRBINDIR)
COMPONENT_PREP_ACTION = \
(cd $(@D) ; \
libtoolize --force --copy ; \
intltoolize --force --copy --automake ; \
aclocal -I . ; \
autoheader ; \
automake -a -c -f ; \
autoconf )
CFLAGS += "-I$(USRINCDIR)/libxml2"
LDFLAGS += $(CC_BITS) -lgmodule-2.0 -lm
# Tell libtool to pass this flag through using -Wc.
# https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html
LDFLAGS += -Wc,$(studio_NORUNPATH)
CONFIGURE_OPTIONS += --libexecdir="$(USRLIB)"
CONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR)"
CONFIGURE_OPTIONS += --disable-comics
CONFIGURE_OPTIONS += --enable-thumbnailer
# Assumes GNU msgfmt is in PATH.
COMPONENT_BUILD_ENV += PATH="$(PATH)"
# Always show the build and link lines for easier debugging.
COMPONENT_BUILD_ARGS += V=1
REQUIRED_PACKAGES += gnome/config/gconf
REQUIRED_PACKAGES += gnome/file-manager/nautilus
REQUIRED_PACKAGES += image/library/libtiff
REQUIRED_PACKAGES += library/desktop/atk
REQUIRED_PACKAGES += library/desktop/cairo
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
REQUIRED_PACKAGES += library/desktop/gtk2
REQUIRED_PACKAGES += library/desktop/pango
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/gnome/gnome-keyring
REQUIRED_PACKAGES += library/libxml2
REQUIRED_PACKAGES += library/perl-5/xml-parser
REQUIRED_PACKAGES += system/library/c++-runtime
REQUIRED_PACKAGES += system/library/libdbus-glib
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += x11/library/libice
REQUIRED_PACKAGES += x11/library/libsm
REQUIRED_PACKAGES += x11/library/libx11