FS#71838 - remove unused deps in wine

Attached to Project: Community Packages
Opened by Alex Xu (Hello71) - Sunday, 15 August 2021, 00:51 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 28 January 2023, 09:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

glu is not used since 5.22, see https://github.com/wine-mirror/wine/commit/ec55b1c271ae4710677f70a2a28474c96a650a6e

xdamage and libsm i think were never used, based on git log -S.

makedepends:

fontforge is only required in maintainer mode since https://github.com/wine-mirror/wine/commit/8ad6049ac642bf61d338e0c2094b9a0b9a2f51bd

libxmu is not used since https://github.com/wine-mirror/wine/commit/3e2ed5e4e569db552d3a814c073c94e971499253

i think also many of the makedepends should be added to optdepends, e.g. libxcomposite. probably all of the libraries?
This task depends upon

Closed by  Felix Yan (felixonmars)
Saturday, 28 January 2023, 09:26 GMT
Reason for closing:  Implemented
Additional comments about closing:  8.0-2
Comment by Emil (xexaxo) - Wednesday, 01 September 2021, 18:25 GMT
I believe you're mostly spot on. Adding some details/context.

Remove: GLU - was already reported in  FS#68770 

Remove: xdamage - seemingly unused indeed
Remove: libsm - present in the configure variable X_PRE_LIBS, which is longer used as of bb50d6fd9512a9a05306c56112bbcdc6de6c8d65

Keep: fontforge - maintainer mode is disabled by default, and not enabled in the PKGBUILD

Remove: libxmu - you're spot on, it's no longer used

> i think also many of the makedepends should be added to optdepends, e.g. libxcomposite. probably all of the libraries?

Many of the makedepends packages are already in optdepends, that includes libxcomposite.
Comment by Alex Henrie (alex.henrie) - Wednesday, 03 November 2021, 23:43 GMT
Since version 6.20, Wine also does not depend on the system for faudio, gsm, lcms2, libjpeg, libpng, libxml2, libxslt, mpg123, or the 32-bit versions of those packages. So the dependency list could be cleaned up quite a bit.
Comment by Fabian Maurer (DarkShadow44) - Monday, 12 December 2022, 21:31 GMT
Same should be true for vkd3d and lib32-vkd3d.
Comment by Maciej Stanczew (stanczew) - Saturday, 28 January 2023, 01:26 GMT
And now also for libldap and openal:
> The vkd3d and LDAP libraries are bundled in the source tree and built as PE. The corresponding Unix libraries are no longer needed.
> The OpenAL library is no longer used.
https://www.winehq.org/announce/8.0

Loading...