]> git.donarmstrong.com Git - roundcube.git/commitdiff
New upstream version !
authorVincent Bernat <bernat@luffy.cx>
Mon, 29 Oct 2007 21:11:52 +0000 (21:11 +0000)
committerJérémy Bobbio <lunar@debian.org>
Sat, 18 Jun 2011 16:42:26 +0000 (18:42 +0200)
debian/README.Debian
debian/changelog
debian/conf/apache.conf
debian/control
debian/control.in
debian/patches/dbconfig-common_support.patch
debian/patches/series
debian/patches/use_packaged_tinymce.patch [new file with mode: 0644]
debian/rules

index 32aa70eed825d0a665169804956da844306ae942..32c5d82ffeca4ef7b7b5833b95e6dc35e9dd341c 100644 (file)
@@ -1,4 +1,10 @@
 For better compatibility, the schema used for MySQL is the one
 targeted at MySQL 4.0, not the one for MySQL 4.1 or MySQL 5.x.
 
- -- Vincent Bernat <bernat@luffy.cx>, Tue, 22 May 2007 21:17:27 +0200
+To use tinymce editor:
+ - install tinymce package
+ - uncomment the first block in /etc/apache*/conf.d/roundcube
+ - set $rcmail_config['enable_htmleditor'] to TRUE in
+   /etc/roundcube/main.inc.php
+
+ -- Vincent Bernat <bernat@luffy.cx>, Mon, 29 Oct 2007 21:39:09 +0100
index 4f748cea6553b88e9ad15abf041b343457c9aff9..2b5fb6e12f63c768bc1860736e1d9977753722e0 100644 (file)
@@ -1,8 +1,11 @@
-roundcube (0.1~rc1-4) unstable; urgency=low
+roundcube (0.1~rc2-1) unstable; urgency=low
 
