summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-02-14 10:09:57 +0000
committerUlrich Müller <ulm@gentoo.org>2008-02-14 10:09:57 +0000
commit50b4865c9a2e7b8a70b85550536832c1428fd620 (patch)
treef1c1bbe03d9b4ee5462bf01fe46632b10cae80e1 /x11-libs/openmotif/files
parentUnquote ${A}. (diff)
downloadgentoo-2-50b4865c9a2e7b8a70b85550536832c1428fd620.tar.gz
gentoo-2-50b4865c9a2e7b8a70b85550536832c1428fd620.tar.bz2
gentoo-2-50b4865c9a2e7b8a70b85550536832c1428fd620.zip
Install libraries and include files without slotting, bug 210021.
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-libs/openmotif/files')
-rw-r--r--x11-libs/openmotif/files/Mwm.defaults14
-rw-r--r--x11-libs/openmotif/files/motif-config-2.391
2 files changed, 105 insertions, 0 deletions
diff --git a/x11-libs/openmotif/files/Mwm.defaults b/x11-libs/openmotif/files/Mwm.defaults
new file mode 100644
index 000000000000..ea91b6fb8d86
--- /dev/null
+++ b/x11-libs/openmotif/files/Mwm.defaults
@@ -0,0 +1,14 @@
+Mwm*fontList: variable
+Mwm*iconClick: False
+Mwm*iconPlacement: top left
+Mwm*moveOpaque: True
+Mwm*rootButtonClick: True
+Mwm*foreground: #000000
+Mwm*background: #B8B8C0
+Mwm*enableThinThickness: True
+Mwm*enableEtchedInMenu: True
+Mwm*menu*fontList: -adobe-helvetica-medium-r-*--*-120-*-*-*-*-*-*
+Mwm*client*title*fontList: -adobe-helvetica-bold-r-*--*-100-*-*-*-*-*-*
+Mwm*icon*fontList: -adobe-helvetica-bold-r-*--*-80-*-*-*-*-*-*
+Mwm*feedback*fontList: -adobe-helvetica-bold-r-*--*-100-*-*-*-*-*-*
+Mwm*multiClickTime: 300
diff --git a/x11-libs/openmotif/files/motif-config-2.3 b/x11-libs/openmotif/files/motif-config-2.3
new file mode 100644
index 000000000000..fe225e7c77bb
--- /dev/null
+++ b/x11-libs/openmotif/files/motif-config-2.3
@@ -0,0 +1,91 @@
+#!/bin/bash
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# based on gcc-config by Martin Schlemmer <azarah@gentoo.org
+# Author: Heinrich Wendel <lanius@gentoo.org>
+
+# Stripped down minimal version for backwards compatibility only.
+# We now just provide the info that other applications might use
+# to compile and link against openmotif - Jakub Moc <jakub@gentoo.org>
+
+usage() {
+cat << "USAGE_END"
+Usage: motif-config [option]
+
+Options:
+
+ -L, --get-lib-path Print path where openmotif libraries are located.
+
+ -I, --get-inc-path Print path where openmotif includes are located.
+
+ --libs Print link flags for openmotif
+
+ --cflags Print compilation flags for openmotif
+
+USAGE_END
+ exit $1
+}
+[[ $# -lt 1 ]] && usage 1
+[[ $# -gt 2 ]] && usage 1
+
+get_lib_path() {
+ echo "/usr/@@LIBDIR@@/"
+ exit 0
+}
+
+get_inc_path() {
+ echo "/usr/include/"
+ exit 0
+}
+
+get_cflags() {
+ echo "-I/usr/include/"
+ exit 0
+}
+
+get_libs() {
+ echo "-L/usr/@@LIBDIR@@/"
+ exit 0
+}
+
+for x in "$@"; do
+ case "${x}" in
+ -L|--get-lib-path)
+ [[ $# -gt 2 ]] && usage 1
+ get_lib_path $2
+ ;;
+
+ -I|--get-inc-path)
+ [[ $# -gt 2 ]] && usage 1
+ get_inc_path $2
+ ;;
+
+ --cflags)
+ [[ $# -gt 2 ]] && usage 1
+ get_cflags $2
+ ;;
+
+ --libs)
+ [[ $# -gt 2 ]] && usage 1
+ get_libs $2
+ ;;
+
+ -h|--help)
+ usage 0
+ ;;
+
+ -v|--version)
+ echo "motif-config-2.3"
+ exit 0
+ ;;
+
+ -*)
+ usage 1
+ ;;
+
+ *)
+ usage 1
+ ;;
+
+ esac
+done