FS#50718 - qemu excessive depends
Attached to Project:
Arch Linux
Opened by Alexandr (disarmer) - Friday, 09 September 2016, 10:30 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 12 February 2020, 17:19 GMT
Opened by Alexandr (disarmer) - Friday, 09 September 2016, 10:30 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 12 February 2020, 17:19 GMT
|
Details
Description: Now qemu package depends on brltty, which
depends on cython, so it's pull about 130MB of unneeded
packages. I'm tried a bit to make .so stub and qemu works
fine. Seems like brltty is completely unneded dependence.
Additional info: * qemu=2.6.0-3 You can make stub with this command: echo "brlapi_acceptKeyRanges brlapi__acceptKeyRanges brlapi_acceptKeys brlapi__acceptKeys brlapi_closeConnection brlapi__closeConnection brlapi_defaultExceptionHandler br lapi__defaultExceptionHandler brlapi_describeKeyCode brlapi_enterRawMode brlapi__enterRawMode brlapi_enterTtyMode brlapi__enterTtyMode brlapi_enterTtyModeWithPath brlapi__ent erTtyModeWithPath brlapi_errlist brlapi_error brlapi_error_location brlapi_expandKeyCode brlapi_getDisplaySize brlapi__getDisplaySize brlapi_getDriverName brlapi__getDriverNa me brlapi_getHandleSize brlapi_getPacketTypeName brlapi_ignoreKeyRanges brlapi__ignoreKeyRanges brlapi_ignoreKeys brlapi__ignoreKeys brlapi_leaveRawMode brlapi__leaveRawMode brlapi_leaveTtyMode brlapi__leaveTtyMode brlapi_nerr brlapi_openConnection brlapi__openConnection brlapi_perror brlapi_readKey brlapi__readKey brlapi_readPacket brlapi_readPa cketContent brlapi_readPacketHeader brlapi_recvRaw brlapi__recvRaw brlapi_resumeDriver brlapi__resumeDriver brlapi_sendRaw brlapi__sendRaw brlapi_setExceptionHandler brlapi__ setExceptionHandler brlapi_setFocus brlapi__setFocus brlapi_strerror brlapi_strexception brlapi__strexception brlapi_suspendDriver brlapi__suspendDriver brlapi_write brlapi__ write brlapi_writeDots brlapi__writeDots brlapi_writePacket brlapi_writeText brlapi__writeText brlapi_writeWText brlapi__writeWText"| perl -nwE 'for(split " ",$_){say "void $ _(){}"}' |gcc -shared -o "${pkgdir}"/usr/lib/libbrlapi.so.0.6 -xc - |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Wednesday, 12 February 2020, 17:19 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#52603
Wednesday, 12 February 2020, 17:19 GMT
Reason for closing: Duplicate
Additional comments about closing:
A second gratuitous dep is xfsprogs, which should be optional.
I've given to building my own qemu without brltty and xfsprogs. It would be nice if dependencies were trimmed back to the previous set.
Has been set as required dependency in qemu 2.11.0 (test repository)
FS#52603brltty doesn't pull in python/cython automatically. Installing brltty on top of base/base-devel/qemu in a chroot is:Package (39) New Version Net Change
extra/alsa-lib 1.1.5-1 1.91 MiB
extra/bluez-libs 5.47-3 0.28 MiB
community/espeak 1:1.48.04-1 2.26 MiB
extra/fixesproto 5.0+9+g4292ec1-1 0.04 MiB
extra/flac 1.3.2-1 1.35 MiB
core/gpm 1.20.7-8 0.36 MiB
core/icu 60.2-1 35.06 MiB
extra/inputproto 2.3.2-1 0.63 MiB
extra/jack 0.125.0-3 2.58 MiB
extra/kbproto 1.0.7-1 1.04 MiB
extra/libasyncns 0.8+3+g68cd5af-1 0.04 MiB
extra/libice 1.0.9-1 0.40 MiB
extra/libogg 1.3.3-2 0.42 MiB
extra/libpulse 11.1-1 1.37 MiB
extra/libsamplerate 0.1.9-1 1.53 MiB
extra/libsm 1.2.2-2 0.30 MiB
extra/libsndfile 1.0.28-1 0.87 MiB
extra/libvorbis 1.3.5-1 1.53 MiB
extra/libx11 1.6.5-1 10.54 MiB
extra/libxau 1.0.8-2 0.06 MiB
extra/libxaw 1.0.13-1 1.73 MiB
extra/libxcb 1.12-1 3.80 MiB
extra/libxdmcp 1.1.2-1 0.17 MiB
extra/libxext 1.3.3-1 0.35 MiB
extra/libxfixes 5.0.3-1 0.03 MiB
extra/libxi 1.7.9-1 0.52 MiB
extra/libxmu 1.1.2-1 0.38 MiB
extra/libxpm 3.5.12-1 0.18 MiB
extra/libxt 1.1.5-1 2.07 MiB
extra/libxtst 1.2.3-1 0.11 MiB
community/portaudio 190600_20161030-1 0.33 MiB
extra/recordproto 1.14.2-2 0.07 MiB
extra/tcl 8.6.7-1 6.43 MiB
extra/xcb-proto 1.12-3 0.81 MiB
extra/xextproto 7.3.0-1 0.69 MiB
extra/xproto 7.0.31-1 1.18 MiB
extra/zita-alsa-pcmi 0.2.0-3 0.08 MiB
extra/zita-resampler 1.3.0-5 0.17 MiB
extra/brltty 5.5-3 6.48 MiB
Total Installed Size: 88.17 MiB
But most of that is things like libx11 and icu, which will likely be installed for other reasons as well. I don't know whether that qualifies as a reason to bring back brltty but it is something to think about.
also as TalkingArch maintainer and archlinux accessibility enthusiast I am sure that you should use every opportunity to improve the accessibility of programs. especially when this support is already working and helps VI persons.
In conclusion, I want to ask you to enable brlapi support in qemu.