FS#50553 - [libdmx] dmxproto should be a make dep.

Attached to Project: Arch Linux
Opened by Emil (xexaxo) - Sunday, 28 August 2016, 22:50 GMT
Last edited by Jan de Groot (JGC) - Monday, 29 August 2016, 11:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Just noticed that dmxproto package is marked as normal dependency of libdmx.

Afaict, the proto package be should make dep. since it provides/describes the protocol used by the library. It do not provide information that is visible by the library user - the libraries provides its own headers which should be used instead.

If the user wants to communicate directly with X (not a good idea imho) they don't need the library all together.

Note that this 'issue' is not limited to dmx, but affects all xorg/xcb packages. Can we update all of those or should I spam the board with some ~30 reports ?
Related: any reason why the libraries and proto headers are not in - xorg-libs and xorg-proto groups ? Should I file separate bug for that ?

Thanks
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 29 August 2016, 11:23 GMT
Reason for closing:  Not a bug
Additional comments about closing:  .pc file references dmxproto as requirement, the dmxext.h file includes files from dmxproto. Removing the dependency means breaking the build of lots of packages.
Comment by Jan de Groot (JGC) - Monday, 29 August 2016, 05:14 GMT
There's no use for proto and lib group, an application needs the lib/proto and pulls it in, users have no reason to install all protos or libs.

As for the dependencies, afaik the libs have the protos specified in the .pc file, which makes them a dependency.

Loading...