cran2crux: ports for R modules
Posted: 2023-12-27 Filed under: ports, system | Tags: CRAN, CRUX, portdb, ports, R Leave a commentI use R in my work and I wanted to find a way to easily create CRUX ports for system-wide installation of its modules. Having them managed by the distro’s packaging system has its advantages: I can check them with revdep or use custom settings at build time. However, I did not find a ready solution, so I wrote a tool myself, called cran2crux (for detailed info, check it’s page). The cran2crux script automatically generates CRUX port(s) for R modules available from CRAN. On my TODO list is making it work with Bioconductor, as well.
Read the rest of this entry »
A revdep equivalent for Slackware
Posted: 2023-11-30 Filed under: system | Tags: revdep, slackware 4 CommentsEver since using CRUX, a tool that I really miss on Slackware is RevDep, part of their PrtUtils. As it says on the webpage, it checks for missing or wrong libraries of installed packages. This is particularly useful, if you are running Slackware -current and have stuff installed from a third-party place, such as SBo. Recently, I came across a script that finds missing *.so files, essentially working as revdep on source distros like CRUX and Gentoo.
Read the rest of this entry »
Git: make local repo exactly like remote
Posted: 2023-10-08 Filed under: slackbuilds | Tags: git, repo, slackrepo 1 CommentI have been using slackrepo to maintain my own packages repository for Slackware 15.0. It’s an excellent tool, however, it has a limitation of how often you can sync with SlackBuilds.org. Usually this does not bother me, because I run an update once per week, after the Public www update (usually on Saturday). Every now and then, slackrepo will not see the updated SBo immediately, because it won’s sync.
Read the rest of this entry »
Disk partition labels
Posted: 2023-09-30 Filed under: system | Tags: disk, disk label, e2label, efi, ext2, fstab, label, mkfs.vfat, mkfs.xfs, mkswap, swap, swaplabel, XFS Leave a commentThat’s something I never had the habit of doing… labeling my disk partitions. However, I’d like to make things a bit easier to remember. After searching a bit, I came up with the following. I was doing a fresh install of Slackware and was going to format the partitions anyway.
Read the rest of this entry »
Delete a git commit
Posted: 2023-07-17 Filed under: system | Tags: commit, delete, git, github, remove, revert 2 CommentsI’ve been preparing a few (very preliminary) ports that I do not wish to push to my git repo with the rest. However, being tired and all, I did a git commit -a, so they ended up there. So far, whatever experience I’ve got with git, it was always by going forward… I did revert the commit, but wanted to know how to delete it completely.
Read the rest of this entry »
