]> git.pld-linux.org Git - packages/QtCurve.git/commitdiff
- outdated
authorKarol Krenski <charles@pld-linux.org>
Sat, 24 Oct 2009 21:21:00 +0000 (21:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    QtCurve-Gtk2-mailto.patch -> 1.2
    QtCurve-Gtk2-userjs.patch -> 1.2

QtCurve-Gtk2-mailto.patch [deleted file]
QtCurve-Gtk2-userjs.patch [deleted file]

diff --git a/QtCurve-Gtk2-mailto.patch b/QtCurve-Gtk2-mailto.patch
deleted file mode 100644 (file)
index 9619538..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
---- mozilla/mailto.sh~ 2007-12-06 05:04:09.650687151 +0200
-+++ mozilla/mailto.sh  2007-12-06 05:04:13.870503260 +0200
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- #
- # Taken from http://rignesnet.tzo.com/articles/mailto_helper.html
-@@ -7,13 +7,13 @@
- MAILTO_URL="$@"
--app=`kreadconfig --file emaildefaults --group PROFILE_Default --key EmailClient --default kmail`
-+app=$(kreadconfig --file emaildefaults --group PROFILE_Default --key EmailClient --default kmail)
--if [ "$app" == "" ] ; then
-+if [ -z "$app" ]; then
-     app=kmail
- fi
--case `basename $app` in
-+case "${app##*/}" in
-     "mozilla-thunderbird" | "thunderbird" | "evolution")
-         $app "$MAILTO_URL"
-         ;;
-@@ -21,21 +21,27 @@
-         kmailservice "$MAILTO_URL"
-         ;;
-     *)
--        #Strip off the protocol
--        MAIL_DATA=$(echo "$MAILTO_URL" | /bin/sed -s 's/^mailto://I')
--
--        #Get Recipient and strip it off
--        RECIPIENT=$(echo "$MAIL_DATA" | cut -d? -f1 -)
--        MAIL_DATA=$(echo "$MAIL_DATA" | /bin/sed -s "s/^$RECIPIENT//")
--
--        #Get Subject,BCC, and CC
--        SUBJECT=$(echo "$MAIL_DATA" | \
--        /bin/sed -s 's/.*?subject=//I' | /bin/sed -s 's/?.*//')
--        BCC=$(echo "$MAIL_DATA" | /bin/sed -s 's/.*?bcc=//I' | \
--        /bin/sed -s 's/?.*//')
--        CC=$(echo "$MAIL_DATA" | /bin/sed -s 's/.*?cc=//I' | \
--        /bin/sed -s 's/?.*//')
-+        # Strip off the protocol
-+        MAIL_DATA=${MAILTO_URL#mailto:}
-+        # Get Recipient and strip it off
-+        RECIPIENT=${MAIL_DATA%%\?*}
-+        MAIL_DATA=${MAIL_DATA#*\?}
-+
-+              SUBJECT= BCC= CC=
-+        # Get Subject,BCC, and CC
-+              if [ "${MAIL_DATA#*subject=}" != "${MAIL_DATA}" ]; then
-+                      SUBJECT=${MAIL_DATA#*subject=}
-+                      SUBJECT=${SUBJECT%%&*}
-+              fi
-+              if [ "${MAIL_DATA#*bcc=}" != "${MAIL_DATA}" ]; then
-+                      BCC=${MAIL_DATA#*bcc=}
-+                      BCC=${BCC%%&*}
-+              fi
-+              if [ "${MAIL_DATA#*cc=}" != "${MAIL_DATA}" ]; then
-+                      CC=${MAIL_DATA#*cc=}
-+                      CC=${CC%%&*}
-+              fi
-         $app "$RECIPIENT" -b "$BCC" -c "$CC" -s "$SUBJECT"
-         ;;
- esac
diff --git a/QtCurve-Gtk2-userjs.patch b/QtCurve-Gtk2-userjs.patch
deleted file mode 100644 (file)
index e20b275..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- QtCurve-Gtk2-0.55.1/style/qt_settings.c~   2007-10-24 21:50:40.000000000 +0300
-+++ QtCurve-Gtk2-0.55.1/style/qt_settings.c    2007-12-06 04:43:41.324215032 +0200
-@@ -1126,10 +1126,11 @@
-                      if(-1==lstat(sub, &statbuf))
-                      {
-                          FILE *in=NULL;
-+                         char src[strlen(QTC_MOZILLA_DIR) + MAX_CSS_HOME + 10];
--                         sprintf(sub, QTC_MOZILLA_DIR"/%s-user.js", app);
-+                         sprintf(src, QTC_MOZILLA_DIR"/%s-user.js", app);
--                         if((in=fopen(sub, "r")))
-+                         if((in=fopen(src, "r")))
-                          {
-                              FILE *out=fopen(sub, "w");
This page took 0.063341 seconds and 4 git commands to generate.