You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.4 KiB
45 lines
1.4 KiB
# --- T2-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# T2 SDE: package/.../xproto/xproto.conf |
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This program is free software; you can redistribute it and/or modify |
|
# it under the terms of the GNU General Public License as published by |
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
# GNU General Public License can be found in the file COPYING. |
|
# --- T2-COPYRIGHT-NOTE-END --- |
|
|
|
x_dirtree() { |
|
ln -sfnv X11R7 $root/usr/X11 |
|
|
|
mkdir -p $root/etc/X11/app-defaults |
|
mkdir -p $root/usr/X11/lib/X11 |
|
|
|
# FIXME maybe link to /usr/share/fonts? |
|
mkdir -p $root/usr/X11/share/fonts |
|
|
|
ln -sfnv ../X11/bin $root/usr/bin/X11 |
|
ln -sfnv ../X11/include/X11 $root/usr/include/X11 |
|
ln -sfnv ../X11/lib $root/usr/lib/X11 |
|
|
|
ln -sfnv ../../share/fonts $root/usr/X11/lib/X11/fonts |
|
ln -sfv /etc/X11/app-defaults $root/usr/X11/lib/X11/ |
|
|
|
if [[ $libdir = *lib64 ]]; then |
|
mkdir -p $root/usr/X11/lib64/X11 |
|
|
|
ln -sfnv ../../share/fonts $root/usr/X11/lib64/X11/fonts |
|
ln -sfnv ../X11/lib64 $root/usr/lib64/X11 |
|
ln -sfv /etc/X11/app-defaults $root/usr/X11/lib64/X11/ |
|
|
|
# CHECK: this compat link seems to be needed, or somebody |
|
# finds the file to patch inside the imake template files |
|
ln -sfnv ../../lib64/X11/config $root/usr/X11/lib/X11/config |
|
fi |
|
} |
|
|
|
hook_add postmake 5 x_dirtree |
|
|
|
|