summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-05-11 16:19:55 +0000
committerUlrich Müller <ulm@gentoo.org>2008-05-11 16:19:55 +0000
commit545b24babc2b864e459516b718f6b91845e93cc2 (patch)
treecc1eeb521450cbe3333a6c11c8b32223fd08721e /x11-libs
parentamd64 stable, bug 221167 (diff)
downloadhistorical-545b24babc2b864e459516b718f6b91845e93cc2.tar.gz
historical-545b24babc2b864e459516b718f6b91845e93cc2.tar.bz2
historical-545b24babc2b864e459516b718f6b91845e93cc2.zip
x11-libs/motif-config removal, bug 117057.
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/motif-config/ChangeLog177
-rw-r--r--x11-libs/motif-config/Manifest21
-rw-r--r--x11-libs/motif-config/files/Mwm.defaults14
-rwxr-xr-xx11-libs/motif-config/files/motif-config-0.10310
-rwxr-xr-xx11-libs/motif-config/files/motif-config-0.9288
-rw-r--r--x11-libs/motif-config/files/system.mwmrc106
-rw-r--r--x11-libs/motif-config/metadata.xml9
-rw-r--r--x11-libs/motif-config/motif-config-0.10-r1.ebuild87
-rw-r--r--x11-libs/motif-config/motif-config-0.10-r2.ebuild83
-rw-r--r--x11-libs/motif-config/motif-config-0.9-r1.ebuild97
10 files changed, 0 insertions, 1192 deletions
diff --git a/x11-libs/motif-config/ChangeLog b/x11-libs/motif-config/ChangeLog
deleted file mode 100644
index 64b050925c30..000000000000
--- a/x11-libs/motif-config/ChangeLog
+++ /dev/null
@@ -1,177 +0,0 @@
-# ChangeLog for x11-libs/motif-config
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/ChangeLog,v 1.36 2008/04/21 19:19:49 phreak Exp $
-
- 21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
- Fix up metadata.xml. If there's no maintainer for the package, the metadata
- also needs to contain m-needed@g.o.
-
- 16 Feb 2008; Ulrich Mueller <ulm@gentoo.org> motif-config-0.10-r2.ebuild:
- Stable on amd64, bug 204265.
-
- 14 Feb 2008; nixnut <nixnut@gentoo.org> motif-config-0.10-r2.ebuild:
- Stable on ppc wrt bug 204265
-
- 13 Feb 2008; Raúl Porcel <armin76@gentoo.org>
- motif-config-0.10-r2.ebuild:
- alpha/ia64/sparc stable wrt #204265
-
- 13 Feb 2008; Markus Rothe <corsair@gentoo.org>
- motif-config-0.10-r2.ebuild:
- Stable on ppc64; bug #204265
-
- 13 Feb 2008; Raúl Porcel <armin76@gentoo.org>
- motif-config-0.10-r2.ebuild:
- Fix bug #209982, thanks to Jakub
-
- 13 Feb 2008; Jeroen Roovers <jer@gentoo.org> motif-config-0.10-r2.ebuild:
- Stable for HPPA (bug #204265).
-
- 13 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
- motif-config-0.10-r2.ebuild:
- stable x86, bug 204265
-
-*motif-config-0.10-r2 (12 Feb 2008)
-
- 12 Feb 2008; Ulrich Mueller <ulm@gentoo.org> files/motif-config-0.10,
- -files/bindings.tbz2, -files/bitmaps.tbz2, +motif-config-0.10-r2.ebuild:
- Install bindings and bitmaps, move their tarballs to mirrors. Add MOTIF
- to LICENSE. Update dependencies. Ebuild by Jakub Moc <jakub@gentoo.org>,
- bug 91951. Fix version number in motif-config script.
-
- 27 Sep 2007; Jeroen Roovers <jer@gentoo.org> files/motif-config-0.9,
- files/motif-config-0.10:
- Determine which executables should go into /usr/bin.
-
-*motif-config-0.10-r1 (26 Sep 2007)
-*motif-config-0.9-r1 (26 Sep 2007)
-
- 26 Sep 2007; Jeroen Roovers <jer@gentoo.org> files/motif-config-0.9,
- files/motif-config-0.10, -motif-config-0.9.ebuild,
- +motif-config-0.9-r1.ebuild, -motif-config-0.10.ebuild,
- +motif-config-0.10-r1.ebuild:
- Don't mess with /usr/bin.
-
- 15 Jul 2006; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
- Remove lanius from metadata.xml as he's retired.
-
- 09 Jul 2006; Javier Villavicencio <the_paya@gentoo.org>
- motif-config-0.10.ebuild:
- Added ~x86-fbsd keyword.
-
- 20 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org> ChangeLog:
- Fix digests
-
-*motif-config-0.10 (20 Feb 2006)
-
- 20 Feb 2006; Heinrich Wendel <lanius@gentoo.org> -files/motif-config-0.6,
- -files/motif-config-0.7, -files/motif-config-0.8,
- +files/motif-config-0.10, -motif-config-0.6.ebuild,
- -motif-config-0.7.ebuild, -motif-config-0.8.ebuild,
- +motif-config-0.10.ebuild:
- bug #123226; add proper return codes; fix previsouly broken motif installations
-
- 16 Feb 2006; Fabian Groffen <grobian@gentoo.org> motif-config-0.9.ebuild:
- Marked ppc-macos stable (bug #114234)
-
- 25 Dec 2005; Fernando J. Pereda <ferdy@gentoo.org>
- motif-config-0.9.ebuild:
- stable on alpha as per bug #114234
-
- 24 Dec 2005; Mark Loeser <halcy0n@gentoo.org> motif-config-0.9.ebuild:
- Stable on x86; bug #114234
-
- 22 Dec 2005; Michael Hanselmann <hansmi@gentoo.org>
- motif-config-0.9.ebuild:
- Stable on hppa, ppc.
-
- 21 Dec 2005; Luis Medinas <metalgod@gentoo.org> motif-config-0.9.ebuild:
- Stable on amd64 for bug #114234.
-
- 21 Dec 2005; Gustavo Zacarias <gustavoz@gentoo.org>
- motif-config-0.9.ebuild:
- Stable on sparc wrt #114234
-
- 21 Dec 2005; Markus Rothe <corsair@gentoo.org> motif-config-0.9.ebuild:
- Stable on ppc64; bug #114234
-
- 10 Jul 2005; Heinrich Wendel <lanius@gentoo.org> motif-config-0.9.ebuild:
- bug #94804
-
-*motif-config-0.9 (26 Apr 2005)
-
- 26 Apr 2005; Heinrich Wendel <lanius@gentoo.org> +files/motif-config-0.9,
- files/system.mwmrc, +motif-config-0.9.ebuild:
- block old versions to prevent upgrade bugs; hopefully fix outstanding bugs
-
-*motif-config-0.8 (25 Mar 2005)
-
- 25 Mar 2005; Heinrich Wendel <lanius@gentoo.org> +files/motif-config-0.8,
- +motif-config-0.8.ebuild:
- fix upgrading from unslottet version
-
-*motif-config-0.7 (24 Mar 2005)
-
- 24 Mar 2005; Heinrich Wendel <lanius@gentoo.org> -files/motif-config-0.1,
- -files/motif-config-0.2, -files/motif-config-0.3, -files/motif-config-0.4,
- -files/motif-config-0.5, +files/motif-config-0.7, -motif-config-0.4.ebuild,
- -motif-config-0.5.ebuild, +motif-config-0.7.ebuild:
- cleanups; some fixes
-
-*motif-config-0.6 (22 Mar 2005)
-
- 22 Mar 2005; Heinrich Wendel <lanius@gentoo.org> +files/motif-config-0.6,
- +motif-config-0.6.ebuild:
- fix bug #86201
-
-*motif-config-0.5 (14 Mar 2005)
-
- 14 Mar 2005; Heinrich Wendel <lanius@gentoo.org> +files/motif-config-0.5,
- +motif-config-0.5.ebuild:
- don't build against already installed motif-versions
-
- 08 Mar 2005; Heinrich Wendel <lanius@gentoo.org> -motif-config-0.1.ebuild,
- -motif-config-0.2-r1.ebuild, -motif-config-0.2.ebuild,
- -motif-config-0.3.ebuild:
- cleanups
-
-*motif-config-0.4 (07 Mar 2005)
-
- 07 Mar 2005; Heinrich Wendel <lanius@gentoo.org> +files/motif-config-0.4,
- +motif-config-0.4.ebuild:
- move binaries to /usr/lib/ to support FHS, install ldpath entry
-
-*motif-config-0.3 (02 Mar 2005)
-
- 02 Mar 2005; Lina Pezzella <j4rg0n@gentoo.org> motif-config-0.2-r1.ebuild,
- motif-config-0.3.ebuild:
- Removed ppc-macos once again. Please talk to myself or gongloo (we are
- porting co-leads) before adding ppc-macos.
-
-*motif-config-0.2-r1 (27 Feb 2005)
-
- 27 Feb 2005; Heinrich Wendel <lanius@gentoo.org>
- +motif-config-0.2-r1.ebuild:
- bump to install correct version of motif-config
-
- 26 Feb 2005; Lina Pezzella <j4rg0n@gentoo.org> motif-config-0.1.ebuild,
- motif-config-0.2.ebuild:
- Depends on baselayout, which is not keyworded ppc-macos
-
-*motif-config-0.2 (23 Feb 2005)
-
- 23 Feb 2005; Heinrich Wendel <lanius@gentoo.org> +files/motif-config-0.2,
- +motif-config-0.2.ebuild:
- fix return/break statemens
-
- 16 Feb 2005; Heinrich Wendel <lanius@gentoo.org> +files/Mwm.defaults,
- +files/bindings.tbz2, +files/bitmaps.tbz2, files/motif-config-0.1,
- +files/system.mwmrc, motif-config-0.1.ebuild:
- add default config files
-
-*motif-config-0.1 (14 Feb 2005)
-
- 14 Feb 2005; Heinrich Wendel <lanius@gentoo.org> +metadata.xml,
- +files/motif-config-0.1, +motif-config-0.1.ebuild:
- intial revision
-
diff --git a/x11-libs/motif-config/Manifest b/x11-libs/motif-config/Manifest
deleted file mode 100644
index e43d11cf434c..000000000000
--- a/x11-libs/motif-config/Manifest
+++ /dev/null
@@ -1,21 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX Mwm.defaults 536 RMD160 99fc40c2e923b53a14b2911c37064f2c9cd3f63b SHA1 ddbe7ab7af3a8caf6ccb9d6ab2c721ce5940edd1 SHA256 5373d8c7bd5460ce83bda99f08725fe9154cd4b5ca2b0698e5a0fda10e50f250
-AUX motif-config-0.10 5873 RMD160 0b0bcfc490be61fb36e31fc5a5fd2bb30c572350 SHA1 a17de82401305c715f6c94d4b30c95f620308e27 SHA256 adf0977084a748c3c287530b9d39d425cd1987cbf0db779b79ef2b71d2365402
-AUX motif-config-0.9 5343 RMD160 46744e8f1209387b73956cece3da75e98fcc2c81 SHA1 ef8e605a786edcbab9215f9809e73ca771cac582 SHA256 f1441526d41a41db1de892367ebbf03303ebe3f89a10910b47733e3d9bb498be
-AUX system.mwmrc 2960 RMD160 28c349764f104e1283032dba576c2d23b4f851f8 SHA1 d282a8638ce3660050790160df3bedb507efb9e7 SHA256 b1c16bd2cf04ecd9183309e404f723444567e6b4582ed95bd74c9cc50f3c5835
-DIST motif-config-0.10-bindings.tar.bz2 5351 RMD160 2feab965b6ef35046423714dd5b94ee5776b2368 SHA1 e6bfba36cc44ee66b4a834873eadf366a9f73ddd SHA256 85478de713ef19fad4af662dd4e10f32066012f0043db838da73f2d7f2e1d9d2
-DIST motif-config-0.10-bitmaps.tar.bz2 3182 RMD160 ed1f244264cd09979d1c9f781dbc0a7235c606c0 SHA1 9f8036cb26166a9edd9e51f3a942b8b7862eb887 SHA256 af217708e6156ba0e9a63e4f9be97a06c8294f28f5869d0efd12d790f743dce4
-EBUILD motif-config-0.10-r1.ebuild 2511 RMD160 ab799250308e5d81f0aa35682ff331c84403f3a8 SHA1 68ed1c79a4a0063f9bbe5c46eb6660b44ccddcc2 SHA256 68f8605eddf4922a4bd9bdf3885f43735eddc472b7646827362d535d8f8db9fb
-EBUILD motif-config-0.10-r2.ebuild 2421 RMD160 058a4e6ba6a6d290ee7a5c5b25664f61886c94e3 SHA1 f272d7fef994cb82f958875e29fbbe3d4e5debf8 SHA256 7df50a3a978c404a8d2343b106e126a8e94a3b5993f61fa1738b9cd0e2767519
-EBUILD motif-config-0.9-r1.ebuild 2576 RMD160 9db2fe70231e6ffe3cb1b8f4bea9fe46c6145b2a SHA1 42aadc24509bcfac64be26425c94e0469d46cb73 SHA256 a9e8506fd678d9c1df65b458bd1344e1ba20ca63d827ae37003ea798a296002e
-MISC ChangeLog 6213 RMD160 52437ee642ec87844074df508e71c4166b319497 SHA1 d692d6293dee66ccda95e25dd0d6376b078e9f9e SHA256 361bb1e45a73ae3d2c4e0abb687456ef1cd79d73840d25e9ccf4e5cddfe9512b
-MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFIDOjmyuNVb5qfaOYRAoefAKCeRLlDJ3jJUobI+GZm9ygGTUwWfgCgq8JU
-8K+xztjcjn8RMWoGh748wGI=
-=z9zN
------END PGP SIGNATURE-----
diff --git a/x11-libs/motif-config/files/Mwm.defaults b/x11-libs/motif-config/files/Mwm.defaults
deleted file mode 100644
index ea91b6fb8d86..000000000000
--- a/x11-libs/motif-config/files/Mwm.defaults
+++ /dev/null
@@ -1,14 +0,0 @@
-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/motif-config/files/motif-config-0.10 b/x11-libs/motif-config/files/motif-config-0.10
deleted file mode 100755
index 0b250166fc83..000000000000
--- a/x11-libs/motif-config/files/motif-config-0.10
+++ /dev/null
@@ -1,310 +0,0 @@
-#!/bin/bash
-# Copyright 1999-2004 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>
-
-umask 022
-
-PROFILE_PATH=/usr/@@LIBDIR@@/motif
-CONFIG_FILE=${PROFILE_PATH}/current
-
-usage() {
-cat << "USAGE_END"
-Usage: motif-config [option] [profile]
-Change the current motif profile, or give info about profiles.
-
-Options:
-
- -c, --get-current-profile Print current used motif profile.
-
- -l, --list-profiles Print a list of available profiles.
-
- -s, --set-profile Set the current profile.
-
- -L, --get-lib-path Print path where libraries of the given/current
- profile are located.
-
- -I, --get-inc-path Print path where includes of the given/current
- profile are located.
-
- --libs Print link flags for the given/current
- profile.
-
- --cflags Print compilation flags for the given/current
- profile.
-
-USAGE_END
- exit $1
-}
-[[ $# -lt 1 ]] && usage 1
-[[ $# -gt 2 ]] && usage 1
-
-# redefine eerror/einfo to remove baselayout dep
-# to make ppc-macos people happy
-eerror() {
- echo -e " \e[31;01m*\e[0m $*";
- exit 1
-}
-einfo() {
- echo -e " \e[32;01m*\e[0m $*";
-}
-
-_check_root() {
- if [[ "$(id -u)" -ne 0 ]] ; then
- eerror "$0: Must be root."
- exit 1
- fi
-}
-
-_activate_profile() {
- _check_root
- local retval=0
-
- if [ -z "${1}" ]; then
- return 0
- fi
-
- # set new profile as default
- new=${1}
- files=""
- # libs
- for file in `ls /usr/@@LIBDIR@@/${new}/ | grep lib`; do
- files="${files} /usr/@@LIBDIR@@/${file}"
- rm -rf /usr/@@LIBDIR@@/${file}
- retval=$((retval | $? ))
- ln -s /usr/@@LIBDIR@@/${new}/${file} /usr/@@LIBDIR@@/${file}
- retval=$((retval | $? ))
- done
- # includes
- for file in `ls /usr/include/${new}/`; do
- files="${files} /usr/include/${file}"
- rm -rf /usr/include/${file}
- retval=$((retval | $? ))
- ln -s /usr/include/${new}/${file} /usr/include/${file}
- retval=$((retval | $? ))
- done
- # executables
- for file in mwm uil xmbind; do
- rm -f /usr/bin/${file}
- ln -s /usr/@@LIBDIR@@/${new}/${file} /usr/bin/${file}
- done
- # man pages
- for file in `find /usr/share/man -regex ".*-${new}\..x?.gz"`; do
- files="${files} ${file/-${new}/}"
- rm -rf ${file/-${new}/}
- retval=$((retval | $? ))
- ln -s ${file} ${file/-${new}/}
- retval=$((retval | $? ))
- done
-
- cat ${PROFILE_PATH}/${new} > ${CONFIG_FILE}
- retval=$((retval | $? ))
- echo "FILES='${files}'" >> ${CONFIG_FILE}
- retval=$((retval | $? ))
-
- test $retval -eq 0
- return $?
-}
-
-_deactivate_profile() {
- _check_root
-
- source ${CONFIG_FILE} 2>/dev/null
- current=${PROFILE}
-
- if [ -z "$current" ]; then
- return 0
- fi
-
- for file in ${FILES}; do
- rm -rf ${file}
- retval=$((retval | $? ))
- done
-
- rm -rf ${CONFIG_FILE}
- retval=$((retval | $? ))
-
- test $retval -eq 0
- return $?
-}
-
-switch_profile() {
- _check_root
- local retval=0
-
- if [ -n "$1" ]; then
- if [ ! -e ${PROFILE_PATH}/${1} ]; then
- eerror "$0: no such profile ${1}"
- retval=1
- else
- _deactivate_profile
- retval=$((retval | $? ))
- _activate_profile $1
- retval=$((retval | $? ))
- fi
- else
- source ${CONFIG_FILE} 2> /dev/null
- _deactivate_profile
- retval=$((retval | $? ))
- if [ -z "${PROFILE}" -o ! -f ${PROFILE_PATH}/${PROFILE} ]; then
- for y in `ls ${PROFILE_PATH} | grep -v removed | grep -v current | sort -r`; do
- _activate_profile ${y}
- retval=$((retval | $? ))
- break
- done
- if [ -z "${y}" ]; then
- eerror "$0: no profile to activate"
- retval=1
- fi
- else
- _activate_profile ${PROFILE}
- retval=$((retval | $? ))
- fi
- fi
-
- source ${CONFIG_FILE} 2>/dev/null
- einfo "$0: New default Profile is: ${PROFILE}"
-
- test $retval -eq 0
- return $?
-}
-
-get_current_profile() {
- source ${CONFIG_FILE} 2> /dev/null
- echo ${PROFILE}
-}
-
-list_profiles() {
- i=1
- source ${CONFIG_FILE} 2> /dev/null
- current=${PROFILE}
- for y in `ls ${PROFILE_PATH} | grep -v current | grep -v removed`; do
- source ${PROFILE_PATH}/${y}
- output="[${i}] ${PROFILE}";
- if [ "${y}" = "${current}" ]; then
- output="${output} *"
- fi
- echo "$output"
- i=$((i + 1))
- done
- exit $?
-}
-
-get_lib_path() {
- if [ "$1" != "" ]; then
- file=${1}
- else
- file="current"
- fi
- source ${PROFILE_PATH}/${file}
- if [ $? -eq 1 ]; then
- eerror "$0: No such profile: $profile"
- else
- echo "/usr/@@LIBDIR@@/${PROFILE}/"
- exit 0
- fi
-}
-
-get_inc_path() {
- if [ "$1" != "" ]; then
- file=${1}
- else
- file="current"
- fi
- source ${PROFILE_PATH}/${file}
- if [ $? -eq 1 ]; then
- eerror "$0: No such profile: $profile"
- else
- echo "/usr/include/${PROFILE}/"
- exit 0
- fi
-}
-
-get_cflags() {
- if [ "$1" != "" ]; then
- file=${1}
- else
- file="current"
- fi
- source ${PROFILE_PATH}/${file}
- if [ $? -eq 1 ]; then
- eerror "$0: No such profile: $profile"
- else
- echo "-I/usr/include/${PROFILE}/"
- exit 0
- fi
-}
-
-get_libs() {
- if [ "$1" != "" ]; then
- file=${1}
- else
- file="current"
- fi
- source ${PROFILE_PATH}/${file}
- if [ $? -eq 1 ]; then
- eerror "$0: No such profile: $profile"
- else
- echo "-L/usr/@@LIBDIR@@/${PROFILE}/"
- exit 0
- fi
-}
-
-for x in "$@"; do
- case "${x}" in
- -c|--get-current-profile)
- [[ $# -ne 1 ]] && usage 1
- get_current_profile
- ;;
-
- -l|--list-profiles)
- [[ $# -ne 1 ]] && usage 1
- list_profiles
- ;;
-
- -s|--set-profile)
- [[ $# -gt 2 ]] && usage 1
- switch_profile $2
- exit $?
- ;;
-
- -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-0.10"
- exit 0
- ;;
-
- -*)
- usage 1
- ;;
-
- *)
- usage 1
- ;;
-
- esac
-done
diff --git a/x11-libs/motif-config/files/motif-config-0.9 b/x11-libs/motif-config/files/motif-config-0.9
deleted file mode 100755
index 68de854f8b86..000000000000
--- a/x11-libs/motif-config/files/motif-config-0.9
+++ /dev/null
@@ -1,288 +0,0 @@
-#!/bin/bash
-# Copyright 1999-2004 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>
-
-umask 022
-
-PROFILE_PATH=/usr/@@LIBDIR@@/motif
-CONFIG_FILE=${PROFILE_PATH}/current
-
-usage() {
-cat << "USAGE_END"
-Usage: motif-config [option] [profile]
-Change the current motif profile, or give info about profiles.
-
-Options:
-
- -c, --get-current-profile Print current used motif profile.
-
- -l, --list-profiles Print a list of available profiles.
-
- -s, --set-profile Set the current profile.
-
- -L, --get-lib-path Print path where libraries of the given/current
- profile are located.
-
- -I, --get-inc-path Print path where includes of the given/current
- profile are located.
-
- --libs Print link flags for the given/current
- profile.
-
- --cflags Print compilation flags for the given/current
- profile.
-
-USAGE_END
- exit $1
-}
-[[ $# -lt 1 ]] && usage 1
-[[ $# -gt 2 ]] && usage 1
-
-# redefine eerror/einfo to remove baselayout dep
-# to make ppc-macos people happy
-eerror() {
- echo -e " \e[31;01m*\e[0m $*";
- exit 1
-}
-einfo() {
- echo -e " \e[32;01m*\e[0m $*";
-}
-
-_check_root() {
- if [[ "$(id -u)" -ne 0 ]] ; then
- eerror "$0: Must be root."
- exit 1
- fi
-}
-
-_activate_profile() {
- _check_root
-
- if [ -z "${1}" ]; then
- return 0
- fi
-
- # set new profile as default
- new=${1}
- files=""
- # libs
- for file in `ls /usr/@@LIBDIR@@/${new}/ | grep lib`; do
- files="${files} /usr/@@LIBDIR@@/${file}"
- rm -f /usr/@@LIBDIR@@/${file}
- ln -s /usr/@@LIBDIR@@/${new}/${file} /usr/@@LIBDIR@@/${file}
- done
- # includes
- for file in `ls /usr/include/${new}/`; do
- files="${files} /usr/include/${file}"
- rm -f /usr/include/${file}
- ln -s /usr/include/${new}/${file} /usr/include/${file}
- done
- # executables
- for file in mwm uil xmbind; do
- rm -f /usr/bin/${file}
- ln -s /usr/@@LIBDIR@@/${new}/${file} /usr/bin/${file}
- done
- # man pages
- for file in `find /usr/share/man -regex ".*-${new}\..x?.gz"`; do
- files="${files} ${file/-${new}/}"
- rm -f ${file/-${new}/}
- ln -s ${file} ${file/-${new}/}
- done
-
- cat ${PROFILE_PATH}/${new} > ${CONFIG_FILE}
- echo "FILES='${files}'" >> ${CONFIG_FILE}
-
- return $?
-}
-
-_deactivate_profile() {
- _check_root
-
- source ${CONFIG_FILE} 2>/dev/null
- current=${PROFILE}
-
- if [ -z "$current" ]; then
- return 0
- fi
-
- for file in ${FILES}; do
- rm -f ${file}
- done
-
- rm -f ${CONFIG_FILE}
-
- return $?
-}
-
-switch_profile() {
- _check_root
-
- if [ -n "$1" ]; then
- if [ ! -e ${PROFILE_PATH}/${1} ]; then
- eerror "$0: no such profile ${1}"
- else
- _deactivate_profile
- _activate_profile $1
- fi
- else
- source ${CONFIG_FILE} 2> /dev/null
- _deactivate_profile
- if [ -z "${PROFILE}" -o ! -f ${PROFILE_PATH}/${PROFILE} ]; then
- for y in `ls ${PROFILE_PATH} | grep -v removed | grep -v current | sort -r`; do
- _activate_profile ${y}
- break
- done
- if [ -z "${y}" ]; then
- eerror "$0: no profile to activate"
- fi
- else
- _activate_profile ${PROFILE}
- fi
- fi
-
- source ${CONFIG_FILE} 2>/dev/null
- einfo "$0: New default Profile is: ${PROFILE}"
-
- return $?
-}
-
-get_current_profile() {
- source ${CONFIG_FILE} 2> /dev/null
- echo ${PROFILE}
-}
-
-list_profiles() {
- i=1
- source ${CONFIG_FILE} 2> /dev/null
- current=${PROFILE}
- for y in `ls ${PROFILE_PATH} | grep -v current | grep -v removed`; do
- source ${PROFILE_PATH}/${y}
- output="[${i}] ${PROFILE}";
- if [ "${y}" = "${current}" ]; then
- output="${output} *"
- fi
- echo "$output"
- i=$((i + 1))
- done
- exit $?
-}
-
-get_lib_path() {
- if [ "$1" != "" ]; then
- file=${1}
- else
- file="current"
- fi
- source ${PROFILE_PATH}/${file}
- if [ $? -eq 1 ]; then
- eerror "$0: No such profile: $profile"
- else
- echo "/usr/@@LIBDIR@@/${PROFILE}/"
- exit 0
- fi
-}
-
-get_inc_path() {
- if [ "$1" != "" ]; then
- file=${1}
- else
- file="current"
- fi
- source ${PROFILE_PATH}/${file}
- if [ $? -eq 1 ]; then
- eerror "$0: No such profile: $profile"
- else
- echo "/usr/include/${PROFILE}/"
- exit 0
- fi
-}
-
-get_cflags() {
- if [ "$1" != "" ]; then
- file=${1}
- else
- file="current"
- fi
- source ${PROFILE_PATH}/${file}
- if [ $? -eq 1 ]; then
- eerror "$0: No such profile: $profile"
- else
- echo "-I/usr/include/${PROFILE}/"
- exit 0
- fi
-}
-
-get_libs() {
- if [ "$1" != "" ]; then
- file=${1}
- else
- file="current"
- fi
- source ${PROFILE_PATH}/${file}
- if [ $? -eq 1 ]; then
- eerror "$0: No such profile: $profile"
- else
- echo "-L/usr/@@LIBDIR@@/${PROFILE}/"
- exit 0
- fi
-}
-
-for x in "$@"; do
- case "${x}" in
- -c|--get-current-profile)
- [[ $# -ne 1 ]] && usage 1
- get_current_profile
- ;;
-
- -l|--list-profiles)
- [[ $# -ne 1 ]] && usage 1
- list_profiles
- ;;
-
- -s|--set-profile)
- [[ $# -gt 2 ]] && usage 1
- switch_profile $2
- exit $?
- ;;
-
- -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-0.9"
- exit 0
- ;;
-
- -*)
- usage 1
- ;;
-
- *)
- usage 1
- ;;
-
- esac
-done
diff --git a/x11-libs/motif-config/files/system.mwmrc b/x11-libs/motif-config/files/system.mwmrc
deleted file mode 100644
index eae1d6785dd6..000000000000
--- a/x11-libs/motif-config/files/system.mwmrc
+++ /dev/null
@@ -1,106 +0,0 @@
-!!
-!! $Id: system.mwmrc,v 1.2 2005/04/26 13:56:50 lanius Exp $
-!! Root Menu Description
-!!
-Menu DefaultRootMenu
-{
- "Root Menu" f.title
- "New Window" f.exec "xterm -e /bin/bash &"
- "Shuffle Up" f.circle_up
- "Shuffle Down" f.circle_down
- "Refresh" f.refresh
- "Pack Icons" f.pack_icons
- "Toggle Behavior..." f.set_behavior
- no-label f.separator
- "Restart..." f.restart
- "Restart fvwm" f.restart - "fvwm"
- "Screen next" f.screen - "next"
- "Screen prev" f.screen - "prev"
- "Screen back" f.screen - "back"
- "Screen 0" f.screen - "0"
- "Screen 1" f.screen - "1"
- "Screen 3" f.screen - "3"
- "Screen -1" f.screen - "-1"
- "Quit..." f.quit_mwm
-}
-
-!!
-!! Default Window Menu
-!!
-Menu DefaultWindowMenu
-{
- Restore _R Alt<Key>F5 f.restore
- Move _M Alt<Key>F7 f.move
- Size _S Alt<Key>F8 f.resize
- Minimize _n Alt<Key>F9 f.minimize
- Maximize _x Alt<Key>F10 f.maximize
- Raise _a Alt<Key>F2 f.raise
- Lower _L Alt<Key>F3 f.lower
- no-label f.separator
- Close _C Alt<Key>F4 f.kill
-}
-
-
-!!
-!! Default Key Bindings
-!!
-Keys DefaultKeyBindings
-{
- Shift<Key>Escape window|icon f.post_wmenu
- Alt<Key>space window|icon f.post_wmenu
- Alt<Key>Tab root|icon|window f.next_key
- Alt Shift<Key>Tab root|icon|window f.prev_key
- Alt<Key>Escape root|icon|window f.circle_down
- Alt Shift<Key>Escape root|icon|window f.circle_up
- Alt Shift Ctrl<Key>exclam root|icon|window f.set_behavior
- Alt<Key>F6 window f.next_key transient
- Alt Shift<Key>F6 window f.prev_key transient
- Shift<Key>F10 icon f.post_wmenu
- Alt Shift<Key>Delete root|icon|window f.restart
- <Key>F11 root|icon|window f.screen - "next"
- Alt<Key>F11 root|icon|window f.screen - "prev"
-}
-
-!!
-!! Button Binding Description(s)
-!!
-!! These can be used anywhere
-!!
-Buttons DefaultButtonBindings
-{
- <Btn1Down> icon|frame f.raise
- <Btn3Down> icon|frame f.post_wmenu
- <Btn3Down> root f.menu DefaultRootMenu
-}
-
-!!
-!! These are some example bindings that you might use if your
-!! keyboardFocusPolicy is "explicit". Note that to use these, you'll
-!! have to change the Mwm*buttonBindings resource in Mwm to
-!! ExplicitButtonBindings instead of DefaultButtonBindings.
-!!
-!!Buttons ExplicitButtonBindings
-!!{
-!! <Btn3Down> frame|icon f.post_wmenu
-!! <Btn1Up> icon f.restore
-!! Alt<Btn1Down> window|icon f.lower
-!! Alt<Btn2Down> window|icon f.resize
-!! Alt<Btn3Down> window|icon f.move
-!!}
-!!
-!! These are some example bindings that you might use if your
-!! keyboardFocusPolicy is "pointer". Note that to use these, you'll
-!! have to change the Mwm*buttonBindings resource in Mwm to
-!! PointerButtonBindings instead of DefaultButtonBindings.
-!!
-!!Buttons PointerButtonBindings
-!!{
-!! <Btn1Down> frame|icon f.raise
-!! <Btn3Down> frame|icon f.post_wmenu
-!! <Btn3Down> root f.menu DefaultRootMenu
-!! <Btn1Down> window f.raise
-!! <Btn1Up> icon f.restore
-!! Alt<Btn1Down> window|icon f.lower
-!! Alt<Btn2Down> window|icon f.resize
-!! Alt<Btn3Down> window|icon f.move
-!!}
diff --git a/x11-libs/motif-config/metadata.xml b/x11-libs/motif-config/metadata.xml
deleted file mode 100644
index fae7d74a9aee..000000000000
--- a/x11-libs/motif-config/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>no-herd</herd>
- <maintainer>
- <email>maintainer-needed@gentoo.org</email>
- <name>Default assignee for orphaned packages</name>
- </maintainer>
-</pkgmetadata>
diff --git a/x11-libs/motif-config/motif-config-0.10-r1.ebuild b/x11-libs/motif-config/motif-config-0.10-r1.ebuild
deleted file mode 100644
index 9cfa39f99435..000000000000
--- a/x11-libs/motif-config/motif-config-0.10-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/motif-config-0.10-r1.ebuild,v 1.1 2007/09/26 18:17:55 jer Exp $
-
-inherit multilib
-
-DESCRIPTION="Utility to change the default Motif library"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND="!<x11-libs/openmotif-2.1.30-r13
- !=x11-libs/openmotif-2.2.2*
- !=x11-libs/openmotif-2.2.3
- !=x11-libs/openmotif-2.2.3-r1
- !=x11-libs/openmotif-2.2.3-r2
- !=x11-libs/openmotif-2.2.3-r3
- !=x11-libs/openmotif-2.2.3-r4
- !=x11-libs/openmotif-2.2.3-r5
- !=x11-libs/openmotif-2.2.3-r6
-
- !<x11-libs/lesstif-0.93.94-r4
- !=x11-libs/lesstif-0.93.97
- !=x11-libs/lesstif-0.94.0*"
-RDEPEND="${DEPEND}
- app-shells/bash"
-
-src_install() {
- newbin "${FILESDIR}"/${P} motif-config || die
- dosed "s:@@LIBDIR@@:$(get_libdir):g" /usr/bin/motif-config
-
- # for profile
- dodir /usr/$(get_libdir)/motif
- keepdir /usr/$(get_libdir)/motif
-
- # bitmaps
- #dodir /usr/include/X11/bitmaps
- #tar -xjf ${FILESDIR}/bitmaps.tbz2 -C ${D}/usr/include/X11/bitmaps
- # bindings
- #dodir /usr/$(get_libdir)/X11/bindings
- #tar -xjf ${FILESDIR}/bindings.tbz2 -C ${D}/usr/$(get_libdir)/X11/bindings
-
- # mwm default config
- insinto /etc/X11/app-defaults
- doins "${FILESDIR}"/Mwm.defaults
-
- insinto /etc/X11/mwm
- doins "${FILESDIR}"/system.mwmrc
-
- dodir /usr/$(get_libdir)/X11
- dosym /etc/X11/mwm /usr/$(get_libdir)/X11/mwm
-}
-
-pkg_setup() {
- # clean up cruft left over by old versions
- removed=no
- has_version =x11-libs/openmotif-2.1.30* \
- || ( rm -f /usr/$(get_libdir)/motif/openmotif-2.1; \
- rm -fR /usr/include/openmotif-2.1; \
- rm -fR /usr/$(get_libdir)/openmotif-2.1;
- removed=yes )
- has_version =x11-libs/openmotif-2.2.3* \
- || ( rm -f /usr/$(get_libdir)/motif/openmotif-2.2; \
- rm -fR /usr/include/openmotif-2.2; \
- rm -fR /usr/$(get_libdir)/openmotif-2.2;
- removed=yes )
- has_version =x11-libs/lesstif-0.93.94* \
- || ( rm -f /usr/$(get_libdir)/motif/lesstif-1.2; \
- rm -fR /usr/include/lesstif-1.2; \
- rm -fR /usr/$(get_libdir)/lesstif-1.2;
- removed=yes )
- has_version =x11-libs/lesstif-0.94* \
- || ( rm -f /usr/$(get_libdir)/motif/lesstif-2.1; \
- rm -fR /usr/include/lesstif-2.1; \
- rm -fR /usr/$(get_libdir)/openmotif-2.1;
- removed=yes )
-
- if [ "$removed" = "yes" ]; then
- rm -fR /usr/include/Xm;
- rm -fR /usr/include/uil;
- rm -fR /usr/include/Mrm;
- fi
-}
diff --git a/x11-libs/motif-config/motif-config-0.10-r2.ebuild b/x11-libs/motif-config/motif-config-0.10-r2.ebuild
deleted file mode 100644
index 45660598f4ff..000000000000
--- a/x11-libs/motif-config/motif-config-0.10-r2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/motif-config-0.10-r2.ebuild,v 1.9 2008/04/13 22:06:22 vapier Exp $
-
-inherit multilib
-
-DESCRIPTION="Utility to change the default Motif library"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI="mirror://gentoo/${P}-bindings.tar.bz2
- mirror://gentoo/${P}-bitmaps.tar.bz2"
-
-LICENSE="GPL-2 MOTIF"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE=""
-
-# These blockers are here for transition to a single, non-slotted
-# motif implementation. We are forcing users to unmerge all other
-# slots and implementations before upgrading.
-DEPEND="!<x11-libs/openmotif-2.3.0
- !x11-libs/lesstif"
-RDEPEND="${DEPEND}"
-PDEPEND=">=x11-libs/openmotif-2.3.0"
-
-src_install() {
- newbin "${FILESDIR}"/${P} motif-config || die
- dosed "s:@@LIBDIR@@:$(get_libdir):g" /usr/bin/motif-config
-
- # for profile
- keepdir /usr/$(get_libdir)/motif
-
- # bitmaps
- insinto /usr/include/X11/bitmaps
- doins bitmaps/*
-
- # bindings
- insinto /usr/$(get_libdir)/X11/bindings
- doins bindings/*
-
- # mwm default config
- insinto /etc/X11/app-defaults
- doins "${FILESDIR}"/Mwm.defaults
-
- insinto /etc/X11/mwm
- doins "${FILESDIR}"/system.mwmrc
-
- dodir /usr/$(get_libdir)/X11
- dosym /etc/X11/mwm /usr/$(get_libdir)/X11/mwm
-}
-
-pkg_preinst() {
- # clean up orphaned cruft left over by old versions
- local staledirs="usr/$(get_libdir)/motif/openmotif-2.1 \
- usr/$(get_libdir)/motif/openmotif-2.1 \
- usr/include/openmotif-2.1 \
- usr/$(get_libdir)/openmotif-2.1 \
- usr/$(get_libdir)/motif/openmotif-2.2 \
- usr/include/openmotif-2.2 \
- usr/$(get_libdir)/openmotif-2.2 \
- usr/$(get_libdir)/motif/lesstif-1.2 \
- usr/include/lesstif-1.2 \
- usr/$(get_libdir)/lesstif-1.2 \
- usr/$(get_libdir)/motif/lesstif-2.1 \
- usr/include/lesstif-2.1 \
- usr/$(get_libdir)/lesstif-2.1 \
- usr/include/Xm \
- usr/include/uil \
- usr/include/Mrm"
-
- for i in ${staledirs} ; do
- if [[ -d "${ROOT}"${i} ]] ; then
- einfo "Cleaning up orphaned ${ROOT}${i}..."
- rm -rf "${ROOT}"${i}
- fi
- done
-}
-
-pkg_postinst() {
- # when emerged after openmotif, then we need to set to a valid
- # profile since we nuked the symlinks in pkg_preinst (Bug 209982)
- # this sucky stuff can go away once openmotif is moved to SLOT=0
- has_version x11-libs/openmotif && motif-config -s
-}
diff --git a/x11-libs/motif-config/motif-config-0.9-r1.ebuild b/x11-libs/motif-config/motif-config-0.9-r1.ebuild
deleted file mode 100644
index ee796b2476f9..000000000000
--- a/x11-libs/motif-config/motif-config-0.9-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/motif-config-0.9-r1.ebuild,v 1.2 2007/09/26 18:19:01 jer Exp $
-
-inherit multilib
-
-DESCRIPTION="Utility to change the default Motif library"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86"
-IUSE=""
-
-DEPEND="!<x11-libs/openmotif-2.1.30-r13
-!=x11-libs/openmotif-2.2.2*
-!=x11-libs/openmotif-2.2.3
-!=x11-libs/openmotif-2.2.3-r1
-!=x11-libs/openmotif-2.2.3-r2
-!=x11-libs/openmotif-2.2.3-r3
-!=x11-libs/openmotif-2.2.3-r4
-!=x11-libs/openmotif-2.2.3-r5
-!=x11-libs/openmotif-2.2.3-r6
-
-!<x11-libs/lesstif-0.93.94-r4
-!=x11-libs/lesstif-0.93.97
-!=x11-libs/lesstif-0.94.0*"
-
-RDEPEND="${DEPEND}
- app-shells/bash"
-
-src_unpack(){
- einfo "nothing to unpack"
-}
-
-src_compile() {
- einfo "nothing to compile"
-}
-
-src_install () {
- exeinto /usr/bin
- newexe ${FILESDIR}/${P} motif-config
- dosed "s:@@LIBDIR@@:$(get_libdir):g" /usr/bin/motif-config
-
- # for profile
- dodir /usr/$(get_libdir)/motif
- keepdir /usr/$(get_libdir)/motif
-
- # bitmaps
- #dodir /usr/include/X11/bitmaps
- #tar -xjf ${FILESDIR}/bitmaps.tbz2 -C ${D}/usr/include/X11/bitmaps
- # bindings
- #dodir /usr/$(get_libdir)/X11/bindings
- #tar -xjf ${FILESDIR}/bindings.tbz2 -C ${D}/usr/$(get_libdir)/X11/bindings
-
- # mwm default config
- insinto /etc/X11/app-defaults
- doins ${FILESDIR}/Mwm.defaults
-
- insinto /etc/X11/mwm
- doins ${FILESDIR}/system.mwmrc
-
- dodir /usr/$(get_libdir)/X11
- dosym /etc/X11/mwm /usr/$(get_libdir)/X11/mwm
-}
-
-pkg_setup() {
- # clean up cruft left over by old versions
- removed=no
- has_version =x11-libs/openmotif-2.1.30* \
- || ( rm -f /usr/$(get_libdir)/motif/openmotif-2.1; \
- rm -fR /usr/include/openmotif-2.1; \
- rm -fR /usr/$(get_libdir)/openmotif-2.1;
- removed=yes )
- has_version =x11-libs/openmotif-2.2.3* \
- || ( rm -f /usr/$(get_libdir)/motif/openmotif-2.2; \
- rm -fR /usr/include/openmotif-2.2; \
- rm -fR /usr/$(get_libdir)/openmotif-2.2;
- removed=yes )
- has_version =x11-libs/lesstif-0.93.94* \
- || ( rm -f /usr/$(get_libdir)/motif/lesstif-1.2; \
- rm -fR /usr/include/lesstif-1.2; \
- rm -fR /usr/$(get_libdir)/lesstif-1.2;
- removed=yes )
- has_version =x11-libs/lesstif-0.94* \
- || ( rm -f /usr/$(get_libdir)/motif/lesstif-2.1; \
- rm -fR /usr/include/lesstif-2.1; \
- rm -fR /usr/$(get_libdir)/openmotif-2.1;
- removed=yes )
-
- if [ "$removed" = "yes" ]; then
- rm -fR /usr/include/Xm;
- rm -fR /usr/include/uil;
- rm -fR /usr/include/Mrm;
- fi
-}