logo

blog

My website can't be that messy, right? git clone https://anongit.hacktivis.me/git/blog.git/
commit: 464e0fb67be2e349e0a09b15521facb74983f378
parent fc459301e98c38aef524128d620ac1a4c89a1429
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  1 Dec 2025 16:07:39 +0100

notes/bootstrapping: Sent gnulib patch

Diffstat:

Anotes/0001-lib-javaversion.class-remove-build-from-source.patch84+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mnotes/bootstrapping.shtml5++++-
2 files changed, 88 insertions(+), 1 deletion(-)

diff --git a/notes/0001-lib-javaversion.class-remove-build-from-source.patch b/notes/0001-lib-javaversion.class-remove-build-from-source.patch @@ -0,0 +1,84 @@ +From a4c97c5eb4e6ef106db449d313f6a3c05b7ab769 Mon Sep 17 00:00:00 2001 +From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me> +Date: Tue, 20 Dec 2022 21:31:28 +0100 +Subject: [PATCH gnulib] lib/javaversion.class: remove, build from source + +Alternative if javaversion.class is needed while javac is absent +(I doubt so) could be keeping the javaversion.class blob by default +but still providing build & clean recipes in the Makefiles. +--- + .gitignore | 1 + + Makefile | 5 +++++ + lib/Makefile | 9 ++++++++- + lib/javaversion.class | Bin 510 -> 0 bytes + 4 files changed, 14 insertions(+), 1 deletion(-) + delete mode 100644 lib/javaversion.class + +diff --git a/.gitignore b/.gitignore +index fae3b941a8..aeec48b6c6 100644 +--- a/.gitignore ++++ b/.gitignore +@@ -3,6 +3,7 @@ + *~ + .#* + \#*# ++*.class + allsnippets.tmp + amsnippet.tmp + testdir* +diff --git a/Makefile b/Makefile +index 0ffc677946..1de15d89e3 100644 +--- a/Makefile ++++ b/Makefile +@@ -13,6 +13,11 @@ SHELL=bash + + # Produce some files that are not stored in the repository. + all: ++ $(MAKE) -C lib ++ ++.PHONY: clean ++clean: ++ $(MAKE) -C lib clean + + # ============================================================================== + # Documentation +diff --git a/lib/Makefile b/lib/Makefile +index 2e10203783..8b7c580dac 100644 +--- a/lib/Makefile ++++ b/lib/Makefile +@@ -1,6 +1,13 @@ + # Run "make check" to ensure that the code passes some simple tests, + # usually (always?) not involving compilation. +-all: ++JAVAC ?= javac ++ ++all: javaversion.class ++ $(JAVAC) -d . -target 1.1 javaversion.java + + check: + ./t-idcache ++ ++.PHONY: clean ++clean: ++ rm -f javaversion.class +diff --git a/lib/javaversion.class b/lib/javaversion.class +deleted file mode 100644 +index d62585b0ecd259dc3d661247c323788c927ff140..0000000000000000000000000000000000000000 +GIT binary patch +literal 0 +HcmV?d00001 + +literal 510 +zcmZutO;5r=5Pi#6p;SSzh#(>tQ%$5l0OQ5P6HyWj7f(xF$r9R<vL)eX=|PPLe}F&A +zI1407WDhg5Z{NIqGhg2ypGe{YEfWTcIqad7McJghZ^A~!z=44(L*`NjQe815owET$ +z>N<QB427-?#BJ;kMRd=H6GBoxmjOe?dFYP$oVybqjNHD8WH9RJMzbHrktc4XCKokj +zE~1$XgSM_MWRWv)XrYEWLrr7t*;IJ)NqSsq+L~_R2n_?r7MeI=$p2AV>#n}O8;*si +zHlY4uri4$EgfTtXE1xoSdt_3PRl)rZDUO8dMd4ILYQb>oY#HZ2#8B2o+)XtGW2&_$ +zv>1Dv&;TuDX#e^o!1NL*nsjSWW|Y(CZ(z?<kTHsxC0Hezg&nFj)mgRz)(aA)<U3NY +UNdI=2^a|Q)9(CgHQk_8I2Lx1d^#A|> + + +base-commit: ed162ab2ffae07a168437c6a65739c6419c5e3e1 +-- +2.51.2 + diff --git a/notes/bootstrapping.shtml b/notes/bootstrapping.shtml @@ -231,7 +231,10 @@ </p> <h3 id="gnulib">GNU gnulib</h3> - <p><code>lib/javaversion.class</code>. Made <a href="https://hacktivis.me/tmp/0001-lib-javaversion.class-Remove-build-from-source.patch">[PATCH] lib/javaversion.class: Remove, build from source</a> to have it built from source.</p> + <p> + <code>lib/javaversion.class</code>, for which there's instructions to build in the comments of <code>lib/javaversion.java</code>.<br /> + Sent <a href="0001-lib-javaversion.class-remove-build-from-source.patch">[PATCH gnulib] lib/javaversion.class: remove, build from source</a> to fix it. + </p> <h3 id="gettext">GNU gettext</h3> <p>gnulib java blob; 3 Java class files in <code>gettext-tools/examples</code>; <code>gettext-tools/m4/csharpexec-test.exe</code> which doesn't have source code (C# is effectively proprietary anyway). Did <a href="https://github.com/gentoo/gentoo/commit/54b36e80f7c3910ae1557c2faafda3d6d62daf49">sys-devel/gettext: deblob</a> to fix it.</p>