FS#35592 - [amule] Split package into "UI" and "-cli" packages

Attached to Project: Arch Linux
Opened by Anatol Pomozov (anatolik) - Saturday, 01 June 2013, 20:29 GMT
Last edited by Giovanni Scafora (giovanni) - Wednesday, 05 June 2013, 12:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

amule has an UI application written using GTK. amule has also "daemon" version of application that allow to start it on X-less servers.

This is exactly my situation. I have no X on my server. I want to start amule daemon there but installing the package pulls a lot of unneeded dependencies. 'amule' should be similar to transmission application https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/transmission.

Also if you have no time for this feature I can try to implement it by myself (+ add systemd service files for amuled+amileweb + update out-of-date package page)
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Wednesday, 05 June 2013, 12:55 GMT
Reason for closing:  Duplicate
Comment by Anatol Pomozov (anatolik) - Saturday, 01 June 2013, 22:59 GMT
I compiled amule gui and cli tools and I found that cli tools (like amuleweb) depend on WX libraries:

libwx_baseu_net-2.8.so.0 => /usr/lib/libwx_baseu_net-2.8.so.0 (0x00007f98b3b0d000)
libwx_baseu-2.8.so.0 => /usr/lib/libwx_baseu-2.8.so.0 (0x00007f98b37b2000)

I checked amule Makefile and indeed they explicitly link against wx-base. It is really weird that CLI tools depend on windows library. So even if we split the amule package now we still need to pull wx (but not gtk) for amuleweb :(

What can be done to improve the situation:
1) Work with upstream emule project on not using wx for cli tools. It seems only wxString is used in CLI and it can be replaced with some other string type.
2) Split wx arch package into wx-base and wx (the rest).

Both solutions are quite time-consuming and I don't think it worth doing.

I suspect I have to live with gtk dependencies on my screen-less server.
Comment by Anatol Pomozov (anatolik) - Sunday, 02 June 2013, 06:23 GMT
I think this ticket can be closed.

systemd changes are filed here https://bugs.archlinux.org/task/35600

Loading...