fvwm
This commit is contained in:
parent
d522955ba7
commit
8889bf3429
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=FVWM
|
||||
Comment=The fvwm window manager
|
||||
Type=XSession
|
||||
Exec=/usr/bin/fvwm
|
||||
TryExec=/usr/bin/fvwm
|
|
@ -1,115 +0,0 @@
|
|||
EdgeResistance 250
|
||||
EdgeScroll 100 100
|
||||
EdgeThickness 1
|
||||
ClickTime 750
|
||||
DeskTopSize 2x2
|
||||
|
||||
ImagePath $HOME/icons
|
||||
|
||||
Style * Font "xft:Terminus:Bold:size=10"
|
||||
Style * SnapAttraction 5
|
||||
Style * HandleWidth 5
|
||||
#Style * Button 1, Button 2, Button 4, Button 6, GrabFocusOff, !FPGrabFocus
|
||||
Style utox !FPFocusByFunction
|
||||
|
||||
Key F5 A N Exec exec dmenu_run
|
||||
Key F6 A N Restart
|
||||
Key F7 A N Close
|
||||
Key Tab A M WindowList Root c c CurrentDesk, NoGeometry, CurrentAtEnd, \
|
||||
IconifiedAtEnd, NoHotkeys
|
||||
|
||||
DestroyFunc WindowListFunc
|
||||
AddToFunc WindowListFunc
|
||||
+ I Iconify off
|
||||
+ I FlipFocus
|
||||
+ I Raise
|
||||
|
||||
#Key F1 A N GotoPage 0 0
|
||||
#Key F2 A N GotoPage 0 1
|
||||
#Key F3 A N GotoPage 0 2
|
||||
#Key F4 A N GotoPage 0 3
|
||||
|
||||
#Key F1 W 4 MoveToPage 0 0
|
||||
#Key F2 W 4 MoveToPage 0 1
|
||||
#Key F3 W 4 MoveToPage 0 2
|
||||
#Key F4 W 4 MoveToPage 0 3
|
||||
|
||||
# Mouse [(window)] Button Context Modifiers Function
|
||||
# Button
|
||||
# 1 = left, 2 = mid, 3 = right
|
||||
# Context
|
||||
# R - root window
|
||||
# W - app window
|
||||
# D - desktop app (rox desktop)
|
||||
# T - titlebar
|
||||
# S [, ], -, _, side, side, top, bottom
|
||||
# F - window frame (corners)
|
||||
# A - any context
|
||||
# ==Modifiers==
|
||||
# 'N' for no modifiers, 'C' for control, 'S' for shift, 'M' for Meta,
|
||||
# 'L' for Caps-Lock or 'A' for any modifier
|
||||
#
|
||||
#
|
||||
Mouse 1 FS A FuncFvwmResizeOrRaise
|
||||
Mouse 1 T A FuncFvwmMoveOrRaise
|
||||
Mouse 1 I A FuncFvwmMoveOrIconify
|
||||
Mouse 1 W M FuncFvwmMoveOrRaise
|
||||
Mouse 2 FST A Iconify
|
||||
Mouse 3 TSIF A RaiseLower
|
||||
|
||||
# Titlebar
|
||||
Mouse 0 1 A Iconify
|
||||
Mouse 0 2 A Close
|
||||
Mouse 0 4 A Maximize 1536p 900p
|
||||
|
||||
AddToFunc InitFunction
|
||||
+ I exec feh --bg-tile /etc/X11/ctwm/images/background3.xpm
|
||||
|
||||
DestroyFunc FuncFvwmMoveOrRaise
|
||||
AddToFunc FuncFvwmMoveOrRaise
|
||||
+ I Raise
|
||||
+ M Move
|
||||
+ D Lower
|
||||
|
||||
DestroyFunc FuncFvwmMoveOrIconify
|
||||
AddToFunc FuncFvwmMoveOrIconify
|
||||
+ I Raise
|
||||
+ M Move
|
||||
+ D Iconify
|
||||
|
||||
DestroyFunc FuncFvwmResizeOrRaise
|
||||
AddToFunc FuncFvwmResizeOrRaise
|
||||
+ I Raise
|
||||
+ M Resize
|
||||
+ D Lower
|
||||
|
||||
Style "LaunchTime" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, \
|
||||
CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
|
||||
|
||||
DestroyModuleConfig FvwmIconMan: *
|
||||
*FvwmIconMan: MaxButtonWidth 100
|
||||
*FvwmIconMan: Format "%c"
|
||||
*FvwmIconMan: Resolution global
|
||||
*FvwmIconMan: Action Mouse 0 N sendcommand Focus
|
||||
#*FvwmIconMan: Action Select sendcommand Focus
|
||||
*FvwmIconMan: ManagerGeometry 10x1
|
||||
|
||||
DestroyModuleConfig LaunchTime: *
|
||||
*LaunchTime: Rows 14
|
||||
*LaunchTime: Columns 1
|
||||
*LaunchTime: (1x1, Swallow "WMClock" `Exec wmclock -noblink`)
|
||||
*LaunchTime: (1x1, Swallow(UseOld,NoClose) "xload" `Exec xload -title xload \
|
||||
-bg SteelBlue3 -update 1 -nolabel`)
|
||||
*LaunchTime: (1x1, Swallow "wmcpumon" `Exec wmcpumon -w -l`)
|
||||
*LaunchTime: (1x1, Swallow "Untitled" `Exec wmacpi -w`)
|
||||
|
||||
*LaunchTime: (1x1, Icon vim.png, Action(Mouse 1) `Exec gvim`)
|
||||
*LaunchTime: (1x1, Icon vile48.png, Action(Mouse 1) `Exec urxvt`)
|
||||
*LaunchTime: (1x1, Icon sm.png, Action(Mouse 1) `Exec sm`)
|
||||
*LaunchTime: (1x1, Icon worker.xpm, Action(Mouse 1) `Exec run_worker`)
|
||||
*LaunchTime: (1x1, Icon claws.png, Action(Mouse 1) `Exec claws-mail`)
|
||||
|
||||
#*LaunchTime: (1x2, Swallow "FvwmIconMan" `FvwmIconMan`)
|
||||
*LaunchTime: (1x1, Swallow "Desk 0" `FvwmPager`)
|
||||
|
||||
Module FvwmButtons -g 64x896-0+0 LaunchTime
|
|
@ -1,24 +1,22 @@
|
|||
# Description: Son derece güçlü ICCCM uyumlu çoklu sanal masaüstü pencere yöneticisi.
|
||||
# URL: http://www.fvwm.org/
|
||||
# Packager: milisarge@gmail.com
|
||||
# Depends on: imlib2
|
||||
# Depends on: libxslt libstroke fribidi xorg-libxpm librsvg xorg-libxinerama xorg-libxcursor python-xdg
|
||||
|
||||
name=fvwm
|
||||
version=2.6.4
|
||||
version=2.6.7
|
||||
release=1
|
||||
source=(ftp://ftp.fvwm.org/pub/fvwm/version-2/$name-$version.tar.bz2)
|
||||
source=(https://github.com/fvwmorg/fvwm/archive/$version.tar.gz::$name-$version.tar.bz2
|
||||
fvwm.desktop)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--libexecdir=/usr/lib \
|
||||
--disable-gtk \
|
||||
--disable-nls
|
||||
|
||||
sed -e 's|ln -sf|ln -sfr|g' -i default-config/Makefile.am
|
||||
autoreconf -vi
|
||||
PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --with-stroke-library
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -r $PKG/usr/share/doc
|
||||
make DESTDIR="${PKG}" install
|
||||
install -D -m644 ../fvwm.desktop "${PKG}/usr/share/xsessions/fvwm.desktop"
|
||||
install -D -m644 COPYING "${PKG}/usr/share/licenses/${name}/COPYING"
|
||||
rm -rf $PKG/usr/share/doc
|
||||
}
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- libstroke-0.5.1/libgstroke/Makefile.am.orig 2008-06-11 13:01:29.000000000 +0400
|
||||
+++ libstroke-0.5.1/libgstroke/Makefile.am 2008-06-11 13:01:44.000000000 +0400
|
||||
@@ -21,7 +21,7 @@
|
||||
INCLUDES = @GTK_CFLAGS@
|
||||
LDADD = @GTK_LIBS@
|
||||
|
||||
-EXTRA_DIST =
|
||||
+#EXTRA_DIST =
|
||||
|
||||
MOSTLYCLEANFILES = core *~
|
||||
CLEANFILES = core *~
|
|
@ -0,0 +1,58 @@
|
|||
--- libstroke-0.5.1/libstroke.m4 {cset 02bc4a5e-e9e6-4055-a406-5007a0ac3e55}
|
||||
+++ libstroke-0.5.1/libstroke.m4 {local clone}
|
||||
@@ -26,7 +26,7 @@
|
||||
dnl if different from name
|
||||
dnl description (optional) used to construct help string
|
||||
dnl
|
||||
-AC_DEFUN(smr_ARG_WITHLIB, [
|
||||
+AC_DEFUN([smr_ARG_WITHLIB], [
|
||||
|
||||
ifelse($2, , smr_lib=[$1], smr_lib=[$2])
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
dnl extra-flags (optional) flags required when compiling the
|
||||
dnl header, typically more includes; for ex. X_CFLAGS
|
||||
dnl
|
||||
-AC_DEFUN(smr_ARG_WITHINCLUDES, [
|
||||
+AC_DEFUN([smr_ARG_WITHINCLUDES], [
|
||||
|
||||
AC_ARG_WITH([$1]-includes,
|
||||
[ --with-$1-includes=DIR set directory for $1 headers],
|
||||
@@ -116,7 +116,7 @@
|
||||
dnl x-libs (optional) extra libraries, if needed to link with lib
|
||||
dnl x-flags (optional) extra flags, if needed to include header files
|
||||
dnl
|
||||
-AC_DEFUN(smr_CHECK_LIB,
|
||||
+AC_DEFUN([smr_CHECK_LIB],
|
||||
[
|
||||
ifelse($2, , smr_lib=[$1], smr_lib=[$2])
|
||||
ifelse($5, , , smr_header=[$5])
|
||||
--- libstroke-0.5.1/libgstroke.m4 2011-09-10 02:59:55.000000000 -0400
|
||||
+++ libstroke-0.5.1/libgstroke.m4 2011-09-10 03:01:14.000000000 -0400
|
||||
@@ -26,7 +26,7 @@
|
||||
dnl if different from name
|
||||
dnl description (optional) used to construct help string
|
||||
dnl
|
||||
-AC_DEFUN(smr_ARG_WITHLIB, [
|
||||
+AC_DEFUN([smr_ARG_WITHLIB], [
|
||||
|
||||
ifelse($2, , smr_lib=[$1], smr_lib=[$2])
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
dnl extra-flags (optional) flags required when compiling the
|
||||
dnl header, typically more includes; for ex. X_CFLAGS
|
||||
dnl
|
||||
-AC_DEFUN(smr_ARG_WITHINCLUDES, [
|
||||
+AC_DEFUN([smr_ARG_WITHINCLUDES], [
|
||||
|
||||
AC_ARG_WITH([$1]-includes,
|
||||
[ --with-$1-includes=DIR set directory for $1 headers],
|
||||
@@ -116,7 +116,7 @@
|
||||
dnl x-libs (optional) extra libraries, if needed to link with lib
|
||||
dnl x-flags (optional) extra flags, if needed to include header files
|
||||
dnl
|
||||
-AC_DEFUN(smr_CHECK_LIB,
|
||||
+AC_DEFUN([smr_CHECK_LIB],
|
||||
[
|
||||
ifelse($2, , smr_lib=[$1], smr_lib=[$2])
|
||||
ifelse($5, , , smr_header=[$5])
|
|
@ -0,0 +1,33 @@
|
|||
--- libstroke-0.5.1/configure.in 2001-08-07 07:08:05.000000000 +0100
|
||||
+++ libstroke-0.5.1b/configure.in 2006-11-28 01:49:26.000000000 +0000
|
||||
@@ -81,16 +81,9 @@
|
||||
[ --with-mouse-footprints Draw mouse footprints in X],
|
||||
[AC_DEFINE(STROKE_MOUSE_FOOTPRINTS)])
|
||||
|
||||
-dnl check for GTK
|
||||
-dnl we won't build libgstroke if it's not found
|
||||
-AC_MSG_CHECKING(gtk+ library)
|
||||
-AM_PATH_GTK(1.2.7, HAVE_LIBGTK=yes
|
||||
- AC_DEFINE(HAVE_LIBGTK, 1, [Define if libgtk is available]),
|
||||
- AC_MSG_WARN(
|
||||
-***** NOTE: The GNOME stroke support won't be built
|
||||
-)
|
||||
- HAVE_LIBGTK=no,
|
||||
-)
|
||||
+GTK_CFLAGS=""
|
||||
+AC_SUBST(GTK_CFLAGS)
|
||||
+HAVE_LIBGTK=no
|
||||
AM_CONDITIONAL(HAVE_LIBGTK, test "x$HAVE_LIBGTK" = "xyes")
|
||||
|
||||
|
||||
--- libstroke-0.5.1/Makefile.am 2001-08-07 07:03:12.000000000 +0100
|
||||
+++ libstroke-0.5.1b/Makefile.am 2006-11-28 02:00:55.000000000 +0000
|
||||
@@ -10,7 +10,7 @@
|
||||
EXTRA_DIST = COPYRIGHT CREDITS README.javastroke README.libgstroke
|
||||
|
||||
m4datadir=$(datadir)/aclocal
|
||||
-m4data_DATA=libstroke.m4 libgstroke.m4
|
||||
+m4data_DATA=libstroke.m4
|
||||
|
||||
MOSTLYCLEANFILES = core *~
|
||||
CLEANFILES = core *~
|
|
@ -0,0 +1,15 @@
|
|||
--- libstroke-0.5.1/libstroke/Makefile.am.orig 2008-06-11 13:01:54.000000000 +0400
|
||||
+++ libstroke-0.5.1/libstroke/Makefile.am 2008-06-11 13:02:02.000000000 +0400
|
||||
@@ -5,10 +5,10 @@
|
||||
# level Makefile.
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
-EXTRA_DIST =
|
||||
+#EXTRA_DIST =
|
||||
|
||||
#tclpath::
|
||||
- #echo ${ENABLE_TCL}
|
||||
+# echo ${ENABLE_TCL}
|
||||
|
||||
#if ENABLE_TCL
|
||||
#SEL_BIB = libstroke.la libstroke_tcl.la
|
|
@ -0,0 +1,25 @@
|
|||
# Description: A stroke (mouse gesture) translation library
|
||||
# URL: http://etla.net/libstroke/
|
||||
# Packager: milisarge
|
||||
# Depends on: xorg-libx11
|
||||
|
||||
name=libstroke
|
||||
version=0.5.1
|
||||
release=1
|
||||
source=(http://www.etla.net/libstroke/libstroke-${version}fvwm.tar.gz
|
||||
libgstroke-Makefile.am.patch
|
||||
libstroke-Makefile.am.patch
|
||||
libstroke-0.5.1-m4_syntax.patch
|
||||
libstroke-0.5.1-no_gtk1.patch)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
patch -p1 -i "${srcdir}/libgstroke-Makefile.am.patch"
|
||||
patch -p1 -i "${srcdir}/libstroke-Makefile.am.patch"
|
||||
patch -p1 -i "${srcdir}/libstroke-0.5.1-m4_syntax.patch"
|
||||
patch -p1 -i "${srcdir}/libstroke-0.5.1-no_gtk1.patch"
|
||||
autoreconf --force --install
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Reference in New Issue