author | Niveditha Rau <Niveditha.Rau@Oracle.COM> |
Mon, 30 Jan 2017 17:47:32 +0000 | |
changeset 7624 | 50e5cc11a34e |
parent 7215 | 2f4a8a8882d9 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
7215
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
7624
50e5cc11a34e
25453912 Undo the temporary Makefile changes made for building gnome/desktop
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7215
diff
changeset
|
21 |
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
7215
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
23 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
24 |
BUILD_BITS= NO_ARCH |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
25 |
COMPILER= gcc |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
27 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= gnome-tweak-tool |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 3.18.1 |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= https://wiki.gnome.org/GnomeTweakTool |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
32 |
sha256:5c2c1103237648413c2d63a941e06b7057d6b102276b5968517753075de29430 |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_BUGDB= gnome/gnome-shell |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
34 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
35 |
TPNO= 25847 |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
36 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
37 |
# No need in S11 since its for Gnome 3 |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/no-evaluation.mk |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
39 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
40 |
PYTHON_VERSIONS= 2.7 |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
41 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/gnome-component.mk |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
43 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
44 |
# gtweak/defs.py is accidentally included in the tarball - we remove it so |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
45 |
# that it gets correctly rebuilt from gtweak/defs.py.in with the settings |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
46 |
# passed via the configure script |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
47 |
COMPONENT_POST_UNPACK_ACTION += $(RM) $(SOURCE_DIR)/gtweak/defs.py ; |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
48 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
49 |
CONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR) |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
50 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
51 |
# Assumes GNU msgfmt & xgettext is first in $PATH. |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
52 |
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)" |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
53 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
54 |
# Ensure Python modules are installed into vendor package directories. |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
55 |
CONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES) |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
56 |
CONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES) |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
57 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
58 |
# build .pyc's |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
59 |
COMPONENT_POST_INSTALL_ACTION += $(PYTHON.$(PYTHON_VERSION)) -m compileall \ |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
60 |
$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES) ; |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
61 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
62 |
# pkgdepend doesn't like the first line of a Python script to be: |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
63 |
# '#!/usr/bin/env python' so turn it into '#!/usr/bin/python2.7' |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
64 |
PYTHON_SCRIPTS += $(PROTOUSRBINDIR)/gnome-tweak-tool |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
65 |
PYTHON_SCRIPTS += $(PROTOUSRLIBDIR)/gnome-tweak-tool-lid-inhibitor |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
66 |
|
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
67 |
REQUIRED_PACKAGES += gnome/file-manager/nautilus |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
68 |
REQUIRED_PACKAGES += gnome/gnome-settings-daemon |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
69 |
REQUIRED_PACKAGES += gnome/gnome-shell |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
70 |
REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
71 |
REQUIRED_PACKAGES += gnome/window-manager/mutter |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
72 |
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
73 |
REQUIRED_PACKAGES += library/desktop/gtk3 |
7624
50e5cc11a34e
25453912 Undo the temporary Makefile changes made for building gnome/desktop
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7215
diff
changeset
|
74 |
REQUIRED_PACKAGES += library/desktop/libgweather |
7215
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
75 |
REQUIRED_PACKAGES += library/desktop/libnotify |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
76 |
REQUIRED_PACKAGES += library/desktop/pango |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
77 |
REQUIRED_PACKAGES += library/gnome/gnome-desktop |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
78 |
REQUIRED_PACKAGES += library/libsoup |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
79 |
REQUIRED_PACKAGES += library/python/pygobject-3-27 |
2f4a8a8882d9
23245639 Deliver gnome-tweak-tool 3.18.1 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
80 |
REQUIRED_PACKAGES += runtime/python-27 |