summaryrefslogtreecommitdiff
path: root/www/typolight28
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-04-17 18:23:35 +0000
committertaca <taca@pkgsrc.org>2010-04-17 18:23:35 +0000
commit7176cae0d128db5fe623af6ee34647d06b4e041f (patch)
tree7a260bff6e0a08c8a1b19fc159df720e6b49e3b8 /www/typolight28
parent5d97c9727c83bbd590b9af2032f9cd3fe6a4effe (diff)
downloadpkgsrc-7176cae0d128db5fe623af6ee34647d06b4e041f.tar.gz
Add patches to disable autoresize plugin of TinyMCE since it cause
unexpected redisplay with large editing area. This change is derived from TYPOlight's SVN repository. (http://dev.typolight.org/projects/typolight/repository/revisions/317 Bump PKGREVISION.
Diffstat (limited to 'www/typolight28')
-rw-r--r--www/typolight28/Makefile3
-rw-r--r--www/typolight28/distinfo5
-rw-r--r--www/typolight28/patches/patch-aa25
-rw-r--r--www/typolight28/patches/patch-ab25
-rw-r--r--www/typolight28/patches/patch-ac25
5 files changed, 81 insertions, 2 deletions
diff --git a/www/typolight28/Makefile b/www/typolight28/Makefile
index e927d17baff..7841acfc573 100644
--- a/www/typolight28/Makefile
+++ b/www/typolight28/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2010/03/16 16:02:21 taca Exp $
+# $NetBSD: Makefile,v 1.6 2010/04/17 18:23:35 taca Exp $
#
DISTNAME= typolight-${TL_VERSION}
PKGNAME= typolight${TL_VER}-${TL_PKGVER}
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/}
diff --git a/www/typolight28/distinfo b/www/typolight28/distinfo
index 1a7c6bea824..3138bdd1dc1 100644
--- a/www/typolight28/distinfo
+++ b/www/typolight28/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.5 2010/04/13 15:43:59 taca Exp $
+$NetBSD: distinfo,v 1.6 2010/04/17 18:23:35 taca Exp $
SHA1 (typolight-2.8.2.tar.gz) = fb7ef801f7ba2ca3f8eae0a1fb67ce24ed1913a1
RMD160 (typolight-2.8.2.tar.gz) = 37dcc66fae2d9b7df0f13939178182b3c2223463
Size (typolight-2.8.2.tar.gz) = 4115345 bytes
+SHA1 (patch-aa) = 496bf7952367116feccdcc18cd458b4749a92ae6
+SHA1 (patch-ab) = 0013ae42904856d483a7e6b46b7e1fffd57654fc
+SHA1 (patch-ac) = c85d80c2283de642ba8ce0952d7dd0b8eae3f917
diff --git a/www/typolight28/patches/patch-aa b/www/typolight28/patches/patch-aa
new file mode 100644
index 00000000000..3d6101ceef9
--- /dev/null
+++ b/www/typolight28/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1 2010/04/17 18:23:35 taca Exp $
+
+* Remove autoresize plugin from TinyMCE.
+ (r317 from http://svn.typolight.org/trunk)
+
+--- system/config/tinyFlash.php.orig 2010-04-10 12:43:13.000000000 +0000
++++ system/config/tinyFlash.php
+@@ -36,7 +36,7 @@
+ <script type="text/javascript">
+ <!--//--><![CDATA[//><!--
+ tinyMCE_GZ.init({
+- plugins : "autoresize,autosave,directionality,inlinepopups,legacyoutput,paste,save,searchreplace,spellchecker,tabfocus,template,typolinks",
++ plugins : "autosave,directionality,inlinepopups,legacyoutput,paste,save,searchreplace,spellchecker,tabfocus,template,typolinks",
+ themes : "advanced",
+ languages : "<?php echo $this->language; ?>",
+ disk_cache : false,
+@@ -67,7 +67,7 @@ tinyMCE.init({
+ save_on_tinymce_forms : true,
+ save_callback : "TinyCallback.cleanHTML",
+ onchange_callback : "TinyCallback.getScrollOffset",
+- plugins : "autoresize,autosave,directionality,inlinepopups,legacyoutput,paste,save,searchreplace,spellchecker,tabfocus,template,typolinks",
++ plugins : "autosave,directionality,inlinepopups,legacyoutput,paste,save,searchreplace,spellchecker,tabfocus,template,typolinks",
+ spellchecker_languages : "<?php echo $this->getSpellcheckerString(); ?>",
+ extended_valid_elements : "b/strong,i/em",
+ content_css : "<?php echo TL_PATH; ?>/basic.css,<?php echo TL_PATH; ?>/system/themes/tinymce.css",
diff --git a/www/typolight28/patches/patch-ab b/www/typolight28/patches/patch-ab
new file mode 100644
index 00000000000..48a399afe10
--- /dev/null
+++ b/www/typolight28/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1 2010/04/17 18:23:35 taca Exp $
+
+* Remove autoresize plugin from TinyMCE.
+ (r317 from http://svn.typolight.org/trunk)
+
+--- system/config/tinyMCE.php.orig 2010-04-10 13:54:18.000000000 +0000
++++ system/config/tinyMCE.php
+@@ -36,7 +36,7 @@
+ <script type="text/javascript">
+ <!--//--><![CDATA[//><!--
+ tinyMCE_GZ.init({
+- plugins : "advimage,autoresize,autosave,directionality,emotions,inlinepopups,paste,save,searchreplace,spellchecker,style,tabfocus,table,template,typolinks,xhtmlxtras",
++ plugins : "advimage,autosave,directionality,emotions,inlinepopups,paste,save,searchreplace,spellchecker,style,tabfocus,table,template,typolinks,xhtmlxtras",
+ themes : "advanced",
+ languages : "<?php echo $this->language; ?>",
+ disk_cache : false,
+@@ -72,7 +72,7 @@ tinyMCE.init({
+ advimage_update_dimensions_onchange : false,
+ external_image_list_url : "<?php echo TL_PATH; ?>/plugins/tinyMCE/plugins/typolinks/typoimages.php",
+ template_external_list_url : "<?php echo TL_PATH; ?>/plugins/tinyMCE/plugins/typolinks/typotemplates.php",
+- plugins : "advimage,autoresize,autosave,directionality,emotions,inlinepopups,paste,save,searchreplace,spellchecker,style,tabfocus,table,template,typolinks,xhtmlxtras",
++ plugins : "advimage,autosave,directionality,emotions,inlinepopups,paste,save,searchreplace,spellchecker,style,tabfocus,table,template,typolinks,xhtmlxtras",
+ spellchecker_languages : "<?php echo $this->getSpellcheckerString(); ?>",
+ content_css : "<?php echo TL_PATH; ?>/basic.css,<?php echo TL_PATH; ?>/system/themes/tinymce.css",
+ event_elements : "a,div,h1,h2,h3,h4,h5,h6,img,p,span",
diff --git a/www/typolight28/patches/patch-ac b/www/typolight28/patches/patch-ac
new file mode 100644
index 00000000000..87b944a5493
--- /dev/null
+++ b/www/typolight28/patches/patch-ac
@@ -0,0 +1,25 @@
+$NetBSD: patch-ac,v 1.1 2010/04/17 18:23:35 taca Exp $
+
+* Remove autoresize plugin from TinyMCE.
+ (r317 from http://svn.typolight.org/trunk)
+
+--- system/config/tinyNews.php.orig 2010-04-10 12:43:13.000000000 +0000
++++ system/config/tinyNews.php
+@@ -36,7 +36,7 @@
+ <script type="text/javascript">
+ <!--//--><![CDATA[//><!--
+ tinyMCE_GZ.init({
+- plugins : "advimage,autoresize,directionality,emotions,inlinepopups,paste,save,searchreplace,spellchecker,style,tabfocus,table,template,typolinks,xhtmlxtras",
++ plugins : "advimage,directionality,emotions,inlinepopups,paste,save,searchreplace,spellchecker,style,tabfocus,table,template,typolinks,xhtmlxtras",
+ themes : "advanced",
+ languages : "<?php echo $this->language; ?>",
+ disk_cache : false,
+@@ -73,7 +73,7 @@ tinyMCE.init({
+ onchange_callback : "TinyCallback.getScrollOffset",
+ external_image_list_url : "<?php echo TL_PATH; ?>/plugins/tinyMCE/plugins/typolinks/typoimages.php",
+ template_external_list_url : "<?php echo TL_PATH; ?>/plugins/tinyMCE/plugins/typolinks/typotemplates.php",
+- plugins : "advimage,autoresize,directionality,emotions,inlinepopups,paste,save,searchreplace,spellchecker,style,tabfocus,table,template,typolinks,xhtmlxtras",
++ plugins : "advimage,directionality,emotions,inlinepopups,paste,save,searchreplace,spellchecker,style,tabfocus,table,template,typolinks,xhtmlxtras",
+ spellchecker_languages : "<?php echo $this->getSpellcheckerString(); ?>",
+ content_css : "<?php echo TL_PATH; ?>/newsletter.css",
+ event_elements : "a,div,h1,h2,h3,h4,h5,h6,img,p,span",