From d8eb4f3fdc2526fd5b1dbb83121c33fc4a036d35 Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <michael@stapelberg.de>
Date: Sun, 23 Oct 2011 16:53:16 +0100
Subject: [PATCH] debian: use ${perl:Depends}, remove perl from build-deps,
 update recommends

We can drop the perl module recommends since i3-wsbar no longer ships with i3.
---
 DEPENDS        | 14 ++------------
 debian/control |  6 +++---
 2 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/DEPENDS b/DEPENDS
index 649b2698..61fb9586 100644
--- a/DEPENDS
+++ b/DEPENDS
@@ -25,18 +25,8 @@
 └─────────────┴────────┴────────┴────────────────────────────────────────┘
  ¹ libsn = libstartup-notification
 
- i3-msg, i3-input, i3-nagbar and i3-config-wizard do not introduce any new
- dependencies.
-
- i3-wsbar is implemented in Perl and has the following dependencies:
-
-   • IPC::Run
-   • Try::Tiny
-   • AnyEvent
-   • AnyEvent::I3
-
- All of them are available at CPAN, see http://search.cpan.org/
- Use your distribution’s packages or cpan(1) to install them.
+ i3bar, i3-msg, i3-input, i3-nagbar and i3-config-wizard do not introduce any
+ new dependencies.
 
  i3-migrate-config-to-v4 is implemented in Perl, but it has no dependencies
  besides Perl 5.10.
diff --git a/debian/control b/debian/control
index 9f1debd2..e9444b4c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: utils
 Priority: extra
 Maintainer: Michael Stapelberg <michael@stapelberg.de>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), libx11-dev, libxcb-util0-dev (>= 0.3.8), libxcb-keysyms1-dev, libxcb-xinerama0-dev (>= 1.1), libxcb-randr0-dev, libxcb-icccm4-dev, libxcursor-dev, asciidoc (>= 8.4.4), xmlto, docbook-xml, pkg-config, libev-dev, flex, bison, libyajl-dev, perl, texlive-latex-base, texlive-latex-recommended, texlive-latex-extra, libpcre3-dev, libstartup-notification0-dev (>= 0.12)
+Build-Depends: debhelper (>= 7.0.50~), libx11-dev, libxcb-util0-dev (>= 0.3.8), libxcb-keysyms1-dev, libxcb-xinerama0-dev (>= 1.1), libxcb-randr0-dev, libxcb-icccm4-dev, libxcursor-dev, asciidoc (>= 8.4.4), xmlto, docbook-xml, pkg-config, libev-dev, flex, bison, libyajl-dev, texlive-latex-base, texlive-latex-recommended, texlive-latex-extra, libpcre3-dev, libstartup-notification0-dev (>= 0.10)
 Standards-Version: 3.9.2
 Homepage: http://i3wm.org/
 
@@ -22,10 +22,10 @@ Description: metapackage (i3 window manager, screen locker, menu, statusbar)
 Package: i3-wm
 Architecture: any
 Section: x11
-Depends: ${shlibs:Depends}, ${misc:Depends}, x11-utils
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, x11-utils
 Provides: x-window-manager
 Suggests: rxvt-unicode | x-terminal-emulator
-Recommends: xfonts-base, libanyevent-i3-perl, libanyevent-perl, libipc-run-perl
+Recommends: xfonts-base
 Description: improved dynamic tiling window manager
  Key features of i3 are correct implementation of Xinerama (workspaces are
  assigned to virtual screens, i3 does the right thing when attaching new