DebianThis forum is for the discussion of Debian Linux.
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 think you'd need to make a modified lighttpd_version.diff.gz because IIRC dpkg-buildpackage will unpack lighttpd_version.orig.tar.gz in a temporary build directory and then apply the lighttpd_version.diff.gz before starting the build.
I haven't really dug into the debian package build process, maybe there are some dpkg tools or environment options that you could use.
I don't know about builing packages from scratch, but if you are builidng from a source package you should edit the following file in the source directory: DEBIAN/rules
confirmed- editing ./DEBIAN/rules works like a charm!
Quote:
Originally Posted by saman007uk
I don't know about builing packages from scratch, but if you are builidng from a source package you should edit the following file in the source directory: DEBIAN/rules
saman007uk@ since it seems no one else has, I'd like to say thank you- your advice was really helpful. In my case, I wanted to build the latest nightly of VLC (to-be 1.0 (GoldenEye)- Intrepid), and I got an error due to Intrepid not having a new enough version of live555, which I don't use anyway. taking your advice; nano ./vlc-1.0.0-git/debian rules --> changed --enable-live555 \ to --disable-live555 \ , and everything went smoothly after that. this is something worth remembering, thanks!
neocookie@ I know I'm 3 years late on this comeback (though it can't be helped, since the need wasn't presented until now) -- I found this answer thanks to your thread, especially thanks to saman007uk, but ultimately, google. the key to finding these kind of things via google (IMLE) is to seek out results that are on forums and blogs. 99% of the poweruser/linux problems I've had (and couldn't solve on my own) were solved through google search results, with 70% of the answers found tnrough forums like LQ, and ~29 % through blogs. (the remaining 1 % was through IRC)
Last edited by th3g1vr; 08-27-2008 at 09:30 PM.
Reason: accounting for slightly unrelated information; IMO
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.