summaryrefslogtreecommitdiff
path: root/dev-ml/labltk
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-ml/labltk
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'dev-ml/labltk')
-rw-r--r--dev-ml/labltk/Manifest2
-rw-r--r--dev-ml/labltk/files/findlib.patch20
-rw-r--r--dev-ml/labltk/files/labltk-8.06.12-c2x.patch47
-rw-r--r--dev-ml/labltk/files/labltk-8.06.12-c99.patch11
-rw-r--r--dev-ml/labltk/files/labltk-8.06.12-shuffle.patch46
-rw-r--r--dev-ml/labltk/files/labltk-8.06.14-findlib.patch13
-rw-r--r--dev-ml/labltk/files/labltk-8.06.14-shuffle.patch31
-rw-r--r--dev-ml/labltk/files/labltk-8.06.9-configure-clang16.patch50
-rw-r--r--dev-ml/labltk/labltk-8.06.12-r2.ebuild58
-rw-r--r--dev-ml/labltk/labltk-8.06.15-r1.ebuild55
-rw-r--r--dev-ml/labltk/metadata.xml11
11 files changed, 0 insertions, 344 deletions
diff --git a/dev-ml/labltk/Manifest b/dev-ml/labltk/Manifest
deleted file mode 100644
index e24c90a5ba8e..000000000000
--- a/dev-ml/labltk/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST labltk-8.06.12.tar.gz 372215 BLAKE2B 27718ad287954c11c0e77579239ad9ad53f4df308f3af3c482c40504e6426b4366d2c3de3acb36ca39e7fd404964fe5caa53a0b47702a0bc45ae1266765e90a0 SHA512 e1564ab2d8922276bd8ad586b37308d60ca2dd563bac3cdd992d8a6ba4de26e5499350a62a1d4cb2bbb9a5b7aff609b5187aad5fba118eb55d1b4c8355d2979a
-DIST labltk-8.06.15.tar.gz 385012 BLAKE2B cb0a341b47fbf5771aef0c29f2fe9410793d04fb3ecf4c97f771c894b2b33d3f74dde3242c597d358df4a79feef7bc1a1bb2a5a5fe2f7af69fab05733e51ec6a SHA512 67feb7f51be2a837050dc0b94a4cd185f05db240cdbb1188d5787465dd2abed98b17244c66893ad18ef912fbbe960b90a3e116a9f283a6277b6a747043780e24
diff --git a/dev-ml/labltk/files/findlib.patch b/dev-ml/labltk/files/findlib.patch
deleted file mode 100644
index 9b9a63bdede8..000000000000
--- a/dev-ml/labltk/files/findlib.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Index: labltk-8.06.0/lib/Makefile
-===================================================================
---- labltk-8.06.0.orig/lib/Makefile
-+++ labltk-8.06.0/lib/Makefile
-@@ -84,7 +84,7 @@ install-script: $(LIBNAME)
- install-batch:
- cp labltk.bat $(INSTALLBINDIR)
-
--ifeq ($USE_FINDLIB,yes)
-+ifeq ($(USE_FINDLIB),yes)
- install:
- ocamlfind install labltk -add $(LIBNAME).cma $(LIBNAME)top$(EXE)
- chmod 755 $(INSTALLDIR)/$(LIBNAME)top$(EXE)
-@@ -114,4 +114,4 @@ installopt:
- cd $(INSTALLDIR); $(RANLIB) $(LIBNAME).$(A)
- chmod 644 $(INSTALLDIR)/$(LIBNAME).cmxa
- chmod 644 $(INSTALLDIR)/$(LIBNAME).$(A)
--endif
-\ No newline at end of file
-+endif
diff --git a/dev-ml/labltk/files/labltk-8.06.12-c2x.patch b/dev-ml/labltk/files/labltk-8.06.12-c2x.patch
deleted file mode 100644
index f495e532d590..000000000000
--- a/dev-ml/labltk/files/labltk-8.06.12-c2x.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- a/support/cltkWait.c 2023-01-25 19:38:41.920494229 +0100
-+++ b/support/cltkWait.c 2023-01-25 19:39:51.246347410 +0100
-@@ -44,9 +44,7 @@
- Tk_Window win;
- };
-
--static void WaitVisibilityProc(clientData, eventPtr)
-- ClientData clientData;
-- XEvent *eventPtr; /* Information about event (not used). */
-+static void WaitVisibilityProc(ClientData clientData, XEvent *eventPtr)
- {
- struct WinCBData *vis = clientData;
- value cbid = Val_int(vis->cbid);
---- a/support/cltkImg.c 2023-01-25 19:42:03.647173018 +0100
-+++ b/support/cltkImg.c 2023-01-25 19:42:49.290423395 +0100
-@@ -111,9 +111,7 @@
- return Val_int(0);
- }
-
--CAMLprim value camltk_setimgdata_bytecode(argv,argn)
-- value *argv;
-- int argn;
-+CAMLprim value camltk_setimgdata_bytecode(value *argv, int argn)
- {
- return camltk_setimgdata_native(argv[0], argv[1], argv[2], argv[3],
- argv[4], argv[5]);
---- a/support/cltkVar.c 2023-01-25 19:44:11.880066940 +0100
-+++ b/support/cltkVar.c 2023-01-25 19:46:16.580018764 +0100
-@@ -74,12 +74,12 @@
- typedef char *(Tcl_VarTraceProc) _ANSI_ARGS_((ClientData clientData,
- Tcl_Interp *interp, char *part1, char *part2, int flags));
- */
--static char * tracevar(clientdata, interp, name1, name2, flags)
-- ClientData clientdata;
-- Tcl_Interp *interp; /* Interpreter containing variable. */
-- char *name1; /* Name of variable. */
-- char *name2; /* Second part of variable name. */
-- int flags; /* Information about what happened. */
-+static char * tracevar(ClientData clientdata, Tcl_Interp *interp,
-+ char *name1, char *name2, int flags)
-+ /* interp -> Interpreter containing variable. */
-+ /* name1 -> Name of variable. */
-+ /* name2 -> Second part of variable name. */
-+ /* flags -> Information about what happened. */
- {
- Tcl_UntraceVar2(interp, name1, name2,
- TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS,
diff --git a/dev-ml/labltk/files/labltk-8.06.12-c99.patch b/dev-ml/labltk/files/labltk-8.06.12-c99.patch
deleted file mode 100644
index 1761f478bd76..000000000000
--- a/dev-ml/labltk/files/labltk-8.06.12-c99.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/support/cltkVar.c 2024-06-04 20:18:35.940518270 +0200
-+++ b/support/cltkVar.c 2024-06-04 20:18:49.456367424 +0200
-@@ -75,7 +75,7 @@
- Tcl_Interp *interp, char *part1, char *part2, int flags));
- */
- static char * tracevar(ClientData clientdata, Tcl_Interp *interp,
-- char *name1, char *name2, int flags)
-+ const char *name1, const char *name2, int flags)
- /* interp -> Interpreter containing variable. */
- /* name1 -> Name of variable. */
- /* name2 -> Second part of variable name. */
diff --git a/dev-ml/labltk/files/labltk-8.06.12-shuffle.patch b/dev-ml/labltk/files/labltk-8.06.12-shuffle.patch
deleted file mode 100644
index 62fd8997f212..000000000000
--- a/dev-ml/labltk/files/labltk-8.06.12-shuffle.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- a/compiler/Makefile 2023-01-21 22:23:29.676828969 +0100
-+++ b/compiler/Makefile 2023-01-21 22:24:16.204141261 +0100
-@@ -73,6 +73,9 @@
- .ml.cmo:
- $(CAMLCOMP) $(COMPFLAGS) -I ../support $<
-
-+maincompile.cmo: copyright.cmo
-+maincompile.cmx: copyright.cmx
-+
- depend: parser.ml parser.mli lexer.ml pplex.ml ppyac.ml ppyac.mli
- $(CAMLDEP) *.mli *.ml > .depend
-
---- a/browser/Makefile 2023-01-25 22:29:40.784044151 +0100
-+++ b/browser/Makefile 2023-01-25 22:29:56.579838693 +0100
-@@ -18,3 +18,6 @@
-
- dummy.ml:
- cp dummyUnix.ml dummy.ml
-+
-+shell.cmo : dummy.cmo
-+shell.cmx : dummy.cmx
---- a/browser/.depend 2023-03-09 11:54:40.849960961 +0100
-+++ b/browser/.depend 2023-03-09 11:55:21.041342177 +0100
-@@ -117,10 +117,12 @@
- shell.cmo : ../labltk/winfo.cmi ../labltk/toplevel.cmi ../labltk/tk.cmo \
- ../support/timer.cmi ../labltk/text.cmi ../labltk/menu.cmi list2.cmo \
- lexical.cmi jg_toplevel.cmo jg_tk.cmo jg_text.cmi jg_message.cmi \
-+ dummy.cmo \
- jg_menu.cmo jg_memo.cmi fileselect.cmi ../support/fileevent.cmi shell.cmi
- shell.cmx : ../labltk/winfo.cmx ../labltk/toplevel.cmx ../labltk/tk.cmx \
- ../support/timer.cmx ../labltk/text.cmx ../labltk/menu.cmx list2.cmx \
- lexical.cmx jg_toplevel.cmx jg_tk.cmx jg_text.cmx jg_message.cmx \
-+ dummy.cmx \
- jg_menu.cmx jg_memo.cmx fileselect.cmx ../support/fileevent.cmx shell.cmi
- typecheck.cmo : ../labltk/tk.cmo ../labltk/text.cmi mytypes.cmi jg_tk.cmo \
- jg_text.cmi jg_message.cmi typecheck.cmi
---- a/browser/Makefile.shared 2024-06-05 10:08:38.886219581 +0200
-+++ b/browser/Makefile.shared 2024-06-05 10:06:05.142920155 +0200
-@@ -71,4 +71,7 @@
-
- shell.cmo: dummy.cmi
-
-+dummy.cmi: dummy.ml
-+ $(CAMLCOMP) $(INCLUDES) $<
-+
- include .depend
diff --git a/dev-ml/labltk/files/labltk-8.06.14-findlib.patch b/dev-ml/labltk/files/labltk-8.06.14-findlib.patch
deleted file mode 100644
index 2cc2b945a226..000000000000
--- a/dev-ml/labltk/files/labltk-8.06.14-findlib.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: labltk-8.06.0/lib/Makefile
-===================================================================
---- labltk-8.06.0.orig/lib/Makefile
-+++ labltk-8.06.0/lib/Makefile
-@@ -84,7 +84,7 @@ install-script: $(LIBNAME)
- install-batch:
- cp labltk.bat $(INSTALLBINDIR)
-
--ifeq ($USE_FINDLIB,yes)
-+ifeq ($(USE_FINDLIB),yes)
- install:
- ocamlfind install labltk -add $(LIBNAME).cma $(LIBNAME)top$(EXE)
- chmod 755 $(INSTALLDIR)/$(LIBNAME)top$(EXE)
diff --git a/dev-ml/labltk/files/labltk-8.06.14-shuffle.patch b/dev-ml/labltk/files/labltk-8.06.14-shuffle.patch
deleted file mode 100644
index 5cf4bc839d02..000000000000
--- a/dev-ml/labltk/files/labltk-8.06.14-shuffle.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/compiler/Makefile 2023-01-21 22:23:29.676828969 +0100
-+++ b/compiler/Makefile 2023-01-21 22:24:16.204141261 +0100
-@@ -73,6 +73,9 @@
- .ml.cmo:
- $(CAMLCOMP) $(COMPFLAGS) -I ../support $<
-
-+maincompile.cmo: copyright.cmo
-+maincompile.cmx: copyright.cmx
-+
- depend: parser.ml parser.mli lexer.ml pplex.ml ppyac.ml ppyac.mli
- $(CAMLDEP) *.mli *.ml > .depend
-
---- a/browser/Makefile 2023-01-25 22:29:40.784044151 +0100
-+++ b/browser/Makefile 2023-01-25 22:29:56.579838693 +0100
-@@ -18,3 +18,6 @@
-
- dummy.ml:
- cp dummyUnix.ml dummy.ml
-+
-+shell.cmo : dummy.cmo
-+shell.cmx : dummy.cmx
---- a/browser/Makefile.shared 2024-06-05 10:08:38.886219581 +0200
-+++ b/browser/Makefile.shared 2024-06-05 10:06:05.142920155 +0200
-@@ -71,4 +71,7 @@
-
- shell.cmo: dummy.cmi
-
-+dummy.cmi: dummy.ml
-+ $(CAMLCOMP) $(INCLUDES) $<
-+
- include .depend
diff --git a/dev-ml/labltk/files/labltk-8.06.9-configure-clang16.patch b/dev-ml/labltk/files/labltk-8.06.9-configure-clang16.patch
deleted file mode 100644
index bc7e04175f7f..000000000000
--- a/dev-ml/labltk/files/labltk-8.06.9-configure-clang16.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-https://bugs.gentoo.org/881841
-https://github.com/garrigue/labltk/pull/17
-
-From e1e850972c4190686a040574b91d61948cc559b5 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Sat, 19 Nov 2022 01:14:25 +0000
-Subject: [PATCH] config: Fix -Wimplicit-int, -Wstrict-prototypes (Clang 16)
-
-Followup to be8c977d320ed40cacb322658d4ceba5e583b3a6.
-
-Clang 16 makes -Wimplicit-int error by default.
-
-Unfortunately, this can lead to misconfiguration or miscompilation of software as configure
-tests may then return the wrong result.
-
-We also fix -Wstrict-prototypes while here as it's easy to do and it prepares
-us for C23.
-
-For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
-or the (new) c-std-porting mailing list [3].
-
-[0] https://lwn.net/Articles/913505/
-[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
-[2] https://wiki.gentoo.org/wiki/Modern_C_porting
-[3] hosted at lists.linux.dev.
-
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/config/auto-aux/hasgot
-+++ b/config/auto-aux/hasgot
-@@ -31,7 +31,7 @@ while : ; do
- done
-
- (for f in $*; do echo "int $f();"; done
-- echo "int main() {"
-+ echo "int main(void) {"
- for f in $*; do echo " $f();"; done
- echo "}") >> hasgot.c
-
---- a/config/auto-aux/tclversion.c
-+++ b/config/auto-aux/tclversion.c
-@@ -18,7 +18,7 @@
- #include <tcl.h>
- #include <tk.h>
-
--main ()
-+int main (void)
- {
- puts(TCL_VERSION);
- }
-
diff --git a/dev-ml/labltk/labltk-8.06.12-r2.ebuild b/dev-ml/labltk/labltk-8.06.12-r2.ebuild
deleted file mode 100644
index eb796f8cca66..000000000000
--- a/dev-ml/labltk/labltk-8.06.12-r2.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit findlib toolchain-funcs
-
-DESCRIPTION="OCaml interface to the Tcl/Tk GUI framework"
-HOMEPAGE="https://garrigue.github.io/labltk/"
-SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="QPL-1.0 LGPL-2"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv x86"
-IUSE="+ocamlopt X"
-
-RDEPEND="dev-lang/tk:=
- >=dev-lang/ocaml-4.14:=[ocamlopt?,X(+)?]
- <dev-lang/ocaml-5"
-DEPEND="${RDEPEND}
- dev-ml/findlib
-"
-
-PATCHES=(
- "${FILESDIR}/findlib.patch"
- "${FILESDIR}"/${PN}-8.06.9-configure-clang16.patch
- "${FILESDIR}"/${P}-shuffle.patch
- "${FILESDIR}"/${P}-c2x.patch
- "${FILESDIR}"/${P}-c99.patch
-)
-
-src_prepare() {
- sed -i \
- -e "s|ranlib|$(tc-getRANLIB)|" \
- frx/Makefile \
- || die
- default
-}
-
-src_configure() {
- ./configure --use-findlib --verbose $(usex X "--tk-x11" "--tk-no-x11") || die "configure failed!"
-}
-
-src_compile() {
- emake -j1 all
- use ocamlopt && emake -j1 opt
-}
-
-src_install() {
- findlib_src_preinst
- dodir /usr/bin
- emake \
- INSTALLDIR="${D}/$(ocamlc -where)/labltk" \
- INSTALLBINDIR="${ED}/usr/bin/" \
- RANLIB=$(tc-getRANLIB) \
- install
- dodoc Changes README.mlTk
-}
diff --git a/dev-ml/labltk/labltk-8.06.15-r1.ebuild b/dev-ml/labltk/labltk-8.06.15-r1.ebuild
deleted file mode 100644
index 62fe1766dcc6..000000000000
--- a/dev-ml/labltk/labltk-8.06.15-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit findlib toolchain-funcs
-
-DESCRIPTION="OCaml interface to the Tcl/Tk GUI framework"
-HOMEPAGE="https://garrigue.github.io/labltk/"
-SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="QPL-1.0 LGPL-2"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="+ocamlopt X"
-
-RDEPEND="dev-lang/tk:=
- >=dev-lang/ocaml-5:=[ocamlopt?,X(+)?]
- <dev-lang/ocaml-5.4"
-DEPEND="${RDEPEND}
- dev-ml/findlib
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-8.06.14-findlib.patch
- "${FILESDIR}"/${PN}-8.06.14-shuffle.patch
-)
-
-src_prepare() {
- sed -i \
- -e "s|ranlib|$(tc-getRANLIB)|" \
- frx/Makefile \
- || die
- default
-}
-
-src_configure() {
- ./configure --use-findlib --verbose $(usex X "--tk-x11" "--tk-no-x11") || die "configure failed!"
-}
-
-src_compile() {
- emake -j1 all
- use ocamlopt && emake -j1 opt
-}
-
-src_install() {
- findlib_src_preinst
- dodir /usr/bin
- emake \
- INSTALLDIR="${D}/$(ocamlc -where)/labltk" \
- INSTALLBINDIR="${ED}/usr/bin/" \
- RANLIB=$(tc-getRANLIB) \
- install
- dodoc Changes README.mlTk
-}
diff --git a/dev-ml/labltk/metadata.xml b/dev-ml/labltk/metadata.xml
deleted file mode 100644
index 57230eb446c9..000000000000
--- a/dev-ml/labltk/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>ml@gentoo.org</email>
- <name>ML</name>
- </maintainer>
- <upstream>
- <remote-id type="github">garrigue/labltk</remote-id>
- </upstream>
-</pkgmetadata>