1 # Maintainer: Philippe DUCRETTET <ecolinux@gmx.com>
6 pkgdesc="A multiple large virtual desktop window manager originally derived from twm patched with http://abdn.ac.uk/~u15dm4/fvwm/ and some other"
7 url="http://www.fvwm.org"
8 depends=('imlib' 'fribidi' 'perl' 'libstroke' 'libxpm' 'libxinerama' 'readline' 'libxft' 'librsvg' 'libxcursor')
9 provides=('fvwm-devel' 'fvwm' 'fvwm-patched' )
10 conflicts=('fvwm-devel' 'fvwm' 'fvwm-patched' )
11 replaces=('fvwm-devel' 'fvwm' 'fvwm-patched' )
12 options=('!emptydirs' '!makeflags')
13 source=(ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-$pkgver.tar.bz2
15 01-TranslucentMenus.patch
16 02-ColourBorders.patch
17 03-ResizeOutlineThin.patch
19 05-FlatSeparators.patch
20 06-BorderUnderTitle.patch
22 08-FluxRoundedCorners.patch
26 12-FvwmButtonsTips.patch
29 15-FirstItemUnderPointer.patch
30 16-ThinGeometryProxy.patch )
31 # https://launchpad.net/ubuntu/+archive/primary/+files/termcap-compat_1.2.3.tar.gz )
32 # http://old-releases.ubuntu.com/ubuntu/pool/universe/t/termcap-compat/termcap-compat_1.2.3.tar
33 # http://slackware.osuosl.org/slackware_source/l/libtermcap/termcap-compat_1.2.3.tar.gz
35 arch=('i686' 'x86_64')
39 cd "${srcdir}/fvwm-$pkgver"
41 # Enables real transparency on menus
42 echo "** Applying Translucent menus patch **"
43 patch -p0 < $startdir/01-TranslucentMenus.patch || return 1
45 # Enables different colours on window's borders
46 echo "** Applying ColourBorders patch **"
47 patch -p0 < $startdir/02-ColourBorders.patch || return 1
49 # Enables a single piwel rectangle when resizing
50 echo "** Applying Resize Outline Thin patch **"
51 patch -p0 < $startdir/03-ResizeOutlineThin.patch || return 1
53 # Enables other conditions for windows :)
54 echo "** Applying Conditional patch **"
55 patch -p0 < $startdir/04-Conditionals.patch || return 1
57 # Enables the use of Flat Separators (single pixel separator)
58 echo "** Applying flat separators patch **"
59 patch -p0 < $startdir/05-FlatSeparators.patch || return 1
61 # Adds a border under the titlebar
62 echo "** Applying border under titlebar patch **"
63 patch -p0 < $startdir/06-BorderUnderTitle.patch || return 1
65 # Ena1bles the use of a different font for Inactive windows
66 echo "** Applying inactive fonts patch **"
67 patch -p0 < $startdir/07-InactiveFont.patch || return 1
69 # A mix of FluxboxHandles and RoundedCorners
70 # you can't activate both on the same window
71 # Add corners in fluxbox style
72 # or add rounded corners
73 echo "** Applying FluxRounded Corners patch **"
74 patch -p0 < $startdir/08-FluxRoundedCorners.patch || return 1
76 # Sets the top border to a single pixel
77 echo "** Applying Top Border patch **"
78 patch -p0 < $startdir/09-TopBorder.patch || return 1
80 # Sets the width of the title buttons
81 echo "** Applying Button Width patch **"
82 patch -p0 < $startdir/10-ButtonWidth.patch || return 1
84 # Enables the use of 8 pixmaps for each borders
85 echo "** Applying Multiborder patch **"
86 patch -p0 < $startdir/11-MultiBorder.patch || return 1
88 # Enables the uses of tips on FvwmButtons
89 echo "** Applying FvwmButtonTips patch **"
90 patch -p0 < $startdir/12-FvwmButtonsTips.patch || return 1
92 # Enables rounded corners on FvwmIconMan
93 echo "** Applying FvwmIconMan patch **"
94 patch -p0 < $startdir/13-FvwmIconMan.patch || return 1
96 # Allows you to specify button pixmaps that will be shown when you move the mouse over the buttons
97 echo "** Applying Hover patch **"
98 patch -p0 < $startdir/14-Hover.patch || return 1
100 # Menus with titles are opened so that the first item is under the pointer without warping
101 echo "** Applying First Item Under Pointer patch **"
102 patch -p0 < $startdir/15-FirstItemUnderPointer.patch || return 1
104 # The geometry window and proxy windows have a single pixel border
105 echo "** Applying ThinGeometry patch **"
106 patch -p0 < $startdir/16-ThinGeometryProxy.patch || return 1
110 cd "${srcdir}/fvwm-$pkgver"
112 ./configure --prefix=/usr \
114 --libexecdir=/usr/lib \
115 --with-xft-prefix=/usr \
116 --with-fontconfig-prefix=/usr \
117 --with-fontconfig-exec-prefix=/usr/bin \
118 --with-stroke-library \
122 --enable-nls --enable-iconv \
128 cd "${srcdir}/fvwm-${pkgver}"
129 make DESTDIR="${pkgdir}" install
130 install -D -m644 sample.fvwmrc/{decor_examples,DecorMwm,DecorWin95,new-features,system.*} "${pkgdir}/usr/share/doc/fvwm"
131 install -D -m644 ../fvwm+.desktop "${pkgdir}/usr/share/xsessions/fvwm+.desktop"
132 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
135 md5sums=('9327f4b6951751a4c117c1580d910043'
136 'a12c52729a74355838404ee2f5716e0c'
137 'd208dc6531e2e6a226fb063d007d6046'
138 '23b47a21958455fbd0d9d6011b39d009'
139 '01e4a4cee7780315a275b4428802c49f'
140 '128c6a2d62a15e5fe95f0a3d1c2033b3'
141 '209e2c1fa66bc5b502fba2cbe3a04f8a'
142 '86b6c187be636c0543058f48856b5fb0'
143 '1cceee901466d34953910bd598332d2f'
144 'e053d2f34f527a62831563e26b7cdeb7'
145 '037562c2c0eb82bc35d1b5b55098f2fc'
146 '2541576d57ead08ce9772bb219f73f67'
147 'ce8d47eea51abe0b594a42d17602b574'
148 'c42763877b543c0bcb78a88460671b58'
149 'd79ef23cbd62c647ea8d85526f0f2b17'
150 '09388c4a2f4c86d6e0862e313f2fec86'
151 'e4ed5f774e775c67d16f5be8e9783b52'
152 'a552a1a273a9fa015271bed929cd275a')