rpms/xdg-utils/FC-4 xdg-utils-1.0-mimeopen.patch, NONE, 1.1 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 xdg-utils.spec, 1.7, 1.8
Rex Dieter (rdieter)
fedora-extras-commits at redhat.com
Mon Nov 6 14:12:57 UTC 2006
Author: rdieter
Update of /cvs/extras/rpms/xdg-utils/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22337
Modified Files:
.cvsignore sources xdg-utils.spec
Added Files:
xdg-utils-1.0-mimeopen.patch
Log Message:
* Mon Nov 06 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.1-1
- xdg-utils-1.0.1
xdg-utils-1.0-mimeopen.patch:
--- NEW FILE xdg-utils-1.0-mimeopen.patch ---
--- xdg-utils-1.0/scripts/xdg-open.mimeopen 2006-10-17 22:55:02.000000000 +0200
+++ xdg-utils-1.0/scripts/xdg-open 2006-10-17 22:55:15.000000000 +0200
@@ -360,6 +360,15 @@
open_generic()
{
+ if mimeopen -v 2>/dev/null 1>&2; then
+ mimeopen -n "$1"
+ if [ $? -eq 0 ]; then
+ exit_success
+ else
+ exit_failure_operation_failed
+ fi
+ fi
+
IFS=":"
for browser in $BROWSER; do
if [ x"$browser" != x"" ]; then
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/xdg-utils/FC-4/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 10 Oct 2006 12:50:53 -0000 1.6
+++ .cvsignore 6 Nov 2006 14:12:27 -0000 1.7
@@ -1,3 +1,4 @@
clog
xdg-utils-1.0rc1.tgz
xdg-utils-1.0.tgz
+xdg-utils-1.0.1.tgz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xdg-utils/FC-4/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources 10 Oct 2006 12:50:53 -0000 1.6
+++ sources 6 Nov 2006 14:12:27 -0000 1.7
@@ -1 +1 @@
-69842bbf2eb627519680a904541308fa xdg-utils-1.0.tgz
+d67b8e5eaace131c56ea7ae811c6f9f1 xdg-utils-1.0.1.tgz
Index: xdg-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/xdg-utils/FC-4/xdg-utils.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- xdg-utils.spec 10 Oct 2006 12:50:53 -0000 1.7
+++ xdg-utils.spec 6 Nov 2006 14:12:27 -0000 1.8
@@ -1,7 +1,7 @@
Summary: Basic desktop integration functions
Name: xdg-utils
-Version: 1.0
+Version: 1.0.1
Release: 1%{?dist}
URL: http://portland.freedesktop.org/
@@ -11,14 +11,16 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-# Not really used (yet)
-#BuildRequires: xmlto
+Patch1: xdg-utils-1.0-mimeopen.patch
Requires: desktop-file-utils
## kde-config
-#Requires: kdelibs
-# update-gtk-icon-cache
-#Requires: gtk2
+#Requires(hint): kdelibs
+## update-gtk-icon-cache
+#Requires(hint): gtk2
+## mimeopen generic default
+#Requires(hint): %{_bindir}/mimeopen
+#Requires(hint): perl-File-MimeInfo
%description
@@ -46,6 +48,8 @@
%prep
%setup -q -n %{name}-%{version}%{?beta}
+%patch1 -p1 -b .mimeopen
+
%build
%configure
@@ -71,6 +75,15 @@
%changelog
+* Mon Nov 06 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.1-1
+- xdg-utils-1.0.1
+
+* Tue Oct 24 2006 Rex Dieter <rexdieter[AT]users.sf.net 1.0-3
+- actually *use* mimeopen patch (#210797)
+
+* Tue Oct 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-2
+- prefer mimeopen as generic default (#210797)
+
* Tue Oct 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-1
- 1.0(final)
More information about the scm-commits
mailing list