summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2023-12-06 17:26:27 +0100
committergregor herrmann <gregoa@debian.org>2023-12-06 17:26:27 +0100
commit0b09ae41228eccc2b294c3c415392c80aebc9451 (patch)
tree05d3a21261c56a9c69d601637fca78be55f84b38
parent11ac06cba72eba7dddb364bec0147abb8ef1a37a (diff)
parentb2bc4fbc402af702ca81cea649d5c1f48d300e7a (diff)
Update upstream source from tag 'upstream/0.34'
Update to upstream version '0.34' with Debian dir 399f2e6965c83bd95d14e95efa4cf375d94860f4
-rw-r--r--Changes5
-rw-r--r--META.json6
-rw-r--r--META.yml4
-rw-r--r--lib/File/MimeInfo.pm2
-rw-r--r--lib/File/MimeInfo/Applications.pm2
-rw-r--r--lib/File/MimeInfo/Magic.pm2
-rw-r--r--lib/File/MimeInfo/Rox.pm2
-rwxr-xr-xmimeopen6
-rwxr-xr-xmimetype2
9 files changed, 18 insertions, 13 deletions
diff --git a/Changes b/Changes
index bccff8e..926d3f1 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,11 @@ Revision history for Perl extension File::MimeInfo.
Versions up to 0.15 by Jaap Karssenberg <pardus@cpan.org>
Versions starting 0.16 by Michiel Beijen <mb@x14.nl>
+0.34 2023-12-03
+ - Let `mimeopen` use File::DesktopEntrys run() instead of exec() to
+ make sure the application is started in the background.
+ Closes https://github.com/mbeijen/File-MimeInfo/issues/53
+
0.33 2022-07-12
- Fix uninitialized value warning in File::MimeInfo::Applications,
provided by SPFabGerman
diff --git a/META.json b/META.json
index cf66f66..037a2f6 100644
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
"Jaap Karssenberg <pardus@cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.64, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -57,7 +57,7 @@
"url" : "https://github.com/mbeijen/File-MimeInfo"
}
},
- "version" : "0.33",
+ "version" : "0.34",
"x_contributors" : [
"Bernhard Rosenkränzer <bero@lindev.ch>",
"Christian Ludwig <chrissicool@gmail.com>",
@@ -79,5 +79,5 @@
"gregor herrmann <gregoa@debian.org>",
"mazunki <rolferen@gmail.com>"
],
- "x_serialization_backend" : "JSON::PP version 4.06"
+ "x_serialization_backend" : "JSON::PP version 4.07"
}
diff --git a/META.yml b/META.yml
index b162a4f..a7cf08c 100644
--- a/META.yml
+++ b/META.yml
@@ -8,7 +8,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: '6.30'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.64, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -30,7 +30,7 @@ requires:
resources:
bugtracker: https://github.com/mbeijen/File-MimeInfo/issues
repository: https://github.com/mbeijen/File-MimeInfo
-version: '0.33'
+version: '0.34'
x_contributors:
- 'Bernhard Rosenkränzer <bero@lindev.ch>'
- 'Christian Ludwig <chrissicool@gmail.com>'
diff --git a/lib/File/MimeInfo.pm b/lib/File/MimeInfo.pm
index 214d1b7..eabac42 100644
--- a/lib/File/MimeInfo.pm
+++ b/lib/File/MimeInfo.pm
@@ -11,7 +11,7 @@ require Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(mimetype);
our @EXPORT_OK = qw(extensions describe globs inodetype mimetype_canon mimetype_isa);
-our $VERSION = '0.33';
+our $VERSION = '0.34';
our $DEBUG;
our ($_hashed, $_hashed_aliases, $_hashed_subclasses, $_has_mimeinfo_database);
diff --git a/lib/File/MimeInfo/Applications.pm b/lib/File/MimeInfo/Applications.pm
index 0f4e0ef..ef8289f 100644
--- a/lib/File/MimeInfo/Applications.pm
+++ b/lib/File/MimeInfo/Applications.pm
@@ -9,7 +9,7 @@ use File::MimeInfo qw/mimetype_canon mimetype_isa/;
use File::DesktopEntry;
require Exporter;
-our $VERSION = '0.33';
+our $VERSION = '0.34';
our @ISA = qw(Exporter);
our @EXPORT = qw(
diff --git a/lib/File/MimeInfo/Magic.pm b/lib/File/MimeInfo/Magic.pm
index c144ad8..857ecd7 100644
--- a/lib/File/MimeInfo/Magic.pm
+++ b/lib/File/MimeInfo/Magic.pm
@@ -17,7 +17,7 @@ BEGIN {
our @ISA = qw(Exporter File::MimeInfo);
our @EXPORT = qw(mimetype);
our @EXPORT_OK = qw(extensions describe globs inodetype magic);
-our $VERSION = '0.33';
+our $VERSION = '0.34';
our $DEBUG;
our $_hashed = 0;
diff --git a/lib/File/MimeInfo/Rox.pm b/lib/File/MimeInfo/Rox.pm
index 89f91e3..7366b98 100644
--- a/lib/File/MimeInfo/Rox.pm
+++ b/lib/File/MimeInfo/Rox.pm
@@ -11,7 +11,7 @@ our @ISA = qw(Exporter);
our @EXPORT = qw(mime_exec mime_system);
our @EXPORT_OK = qw(suggest_script_name);
our %EXPORT_TAGS = (magic => \@EXPORT);
-our $VERSION = '0.33';
+our $VERSION = '0.34';
our @choicespath = (
config_home('rox.sourceforge.net'),
File::Spec->catdir($ENV{HOME}, 'Choices'),
diff --git a/mimeopen b/mimeopen
index a7ff01b..90f5366 100755
--- a/mimeopen
+++ b/mimeopen
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.33';
+our $VERSION = '0.34';
$|++;
# ########## #
@@ -174,12 +174,12 @@ print 'Opening '.join(', ', map qq{"$_"}, @ARGV)
. ' with '.$default->get_value('Name')." ($mimetype)\n";
#print STDERR "exec string: ".$default->parse_Exec(@ARGV)."\n";
if (@ARGV == 1 or $default->wants_list) {
- $default->exec(@ARGV);
+ $default->run(@ARGV);
}
else {
my $last = pop @ARGV;
fork or $default->exec($_) for @ARGV;
- $default->exec($last);
+ $default->run($last);
}
exit 7; # something went wrong in the exec
diff --git a/mimetype b/mimetype
index 7542953..9267787 100755
--- a/mimetype
+++ b/mimetype
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.33';
+our $VERSION = '0.34';
$|++;
# ########## #