source code for application installed thru apt-get
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
source code for application installed thru apt-get
Hi there,
I have installed some applications thru 'apt-get' command. I found that it is much different with Windows where normally the installed program is in one folder while in Ubuntu, the program will located in many folders. I wonder whether I can get the full source code for the application I have installed thru 'apt-get'? Where to locate them?
This is because I have faced problem in using the Kphone installed thru 'apt-get' and installed thru compilation of source code from tarball. I get quite bad voice quality when I called using Kphone SI 'sudo make install' from the source tarball downloaded from sourceforge.net. However, good voice quality is obtained when I used Kphone installed thru 'sudo apt-get' command. Is that the source code different or is that because of Kphone is differs with Kphone SI?
Thank you if anyone can leave a comment for me. ;-)
Looking in the patch, you will see the differences
from the original. This patch was compiled into the
result / package, you are using.
> > [kphone_4.2-6ubuntu1.diff.gz]
With missing information about version of Ubuntu and
'kphone' : you can find other versions in the above
link.
....
Thanks alot.
ya, I successfully downloaded the Kphone source code from http://packages.ubuntu.com/intrepid/kphone and also using the command apt-get source package. I found both source code are the same. However I face problem in compiling it.
In file included from main.cpp:5:
kcallwidget.h:70: error: extra qualification ‘KCallWidget::’ on member ‘setDTMFSender’
In file included from main.cpp:7:
kphoneview.h:57: error: extra qualification ‘KPhoneView::’ on member ‘DoCall’
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/ims07/Desktop/kphone/kphone'
make: *** [all] Error 2
I am using Ubuntu 8.04 Hardy Heron but the source code I obtained from the website is for Ubuntu 8.10 intrepid. Does this matter which cause the compilation error? I search through the other version of kphone under Hardy but there only provide the package installer (deb).
ya thanks. I solved the problem already. Previously I have gunzip and patch it. but I didn't realize that it will create other patch files in a new folder where I need to patch all those patch files by myself. So now I manage to compile it successfully. Hopefully no other problem coming up.
hello
plz i want your help to patch the kphone
when i tried to patch it i got such as this lines -->
root@suha-laptop:~/Desktop/kphone/kphone-4.2/debian/patches# patch -p0 < Makefile-nostrip.diff
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- kphone/Makefile.in.withstrip 2005-08-10 19:58:29.633160690 +0200
|+++ kphone/Makefile.in 2005-08-10 19:58:42.722158118 +0200
--------------------------
File to patch:
If you're in the directory of the source code you are patching, you'll likely need to use -p1. If you're one up (where you extracted it) -p0. Assuming that the patch .diff has the same path value.
tar -xzvpf source.tar.gz
zcat patch.gz | patch -p0
or
tar -xjvpf source.tar.bz2
cd source
bzcat patch.bz2 | patch -p1
both do basically the same thing. assuming no failures or that the patch wasn't already applied in the sources that you have.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.