components/gnome/vinagre/Makefile
author Jay Cotton <Jay.Cotton@Oracle.com>
Sat, 17 Sep 2016 00:10:49 -0700
changeset 7200 bc003d56ef5a
child 7229 b86127bf4e7c
permissions -rw-r--r--
23245359 Move vinagre to Userland and update to 3.16.0 22144775 problem in GNOME/REMOTE-DESKTOP
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7200
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     1
#
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     3
#
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     7
#
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    12
#
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    18
#
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    20
#
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    22
#
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    23
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    24
BUILD_BITS=	    	64
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    25
COMPILER=      	       	gcc
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    27
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		vinagre
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	3.16.0
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=  https://wiki.gnome.org/Projects//$(COMPONENT_NAME)
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH= \
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    32
	sha256:93d79e18e71509647fe4bc00a0dcef5382b2e3a79c39d2b18a91334195995c34
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    33
COMPONENT_BUGDB=	gnome/remote-desktop
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    34
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    35
TPNO=			26597
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    36
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    37
include $(WS_MAKE_RULES)/gnome-component.mk
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    38
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    39
# Needs updated glib2, not available on S11.
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    40
include $(WS_MAKE_RULES)/no-evaluation.mk
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    41
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    42
# Requires XPG4 or later & C99 compatibility, thus XPG6 or later
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    43
CFLAGS += $(XPG6MODE)
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    44
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    45
# Assumes GNU versions of utilities in PATH (e.g. xgettext).
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    46
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    47
COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    48
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    49
# RDP support requires freerdp
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    50
CONFIGURE_OPTIONS += --disable-rdp
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    51
CONFIGURE_OPTIONS += --with-telepathy=yes
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    52
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    53
# Delete this when build servers are installed with an updated gtk-vnc
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    54
GTKVNC_BASE = $(WS_COMPONENTS)/gnome/gtk-vnc/build/prototype/$(MACH)
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    55
PKG_CONFIG_PATHS += $(GTKVNC_BASE)$(PKG_CONFIG_PATH.$(BITS))
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    56
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    57
LD_OPTIONS += -L $(GTKVNC_BASE)$(USRLIB.$(BITS))
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    58
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    59
CONFIGURE_ENV += VNC_CFLAGS="-DMESA_EGL_NO_X11_HEADERS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I$(GTKVNC_BASE)/usr/include/gtk-vnc-2.0 -I$(GTKVNC_BASE)/usr/include/gvnc-1.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/$(MACH64)/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng14 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng14 -I/usr/include/glib-2.0 -I/usr/lib/$(MACH64)/glib-2.0/include -I/usr/include/libxml2"
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    60
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    61
# The dependency isn't installed, so add it manually since pkgdepend
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    62
# can't resolve them yet: 15708323
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    63
DEPENDED += $(WS_TOP)/components/gnome/gtk-vnc/build/manifest-$(MACH)-gtk-vnc.depend
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    64
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    65
# Temporary until dependencies are all on build machines
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    66
REQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../gtk-vnc/Makefile)
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    67
#end Delete
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    68
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    69
REQUIRED_PACKAGES += library/desktop/cairo
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    70
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    71
REQUIRED_PACKAGES += library/desktop/gtk-vnc
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    72
REQUIRED_PACKAGES += library/desktop/gtk3
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    73
REQUIRED_PACKAGES += library/glib2
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    74
REQUIRED_PACKAGES += library/gnome/libsecret
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    75
REQUIRED_PACKAGES += library/libxml2
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    76
REQUIRED_PACKAGES += library/telepathy-glib
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    77
REQUIRED_PACKAGES += system/library
bc003d56ef5a 23245359 Move vinagre to Userland and update to 3.16.0
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    78
REQUIRED_PACKAGES += system/library/libdbus-glib