diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2005-02-16 14:02:24 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2005-02-16 14:02:24 +0000 |
commit | 7d88c9dfbda1f9118cf518e56180c884f0c1732e (patch) | |
tree | 4cede1b4ab9ba221c668c46aa6ad0299f2bfa4d9 /x11-libs/motif-config | |
parent | emacs-unicode-2 branch was tagged as 23.0.0 (diff) | |
download | gentoo-2-7d88c9dfbda1f9118cf518e56180c884f0c1732e.tar.gz gentoo-2-7d88c9dfbda1f9118cf518e56180c884f0c1732e.tar.bz2 gentoo-2-7d88c9dfbda1f9118cf518e56180c884f0c1732e.zip |
add default config files
(Portage version: 2.0.51-r15)
Diffstat (limited to 'x11-libs/motif-config')
-rw-r--r-- | x11-libs/motif-config/ChangeLog | 7 | ||||
-rw-r--r-- | x11-libs/motif-config/files/Mwm.defaults | 14 | ||||
-rw-r--r-- | x11-libs/motif-config/files/bindings.tbz2 | bin | 0 -> 5342 bytes | |||
-rw-r--r-- | x11-libs/motif-config/files/bitmaps.tbz2 | bin | 0 -> 3165 bytes | |||
-rwxr-xr-x | x11-libs/motif-config/files/motif-config-0.1 | 8 | ||||
-rw-r--r-- | x11-libs/motif-config/files/system.mwmrc | 156 | ||||
-rw-r--r-- | x11-libs/motif-config/motif-config-0.1.ebuild | 12 |
7 files changed, 188 insertions, 9 deletions
diff --git a/x11-libs/motif-config/ChangeLog b/x11-libs/motif-config/ChangeLog index 36a5e314036b..72a5992c45ce 100644 --- a/x11-libs/motif-config/ChangeLog +++ b/x11-libs/motif-config/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-libs/motif-config # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/ChangeLog,v 1.1 2005/02/14 19:04:43 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/ChangeLog,v 1.2 2005/02/16 14:02:24 lanius Exp $ + + 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) diff --git a/x11-libs/motif-config/files/Mwm.defaults b/x11-libs/motif-config/files/Mwm.defaults new file mode 100644 index 000000000000..ea91b6fb8d86 --- /dev/null +++ b/x11-libs/motif-config/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/motif-config/files/bindings.tbz2 b/x11-libs/motif-config/files/bindings.tbz2 Binary files differnew file mode 100644 index 000000000000..403a13ad0662 --- /dev/null +++ b/x11-libs/motif-config/files/bindings.tbz2 diff --git a/x11-libs/motif-config/files/bitmaps.tbz2 b/x11-libs/motif-config/files/bitmaps.tbz2 Binary files differnew file mode 100644 index 000000000000..1a757a938612 --- /dev/null +++ b/x11-libs/motif-config/files/bitmaps.tbz2 diff --git a/x11-libs/motif-config/files/motif-config-0.1 b/x11-libs/motif-config/files/motif-config-0.1 index 45544f65d5f7..8d45a27a4652 100755 --- a/x11-libs/motif-config/files/motif-config-0.1 +++ b/x11-libs/motif-config/files/motif-config-0.1 @@ -15,10 +15,10 @@ source /etc/make.profile/make.defaults || { umask 022 # functions.sh returns a wrong libdir on multilib architectures -get_libdir() { - libdirvar="LIBDIR_${DEFAULT_ABI}" - echo ${!libdirvar} -} +#get_libdir() { +# libdirvar="LIBDIR_${DEFAULT_ABI}" +# echo ${!libdirvar} +#} PROFILE_PATH=/usr/$(get_libdir)/motif CONFIG_FILE=${PROFILE_PATH}/current diff --git a/x11-libs/motif-config/files/system.mwmrc b/x11-libs/motif-config/files/system.mwmrc new file mode 100644 index 000000000000..d530bac6706f --- /dev/null +++ b/x11-libs/motif-config/files/system.mwmrc @@ -0,0 +1,156 @@ +! +! @OPENGROUP_COPYRIGHT@ +! COPYRIGHT NOTICE +! Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. +! Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group +! ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for +! the full copyright text. +! +! This software is subject to an open license. It may only be +! used on, with or for operating systems which are themselves open +! source systems. You must contact The Open Group for a license +! allowing distribution and sublicensing of this software on, with, +! or for operating systems which are not Open Source programs. +! +! See http://www.opengroup.org/openmotif/license for full +! details of the license agreement. Any use, reproduction, or +! distribution of the program constitutes recipient's acceptance of +! this agreement. +! +! EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +! PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +! KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY +! WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +! OR FITNESS FOR A PARTICULAR PURPOSE +! +! EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +! NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, +! INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +! DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED +! AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +! LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +! ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE +! EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +! POSSIBILITY OF SUCH DAMAGES. +! +! $XConsortium: system.mwmrc /main/9 1996/10/25 11:45:42 drk $ +! +! HISTORY +! + +!! +!! DEFAULT Mwm RESOURCE DESCRIPTION FILE (system.mwmrc) +!! +!! NOTE: To personalize this file, copy this file before editing it. +!! Personalize copies of the Mwm resource file typically +!! reside as: +!! +!! $HOME/.mwmrc +!! + +!! +!! Root Menu Description (this menu must be explicitly posted via f.menu) +!! + +Menu DefaultRootMenu +{ + "Root Menu" f.title + "New Window" f.exec "xterm &" + "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 + "Quit..." f.quit_mwm + +} + +Menu RootMenu_1.1 +{ + "Root Menu" f.title + "New Window" f.exec "xterm &" + "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 +} + +!! +!! Default Window Menu Description +!! + +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 + Lower _L Alt<Key>F3 f.lower + no-label f.separator + Close _C Alt<Key>F4 f.kill +} + + +!! +!! Key Binding Description +!! + +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 +} + +!! +!! Button Binding Description(s) +!! + +Buttons DefaultButtonBindings +{ + <Btn1Down> icon|frame f.raise + <Btn3Down> icon|frame f.post_wmenu + <Btn3Down> root f.menu DefaultRootMenu +} + +Buttons ExplicitButtonBindings +{ + <Btn1Down> frame|icon f.raise + <Btn3Down> frame|icon f.post_wmenu + <Btn3Down> root f.menu DefaultRootMenu +! <Btn1Up> icon f.restore + Alt<Btn1Down> window|icon f.lower +! Alt<Btn2Down> window|icon f.resize +! Alt<Btn3Down> window|icon f.move + +} + +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 +} + +!! +!! END OF mwm RESOURCE DESCRIPTION FILE +!! diff --git a/x11-libs/motif-config/motif-config-0.1.ebuild b/x11-libs/motif-config/motif-config-0.1.ebuild index 6f9ce111178f..de0f308f2cc3 100644 --- a/x11-libs/motif-config/motif-config-0.1.ebuild +++ b/x11-libs/motif-config/motif-config-0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 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.1.ebuild,v 1.3 2005/02/14 19:30:00 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/motif-config-0.1.ebuild,v 1.4 2005/02/16 14:02:24 lanius Exp $ inherit multilib @@ -35,13 +35,17 @@ src_install () { # bitmaps dodir /usr/include/X11/bitmaps + tar -xjf ${FILESDIR}/bitmaps.tbz2 -C ${D}/usr/include/X11/bitmaps # bindings dodir /usr/$(get_libdir)/X11/bindings - insinto /etc/X11/app-defaults + tar -xjf ${FILESDIR}/bindings.tbz2 -C ${D}/usr/$(get_libdir)/X11/bindings # mwm default config - # Mwm + insinto /etc/X11/app-defaults + doins ${FILESDIR}/Mwm.defaults + insinto /etc/X11/mwm - # system.mwmrc + doins ${FILESDIR}/system.mwmrc + dosym /etc/X11/mwm /usr/$(get_libdir)/X11/mwm } |