tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Renaming cups to cups-base and depend on cups-filters



Looks good to me!

On Sun, Nov 12, 2017 at 3:38 AM, Pierre Pronchery <khorben%defora.org@localhost> wrote:
>                 Hey Benny, tech-pkg@,
>
> On 11/11/2017 10:40, Benny Siegert wrote:
>> That sounds totally sensible to me. Thanks for making cups suck a little
>> less.
>
> Great :)
>
> I am attaching my first attempt here. Does it look good?
>
> Please note this is not bumping anything nor updating references to
> cups-base's buildlink3.mk, with an exception for cups-filters where it
> would create a circular dependency otherwise. Let me know if it should
> be done right away though.
>
> I have tested this on NetBSD/amd64.
>
> Cheers,
> -- khorben
>
>> Pierre Pronchery <khorben%defora.org@localhost <mailto:khorben%defora.org@localhost>>
>> schrieb am Fr., 10. Nov. 2017, 19:00:
>>
>>                             Dear tech-pkg@,
>>
>>     I just figured that print/cups does not work as expected without
>>     print/cups-filters also being installed. Printing then fails with:
>>
>>     > Returning IPP client-error-document-format-not-supported for
>>     Send-Document
>>     in the logs, or with lp(1) complaining that
>>
>>     > Unsupported document-format "application/pdf
>>     Apparently this is the case since version 1.6.0, as some core
>>     functionality has been moved to cups-filter by then.
>>
>>     This made me lose more time than I feel comfortable admitting here. In
>>     order to avoid this for anyone (including myself) in the future, I would
>>     suggest to:
>>     - rename print/cups to print/cups-base
>>     - let print/cups-filters depend on print/cups-base instead
>>     - add a package print/cups depending on print/cups-base and
>>       print/cups-filters
>>
>>     Any comments/objections?
>>
>>     If I end up being tasked with this, I will need help to recursively
>>     update links to "../../print/cups-base/buildlink3.mk
>>     <http://buildlink3.mk>" and bump revisions
>>     as appropriate. As an intermediate step I could add a link in
>>     "../../print/cups/buildlink3.mk <http://buildlink3.mk>" depending on
>>     "../../print/cups-base/buildlink3.mk <http://buildlink3.mk>", build
>>     I would rather DTRT right away.
>>
>>     Cheers,
>
> --
> khorben



-- 
The first essential in chemistry is that you should perform practical
work and conduct experiments, for he who performs not practical work
nor makes experiments will never attain the least degree of mastery.
        -- Abu Musa Jabir ibn Hayyan (721-815)


Home | Main Index | Thread Index | Old Index