Hello community,

here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory 
checked in at 2014-11-14 09:18:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-lablgtk2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes    
2013-07-02 07:39:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes       
2014-11-14 09:18:47.000000000 +0100
@@ -1,0 +2,73 @@
+Thu Oct 23 12:40:36 UTC 2014 - [email protected]
+
+- BuildRequire ocaml-rpm-macros
+
+-------------------------------------------------------------------
+Sat Sep 27 15:19:24 UTC 2014 - [email protected]
+
+- update to 2.18.2
+  * Revert old commit which broke notify signals
+  * Quote $(FLINSTALLDIR) in Makefile (cf PR#1342)
+  * Update applications/browser for 4.02
+  * Make Float_val an alias for Double_val, since it was used
+    wrongly anyway (Felix Ruess)
+  * Make GObj.misc_ops#add_accelerator polymorphic in the widget of
+    the signal (Erkki Seppala)
+  * Use properties in GtkAdjustment, rather than direct accessors
+  * fix GtkTree.IconView.get_path_at_pos (Thomas Leonard)
+  * add gtksourceview2 to windows binaries
+  * prepare release
+  * update applications for 4.01
+  * various fixes in windows port
+  * add some GTK enumerations and update stock icon list
+  * add properties GtkTreeView.enable_{tree,grid}_lines
+  * add properties GtkEntry.{primary,secondary}_icon_{stock,name,pixbuf},
+    see examples/entry2.ml for usage
+  * add tags in GtkMovementStep
+  * fix compatibility with ocaml 4.01 (?lab for non-optional arguments)
+  * add handling of new modifiers
+  * detect findlib during configuration
+  * support DESTDIR with findlib-install
+  * indicate that only old-install supports DESTDIR
+  * have old-install copy the META file too
+  * cleanup the two phases of findlib-install
+  * update Windows port, compiles fine on mingw with
+    ./configure --disable-gtktest
+  * lablgtk2 script does not load extra libraries by default
+    (use flag -all to load all extensions)
+  * generate correct lablgtk2 script for findlib.
+  * add old-uninstall target.
+  * support threaded toplevel with Quartz backend, using gtkThTop.ml
+    (runs the toplevel loop in another thread)
+  * remove GtkThInit from META (not portable)
+  * avoid busy waiting by using g_main_context_set_poll_func to
+    make polling non-blocking.
+    busy waiting is still needed for VM threads, and can be activated
+    by setting the environment variable LABLGTK_BUSY_WAIT.
+  * update applications/browser for OCaml 4.00
+  * update applications/camlirc to use GText instead of GBroken.text
+  * improvements to GtkSourceView2.
+  * add cast and assignation functions to GText.nocopy_iter.
+  * add Gtk 2.10 missing key modifiers.
+  * can still install using old-install.
+  * add a high-level API to create keyboard shortcuts.
+  * add several #as_foo methods: entry, notebook, range
+  * new signals for notebook: select_page, reorder_tab,
+    change_current_page, move_focus_out, page_{added,removed,reordered}
+  * add gtk_container_child_{set,get}_property
+  * add gtk_notebook_{set,get}_tab_reorderable
+  * add gtk_signal_new which can be used to create custom keyboard shortcuts
+  * add g_signal_list and g_signal_query
+  * add functions to connect to notify::foo signals which indicate when an
+    object property changes
+  * add foo#connect#notify_bar methods to add callbacks on changes of
+    the "bar" property of the object "foo".
+  * use findlib to install (see README for the list of installed packages)
+  * merge GtkSourceView2 additions by Pierre-Marie Pedrot
+  * add Make_Val_option to wrappers.h
+  * add gtk_accelerator_name/get_label (for Pierre Boutillier)
+  * add gtk_accel_map_foreach/change_entry (ibid)
+  * add gdk_window_clear_area (for DDR)
+  * make gtk_tree_view_get_visible_range version dependent (Thomas Ripoche)
+
+-------------------------------------------------------------------

Old:
----
  lablgtk-2.14.2.tar.xz

New:
----
  lablgtk-2.18.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ocaml-lablgtk2.spec ++++++
--- /var/tmp/diff_new_pack.30WYoo/_old  2014-11-14 09:18:48.000000000 +0100
+++ /var/tmp/diff_new_pack.30WYoo/_new  2014-11-14 09:18:48.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ocaml-lablgtk2
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,12 @@
 #
 
 
-%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-%if !%opt
-# get rid of /usr/lib/rpm/find-debuginfo.sh
-# strip kills the bytecode part of ELF binaries
-# see also NO_BRP_STRIP_DEBUG in install section
-%undefine _build_create_debug
-%endif
-
+Version:        2.18.2
+Release:        0
+%{ocaml_preserve_bytecode}
+%global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types
 Name:           ocaml-lablgtk2
+Source0:        lablgtk-%{version}.tar.gz
 BuildRequires:  gtk2-devel
 BuildRequires:  gtksourceview18-devel
 %if %suse_version >= 1210
@@ -37,23 +34,22 @@
 BuildRequires:  librsvg-devel
 BuildRequires:  ocaml
 BuildRequires:  ocaml-camlp4-devel
+BuildRequires:  ocaml-findlib
+BuildRequires:  ocaml-lablgl-devel
+BuildRequires:  ocaml-rpm-macros >= 4.02.1
 BuildRequires:  xorg-x11
+BuildRequires:  zlib-devel
 Requires:       ocaml
-Version:        2.14.2
-Release:        0
-Source0:        lablgtk-%{version}.tar.xz
 Provides:       lablgtk2 = %{version}
 Obsoletes:      lablgtk2 < %{version}
 Provides:       ocaml-lablgtk = %{version}
 Obsoletes:      ocaml-lablgtk < %{version}
-Url:            http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html
+Url:            http://lablgtk.forge.ocamlcore.org/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        An Objective Caml Interface to gtk2+
 License:        LGPL-2.1+
 Group:          Development/Libraries/Other
 
-%global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types
-
 %description
 LablGTK2 uses the rich type system of Objective Caml 3 to provide a
 strongly typed, yet very comfortable, object-oriented interface to
@@ -106,14 +102,16 @@
 
 %prep
 %setup -q -n lablgtk-%{version}
-find -name ".cvsignore" | xargs rm -v
+find -name ".cvsignore" -print -delete
+# fix README file executable permissions
+chmod a-x README
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS"
 make configure 
 %configure --with-gnomecanvas
 make world
-%if %opt
+%if %{ocaml_native_compiler}
 make opt
 pushd src
 make lablgtk.cmxa
@@ -123,16 +121,9 @@
 %endif
 
 %install
-%if !%opt
-# get rid of /usr/lib/rpm/brp-strip-debug 
-# strip kills the bytecode part of ELF binaries
-export NO_BRP_STRIP_DEBUG=true
-%endif
 %makeinstall
-
-%clean
-# Clear up the mess
-rm -rf $RPM_BUILD_ROOT;
+# Remove ld.conf (part of main OCaml dist).
+rm $RPM_BUILD_ROOT%{_libdir}/ocaml/ld.conf
 
 %files
 %defattr(-, root, root)
@@ -140,7 +131,7 @@
 %{_bindir}/*
 %dir %{_libdir}/ocaml/lablgtk2
 %{_libdir}/ocaml/lablgtk2/*
-%if %opt
+%if %{ocaml_native_compiler}
 %exclude %{_libdir}/ocaml/lablgtk2/*.a
 %exclude %{_libdir}/ocaml/lablgtk2/*.cmx
 %exclude %{_libdir}/ocaml/lablgtk2/*.cmxa
@@ -153,8 +144,7 @@
 %defattr(-, root, root)
 %doc examples
 %dir %{_libdir}/ocaml/lablgtk2
-%{_libdir}/ocaml/stublibs
-%if %opt
+%if %{ocaml_native_compiler}
 %{_libdir}/ocaml/lablgtk2/*.a
 %{_libdir}/ocaml/lablgtk2/*.cmx
 %{_libdir}/ocaml/lablgtk2/*.cmxa

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to