[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#967666: ocamlviz: depends on deprecated GTK 2



Control: tags -1 patch
Control: block 967559 by -1

Am 23.08.23 um 19:55 schrieb Bastian Germann:
Please consider dropping ocamlviz-gui and the liblablgtk2-ocaml-dev build dependency.

Please find a patch attached that drops the gui.
diff -Nru ocamlviz-1.01/debian/changelog ocamlviz-1.01/debian/changelog
--- ocamlviz-1.01/debian/changelog	2023-07-24 07:03:42.000000000 +0000
+++ ocamlviz-1.01/debian/changelog	2023-08-26 00:01:12.000000000 +0000
@@ -1,3 +1,10 @@
+ocamlviz (1.01-7.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Drop ocamlviz-gui (Closes: #967666)
+
+ -- Bastian Germann <bage@debian.org>  Sat, 26 Aug 2023 00:01:12 +0000
+
 ocamlviz (1.01-7) unstable; urgency=medium
 
   * Team upload
diff -Nru ocamlviz-1.01/debian/control ocamlviz-1.01/debian/control
--- ocamlviz-1.01/debian/control	2023-07-24 07:03:42.000000000 +0000
+++ ocamlviz-1.01/debian/control	2023-08-26 00:01:12.000000000 +0000
@@ -12,8 +12,6 @@
  ocaml-findlib,
  camlp4-extra,
  dh-ocaml,
- liblablgtk2-ocaml-dev,
- libcairo-ocaml-dev
 Build-Depends-Indep:
  mlpost,
  ocamlweb,
@@ -51,10 +49,7 @@
     buckets, or the filling rate
   * etc
  .
- This package provides two sorts of client output:
-  * an ASCII client, the monitoring is displayed in a file
-  * a Graphical User Interface, using Lablgtk2, that allows, for
-    instance, displaying data in a graph
+ This package provides an ASCII client. The monitoring is displayed in a file.
 
 Package: libocamlviz-ocaml-dev
 Architecture: any
diff -Nru ocamlviz-1.01/debian/ocamlviz.links ocamlviz-1.01/debian/ocamlviz.links
--- ocamlviz-1.01/debian/ocamlviz.links	2023-07-24 07:03:42.000000000 +0000
+++ ocamlviz-1.01/debian/ocamlviz.links	2023-08-26 00:00:40.000000000 +0000
@@ -1,2 +1 @@
 usr/share/man/man1/ocamlviz.1.gz usr/share/man/man1/ocamlviz-ascii.1.gz
-usr/share/man/man1/ocamlviz.1.gz usr/share/man/man1/ocamlviz-gui.1.gz
diff -Nru ocamlviz-1.01/debian/patches/prevent-gui-build.patch ocamlviz-1.01/debian/patches/prevent-gui-build.patch
--- ocamlviz-1.01/debian/patches/prevent-gui-build.patch	1970-01-01 00:00:00.000000000 +0000
+++ ocamlviz-1.01/debian/patches/prevent-gui-build.patch	2023-08-26 00:01:12.000000000 +0000
@@ -0,0 +1,13 @@
+Description: Prevent gui build and installation
+Author: Bastian Germann <bage@debian.org>
+---
+--- ocamlviz-1.01.orig/Makefile.in
++++ ocamlviz-1.01/Makefile.in
+@@ -160,7 +160,6 @@ install-byte:
+ 
+ install-opt:
+ 	cp -f libocamlviz.cmxa libocamlviz.a $(OCAMLLIB)
+-	cp -f gui.$(OCAMLBEST) $(BINDIR)/ocamlviz-gui
+ 
+ 
+ 
diff -Nru ocamlviz-1.01/debian/patches/series ocamlviz-1.01/debian/patches/series
--- ocamlviz-1.01/debian/patches/series	2023-07-24 07:03:42.000000000 +0000
+++ ocamlviz-1.01/debian/patches/series	2023-08-26 00:01:12.000000000 +0000
@@ -1,3 +1,4 @@
 detect_cairo
 mlpost_byte
 0003-Use-Bytes-only-where-necessary.patch
+prevent-gui-build.patch

Reply to: