author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Wed, 08 May 2013 18:06:35 -0700 | |
changeset 1377 | 74e8a5844513 |
parent 1276 | 52f85727ce94 |
child 1408 | 17c15e2662ba |
permissions | -rw-r--r-- |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
1 |
############################################################################### |
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
2 |
# |
1276
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
3 |
# Xlib-based client library for common X11 protocol extensions |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
4 |
# |
1377
74e8a5844513
16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
5 |
# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
6 |
# |
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
7 |
# Permission is hereby granted, free of charge, to any person obtaining a |
919
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
8 |
# copy of this software and associated documentation files (the "Software"), |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
9 |
# to deal in the Software without restriction, including without limitation |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
10 |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
11 |
# and/or sell copies of the Software, and to permit persons to whom the |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
12 |
# Software is furnished to do so, subject to the following conditions: |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
13 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
14 |
# The above copyright notice and this permission notice (including the next |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
15 |
# paragraph) shall be included in all copies or substantial portions of the |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
16 |
# Software. |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
17 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
18 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
19 |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
20 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
21 |
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
22 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
23 |
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
24 |
# DEALINGS IN THE SOFTWARE. |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
25 |
# |
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
26 |
# |
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
27 |
|
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
28 |
# Package name used in tarballs |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
366
diff
changeset
|
29 |
MODULE_NAME=libXext |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
30 |
|
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
31 |
# Version number (used in path names) |
1276
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
32 |
MODULE_VERSION=1.3.1 |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
33 |
|
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
34 |
# Checksums for upstream tarball |
1276
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
35 |
TARBALL_MD5 = 71251a22bc47068d60a95f50ed2ec3cf |
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
36 |
TARBALL_SHA1 = 764ac472ae19a0faade193717a9e0938d3430aaa |
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
37 |
TARBALL_SHA256= 56229c617eb7bfd6dec40d2805bc4dfb883dfe80f130d99b9a2beb632165e859 |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
38 |
|
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
39 |
# Patches to apply to source after unpacking, in order |
1377
74e8a5844513
16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
40 |
SOURCE_PATCHES += CVE-2013-1982.patch,-p1 |
74e8a5844513
16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
41 |
SOURCE_PATCHES += shm.patch,-p1 |
1276
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
42 |
SOURCE_PATCHES += sun-exts.patch,-p1 |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
43 |
|
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
44 |
# Library name (used for specfiles/mapfiles) |
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
45 |
LIBNAME=Xext |
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
46 |
|
1377
74e8a5844513
16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
47 |
# Dates to show in Oracle copyright notice in pkg license file |
74e8a5844513
16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
48 |
# Earliest & latest of the copyrights in the Oracle files in this pkg |
74e8a5844513
16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
49 |
ORACLE_COPYRIGHT_YEARS = 1990, 2013 |
74e8a5844513
16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
50 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
51 |
# ARC cases that covered this module |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
52 |
# PSARC 1999/188 FBPM (Frame Buffer Power Management) Extension |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
53 |
MODULE_ARC_CASES = PSARC/1999/188 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
54 |
# PSARC/2005/328 Xinerama Protocol Compatibility |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
55 |
MODULE_ARC_CASES += PSARC/2005/328 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
56 |
# PSARC/2007/500 X11 MIT-SHM Extension across zones |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
57 |
MODULE_ARC_CASES += PSARC/2007/500 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
58 |
# PSARC/2008/194 X11R7 update to libXext, libXevie & libXss |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
59 |
MODULE_ARC_CASES += PSARC/2008/194 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
60 |
# PSARC/2009/293 X Generic Event Extension (XGE), Version 1.0 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
61 |
MODULE_ARC_CASES += PSARC/2009/293 |
1124
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1072
diff
changeset
|
62 |
# PSARC/2011/213 X Synchronization Extension version 3.1 |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1072
diff
changeset
|
63 |
MODULE_ARC_CASES += PSARC/2011/213 |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
64 |
|
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
65 |
# Man pages to apply Sun footer to & attributes to list |
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
66 |
SUNTOUCHED_MANPAGES=man/*.man |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
366
diff
changeset
|
67 |
MODULE_STABILITY=Committed |
969
f3e9f1ddd6a8
6965575 Section 3X* man pages can't be found since move to /usr/share/man
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
962
diff
changeset
|
68 |
LIB_MAN_SUFFIX=3xext |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
69 |
|
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
70 |
# pkg-config files that need to have -R added |
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
71 |
FIX_PC_FILES=xext.pc.in |
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
72 |
|
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
73 |
# Enable Solaris-specific code |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
366
diff
changeset
|
74 |
MODULE_CPPFLAGS = -DSUNSOFT |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
75 |
|
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
76 |
# Link with version mapfile and libraries that contain sources that used |
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
77 |
# to be in libXext |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
366
diff
changeset
|
78 |
MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
79 |
|
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
80 |
# Regenerate Makefile.in's from Makefile.am's after patching them |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
366
diff
changeset
|
81 |
AUTORECONF=yes |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
366
diff
changeset
|
82 |
|
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
366
diff
changeset
|
83 |
# Merge in additional sources from sun-src directory |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
366
diff
changeset
|
84 |
ADDITIONAL_SOURCE_DIR=sun-src |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
85 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
86 |
# Compatibility links from /usr/X11/lib to /usr/lib |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
87 |
MODULE_X11_LIBCOMPAT_LINKS = libXext.so libXext.so.0 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
969
diff
changeset
|
88 |
|
851
d428083dbbdd
6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
493
diff
changeset
|
89 |
include ../Makefile.inc |
366
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
90 |
|
7b72d11c8c92
6674738 X modularization: libXext, libXevie & libXss [PSARC/2008/194]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
91 |