Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: kalevi@kolttonen.fi (Kalevi Kolttonen) Newsgroups: comp.unix.programmer Subject: Re: Open Source does not mean easily re-compile-able Date: Fri, 27 Dec 2024 23:22:17 -0000 (UTC) Organization: A noiseless patient Spider Lines: 53 Message-ID: References: <86wmflc83k.fsf@example.com> Injection-Date: Sat, 28 Dec 2024 00:22:18 +0100 (CET) Injection-Info: dont-email.me; posting-host="c33edbefe7c791871ffe5a935ee6b7b3"; logging-data="4094594"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19y9ooA380VoWL/iBxBEKAE1aZA7759yRM=" User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/6.12.4-200.fc41.x86_64 (x86_64)) Cancel-Lock: sha1:rHEjVd/SeJoKHZMrvkZBNPG+U9s= Bytes: 2880 Salvador Mirzo wrote: > If I were not full of tasks right now, I would set up a VM with Debian > and try it out---build-dep for Thunderbird. Just to see if compiles > successfully without much hacking involved. I am also skeptical of such > things. It usually works on smaller projects; I'd be surprised and > happy to find out that it works with no hacking involved. No need to be skeptical, we live in modern ages where things have been made quite convenient for us. Compiling Thunderbird should be very easy indeed when we use Linux distro's package management. I run Fedora Linux 41 xfce spin and I love it. If my memory serves right, so far I have performed the following steps: 1) Download the Thunderbird source RPM dnf download --source thunderbird 2) Install the source RPM rpm -Uvh thunderbird-128.5.2-1.fc41.src.rpm 3) Bump release from 2 to 3 vi ~/rpmbuild/SPECS/thunderbird.spec 4) Extract the tar.xz tar xJf thunderbird-128.5.2esr.source.tar.xz 5) Edit function MsgReplyMessage to contain just "return;" vi +/MsgReplyMessage thunderbird-128.5.2/comm/suite/mailnews/content/mailWindowOverlay.js 6) Recreate the tar.xz tar cJf thunderbird-128.5.2esr.source.tar.xz thunderbird-128.5.2 7) Install all RPM build dependencies, letting dnf do the heavy lifting dnf builddep ~/rpmbuild/SPECS/thunderbird.spec 8) Build Thunderbird binary RPM: rpmbuild -bb ~/rpmbuild/SPECS/thunderbird.spec Since Thunderbird is pretty huge, I am guessing that the build will take some time to complete. In Finland it is now 01:17 o'clock in the middle of the night. Unfortunately I have to go to work tomorrow so I must go to sleep at 2:00. I have no idea when the build will be complete or whether my JavaScript hack works or not. br, KK