Physikerwelt has submitted this change and it was merged.

Change subject: Adjust lib part for usage without make install
......................................................................


Adjust lib part for usage without make install

Change-Id: Ic826193d419adefcebbac4c47dd1ebdcb6dcdb45
---
M bin/latexml.psgi
M blib/script/latexml.psgi
D latexml.php
D stupid.sh
4 files changed, 2 insertions(+), 18 deletions(-)

Approvals:
  Physikerwelt: Verified; Looks good to me, approved



diff --git a/bin/latexml.psgi b/bin/latexml.psgi
index efedc7a..a0e0a6f 100644
--- a/bin/latexml.psgi
+++ b/bin/latexml.psgi
@@ -12,7 +12,7 @@
 BEGIN {
     $FILE_BASE = dirname(__FILE__);
 }
-use lib $FILE_BASE."/../blib/lib";
+use lib $FILE_BASE."/../lib";
 
 use File::Path;
 use Encode;
diff --git a/blib/script/latexml.psgi b/blib/script/latexml.psgi
index 6824c3c..db16a16 100755
--- a/blib/script/latexml.psgi
+++ b/blib/script/latexml.psgi
@@ -15,7 +15,7 @@
 BEGIN {
     $FILE_BASE = dirname(__FILE__);
 }
-use lib $FILE_BASE."/../blib/lib";
+use lib $FILE_BASE."/../lib";
 
 use File::Path;
 use Encode;
diff --git a/latexml.php b/latexml.php
deleted file mode 100644
index a4395f3..0000000
--- a/latexml.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-#echo 'test';
-#chroot('/tmp');
-$post = file_get_contents('php://input');
-system('latexmlmediawiki '.escapeshellarg( $post )) or die('error:' . $post);
\ No newline at end of file
diff --git a/stupid.sh b/stupid.sh
deleted file mode 100644
index 0c41c8c..0000000
--- a/stupid.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash 
-COUNTER=0
-while [  $COUNTER -lt 1 ]; do
- #perl Makefile.PL
- make
- sudo make install
- sudo service apache2 restart
- curl -d 
'format=xhtml&whatsin=math&whatsout=math&pmml&cmml&nodefaultresources&preload=LaTeX.pool&preload=article.cls&preload=amsmath.sty&preload=amsthm.sty&preload=amstext.sty&preload=amssymb.sty&preload=eucal.sty&preload=%5Bdvipsnames%5Dxcolor.sty&preload=url.sty&preload=hyperref.sty&preload=%5Bids%5Dlatexml.sty&preload=texvc&latexheader=%27%5Cdocumentclass%5B12pt%5D%7Barticle%7D%0A%0A%5Cusepackage%7Bucs%7D%0A%5Cusepackage%5Butf8x%5D%7Binputenc%7D%0A%0A%5Cnonstopmode%0A%0A%5Cusepackage%7Bamsmath%7D%0A%5Cusepackage%7Bamsfonts%7D%0A%5Cusepackage%7Bamssymb%7D%0A%5Cusepackage%5Bdvips%2Cusenames%5D%7Bcolor%7D%0A%5Cusepackage%5Bgreek%5D%7Bbabel%7D%0A%5Cusepackage%7Bteubner%7D%0A%5Cusepackage%7Beurosym%7D%0A%5Cusepackage%7Bcancel%7D%0A%0A%5Cpagestyle%7Bempty%7D%0A%5Cbegin%7Bdocument%7D%24%24%7B%5Ctextstyle+%5Csum+_%7B%7Bi%3D1%7D%7D%5E%7B%7B%5Cinfty+%7D%7D%5Cleft+%28%7B%5Cfrac++12%7D%5Cright+%29%5E%7Bi%7D%3D1%7D%24%24%5Cend%7BDocument%7D%27&tex=%7B%5Ctextstyle+%5Csum+_%7B%7Bi%3D1%7D%7D%5E%7B%7B%5Cinfty+%7D%7D%5Cleft+%28%7B%5Cfrac++12%7D%5Cright+%29%5E%7Bi%7D%3D1%7D'
 http://localhost
- #curl -d 
'latexheader=%5Cdocumentclass%5B12pt%5D%7Barticle%7D%0A%0A%5Cusepackage%7Bucs%7D%0A%5Cusepackage%5Butf8%5D%7Binputenc%7D%0A%0A%5Cnonstopmode%0A%0A%5Cusepackage%7Bamsmath%7D%0A%5Cusepackage%7Bamsfonts%7D%0A%5Cusepackage%7Bamssymb%7D%0A%5Cusepackage%5Bdvips%2Cusenames%5D%7Bcolor%7D%0A%5Cusepackage%5Bgreek%5D%7Bbabel%7D%0A%5Cusepackage%7Bteubner%7D%0A%5Cusepackage%7Beurosym%7D%0A%5Cusepackage%7Bcancel%7D%0A%0A%5Cpagestyle%7Bempty%7D%0A%5Cbegin%7Bdocument%7D&format=xhtml&whatsin=math&whatsout=math&pmml&cmml&nodefaultresources&preload=LaTeX.pool&preload=article.cls&preload=amsmath.sty&preload=amsthm.sty&preload=amstext.sty&preload=amssymb.sty&preload=eucal.sty&preload=[dvipsnames]xcolor.sty&preload=url.sty&preload=hyperref.sty&preload=[ids]latexml.sty&preload=texvc&tex=%7B%5Ctextstyle+%5Csum+_%7B%7Bi%3D1%7D%7D%5E%7B%7B%5Cinfty+%7D%7D%5Cleft+%28%7B%5Cfrac++12%7D%5Cright+%29%5E%7Bi%7D%3D1%7D'
 http://localhost
- let COUNTER=COUNTER+1
-done
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/86725
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic826193d419adefcebbac4c47dd1ebdcb6dcdb45
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/latexml
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>
Gerrit-Reviewer: Physikerwelt <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to