Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would like to patch OpenOffice for using system freetype.
Is it possible to patch .deb package or do I have to use source?
(Debian, testing, KDE)
Please help, I need the easiest possible solution.
usually patches get applied to source code, and then the code is recompiled... of course if the patch only changes certain run-time configs or whatever, then there's no need to recompile as the binaries aren't touched... the best thing would be to look at the comments in the patch, or a documentation web page for it... where'd you get the patch??
well, judging by the name of the parent directory ("SOURCES") and the fact the patch looks like it adds certain lib options, i'd say yeah, you wanna apply this patch before recompiling... are you using a howto or something to recompile openoffice.org?? personally, i've never done it...
er, no. Only thing I know about recompiling it is that its hard. I was hoping to find someone do it for me like building me package.
I have managed to compile freetype libs for system with BCI switched on, using the standard three commands.
There has to be a solution for the damn fonts
i actually thought debian came with a package building solution which made things rather simple... isn't that why the sources are also distributed as .debs??
okay i googled a bit, and found this:
Quote:
6.14 How do I build binary packages from a source package?
You will need all of foo_*.dsc, foo_*.tar.gz and foo_*.diff.gz to compile the source (note: there is no .diff.gz for some packages that are native to Debian).
Once you have them (How do I install a source package?, Section 6.13), if you have the dpkg-dev package installed, the following command:
dpkg-source -x foo_version-revision.dsc
will extract the package into a directory called foo-version.
If you want just to compile the package, you may cd into foo-version directory and issue the command
dpkg-buildpackage -rfakeroot -b
to build the package (note that this also requires the fakeroot package), and then
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.