author | X gate hg captive account <xhg@xserver.us.oracle.com> |
Wed, 19 Aug 2015 13:48:41 -0700 | |
changeset 1484 | bc8922b8e1d2 |
parent 1339 | 4f152696e5f2 |
permissions | -rw-r--r-- |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
1 |
############################################################################### |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
2 |
# |
1339
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
3 |
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
4 |
# |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
5 |
# Permission is hereby granted, free of charge, to any person obtaining a |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
6 |
# copy of this software and associated documentation files (the "Software"), |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
7 |
# to deal in the Software without restriction, including without limitation |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
8 |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
9 |
# and/or sell copies of the Software, and to permit persons to whom the |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
10 |
# Software is furnished to do so, subject to the following conditions: |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
11 |
# |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
12 |
# The above copyright notice and this permission notice (including the next |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
13 |
# paragraph) shall be included in all copies or substantial portions of the |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
14 |
# Software. |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
15 |
# |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
16 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
17 |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
18 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
19 |
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
20 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
21 |
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
22 |
# DEALINGS IN THE SOFTWARE. |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
23 |
# |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
25 |
|
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
26 |
# This makefile simply creates a number of compatibility links in the |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
27 |
# proto area that we include in our packages |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
28 |
|
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
29 |
# Package name used in tarballs |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
30 |
MODULE_NAME=compat-links |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
31 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
32 |
# pkg(5) name we deliver the files in (override default) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
33 |
MODULE_PKGNAME=x11/compatibility/links-xorg |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
34 |
MODULE_PKGNAME_SET=yes |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
35 |
|
1339
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
36 |
# Package metadata |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
37 |
MODULE_DESC = compatibility links for X11 files |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
38 |
MODULE_LICENSE = Oracle |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
39 |
MODULE_LICENSE_SET = yes |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
40 |
|
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
41 |
# Dates to show in Oracle copyright notice in pkg license file |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
42 |
# Earliest & latest of the copyrights in the Oracle files in this pkg |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
43 |
ORACLE_COPYRIGHT_YEARS = 2004, 2010 |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
44 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
45 |
# Package classification (override default) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
46 |
MODULE_PKGCLASS=System/X11 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
47 |
MODULE_PKGCLASS_SET=yes |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
48 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
49 |
# ARC cases that covered this module |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
50 |
# PSARC/2004/187 Xorg Server For Solaris |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
51 |
MODULE_ARC_CASES = PSARC/2004/187 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
52 |
# PSARC/2008/405 Removal of /usr/openwin |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
53 |
MODULE_ARC_CASES += PSARC/2008/405 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
963
diff
changeset
|
54 |
|
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
55 |
# No sources |
1339
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1196
diff
changeset
|
56 |
MODULE_VERSION=src |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
57 |
SOURCE_TARBALL_NAME=NONE |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
58 |
SOURCE_TARBALL_NAME_SET=yes |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
59 |
|
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
60 |
# Don't need default targets for configure, build, or install, since there's |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
61 |
# nothing to build, and the install rule follows here |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
62 |
CONFIGURE_TARGETS = |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
63 |
CONFIGURE_TARGETS_SET=yes |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
64 |
BUILD_TARGETS = |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
65 |
BUILD_TARGETS_SET=yes |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
66 |
INSTALL_TARGETS = install_links |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
67 |
INSTALL_TARGETS_SET=yes |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
68 |
|
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
69 |
### Include common rulesets |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
70 |
include ../Makefile.inc |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
71 |
|
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
72 |
DESTDIR=$(PROTODIR) |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
73 |
|
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
74 |
# Even though we deliver all our files to /usr/{bin,lib} now, other |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
75 |
# consolidations still deliver to /usr/X11, so we have to maintain |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
76 |
# /usr/X11, which means leaving symlinks there to our programs & libraries |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
77 |
# to avoid breaking existing scripts and binaries |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
78 |
$(DESTDIR)/usr/X11: |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
79 |
mkdir -p $@ |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
80 |
|
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
81 |
# The SVID ABI established the X->X11 link |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
82 |
# PSARC 2004/187 established the X11R6->X11 link for compatibility with Linux |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
83 |
# PSARC 2008/405 removed /usr/openwin and replaced it with a link to /usr/X11 |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
84 |
INSTALL_LINKS = $(DESTDIR)/usr/X $(DESTDIR)/usr/X11R6 $(DESTDIR)/usr/openwin |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
85 |
|
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
86 |
$(INSTALL_LINKS): $(DESTDIR)/usr/X11 |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
87 |
@rm -f $@ |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
88 |
ln -s X11 $@ |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
89 |
|
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
90 |
install_links: $(INSTALL_LINKS) |
989
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
91 |
|
992
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
92 |
# Link directory for Xserver private libraries and data files for |
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
93 |
# compatibility with Xnewt binaries built for Solaris 10 |
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
94 |
XSERVER_LIB_LINKDIR = $(DESTDIR)/usr/X11/lib/X11 |
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
95 |
XSERVER_LIB_LINKPATH = $(XSERVER_LIB_LINKDIR)/xserver |
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
96 |
|
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
97 |
install_links: $(XSERVER_LIB_LINKPATH) |
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
98 |
|
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
99 |
$(XSERVER_LIB_LINKDIR): $(DESTDIR)/usr/X11 |
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
100 |
mkdir -p $@ |
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
101 |
|
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
102 |
$(XSERVER_LIB_LINKPATH): $(XSERVER_LIB_LINKDIR) |
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
103 |
@rm -f $@ |
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
104 |
ln -s ../../../lib/xorg $@ |
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
105 |
|
989
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
106 |
# Font links so that Java fontconfig.properties can find the fonts they use |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
107 |
# (see CR 6905518 & 6972032) |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
108 |
|
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
109 |
FONT_LINKDIR = $(DESTDIR)/usr/X11/lib/X11/fonts |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
110 |
FONT_LINKS = 75dpi 100dpi misc TrueType |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
111 |
FONT_LINKPATHS = $(FONT_LINKS:%=$(FONT_LINKDIR)/%) |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
112 |
|
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
113 |
install_links: $(FONT_LINKPATHS) |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
114 |
|
992
9738f5ac74f1
6972736 broken links to libXfont.so and libXres.so from package pkg:/x11/library/libxfont
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
989
diff
changeset
|
115 |
$(FONT_LINKDIR): $(XSERVER_LIB_LINKDIR) |
989
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
116 |
mkdir -p $@ |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
117 |
|
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
118 |
$(FONT_LINKDIR)/75dpi $(FONT_LINKDIR)/100dpi: $(FONT_LINKDIR) |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
119 |
@rm -f $@ |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
120 |
ln -s ../../../../share/fonts/X11/$(@F)-ISO8859-1 $@ |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
121 |
|
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
122 |
$(FONT_LINKDIR)/misc: $(FONT_LINKDIR) |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
123 |
@rm -f $@ |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
124 |
ln -s ../../../../share/fonts/X11/misc $@ |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
125 |
|
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
126 |
$(FONT_LINKDIR)/TrueType: $(FONT_LINKDIR) |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
127 |
@rm -f $@ |
69f41ae8b459
6972032 Java Application can not display Japanese Characters correctly in snv_144.
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
128 |
ln -s ../../../../share/fonts/TrueType $@ |
1196
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
129 |
|
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
130 |
# /usr/lib/64 link needed for check_rtime to find binaries using the */64 |
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
131 |
# paths that gcc inserts in runpaths, even though we don't package the link. |
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
132 |
LIB64_LINK=$(PROTODIR)$(X11_LIB_DIR)/64 |
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
133 |
|
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
134 |
$(LIB64_LINK): |
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
135 |
mkdir -p $(@D) |
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
136 |
rm -f $@ |
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
137 |
ln -s $(SUBDIR64) $@ |
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
138 |
|
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
992
diff
changeset
|
139 |
install_links: $(LIB64_LINK) |