update to 8.06.11
This commit is contained in:
parent
39ffa738a1
commit
0aef44f82b
@ -1,28 +0,0 @@
|
||||
--- labltk-8.06.0.old/support/Makefile.common 2014-09-18 05:08:33.000000000 +0100
|
||||
+++ labltk-8.06.0/support/Makefile.common 2015-02-16 15:11:30.157186457 +0000
|
||||
@@ -21,17 +21,17 @@
|
||||
## Tools from the OCaml distribution
|
||||
|
||||
CAMLRUN=$(BINDIR)/ocamlrun
|
||||
-CAMLC=$(BINDIR)/ocamlc$(OPT)
|
||||
-CAMLOPT=$(BINDIR)/ocamlopt$(OPT)
|
||||
-CAMLCB=$(BINDIR)/ocamlc
|
||||
-CAMLOPTB=$(BINDIR)/ocamlopt
|
||||
-CAMLCOMP=$(CAMLC) -c -warn-error A-3
|
||||
+CAMLC=$(BINDIR)/ocamlc$(OPT) -g
|
||||
+CAMLOPT=$(BINDIR)/ocamlopt$(OPT) -g
|
||||
+CAMLCB=$(BINDIR)/ocamlc -g
|
||||
+CAMLOPTB=$(BINDIR)/ocamlopt -g
|
||||
+CAMLCOMP=$(CAMLC) -c -warn-error A-3 -g
|
||||
CAMLYACC=$(BINDIR)/ocamlyacc -v
|
||||
CAMLLEX=$(BINDIR)/ocamllex
|
||||
-CAMLLIBR=$(CAMLC) -a
|
||||
+CAMLLIBR=$(CAMLC) -a -g
|
||||
CAMLDEP=$(BINDIR)/ocamldep
|
||||
COMPFLAGS=-g
|
||||
LINKFLAGS=
|
||||
-CAMLOPTLIBR=$(CAMLOPT) -a
|
||||
-MKLIB=$(BINDIR)/ocamlmklib
|
||||
+CAMLOPTLIBR=$(CAMLOPT) -a -g
|
||||
+MKLIB=$(BINDIR)/ocamlmklib -g
|
||||
CAMLRUNGEN=$(BINDIR)/ocamlrun
|
||||
41
labltk-8.06.11-enable-debugging.patch
Normal file
41
labltk-8.06.11-enable-debugging.patch
Normal file
@ -0,0 +1,41 @@
|
||||
diff -ur labltk-8.06.11.old/support/Makefile labltk-8.06.11/support/Makefile
|
||||
--- labltk-8.06.11.old/support/Makefile 2021-10-04 19:10:57.000196523 +0100
|
||||
+++ labltk-8.06.11/support/Makefile 2021-10-04 19:18:06.263137991 +0100
|
||||
@@ -28,7 +28,7 @@
|
||||
cltkFile.$(O) cltkMain.$(O) cltkMisc.$(O) cltkTimer.$(O) \
|
||||
cltkVar.$(O) cltkWait.$(O) cltkImg.$(O)
|
||||
|
||||
-CCFLAGS=-I$(LIBDIR)/caml $(TK_DEFS) $(SHAREDCCCOMPOPTS)
|
||||
+CCFLAGS=-I$(LIBDIR)/caml $(TK_DEFS) $(SHAREDCCCOMPOPTS) -g
|
||||
|
||||
COMPFLAGS=
|
||||
THFLAGS=-I +threads -I vmthreads
|
||||
diff -ur labltk-8.06.11.old/support/Makefile.common labltk-8.06.11/support/Makefile.common
|
||||
--- labltk-8.06.11.old/support/Makefile.common 2021-10-04 19:10:56.990196618 +0100
|
||||
+++ labltk-8.06.11/support/Makefile.common 2021-10-04 19:18:06.264137981 +0100
|
||||
@@ -21,17 +21,17 @@
|
||||
## Tools from the OCaml distribution
|
||||
|
||||
CAMLRUN=$(BINDIR)/ocamlrun
|
||||
-CAMLC=$(BINDIR)/ocamlc$(OPT)
|
||||
-CAMLOPT=$(BINDIR)/ocamlopt$(OPT) $(WARNERR)
|
||||
-CAMLCB=$(BINDIR)/ocamlc
|
||||
-CAMLOPTB=$(BINDIR)/ocamlopt
|
||||
-CAMLCOMP=$(CAMLC) -c $(WARNERR)
|
||||
+CAMLC=$(BINDIR)/ocamlc$(OPT) -g
|
||||
+CAMLOPT=$(BINDIR)/ocamlopt$(OPT) $(WARNERR) -g
|
||||
+CAMLCB=$(BINDIR)/ocamlc -g
|
||||
+CAMLOPTB=$(BINDIR)/ocamlopt -g
|
||||
+CAMLCOMP=$(CAMLC) -c $(WARNERR) -g
|
||||
CAMLYACC=$(BINDIR)/ocamlyacc -v
|
||||
CAMLLEX=$(BINDIR)/ocamllex
|
||||
-CAMLLIBR=$(CAMLC) -a
|
||||
+CAMLLIBR=$(CAMLC) -a -g
|
||||
CAMLDEP=$(BINDIR)/ocamldep
|
||||
COMPFLAGS=-g
|
||||
LINKFLAGS=
|
||||
-CAMLOPTLIBR=$(CAMLOPT) -a
|
||||
-MKLIB=$(BINDIR)/ocamlmklib
|
||||
+CAMLOPTLIBR=$(CAMLOPT) -a -g
|
||||
+MKLIB=$(BINDIR)/ocamlmklib -g
|
||||
CAMLRUNGEN=$(BINDIR)/ocamlrun
|
||||
BIN
labltk-8.06.11.tar.gz
Normal file
BIN
labltk-8.06.11.tar.gz
Normal file
Binary file not shown.
@ -1,11 +0,0 @@
|
||||
--- labltk-8.06.4.old/support/Makefile 2017-10-30 09:19:07.000000000 +0000
|
||||
+++ labltk-8.06.4/support/Makefile 2017-11-07 21:24:58.244605912 +0000
|
||||
@@ -28,7 +28,7 @@
|
||||
cltkFile.$(O) cltkMain.$(O) cltkMisc.$(O) cltkTimer.$(O) \
|
||||
cltkVar.$(O) cltkWait.$(O) cltkImg.$(O)
|
||||
|
||||
-CCFLAGS=-I$(LIBDIR)/caml $(TK_DEFS) $(SHAREDCCCOMPOPTS)
|
||||
+CCFLAGS=-I$(LIBDIR)/caml $(TK_DEFS) $(SHAREDCCCOMPOPTS) -g
|
||||
|
||||
COMPFLAGS=
|
||||
THFLAGS=-I +threads -I vmthreads
|
||||
Binary file not shown.
13
labltk.spec
13
labltk.spec
@ -4,15 +4,14 @@
|
||||
%global native_compiler 0
|
||||
%endif
|
||||
Name: ocaml-labltk
|
||||
Version: 8.06.4
|
||||
Version: 8.06.11
|
||||
Release: 1
|
||||
Summary: Tcl/Tk interface for OCaml
|
||||
License: LGPLv2+ with exceptions
|
||||
URL: https://github.com/garrigue/labltk
|
||||
Source0: https://github.com/garrigue/labltk/archive/labltk-%{version}/labltk-%{version}.tar.gz
|
||||
Source0: https://github.com/garrigue/labltk/archive/%{version}/labltk-%{version}.tar.gz
|
||||
# This adds debugging (-g) everywhere.
|
||||
Patch1: labltk-8.06.0-enable-debugging.patch
|
||||
Patch2: labltk-8.06.4-enable-more-debugging.patch
|
||||
Patch1: labltk-8.06.11-enable-debugging.patch
|
||||
BuildRequires: ocaml tcl-devel tk-devel
|
||||
%description
|
||||
labltk or mlTk is a library for interfacing OCaml with the scripting
|
||||
@ -27,9 +26,8 @@ language Tcl/Tk (all versions since 8.0.3, but no betas).
|
||||
This package contains the development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n labltk-labltk-%{version}
|
||||
%setup -q -n labltk-%{version}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
find -name .gitignore -delete
|
||||
find -type f | xargs sed -i -e 's/-warn-error/-w/g'
|
||||
|
||||
@ -81,5 +79,8 @@ install -m 0644 camltk/*.o $RPM_BUILD_ROOT%{_libdir}/ocaml/labltk
|
||||
%{_libdir}/ocaml/labltk/*.mli
|
||||
|
||||
%changelog
|
||||
* Thu Jan 20 2022 liyanan <liyanan32@huawei.com> -8.06.11-1
|
||||
- update to 8.06.11
|
||||
|
||||
* Fri Oct 9 2020 maminjie <maminjie1@huawei.com> - 8.06.4-1
|
||||
- package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user