[mousepad] Update to 0.4.0
by Mukundan Ragavan
commit 46a6f4a8daa8eb97b74ab56cbb2e185e76451191
Author: nonamedotc <nonamedotc(a)fedoraproject.org>
Date: Sat Feb 28 17:55:54 2015 -0600
Update to 0.4.0
mousepad.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mousepad.spec b/mousepad.spec
index 3e3205e..6b3218c 100644
--- a/mousepad.spec
+++ b/mousepad.spec
@@ -79,7 +79,7 @@ update-desktop-database &> /dev/null ||:
%doc AUTHORS COPYING NEWS README TODO THANKS
%{_bindir}/mousepad
%{_datadir}/applications/%{name}.desktop
-
+%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.gschema.xml
%changelog
* Sat Feb 28 2015 Mukundan Ragavan <nonamedotc(a)fedoraproject.org> - 0.4.0-1
8Â years, 7Â months
[mousepad] Update to 0.4.0
by Mukundan Ragavan
commit cc0257a7391ddc9e24a8cfbbd66cae976a95d908
Author: nonamedotc <nonamedotc(a)fedoraproject.org>
Date: Sat Feb 28 17:34:40 2015 -0600
Update to 0.4.0
mousepad.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mousepad.spec b/mousepad.spec
index 8cdeff5..3e3205e 100644
--- a/mousepad.spec
+++ b/mousepad.spec
@@ -2,7 +2,7 @@
Name: mousepad
Version: 0.4.0
-Release: 5%{?dist}
+Release: 1%{?dist}
Summary: Simple text editor for Xfce desktop environment
Group: Applications/Editors
8Â years, 7Â months
[mousepad] Update to 0.4.0
by Mukundan Ragavan
commit 2495cfede20b94427f62a5185e4774078579dd64
Author: nonamedotc <nonamedotc(a)fedoraproject.org>
Date: Sat Feb 28 17:33:58 2015 -0600
Update to 0.4.0
.gitignore | 1 +
mousepad.spec | 16 +++++++---------
sources | 2 +-
3 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8fde468..e8372fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
mousepad-0.2.16.tar.bz2
/mousepad-88aba4e1f5272ea686cb34c5d6e349ef152d4701.tar.bz2
/mousepad-0.3.0.tar.bz2
+/mousepad-0.4.0.tar.bz2
diff --git a/mousepad.spec b/mousepad.spec
index 39d2817..8cdeff5 100644
--- a/mousepad.spec
+++ b/mousepad.spec
@@ -1,7 +1,7 @@
-%global minorversion 0.3
+%global minorversion 0.4
Name: mousepad
-Version: 0.3.0
+Version: 0.4.0
Release: 5%{?dist}
Summary: Simple text editor for Xfce desktop environment
@@ -10,10 +10,10 @@ License: GPLv2+
URL: http://xfce.org/
#VCS: git:git://git.xfce.org/apps/mousepad
Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{versio...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxfce4util-devel
-BuildRequires: gettext intltool
+BuildRequires: gettext
+BuildRequires: intltool
BuildRequires: desktop-file-utils
BuildRequires: gtksourceview2-devel
BuildRequires: dbus-glib-devel
@@ -57,7 +57,6 @@ make %{?_smp_mflags} V=1
%install
-rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL='install -p'
%find_lang %{name}
@@ -69,9 +68,6 @@ desktop-file-install \
%{buildroot}/%{_datadir}/applications/%{name}.desktop
-%clean
-rm -rf %{buildroot}
-
%post
update-desktop-database &> /dev/null ||:
@@ -80,13 +76,15 @@ update-desktop-database &> /dev/null ||:
%files -f %{name}.lang
-%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO THANKS
%{_bindir}/mousepad
%{_datadir}/applications/%{name}.desktop
%changelog
+* Sat Feb 28 2015 Mukundan Ragavan <nonamedotc(a)fedoraproject.org> - 0.4.0-1
+- Update to 0.4.0
+
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index 6d787e9..11cc869 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dcfcdfaa8a19c89f35d5f6f64753e6e1 mousepad-0.3.0.tar.bz2
+f55314c5dda6323883241e6cf01550a7 mousepad-0.4.0.tar.bz2
8Â years, 7Â months
[exo] Update to 0.10.3
by Mukundan Ragavan
commit 939fcb4f4d4eaff2d1f462270afadc13a95798b4
Author: nonamedotc <nonamedotc(a)fedoraproject.org>
Date: Sat Feb 28 17:17:44 2015 -0600
Update to 0.10.3
- Remove upstreamed patches
.gitignore | 3 -
internet-mail-24.png | Bin 0 -> 1371 bytes
internet-mail-48.png | Bin 0 -> 2231 bytes
mailtoparse.py | 178 +++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 178 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ff6f91d..e36b1df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,6 @@
exo-0.3.107.tar.bz2
/exo-0.5.6.tar.bz2
/exo-0.6.0.tar.bz2
-/internet-mail-24.png
-/internet-mail-48.png
/exo-0.6.1.tar.bz2
/exo-0.6.2.tar.bz2
/exo-0.7.2.tar.bz2
@@ -11,5 +9,4 @@ exo-0.3.107.tar.bz2
/exo-0.10.0.tar.bz2
/exo-0.10.1.tar.bz2
/exo-0.10.2.tar.bz2
-/mailtoparse.py
/exo-0.10.3.tar.bz2
diff --git a/internet-mail-24.png b/internet-mail-24.png
new file mode 100644
index 0000000..aeb54ec
Binary files /dev/null and b/internet-mail-24.png differ
diff --git a/internet-mail-48.png b/internet-mail-48.png
new file mode 100644
index 0000000..d06fdf5
Binary files /dev/null and b/internet-mail-48.png differ
diff --git a/mailtoparse.py b/mailtoparse.py
new file mode 100644
index 0000000..63a621e
--- /dev/null
+++ b/mailtoparse.py
@@ -0,0 +1,178 @@
+#!/usr/bin/python -tt
+# skvidal(a)fedoraproject.org
+# (c) red hat, inc 2013
+# gpl whatever
+# this is a direct port of exo-compos-mail-1 from xfce
+# from perl to python
+# the idea is to dump the 2000000000 perl pkgs pulled in
+# by this for a single item :(
+# it should handle all the behaviour the same
+# it probably has bugs
+
+# TODO:
+# - figure out what the attachment parsing is trying to do
+# - figure out if rebuilding the mailto for evo, sylpheed and balsa
+# is actually necessary or not - feels silly but I'm not shocked by silly
+# - would be nice to have an actual set of tests :)
+
+
+
+import sys
+import posix
+import os
+import urlparse
+import urllib
+
+
+def parse_url(mailto):
+ urlparse.uses_query.append('mailto')
+ url = urlparse.urlparse(mailto)
+ res = {}
+ to = []
+ query = None
+
+ if url.query or '?' not in url.path:
+ if url.path:
+ to.append(urlparse.unquote(url.path))
+
+ else:
+ (thisto, ques, query) = url.path.partition('?')
+ if thisto.strip():
+ to.append(urlparse.unquote(thisto))
+
+ if not query:
+ query = url.query
+
+ q_dict = urlparse.parse_qs(query)
+ to.extend(q_dict.get('to', []))
+ res['to'] = to
+ if 'to' in q_dict:
+ del(q_dict['to'])
+
+ res.update(q_dict)
+ return res
+
+
+
+if len(sys.argv) < 3:
+ print >> sys.stderr, "Usage: %s <style> <binary> <mailto>" % (sys.argv[0])
+ sys.exit(1)
+
+
+style = sys.argv[1]
+binary = sys.argv[2]
+raw_mailto = sys.argv[3]
+mailto = parse_url(raw_mailto)
+
+
+to = mailto.get('to', [])
+cc = mailto.get('cc', [])
+bcc = mailto.get('bcc', [])
+subject = mailto.get('subject', '')
+body = '\n'.join(mailto.get('body', []))
+attachments = mailto.get('attachment',[])
+
+args = []
+if style == 'mozilla':
+
+ command = "to='" + ','.join(to) + "'"
+ command += ",cc='" + ','.join(cc) + "'"
+ command += ",bcc='" + ','.join(bcc) + "'"
+ command += ",attachment='" + ','.join(attachments) + "'"
+ if subject:
+ command += ",subject='" + subject + "'"
+ if body:
+ command += ",body='" + body + "'"
+
+ args.append('-compose')
+ args.append(command)
+
+elif style == 'mozilla-remote':
+ # generate xfeDoCommand(composeMessage, ...) string
+ command = 'xfeDoCommand(composeMessage'
+ command += ",to='" + ','.join(to) + "'"
+ command += ",cc='" + ','.join(cc) + "'";
+ command += ",bcc='" + ','.join(bcc) + "'"
+ command += ",attachment='" + ','.join(attachments) + "'"
+ if subject:
+ command += ",subject='" + subject + "'"
+ if body:
+ command += ",body='" + body + "'"
+
+ command += ')';
+
+ # and add the parameters to the argv
+ args.append('-remote')
+ args.append(command)
+
+elif style == 'evolution':
+ # evo takes a mailto uri and parses it itself
+ # just hand back what we were handed originally
+ # note - it my want them to be url_escaped first? or not?
+ args.append(raw_mailto)
+
+elif style == 'kmail':
+ if len(to) >= 1:
+ baseaddr = to[0]
+ cc.extend(to[1:])
+ else:
+ baseaddr = " "
+
+ for item in cc:
+ args.append('--cc')
+ args.append(item)
+ for item in bcc:
+ args.append('--bcc')
+ args.append(item)
+ for item in attachments:
+ args.append('--attach')
+ args.append(item)
+ if subject:
+ args.append('--subject')
+ args.append(subject)
+ if body:
+ args.append('--body')
+ args.append('\n'.join(body))
+ args.append('--composer')
+ args.append(baseaddr)
+
+elif style == 'sylpheed':
+ args.append('--compose')
+ args.append(raw_mailto)
+ # fixme - do attachments separately
+
+elif style == 'balsa': # cmon, balsa? really?
+ args.append('--compose')
+ args.append(raw_mailto)
+ # fixme - do attachments separately
+
+elif style == 'mutt':
+ for item in cc:
+ args.append('-c')
+ args.append(item)
+ for item in attachments:
+ args.append('-a')
+ args.append(item)
+ if subject:
+ args.append('-s')
+ args.append(subject)
+ for item in to:
+ args.append(item)
+ if to:
+ args.append('')
+
+
+
+else:
+ print >> sys.stderr, "%s: Unsupported style '%s'." % (sys.argv[0], style)
+ sys.exit(1)
+
+# try to execute the generated command
+posix.execv(binary,args)
+#DEBUG
+#print binary,
+#print ' '.join(args)
+#sys.exit(0)
+#ENDDEBUG
+# something went wrong
+sys.exit(1)
\ No newline at end of file
8Â years, 7Â months
[xfce4-appfinder] Update to latest stable release 4.12
by Mukundan Ragavan
commit 6e9ed6787efb9bc34e653336dcd188f524de6bc5
Author: nonamedotc <nonamedotc(a)fedoraproject.org>
Date: Sat Feb 28 17:14:39 2015 -0600
Update to latest stable release 4.12
- spec cleanup
.gitignore | 1 +
sources | 2 +-
xfce4-appfinder.spec | 19 ++++++++-----------
3 files changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 501c9e2..a54b472 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ xfce4-appfinder-4.6.2.tar.bz2
/xfce4-appfinder-4.9.5.tar.bz2
/xfce4-appfinder-4.10.0.tar.bz2
/xfce4-appfinder-4.10.1.tar.bz2
+/xfce4-appfinder-4.12.0.tar.bz2
diff --git a/sources b/sources
index b7d48cc..5fab656 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bea253956638e2df2dd950343b3b1b7b xfce4-appfinder-4.10.1.tar.bz2
+0b238b30686388c507c119b12664f1a1 xfce4-appfinder-4.12.0.tar.bz2
diff --git a/xfce4-appfinder.spec b/xfce4-appfinder.spec
index b236b4c..927626d 100644
--- a/xfce4-appfinder.spec
+++ b/xfce4-appfinder.spec
@@ -1,8 +1,8 @@
-%global xfceversion 4.10
+%global xfceversion 4.12
Name: xfce4-appfinder
-Version: 4.10.1
-Release: 5%{?dist}
+Version: 4.12.0
+Release: 1%{?dist}
Summary: Appfinder for the Xfce4 Desktop Environment
Group: User Interface/Desktops
@@ -10,7 +10,6 @@ License: GPLv2+
URL: http://www.xfce.org/
#VCS git:git://git.xfce.org/xfce/xfce4-appfinder
Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig(dbus-glib-1) >= 0.84
BuildRequires: pkgconfig(garcon-1) >= 0.1.7
@@ -37,7 +36,6 @@ make %{?_smp_mflags} V=1
%install
-rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL='install -p'
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
@@ -46,19 +44,18 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/xfce4-run.desktop
%find_lang %{name}
-%clean
-rm -rf %{buildroot}
-
-
%files -f %{name}.lang
-%defattr(-,root,root,-)
%doc README TODO ChangeLog COPYING AUTHORS
%{_bindir}/xfce4-appfinder
%{_bindir}/xfrun4
%{_datadir}/applications/xfce4-*.desktop
-
+%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Sat Feb 28 2015 Mukundan Ragavan <nonamedotc(a)fedoraproject.org> - 4.12.0-1
+- Update to latest stable release 4.12
+- spec cleanup
+
* Sat Feb 21 2015 Till Maas <opensource(a)till.name> - 4.10.1-5
- Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-...
8Â years, 7Â months