@nachobra Not everyone here is a programmer, believe it or not. Computers are magical things even before programming comes into play. :3
It built, it installed, and it works exactly on my new FreeBSD 11.1-RELEASE #Unix PC like it did on my old Debian Jessie #Linux PC!
Have the fruits of my labor: http://files.thornton2.com/packages/unix/xcal-4.1-patched-for-freebsd.tar.gz
Inside is the unpatched xcal 4.1 source tarball from Debian Sid (as of last week), my patch file, and my notes for applying the patch.
(Packages screenies & desc: https://screenshots.debian.net/package/xcal )
@softgoat I use $HOME/bin for my personal run-anywhere programs (even though most of them are shell scripts), and I have `PATH=${PATH}:~/bin` in my ~/.shrc and ~/.bashrc files so I can run them anywhere.
(Also, no, because I set DESTDIR to my staging directory name, I didn't run `make install` as root.)
@softgoat As far as I can tell, it's because everything in GTK3 went overboard with padding in the default. I noticed it with simple form buttons in the most recent Firefox on Raspbian, and I haven't even looked into better GTK3 themes yet.
@nachobra Hey there, welcome!
So I installed it into a staging directory and ran it, and it ran exactly as expected. But attempting to install it into the staging directory revealed another Makefile showstopper: an extra space between $(DESTDIR) and $(XAPPLOADDIR) in the install:: XCal.help make target. So close yet so far.
Me taking a break from tech support:
*sees call for tech support in local TL*
*sees helpful tech support in local TL*
*sees successful resolution no matter the causes*
*does NOT see any blaming*
*basically, sees computer fairies being computer fairies in local TL*
Have I mentioned yet that I love this place? :3
#Linux ransomware in the wild: https://forums.gentoo.org/viewtopic-t-1060828.html
Linux-based malware not only exists but has existed for longer than most Linux users realize.
Also, not running anything as root that doesn't need root helps with defense in depth, but especially don't run as root anything *designed* to download & run completely unvetted code, like Web browsers do.
Sadly, spoiler: Flash Player was suspected but never confirmed as the ransomware entry vector.
Wow, it's been ages since I used diff and patch. Anyway, I'm making progress.
And finding that GCC is apparently happy with non-void C functions using `return;` without a value, while clang (rightly, IMO) throws an error.
@ticky That's actually GNU living up to the "GNU's Not Unix" moniker. :3c
FreeBSD basename actually works as expected in all three examples instead of keeling over the way GNU basename does without the -a switch.
confession
@softgoat They're supposed to help with multitasking in the brain sense by organizing windows into separate piles. I don't know how useful or effective it is because it's been an age since I tried one.
After hand-patching and creating a new diff comes getting it to compile in clang.
Because absolutely NOTHING I do to the Imakefile is creating Makefiles with "CC = gcc" in them. No matter what, they're all "CC = cc", which is clang's C compiler.
The patch file is a unified diff that contains at least one unified diff nested within.
I sure hope patch processes files in lines from first to last, because that's how I'm making and skipping the hand-editing. :/
✨ Kind 'Net Help Desk fairy by day. ✨
✨ Weird & furry Unix fairy by night. ✨
✨ Sometimes a retrocomputer fairy. ✨
✨ Pays the ComputerFairi.es bills. ✨
✨ Sparkly✨shellscript✨princess. ✨
✨ Age: Mere days younger than ✨
✨ the Intel 4004 & Unix 1st Edition. ✨
✨ Follow requests welcome. ✨
✨
✨