prepare plat/al for php-banana deb package
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Fri, 7 Jan 2005 23:17:31 +0000 (23:17 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:27:14 +0000 (23:27 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-235

Makefile
htdocs/banana/.arch-inventory [deleted file]
htdocs/banana/xface.php [new file with mode: 0644]
include/.arch-inventory
templates/banana/index.head.tpl

index 3debbad..5c2b4f4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,21 +36,7 @@ templates_c:
 htdocs/valid.html:
        ln -sf ../templates_c/valid.html htdocs/valid.html
 
-include/banana: ../banana/banana
-       ln -sf ../$< $@
-
-htdocs/banana/banana.css: ../banana/css/style.css
-       ln -sf ../../$< $@
-
-htdocs/banana/xface.php: ../banana/examples/xface.php
-       ln -sf ../../$< $@
-
-htdocs/banana/img: ../banana/img
-       ln -sf ../../$< $@
-
-devel: build templates_c htdocs/valid.html include/banana \
-       htdocs/banana/xface.php htdocs/banana/img htdocs/banana/banana.css
-
+devel: build templates_c htdocs/valid.html
 
 
 ################################################################################
diff --git a/htdocs/banana/.arch-inventory b/htdocs/banana/.arch-inventory
deleted file mode 100644 (file)
index 3e2b070..0000000
+++ /dev/null
@@ -1 +0,0 @@
-precious ^(img|spool|xface.php|banana.css)
diff --git a/htdocs/banana/xface.php b/htdocs/banana/xface.php
new file mode 100644 (file)
index 0000000..16d0332
--- /dev/null
@@ -0,0 +1,6 @@
+<?php
+
+header('Content-Type: image/jpeg');
+passthru('echo '.escapeshellarg(base64_decode($_REQUEST['face'])).'|uncompface -X |convert xbm:- jpg:-');
+
+?>
index 65d95a3..a69f64c 100644 (file)
@@ -1 +1 @@
-precious ^(xorg.globals.inc.php|banana)$
+precious ^(xorg.globals.inc.php)$
index efc49ce..1dbee56 100644 (file)
@@ -18,6 +18,6 @@
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************}
 
-<link rel="stylesheet" type="text/css" href="banana.css" media="screen" />
+<link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
 
 {* vim:set et sw=2 sts=2 sws=2: *}