Skip to main content
Welcome guest. | Register | Login | Post

getting the source

3 replies [Last post]
tbuitenh's picture
Offline
Joined: 2005-12-21

I found this somewhere else:

Quote:

Guy's i've been trying linux and i should say every time i try it it does seem to get better. But one reason i wanted to try linux 2 years ago is because i heard it was open source, meaning i can see how they wrote the xmms visualization plugin and i can modify it and them write my own. Ever since i've known linux i have been searching for source code files but i am not really sure where i get it wrong. i try searching on the net. some people say the code is on the installation disk's or may be the live cd. i stiill cant find it. please some one out there help me i am desparate to know how to write a visualization of my own. and if u could be so kind please send the help to

, cuz i aint sure if i'll be visiting this site again.

I don't email random people, so I'm afraid I can't help this particular person, but the question is interesting enough to explain it to people in general.

First, you need to find the home page of a project. freshmeat is a good place to search for it. The freshmeat page of a project has a link to it's home page. That home page usually has a link to a sourceforge project page, or something similar to that. Let's assume sourceforge since it is very common. Go to the files section of that project page, look around, and you will find an archive file (tgz, tar.gz, tar.bz2, zip...) containing the source code you were looking for!

If you want to write a plugin, it's usually a good idea to not only read the code of another plugin, but also to look up the developer documentation of the program you want to write a plugin for. It can be found on the homepage and/or project page of the program (not the plugin).

If anyone knows about sites similar to sourceforge that are not similar enough to use the instructions above, please reply.

libervisco's picture
Offline
Joined: 2006-05-04
There are actually some

There are actually some source code search engines that might be useful for searching directly the source, probably from various elements, libraries and components to possibly full programs.

I've heard about two of them, but right now I can remember only Koders.com.

tbuitenh's picture
Offline
Joined: 2005-12-21
Soon there will also be

Soon there will also be krugle code search engine.

Anyway, that's for finding snippets of code that do a specific thing, not for finding the code of a whole project, right?

libervisco's picture
Offline
Joined: 2006-05-04
that's the one
tbuitenh wrote:

Soon there will also be krugle code search engine.

Yes, that's the one I forgot.

I am not sure if it is just for snippets or for more as I haven't really used it, but I've just tried searching for xmms and here's what I got. There is a "project matches" block on the right so that might be helpful.

But sites like sourceforge, freshmeat, savannah and alike are still probably the best places to find the source as it is usually available in a tarball.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.