Menu
Logged-In As
ACCOUNT
Not Logged In
Add a GUI to Transmission
Haiku
Status: Closed
Time to complete:
72 hrs
Mentors: Barrett, Siarzhuk Zharski
The current port of transmission to Haiku is a cli only app. This task is to add GUI interface to it using the Haiku API. To do this task you will need to install Haiku either in a VM or on real hardware, you can get familiarity with the Haiku API as well.
You can use the old Transmission GUI as base for your work and optionally take the second part of the task. The aim for this part will be a working GUI for basic actions.
http://ports.haiku-files.org/ticket/237
Uploaded Work
| File name/URL | File size | Date submitted | |
|---|---|---|---|
| transmission-r13780-haiku-patched.tgz | 24.2 MB | January 08 2013 19:55 UTC | |
| transmission-2.75-haikuporter.tgz | 1.4 KB | January 08 2013 20:42 UTC | |
| transmission_r13780_haiku_gui.diff | 5.3 KB | January 08 2013 22:15 UTC | |
| transmission_r13780_haiku_gui_2.diff | 282.0 KB | January 08 2013 23:37 UTC |
I would like to work on this task.
This task has been assigned to David Delgadillo. You have 72 hours to complete this task, good luck!
Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded. The student has 24 hours to submit the work before the task is reopened and sent back to the pool for other students to claim.
Hello David, any news about your task? If you want a deadline extension just let me know!
Melange has detected that the final deadline has passed and it has reopened the task.
I would like to work on this.
It is impoosible to assign this task to you until you claim it. Thanks.
I found about GCI, and started participating only yesterday, so I do not know how to claim tasks. Can someone explain the process to me, or post a link where it says how to do it?
"You cannot claim this task at this time because you you have not submitted the parental consent or the enrollment form. To submit the forms please click here."
I would like to work on this task.
This task has been assigned to Gleb Posobin. You have 72 hours to complete this task, good luck!
I have downloaded Transmission_0.8x from that site and trying to build it. But I cannot do that. Here is the link to the make output: http://pastebin.com/0HxzeTUs
P.S. Happy New Year!
You are running into problems because "Transmission_0.8x " is the unmodified and therefore unported source that was used to create "Transmission 0.82".
You sould rather look at the diffs found in "Transmission 0.82" to see what was changed.
No, I have looked into the diffs, the changes I have looked at are present. So Transmission_0.8x at this site is already patched.
Och, your right sorry.
Anyway, if you haven't been given the link to the later non-gui versions, check out:
http://ports.haiku-files.org/browser//haikuports/trunk/net-p2p/transmission/
Hello. I have not completed this task yet, but I am working on it. Could you extend the deadline please?
The deadline of the task has been extended with 2 days and 14 hours.
I am trying to include a transmission.h in my project, so that I could use functions from there. I have created a 'haiku' folder in the root of transmission source folder. Now, just by including "../libtransmission/transmission.h" I solve the problem not fully - linker tells me about 'undefined reference to %function name%'. There is a number of that messages, that contain functions from transmission.h. Ok then. Now I add a 'libtransmission.a' file to the project, and get following output from the compiler. Ok, I try to include also the libs that I have found in the compiled makefiles of transmission-cli and transmission utils (libminiupnp, libnatpmp, libdht, libutp), and try to build with them included. It gets me to the following result. How should I deal with that?
P.S. I am using Paladin as IDE if that's needed.
As suggested in irc, check if the linker is linking to libtransmission.a. Also as i see from the output...the program is not linked to libstdc++ :
TRWindow.cpp:(.text+0xdd): undefined reference to `operator new(unsigned long)'
Now I have some new problems with ld. It gives me the following output, It seems that now it can't see the libPrefs.a file, even though I have added it to the linker. Also there is some problem with the TRWindow's static variable fTorrentList. The full gcc command can be seen on the first line of the file.
Ok, I got rid of this fTorrentList problem (it had to be initialized outside the class prototype). But Prefs errors are still there.
I've finally achieved succesful compilation and linking of the sources, and app launnches, but almost on every user action it crashes. I won't be able to debug it before the deadline, so I would like to ask for second deadline extension. If that's not possible, as far as I understand, I will have 24 more hours to submit my work, is that right? Tomorrow I will try to debug this app.
The deadline of the task has been extended with 3 days and 0 hours.
if you need more just ask.
The deadline of the task has been extended with 3 days and 0 hours.
The work on this task is ready to be reviewed.
I have uploaded already patched sources, that you just need to compile. To do that, you need to download and unpack the archive (obviously enough), call "autogen.sh --prefix=`finddir B_COMMON_DIRECTORY` --disable-nls --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man --localedir=`finddir B_COMMON_DATA_DIRECTORY`/locale --datarootdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` --enable-haiku", and then call make. The gui is in the haiku folder. I think that I'll send the patch to the transmission sources sometime around this weekend. I have used the old gui, rewritten it, added some things (like popup that appears if you click the torrent with th right button). Also I have found a bug in the sources of libtransmission that was removed in revision 13780. By the way, I have made a .bep and a patch for the 2.75 version of transmission (which I thought I would have needed, but I didn't). I'll add it to the trac or here. Also, there are changes coming after 2.75, that are already in the source-tree, that make another problem for haiku (it's related to working with disks). I will also send it as the patch to transmission.
provide a diff of that using "svn diff"?
That way it makes it easier on the mentors to be able to review your work. Also can you post some screenshots showing the GUI?
One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.
Here are the screenshots:
https://www.dropbox.com/s/7bbfisl5n90cyxr/screenshot9.png
https://www.dropbox.com/s/aep9af84a4rup12/screenshot10.png
https://www.dropbox.com/s/v47i8rfeqb9kg5u/screenshot11.png
Diff is in the attachmets to this task.
The work on this task is ready to be reviewed.
perhaps you missed running svn add on the files that you added that weren't in svn? like maybe an entire haiku director y or something?
Yeah, sorry, my mistake. I've uploaded new diff.
Congratulations, this task has been completed successfully.
on to the next one.
I will get the notebook working only in a few days. So, unfortunately, possibly no other tasks till then :-( But I will try to do my best to find some other notebook I can do the work on.