This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository 0d-edi.

View the commit online.

commit d42553aaf7a077532dfbccac21656b450f6b5fc9
Author: rhoyerboat <[email protected]>
AuthorDate: Fri Sep 26 20:54:13 2025 -0400

    A bit rusty with the git and have no non-trivial chops in C but shall' see.
---
 README-0drift.md | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/README-0drift.md b/README-0drift.md
new file mode 100644
index 0000000..5fb86c8
--- /dev/null
+++ b/README-0drift.md
@@ -0,0 +1,69 @@
+##
+
+# README - 0drift build of edi (a lot of works in progress, which is why I wanted a minimalistic
+ IDE that needed some work so I could practice.)
+
+In gentoo, assuming the emerge package manager is being used, the include and library paths
+will not be in places expected by the existing meson scripts so certain command line options
+must be used in order to specify those.
+
+Already in this revision of it (not prepared to call it a fork,) modifications to have been
+made to select BINDIR from /usr/lib/llvm/19/bin after it doesn't find the likely debian
+path of /usr/local/opt/llvm/bin. These modifications were made to scripts/clang_include_dir.sh
+
+Assuming llvm-clang was installed by emerge, it is likely the following command that need be
+run: (I am not a gentoo maintainer by any stretch, in fact I am trying to essentially
+jailbreak it down to x86_64 architecture specifically and lose emerge in the process, which
+has gotten complicated to the point of being like its' mechanics were being deliberately
+obfuscated so, no promises.)
+
+meson setup ./build -Dlibclang-headerdir=/usr/lib/llvm/19/include/ \
+ -Dlibclang-libdir=/usr/lib/llvm/19/lib64 -Db_pie=true -Dbuildtype=plain
+
+This is a multilib system which prefers 64 and it wouldnt link to ./lib
+Also this kernel utilizes loadable modules so the position-independant executables (pie)
+option is important.
+Your mileage may vary.
+
+Another thing: depending on how your system is configured you may have to set
+ LD_LIBRARY_PATH=$whatever_prefix_you_assigned
+ 
+In my case, because I don't normally use this prefix but did here for testing,
+(but /usr/local/bin was on PATH) 
+
+ LD_LIBRARY_PATH=/usr/local/lib64 edi
+
+Voila!
+
+
+Other changes - *edi is at a 0.9 version and intl was deprecated before I got here.
+
+src/bin/meson.build had references to it removed entirely.
+src/tests/meson.build as well.
+
+
+
+Reasoning:
+
+ The straightforward build was blocked in gentoo by libintl being blocked by a virtual glibc package.
+ It has been a long day and I am spacing out on how that led me to fix a compilation problem with
+ the last rust-free version of librsvg, 2.40. I run a hardened gentoo and I wonder if those security
+ problems that led that project to migrate to rust were related to some distributor having disabled
+ -Werror in order to get it to build, when really the developer behind that code block had acknowledged
+ its hackyness in the comments and misused some of the provided structs. (This resolved all sorts of
+ whole stack issues I was having in my attempt to patch together a new-looking old-school-under-the-
+ hood style distro I am speccing out, but it was a huge day for me.) I was just about to start running
+ JetBrains CLion in order to look into the relationship between libxml2 and librsvg when I found a
+ low cost workaround for the problem, although it is likewise hacky. So I moved back onto building
+ edi. A few added lines to scripts/clang_include_dir.sh to find where gentoo stuffed llvm-clang and
+ a few variences to -D for the modular kernel, headers and libraries, and now I am looking forward to
+ using edi rather than something else. I know JetBrains are great products but just not so rewarding
+ to use as something that is written elegantly and has work-to-be-done on it to boot.
+
+
+References I am saving:
+ https://gnome.pages.gitlab.gnome.org/libxml2/html/SAX2_8h.html
+ https://mesonbuild.com/Build-options.html
+
+For other reasons, currently haggard from 4am to 8pm session.
+ https://wiki.archlinux.org/title/Bubblewrap

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to