Page 1 of 1

Run 1.20rc5 (or compile) without python-pygame?

Posted: Wed Dec 30, 2009 1:18 am
by TwistedLincoln
Is it possible to use 1.20rc5 (or compile it from source, if needed) without python-pygame? That package depends on libsmpeg0, which uses MPEG technology that is patented in the United States, and therefore impossible for us to legally distribute. We've included Deluge (1.19) in our Nexradix GNU/Linux distribution, and would like to continue doing so. Is there a way for us to shed this dependency in 1.20 and upwards, or will we just have to keep shipping 1.19 (or switch programs)?

Re: Run 1.20rc5 (or compile) without python-pygame?

Posted: Wed Dec 30, 2009 3:47 am
by johnnyg
pygame is used to do sound notifications in the GTK UI (deluge/ui/gtk/notification.py).
Seeing it is a runtime dependency you should be able to compile and run deluge without it with the only downside of not being able to do sound notifications.

Re: Run 1.20rc5 (or compile) without python-pygame?

Posted: Wed Dec 30, 2009 3:55 am
by andar
As a side-note, I'd like to remove this dependency in the future.