#760820 libwpd-tools: suggest mailcap entry for wpd2text

Package:
libwpd-tools
Source:
libwpd
Description:
Tools from libwpd for converting WordPerfect to HTML/RAW/Text
Submitter:
Kevin Ryde
Date:
2026-03-17 22:35:01 UTC
Severity:
wishlist
Tags:
#760820#5
Date:
2014-09-08 07:08:07 UTC
From:
To:
As an idea for a feature, it could be good if libwpd-tools made an
/etc/mailcap entry to display wordperfect files using wpd2text.

I suggest file debian/libwpd-tools.mime below and adding to debian/rules
binary-arch

	dh_installmime -a $(DEBHELPER_OPTIONS)

Just after dh_installman works for me.

dh_installmime installs the file to /usr/lib/mime/packages/libwpd-tools
and in turn the mime-support package, if or when that package is
installed, incorporates it into /etc/mailcap.  You can see it in action,
assuming you have no other mailcap for wordperfect, with

    see foo.wpd
    =>
    runs wpd2text and a $PAGER

#760820#8
Date:
2026-03-15 17:19:58 UTC
From:
To:
Hello,

Bug #760820 in libwpd reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/libreoffice-team/document-liberation/libwpd/-/commit/83e5206a8970c9d6968b0e1690aa22273c471e6d
------------------------------------------------------------------------
Revert "Add mailcap entry for wpd2text (Closes: #760820)" - since it was not accepted by the maintainer
And just because someone wishes that we add it? And not for all the other libs?

No,those are wishlist bugs, and wishes and will not be done

This reverts commit 115fa00c8f424d0dc4dea297b981eb02ed39012b.
------------------------------------------------------------------------

(this message was generated automatically)

#760820#13
Date:
2026-03-15 17:19:58 UTC
From:
To:
Hello,

Bug #760820 in libwpd reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/libreoffice-team/document-liberation/libwpd/-/commit/83e5206a8970c9d6968b0e1690aa22273c471e6d
------------------------------------------------------------------------
Revert "Add mailcap entry for wpd2text (Closes: #760820)" - since it was not accepted by the maintainer
And just because someone wishes that we add it? And not for all the other libs?

No,those are wishlist bugs, and wishes and will not be done

This reverts commit 115fa00c8f424d0dc4dea297b981eb02ed39012b.
------------------------------------------------------------------------

(this message was generated automatically)

#760820#16
Date:
2026-03-15 17:19:58 UTC
From:
To:
Hello,

Bug #760820 in libwpd reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/libreoffice-team/document-liberation/libwpd/-/commit/115fa00c8f424d0dc4dea297b981eb02ed39012b

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/760820

#760820#23
Date:
2026-03-16 07:11:24 UTC
From:
To:
See https://salsa.debian.org/libreoffice-team/document-liberation/libwpd/-/merge_requests/3
#760820#34
Date:
2026-03-16 10:07:22 UTC
From:
To:
tag 760820 - pending
tag 760820 + wontfix
thanks

As I wrote in that MR:
--- snip --- I don't think adding new mailcap stuff is wortwhile in 2026. Especially since all the other stuff doesn't have one either. There's nothing special in wpd that this one needs one and the other ones not. ---- snip --- Even 2014 (when this was reported) it was not really needed. Especially not for wpd. @tille: a bug is only pending if it's in git., not when it's in a MR which I already said I will not merge one MR before. Regards René Am 16. März 2026 08:11:24 MEZ schrieb Andreas Tille <andreas@an3as.eu>:
#760820#37
Date:
2026-03-16 10:07:22 UTC
From:
To:
tag 760820 - pending
tag 760820 + wontfix
thanks

As I wrote in that MR:
--- snip --- I don't think adding new mailcap stuff is wortwhile in 2026. Especially since all the other stuff doesn't have one either. There's nothing special in wpd that this one needs one and the other ones not. ---- snip --- Even 2014 (when this was reported) it was not really needed. Especially not for wpd. @tille: a bug is only pending if it's in git., not when it's in a MR which I already said I will not merge one MR before. Regards René Am 16. März 2026 08:11:24 MEZ schrieb Andreas Tille <andreas@an3as.eu>:
#760820#42
Date:
2026-03-17 22:32:15 UTC
From:
To:
The purpose of the mailcap system is to map from mime type
to programs which can usefully display such a type.

It expresses the capabilities of the wpd2text program,
and in particular means a user doesn't have to dig
for which program can operate on some unfamiliar file type.

Text display is the most basic and requires no further tools.