~ubuntu-branches/ubuntu/trusty/fluxbox/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Dmitry E. Oboukhov, New upstream version
  • Date: 2008-09-19 11:25:49 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080919112549-2cov16t1o5z41eas
Tags: 1.1.1-1
[New upstream version]
  * Opaque moving is now default.
  * Faster workspace switching, closes: #498623
        (please reopen if i am wrong)
  Bug fixes:
  * Install issues.
  * Maximize/Fullscreen for windows with non-northwest gravity.
  * Randr < 1.2 checks.
  * Workaround for badly specified _NET_WM_ICONS.
  * Fixed unshade crash.
  * Minor pixmap resource leak.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
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
 
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
9
10
 
 
11
DEBLOGO_WALLPAPER_SRC   := debian/debian-blueish-wallpaper.svg
 
12
DEBLOGO_WALLPAPER_PNG   := $(DEBLOGO_WALLPAPER_SRC:%.svg=%.png)
10
13
 
11
14
DEB_CONFIGURE_SYSCONFDIR := /etc/X11/fluxbox
12
15
 
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 \
19
 
                             --enable-shape
 
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 \
 
25
                --enable-shape
20
26
 
21
27
CXXFLAGS := -O2 -ffunction-sections
22
28
 
23
 
clean::
24
 
        rm -f *.cdbs-config_list
25
 
 
26
 
cleanbuilddir/fluxbox::
27
 
        rm -fr debian/patched
28
 
 
29
 
install/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)
 
30
        convert $< $@
 
31
 
 
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'
 
42
 
 
43
clean::
 
44
        rm -f *.cdbs-config_list $(DEBLOGO_WALLPAPER_PNG)
 
45
 
 
46
install/fluxbox::
 
47
        # We use menu file generated by the 'menu' package.
 
48
        rm -f ./debian/fluxbox/usr/bin/fluxbox-generate_menu