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: mariakarlsson
Last Packager: tippfehlr
Votes: 8
Popularity: 0.000000
First Submitted: 2010-03-09 14:15 (UTC)
Last Updated: 2026-06-12 15:33 (UTC)

Latest Comments

1 2 3 Next › Last »

m040601 commented on 2026-06-15 03:17 (UTC) (edited on 2026-06-15 03:30 (UTC) by m040601)

terminalmage commented on 2026-06-09 12:50 (UTC)

... by the time I'm back in town

terminalmage commented on 2026-06-09 12:44 (UTC)

... I decided to disown the package 

@terminalmage

That was really bad timing to disown the PKGBUILD and be out of town ... LOL. In that time the PKGBUILD was taken over by one of those accounts that tried to hack the AUR.

mariakarlsson

     Username:       mariakarlsson
   Account Type:     User
   Email Address:    rebecaf86ec@c5.dogmrp.com
     Real Name:
     Homepage:
     IRC Nick:
PGP Key Fingerprint:
      Status:        Inactive since 2026-06-12 13:24 (UTC)
 Registration date:  2026-06-09 (UTC)
       Links:          • View this user's packages

Then Jonathan, or tippfehlr, Arch maintainer came here and reverted the commits.

Confirm here, Jonathan Grotelüschen (Arch Staff) posts HedgeDoc link with updated affected package list

Get a plaintext version with,

curl https://md.archlinux.org/s/SxbqukK6IA/download

And ... yes "run-mailcap" is there. In that list.

So current result is the PKGBUILD is not orphaned and you, Erik, terminalmage, are back to being the maintainer.

2  # Maintainer: Erik Johnson <palehose at gmail dot com>

Please decide if you really want to invest the time to keep it and properly maintain polish and update it. If not, just DELETE it from the AUR once and for all.

Dont leave it orphan. Dont just assume it might still be usefull for "someone". Because nobody showed up to adopt it in the last years. There are tons of "run-mailcap" shims/alternatives.

I say this a fan and user of mailcap. I just dont want to see the word "mailcap" on the AUR with abandoned things, confusing the AUR users searching for it.

terminalmage commented on 2026-06-09 12:50 (UTC)

If no one gets to it by the time I'm back in town, I'll re-adopt it and take a look.

terminalmage commented on 2026-06-09 12:44 (UTC)

I no longer use this package and I'm not going to be able to look at this for at least a couple weeks. I decided to disown the package to give someone else a chance to get this updated sooner.

m040601 commented on 2026-06-09 02:23 (UTC) (edited on 2026-06-09 02:46 (UTC) by m040601)

Here are some suggestions to update and improve this PKGBUILD.

 Upstream URL:   https://packages.ubuntu.com/search?keywords=mailcap

Why use Ubuntu, a private company dependent product ? Ubuntu actually uses the Debian sources to make this package. They, Debian, are actually the ones both writing the tool and making the package.

It only makes sense to get it directly from Debian.

A search in,

https://packages.debian.org/search?keywords=mailcap&searchon=names&suite=stable&section=all

will, currently, give you, mailcap (3.74) , https://packages.debian.org/trixie/mailcap

The package itself,

The sources themselves,

The "Upstream URL" should be

https://salsa.debian.org/debian/mailcap

not the "search?keyword..." URL one.

The "Description" should change from,

  Description:   The run-mailcap script from Ubuntu's mailcap package

This PKGBUILD is only a tiny portion, an extract. To avoid conflicts and make it crystal clear for AUR users,

  Description:   The run-mailcap perl script extracted from Debian's mailcap package

There is also a man page "run-mailcap.man" for "run-mailcap" shipped in the tar.xz. It should land in,

/usr/share/man/man1/run-mailcap.gz

Also add,

  Keywords: mailcap

Thanks in advance.

m040601 commented on 2024-09-15 00:59 (UTC) (edited on 2024-09-15 01:07 (UTC) by m040601)

Although very very old, this "mailcap" spec and its associated helper tools (like this tool "run-mailcap" might still be of interest for anyone wanting to "escape" the "xdg-open/xdg-utils" hell.

There are still today, new apps being developed with support for the "mailcap" spec. Ex, "telescope"

There are still today, new helper tools showing up to manage those mailcap/mime association.

You dont necessarly need those helper tools. You can just edit by hand "/etc/mailcap" or "~/.mailcap" "~/.config/mailcap" etc.

One interesting might be, https://aur.archlinux.org/packages/run-mailcap-rs-git

In is an alternative to this PKGBUILD "run-mailcap", an old debian perl script.

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 2024-03-21 15:09 (UTC) (edited on 2024-09-15 00:54 (UTC) by m040601)

Additional information about "mailcap" the spec, and mailcap related tools.

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 a set of text files and added associations that land in "/etc"

$ pacman -Ql mailcap

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

The package itself, comes from Redhat "pagure"

URL             : https://pagure.io/mailcap

What they do, is basicallly just checking and copying the IANA "mime types" specification. And regularly updating that "/etc/mime.types" file with some python maintenance scripts. They also "stuff" xdg-open as a default for everything in "/etc/mailcap". And so has it is indicated by, https://wiki.archlinux.org/title/Default_applications#run-mailcap

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.

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

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.