Re: Splitting mime-support into mailcap and media-types (Re: Bug#964850: ITP: mailcap -- Debian's mailcap system, and support programs)
Hi Charles,
Charles Plessy <plessy@debian.org> writes:
> Le Sat, Jul 11, 2020 at 01:48:55PM +0900, Charles Plessy a écrit :
>>
>> I plan to split the mime-support package into "mailcap" (this WNPP bug)
>> that will provide the mailcap system, optionally, and "media-types"
>> (ITP later), which will provide /etc/mime.types (Priority: standard).
>>
>> My goal is to allow for evolution of this package, or alternative
>> implementations if we need to satisfy at the same time those who would
>> like some change and those who would not. Lastly, the split will also
>> allow us to explore the complete replacement of mailcap entries by
>> information flowing from the FreeDesktop menu system.
>
> Dear all,
>
> I made progress in preparing the split: `mime-support` will become dummy
> and depend on `media-types`, providing /etc/mime.types, priority Stanard,
> and `mailcap`, providing the mailcap system, priority optional.
>
> Before I upload to experimental, I would be happy to hear your comments.
> The source packages are on Salsa.
>
> - https://salsa.debian.org/debian/mime-support
> - https://salsa.debian.org/debian/media-types
> - https://salsa.debian.org/debian/mailcap
>
> Please CC me and the bug; I am not subscribed to debian-devel.
>
> Have a nice day,
>
> Charles
Forgive me if this is an ignorant question but isn't mailcap missing
dependencies? If I build, then install all three and then ask apt about
mailcap's dependencies it gives:
mailcap
Depends: media-types
Breaks: mime-support (<= 3.64)
Recommends: bzip2
Recommends: file
Recommends: xz-utils
Replaces: mime-support (<= 3.64)
But the script it installs clearly depends on Perl:
#! /usr/bin/perl
###############################################################################
#
# Run-Mailcap: Run a program specified in the mailcap file based on a mime
# type.
Is this an exception because Perl is part of the base system and assumed
to always be installed?
--
Thanks,
Jai
Reply to: