summaryrefslogtreecommitdiff
path: root/www-apps/mypictures/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/mypictures/files
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/mypictures/files')
-rw-r--r--www-apps/mypictures/files/mypictures.diff14
-rw-r--r--www-apps/mypictures/files/postinstall-en.txt4
2 files changed, 18 insertions, 0 deletions
diff --git a/www-apps/mypictures/files/mypictures.diff b/www-apps/mypictures/files/mypictures.diff
new file mode 100644
index 000000000000..88c4048ab669
--- /dev/null
+++ b/www-apps/mypictures/files/mypictures.diff
@@ -0,0 +1,14 @@
+diff -u --recursive mypictures.orig/index.php mypictures/index.php
+--- mypictures.orig/index.php 2004-05-03 01:45:58.523174520 +0100
++++ mypictures/index.php 2004-05-03 01:47:16.713287816 +0100
+@@ -471,8 +471,8 @@
+ }
+
+ $cmd = $config['convert'];
+- $cmd .= ' -geometry 120x120 ';
+- $cmd .= '"'.$img.'" "'.$thumb.'"';
++ $cmd .= ' -size 120x120 ';
++ $cmd .= '"'.$img.'" -resize 120x120 +profile "*" "'.$thumb.'"';
+ system($cmd);
+
+ header("Content-type: image/png");
diff --git a/www-apps/mypictures/files/postinstall-en.txt b/www-apps/mypictures/files/postinstall-en.txt
new file mode 100644
index 000000000000..378d4b34b2f8
--- /dev/null
+++ b/www-apps/mypictures/files/postinstall-en.txt
@@ -0,0 +1,4 @@
+From the author:
+
+Please note that MyPictures is intended for personal use only and should never
+be run on a public server.