[packages/php-phpqrcode] patch also merged config for cache paths

glen glen at pld-linux.org
Sat Mar 29 12:29:17 CET 2014


commit e5f8e0c76cca0976416c1c0c15cad981673eebc1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 29 13:29:08 2014 +0200

    patch also merged config for cache paths

 cache-path.patch | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/cache-path.patch b/cache-path.patch
index a2217b0..77621df 100644
--- a/cache-path.patch
+++ b/cache-path.patch
@@ -1,7 +1,3 @@
-Description: Debian-specific paths and defaults
-Forwarded: not-needed
-Author: Thijs Kinkhorst <thijs at debian.org>
-
 --- a/qrconfig.php	2013-01-23 14:55:45.858052303 +0100
 +++ b/qrconfig.php	2013-01-23 14:55:57.377754931 +0100
 @@ -6,8 +6,8 @@
@@ -15,3 +11,16 @@ Author: Thijs Kinkhorst <thijs at debian.org>
      
      define('QR_FIND_BEST_MASK', true);                                                          // if true, estimates best mask (spec. default, but extremally slow; set to false to significant performance boost but (propably) worst quality code
      define('QR_FIND_FROM_RANDOM', false);                                                       // if false, checks all masks available, otherwise value tells count of masks need to be checked, mask id are got randomly
+--- php-phpqrcode-1.1.4/phpqrcode.php~	2014-03-29 13:25:52.000000000 +0200
++++ php-phpqrcode-1.1.4/phpqrcode.php	2014-03-29 13:28:26.025533866 +0200
+@@ -114,8 +114,8 @@
+  * Config file, tuned-up for merged verion
+  */
+      
+-    define('QR_CACHEABLE', false);       // use cache - more disk reads but less CPU power, masks and format templates are stored there
+-    define('QR_CACHE_DIR', false);       // used when QR_CACHEABLE === true
++    define('QR_CACHEABLE', true);       // use cache - more disk reads but less CPU power, masks and format templates are stored there
++    define('QR_CACHE_DIR', '/var/cache/php/phpqrcode/');       // used when QR_CACHEABLE === true
+     define('QR_LOG_DIR', false);         // default error logs dir   
+     
+     define('QR_FIND_BEST_MASK', true);                                                          // if true, estimates best mask (spec. default, but extremally slow; set to false to significant performance boost but (propably) worst quality code
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-phpqrcode.git/commitdiff/e5f8e0c76cca0976416c1c0c15cad981673eebc1



More information about the pld-cvs-commit mailing list