3
3
DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes
4
DEB_TAR_SRCDIR = fluxbox-1.0.0
4
DEB_TAR_SRCDIR = fluxbox-1.1.1
5
6
include /usr/share/cdbs/1/rules/tarball.mk
6
7
include /usr/share/cdbs/1/rules/debhelper.mk
7
8
include /usr/share/cdbs/1/class/autotools.mk
8
include /usr/share/cdbs/1/rules/dpatch.mk
9
#include /usr/share/cdbs/1/rules/dpatch.mk
11
DEBLOGO_WALLPAPER_SRC := debian/debian-blueish-wallpaper.svg
12
DEBLOGO_WALLPAPER_PNG := $(DEBLOGO_WALLPAPER_SRC:%.svg=%.png)
11
14
DEB_CONFIGURE_SYSCONFDIR := /etc/X11/fluxbox
13
16
DEB_CONFIGURE_EXTRA_FLAGS := --enable-xinerama --enable-nls \
14
--with-menu=/etc/X11/fluxbox/fluxbox.menu-user \
15
--with-style=/usr/share/fluxbox/styles/BlueNight \
16
--with-keys=/etc/X11/fluxbox/keys \
17
--with-init=/etc/X11/fluxbox/init \
18
--with-locale=/usr/share/fluxbox/nls \
17
--with-apps=$(DEB_CONFIGURE_SYSCONFDIR)/apps \
18
--with-keys=$(DEB_CONFIGURE_SYSCONFDIR)/keys \
19
--with-init=$(DEB_CONFIGURE_SYSCONFDIR)/init \
20
--with-overlay=$(DEB_CONFIGURE_SYSCONFDIR)/overlay \
21
--with-menu=$(DEB_CONFIGURE_SYSCONFDIR)/fluxbox.menu-user \
22
--with-windowmenu=$(DEB_CONFIGURE_SYSCONFDIR)/window.menu \
23
--with-style=/usr/share/fluxbox/styles/Debian \
24
--with-locale=/usr/share/fluxbox/nls \
21
27
CXXFLAGS := -O2 -ffunction-sections
24
rm -f *.cdbs-config_list
26
cleanbuilddir/fluxbox::
30
# We use menu file generated by the 'menu' package.
31
rm -f ./debian/fluxbox/usr/bin/fluxbox-generate_menu
29
$(DEBLOGO_WALLPAPER_PNG): $(DEBLOGO_WALLPAPER_SRC)
32
configure/fluxbox:: $(DEBLOGO_WALLPAPER_PNG)
33
perl debian/patches/init.pl
32
34
# replace lucida font to dejavu
33
find ./debian/fluxbox/usr/share/fluxbox/styles/ -type f | \
34
grep -v 'xpm$$' | xargs \
35
find build-tree/$(DEB_TAR_SRCDIR)/data/styles/ -type f | \
36
grep -v 'xpm$$'|grep -v Makefile | xargs \
35
37
perl -pi -e 's#\sbsetroot# fbsetroot#g; \
36
38
s#\slucida# dejavu#g; \
37
39
s#\s-\S+?-lucida-# -*-dejavu-#g; \
38
40
s#\slucidasans# dejavusans#g; \
39
41
s#-lucidatypewriter-#-dejavu-#g'
44
rm -f *.cdbs-config_list $(DEBLOGO_WALLPAPER_PNG)
47
# We use menu file generated by the 'menu' package.
48
rm -f ./debian/fluxbox/usr/bin/fluxbox-generate_menu