debian/control: add missing run-time dependencies
authorAntonio Ospite <ao2@ao2.it>
Sat, 8 Feb 2014 17:57:38 +0000 (18:57 +0100)
committerAntonio Ospite <ao2@ao2.it>
Wed, 12 Feb 2014 14:35:31 +0000 (15:35 +0100)
Prevent two fatal errors which happen when needed components are not
installed.

Without php5-curl:

  PHP Fatal error:  Call to undefined function curl_init() in
  /usr/share/php/tweeper/tweeper.php on line 52

Without php5-xsl:

  PHP Fatal error:  Class 'XSLTProcessor' not found in
  /usr/share/php/tweeper/tweeper.php on line 33

Closes: #738201
Thanks: Anton Nesterov

debian/control

index dfec10d..1944102 100644 (file)
@@ -11,7 +11,7 @@ Vcs-Browser: http://git.ao2.it/tweeper.git
 
 Package: tweeper
 Architecture: all
-Depends: ${misc:Depends}, php5-cli
+Depends: ${misc:Depends}, php5-cli, php5-curl, php5-xsl
 Suggests: libapache2-mod-php5 | php5-cgi
 Description: web scraper to convert a Twitter timeline to an RSS feed
  tweeper is a web scraper which extracts the most recent public tweets of