Package Details: run-mailcap 3.70-1

Git Clone URL: https://aur.archlinux.org/run-mailcap.git (read-only, click to copy)
Package Base: run-mailcap
Description: The run-mailcap script from Ubuntu's mailcap package
Upstream URL: https://packages.ubuntu.com/search?keywords=mailcap
Licenses: GPL
Submitter: kosmiciatakuja
Maintainer: terminalmage
Last Packager: terminalmage
Votes: 8
Popularity: 0.000000
First Submitted: 2010-03-09 14:15 (UTC)
Last Updated: 2022-05-29 14:05 (UTC)

Latest Comments

1 2 Next › Last »

m040601 commented on 2024-03-21 15:09 (UTC)

Another alternative to the old debian perl script "run-mailcap" in the AUR is , https://aur.archlinux.org/packages/run-mailcap-rs-git

Seems to be actively maintained, https://github.com/cglindkamp/run-mailcap-rs

2023-12-02 Christian Glindkamp I [master] {origin/master} {origin/HEAD} Handle errors better and provide an exit
This is rewrite of run-mailcap in Rust.
Why a rewrite?
~~Run-mailcap seems to be unmaintained at least on Gentoo, so .........

Why not using xdg-open?
Run-mailcap has multiple advantages over xdg-open........
....
A mailcap file on the other hand is simple text file.........

PS: Interesting TIL, today I learned that

the Archlinux official package "mailcap" is a mandatory dependency for big names like Firefox and github-cli,

$ pacman -Qi mailcap

Name            : mailcap
Version         : 2.1.54-1
Description     : Helper application and MIME type associations for file types
URL             : https://pagure.io/mailcap
Provides        : mime-types
Required By     : firefox  github-cli  mat2
Conflicts With  : mime-types
Replaces        : mime-types
Installed Size  : 115.82 KiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Thu 01 Jun 2023 03:02:55 AM WEST
Install Date    : Thu 21 Mar 2024 02:15:33 PM WET
Install Reason  : Installed as a dependency for another package

That "mailcap" package is not a tool or binary to run something. It is just text files and specifications.

$ pacman -Ql mailcap

mailcap /etc/mailcap
....
mailcap /etc/mime.types
....
mailcap /etc/nginx/mime.types
....
mailcap /usr/share/man/man5/mailcap.5.gz

The optional "tools" to work with this filethan can be used are things like this PKGBUILD "run-mailcap"

m040601 commented on 2024-03-21 14:59 (UTC)

Another alternative to the old debian perl script "run-mailcap" in the AUR is , https://aur.archlinux.org/packages/run-mailcap-rs-git

Seems to be actively maintained, https://github.com/cglindkamp/run-mailcap-rs

2023-12-02 Christian Glindkamp I [master] {origin/master} {origin/HEAD} Handle errors better and provide an exit
This is rewrite of run-mailcap in Rust.
Why a rewrite?
~~Run-mailcap seems to be unmaintained at least on Gentoo, so .........

Why not using xdg-open?
Run-mailcap has multiple advantages over xdg-open........
....
A mailcap file on the other hand is simple text file.........

m040601 commented on 2022-05-29 15:21 (UTC) (edited on 2022-05-29 15:28 (UTC) by m040601)

@terminalmage:

Thank for showing up and taking care of this package. I thought it was abandoned, looking at your activity maintaining other PKGBUILDs.

It is still a useful package

It might be for some users.

Although I might warn others that, as it happened to me, and, as I later found a warning in Archwiki, it can clash with xdg-open. It ends up leading to horrible orphan and zombie processess trying to open mailto: links etc. In the end I decided not to use it. And prefer other solutions more predictable, native and simple solutions to managing this horrible bazaar complexity of xdg/mailcap/mime etc.

Not to scare anyone, but here it goes, https://wiki.archlinux.org/title/Default_applications#Resource_openers

....
Warning: If you use run-mailcapAUR, it is possible for xdg-open to delegate to it.
 This will cause an infinite loop if you are using the /etc/mailcap from mailcap,
 because it also delegates to xdg-open.
....

And study also, https://wiki.archlinux.org/title/Xdg-utils

...In the generic case, xdg-open will: 
.... Delegate to run-mailcap if present

terminalmage commented on 2022-05-29 14:16 (UTC)

The package has been updated and the description clarified.

It is still a useful package, and it should not be deleted.

m040601 commented on 2022-05-29 12:09 (UTC) (edited on 2022-05-29 12:21 (UTC) by m040601)

This is a very old PKGBUILD that references a obsolete 2014 Ubuntu version. It should be removed. It only confuses archlinux users looking for mailcap related tools.

Conflicts:  mime-support 

There is no PKGBUILD "mime-support" anymore.

Upstream URL:   http://packages.ubuntu.com/utopic/mime-support

references a 2014, Ubuntu 14.10 (Utopic Unicorn) version.

And leads to a non existing page,

Error
two or more packages specified (mime-support utopic)

As of 2022 there is no "run-mailcap" package in recent versions of Ubuntu. The only thing related to "mailcap" in Ubuntu is, according to, https://packages.ubuntu.com/ a package called "mailcap", https://packages.ubuntu.com/source/jammy/mailcap

terminalmage commented on 2018-04-02 15:58 (UTC)

Updated to 3.60.

terminalmage commented on 2018-04-01 12:13 (UTC)

Thanks, I'm with family today but will get this updated in the next day or two.

terminalmage commented on 2015-05-29 13:58 (UTC)

Updated to 3.58.

terminalmage commented on 2013-02-10 00:14 (UTC)

Updated to 3.52.

kosmiciatakuja commented on 2011-07-22 07:33 (UTC)

Thanks @archtaku, I'll gladly hand it over :)