+  * New upstream, thanks to Nicolas Stransky (Closes: #447503). This
+    release support tinymce as HTML editor. Look at README.Debian for more
+    information.
   * Update Galician debconf template, thanks to Jacobo Tarrio (Closes: #447943).
 
- --
+ -- Vincent Bernat <bernat@luffy.cx>  Mon, 29 Oct 2007 22:08:43 +0100
 
 roundcube (0.1~rc1-3) unstable; urgency=low
 
index b4447d47866d39b7bc7b7dd9f720de12eb900740..9431b5699b8624da8e37c4d8e0ffd5e54ba40c7a 100644 (file)
@@ -1,3 +1,14 @@
+# Uncomment this to use tinymce (you need tinymce package)
+# See README.Debian for more details
+
+# Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
+# <Directory "/usr/share/tinymce/www/">
+#      Options Indexes MultiViews FollowSymLinks
+#      AllowOverride None
+#      Order allow,deny
+#      allow from all
+# </Directory>
+
 # This alias does not work properly with several hosts on your apache server
 # Uncomment it to use it
 #    Alias /roundcube /var/lib/roundcube
@@ -28,3 +39,4 @@
        Order allow,deny
        Deny from all
 </Directory>
+
index b998456d210a6a49769fa725c4687b02a4af2ccc..73feb4dd3422ddd4136f45856cf68a35e5821c5b 100644 (file)
@@ -10,6 +10,7 @@ Standards-Version: 3.7.2
 Package: roundcube
 Architecture: all
 Depends: dbconfig-common, debconf | debconf-2.0, apache2 | httpd, php5, php5-mcrypt, roundcube-db, php-db, php-auth, php-net-smtp, php-net-socket, php-mail-mime, ucf, ${misc:Depends}
+Suggests: tinymce
 Description: skinnable AJAX based webmail solution for IMAP servers
  RoundCube Webmail is a browser-based multilingual IMAP client with an
  application-like user interface. It provides full functionality
index 0ff756a298e5f2b5bb94fa6619be9442e35b6fa6..5691d751e4af6a8a331cf97b4ed13fa0ff669cb3 100644 (file)
@@ -10,6 +10,7 @@ Standards-Version: 3.7.2
 Package: roundcube
 Architecture: all
 Depends: dbconfig-common, debconf | debconf-2.0, apache2 | httpd, php5, php5-mcrypt, roundcube-db, php-db, php-auth, php-net-smtp, php-net-socket, php-mail-mime, ucf, ${misc:Depends}
+Suggests: tinymce
 Description: skinnable AJAX based webmail solution for IMAP servers
  RoundCube Webmail is a browser-based multilingual IMAP client with an
  application-like user interface. It provides full functionality
index 8e1f71d3ba2e7a330ab80ffd3806a4bd90c2d00b..ec4a2a86242ac22b4d246aa1e8c7aa7e83634562 100644 (file)
@@ -6,7 +6,7 @@
 
 -// PEAR database DSN for read/write operations
 -// format is db_provider://user:password@host/databse
--// currentyl suported db_providers: mysql, pgsql, sqlite
+-// currently supported db_providers: mysql, sqlite
 -
 -$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
 -// postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail';
index 70787a45ab02e52e5aa2845a7e992919f24d1e50..bde2b5d14a35881a9b76f3c332370638d2c95bd6 100644 (file)
@@ -1,2 +1,3 @@
 dbconfig-common_support.patch
 correct_install_path.patch
+use_packaged_tinymce.patch
diff --git a/debian/patches/use_packaged_tinymce.patch b/debian/patches/use_packaged_tinymce.patch
new file mode 100644 (file)
index 0000000..db835fa
--- /dev/null
@@ -0,0 +1,37 @@
+--- roundcube_0.1-rc2/program/js/editor.js     2007-06-09 01:47:57.000000000 +0200
++++ roundcube_0.1-rc2/program/js/editor.js     2007-10-29 21:47:07.000000000 +0100
+@@ -27,10 +27,7 @@
+                  theme_advanced_buttons3 : '',
+                  theme_advanced_toolbar_location : 'top',
+                  theme_advanced_toolbar_align : 'left',
+-                 extended_valid_elements : 'font[face|size|color|style],span[id|class|align|style]',
+-                 content_css : skin_path + '/editor_content.css',
+-                 popups_css : skin_path + '/editor_popup.css',
+-                 editor_css : skin_path + '/editor_ui.css'
++                 extended_valid_elements : 'font[face|size|color|style],span[id|class|align|style]'
+                });
+   }
+--- roundcube_0.1-rc2/program/steps/settings/edit_identity.inc 2007-04-28 20:07:12.000000000 +0200
++++ roundcube_0.1-rc2/program/steps/settings/edit_identity.inc 2007-10-29 21:46:33.000000000 +0100
+@@ -49,9 +49,6 @@
+   $OUTPUT->include_script('tiny_mce/tiny_mce_src.js');
+   $OUTPUT->add_script("tinyMCE.init({ mode : 'specific_textareas'," .
+                                     "apply_source_formatting : true," .
+-                                    "content_css : '\$__skin_path' + '/editor_content.css'," .
+-                                    "popups_css : '\$__skin_path' + '/editor_popups.css'," .
+-                                    "editor_css : '\$__skin_path' + '/editor_ui.css'," .
+                                     "theme : 'advanced'," .
+                                     "theme_advanced_toolbar_location : 'top'," .
+                                     "theme_advanced_toolbar_align : 'left'," .
+--- roundcube_0.1-rc2/program/steps/mail/sendmail.inc  2007-09-26 10:13:21.000000000 +0200
++++ roundcube_0.1-rc2/program/steps/mail/sendmail.inc  2007-10-29 22:04:20.000000000 +0100
+@@ -108,7 +108,7 @@
+     if (! in_array($image_name, $included_images))
+       {
+       // add the image to the MIME message
+-      $img_file = $INSTALL_PATH . '/' . $searchstr . $image_name;
++      $img_file = '/usr/share/tinymce/www/plugins/emotions/images/' . $image_name;
+       if(! $mime_message->addHTMLImage($img_file, 'image/gif', '', true, '_' . $image_name))
+         $OUTPUT->show_message("emoticonerror", 'error');
index ad615aa0f8b795eb3b091cb79a419d141e7a7068..4d4aaeac6fed7b7f123efc75306474dd5931be52 100755 (executable)
@@ -8,13 +8,6 @@ include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 # Then check manually if everything's ok
 
 binary-install/roundcube::
-       # Removing PEAR classes that are provided via strd packages
-       rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/Auth
-       rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/DB
-       rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/DB.php
-       rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/Mail
-       rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/Net
-       rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/PEAR.php
        # Symlink all that is in /usr/share/roundcube to /var/lib/roundcube
        find debian/roundcube/usr/share/roundcube -maxdepth 1 -mindepth 1 | \
        while read i; do \
@@ -34,16 +27,12 @@ binary-install/roundcube::
        install -m 0644 $(CURDIR)/SQL/sqlite.initial.sql $(CURDIR)/debian/roundcube/usr/share/dbconfig-common/data/roundcube/install/sqlite
        install -m 0644 $(CURDIR)/SQL/sqlite.update.sql $(CURDIR)/debian/roundcube/usr/share/dbconfig-common/data/roundcube/upgrade/sqlite/0.1~rc1~dfsg-1
        # Some files are executable while not being scripts or binary...
-       chmod -x $(CURDIR)/debian/roundcube/usr/share/roundcube/program/include/rcube_mdb2.inc
-       chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/images/icons/plus.gif
-       chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/common.css
-       chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/images/display/loading.gif
-       chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/images/buttons/up_arrow.png
-       chmod -x $(CURDIR)/debian/roundcube/usr/share/roundcube/program/include/rcube_db.inc
-       chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/images/buttons/down_arrow.png
-       chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/googiespell.css
-       chmod -x $(CURDIR)/debian/roundcube/usr/share/roundcube/program/js/googiespell.js
        find $(CURDIR)/debian/roundcube/usr/share/roundcube/program/localization -type f -print0 | xargs -0 chmod -x
+       # Remove files shipped in tinymce package
+       rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/js/tiny_mce
+       for f in colorpicker.css editor_content.css editor_popup.css editor_ui.css; do \
+               rm $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/$$f; \
+       done
 
 clean::
        debconf-updatepo