commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2020-06-17 14:56:02 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.3606 (New) Package is "ocaml-lablgtk2" Wed Jun 17 14:56:02 2020 rev:19 rq:815369 version:2.18.10 Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2020-05-23 17:20:16.890478697 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.3606/ocaml-lablgtk2.changes 2020-06-17 14:56:33.986260881 +0200 @@ -1,0 +2,5 @@ +Wed Jun 17 06:06:06 UTC 2020 - o...@aepfle.de + +- Fix gcc10 build with ocaml-lablgtk2.ml_table_extension_events.patch + +--- New: ocaml-lablgtk2.ml_table_extension_events.patch Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.32y162/_old 2020-06-17 14:56:36.962271071 +0200 +++ /var/tmp/diff_new_pack.32y162/_new 2020-06-17 14:56:36.966271085 +0200 @@ -24,6 +24,7 @@ %global __ocaml_requires_opts -i GtkSourceView2_types Name: ocaml-lablgtk2 Source0:%{name}-%{version}.tar.xz +Patch0: ocaml-lablgtk2.ml_table_extension_events.patch BuildRequires: gtk2-devel BuildRequires: gtksourceview2-devel BuildRequires: gtkspell-devel ++ ocaml-lablgtk2.ml_table_extension_events.patch ++ https://github.com/garrigue/lablgtk/pull/105 --- a/src/ml_gdk.c +++ b/src/ml_gdk.c @@ -47,6 +47,7 @@ #include "ml_gdkpixbuf.h" #include "gdk_tags.h" +lookup_info *ml_table_extension_events; #ifndef HASGTK22 #define GDK_WINDOW_TYPE_HINT_SPLASHSCREEN GDK_WINDOW_TYPE_HINT_NORMAL --- a/src/ml_gdk.h +++ b/src/ml_gdk.h @@ -102,7 +102,7 @@ CAMLexport value Val_GdkEvent (GdkEvent CAMLexport int OptFlags_GdkModifier_val (value); CAMLexport int Flags_GdkModifier_val (value); CAMLexport int Flags_Event_mask_val (value); -CAMLexport lookup_info *ml_table_extension_events; +CAMLextern lookup_info *ml_table_extension_events; #define Extension_events_val(key) ml_lookup_to_c(ml_table_extension_events,key) #define GdkDragContext_val(val) check_cast(GDK_DRAG_CONTEXT,val)
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2020-05-23 17:20:13 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.2738 (New) Package is "ocaml-lablgtk2" Sat May 23 17:20:13 2020 rev:18 rq:805739 version:2.18.10 Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2020-03-09 15:22:54.880185205 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.2738/ocaml-lablgtk2.changes 2020-05-23 17:20:16.890478697 +0200 @@ -1,0 +2,8 @@ +Thu May 14 14:14:14 UTC 2020 - oher...@suse.de + +- The filename for rpm *.attr files and the tag used within these + files must match. Otherwise rpm will not execute the helper scripts. + Use helper 'suseocaml' in addition to 'ocaml' to avoid + filename conflicts with rpm-build.rpm (bsc#1154874) + +--- Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.208eNu/_old 2020-05-23 17:20:18.258481656 +0200 +++ /var/tmp/diff_new_pack.208eNu/_new 2020-05-23 17:20:18.262481666 +0200 @@ -19,6 +19,8 @@ Version:2.18.10 Release:0 %{?ocaml_preserve_bytecode} +# handle built-in ocaml helper from rpm-build, and helper from ocaml-rpm-macros +%global __suseocaml_requires_opts -i GtkSourceView2_types %global __ocaml_requires_opts -i GtkSourceView2_types Name: ocaml-lablgtk2 Source0:%{name}-%{version}.tar.xz @@ -31,7 +33,7 @@ BuildRequires: ocaml BuildRequires: ocaml-findlib BuildRequires: ocaml-lablgl-devel -BuildRequires: ocaml-rpm-macros >= 20200220 +BuildRequires: ocaml-rpm-macros >= 20200514 BuildRequires: xorg-x11 BuildRequires: zlib-devel Requires: ocaml
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2020-03-09 15:22:53 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.26092 (New) Package is "ocaml-lablgtk2" Mon Mar 9 15:22:53 2020 rev:17 rq:778949 version:2.18.10 Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2020-02-06 13:09:09.152366417 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.26092/ocaml-lablgtk2.changes 2020-03-09 15:22:54.880185205 +0100 @@ -1,0 +2,6 @@ +Thu Feb 20 20:20:20 UTC 2020 - oher...@suse.de + +- Require current ocaml-rpm-macros +- Remove bogus Requires/Provides override + +--- Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.gphLW8/_old 2020-03-09 15:22:55.608185532 +0100 +++ /var/tmp/diff_new_pack.gphLW8/_new 2020-03-09 15:22:55.612185533 +0100 @@ -19,7 +19,7 @@ Version:2.18.10 Release:0 %{?ocaml_preserve_bytecode} -%global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types +%global __ocaml_requires_opts -i GtkSourceView2_types Name: ocaml-lablgtk2 Source0:%{name}-%{version}.tar.xz BuildRequires: gtk2-devel @@ -31,7 +31,7 @@ BuildRequires: ocaml BuildRequires: ocaml-findlib BuildRequires: ocaml-lablgl-devel -BuildRequires: ocaml-rpm-macros >= 20191101 +BuildRequires: ocaml-rpm-macros >= 20200220 BuildRequires: xorg-x11 BuildRequires: zlib-devel Requires: ocaml @@ -93,20 +93,16 @@ %install %makeinstall # Remove ld.conf (part of main OCaml dist). -rm $RPM_BUILD_ROOT%{_libdir}/ocaml/ld.conf +rm $RPM_BUILD_ROOT%{ocaml_standard_library}/ld.conf # %ocaml_create_file_list -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %files -f %{name}.files %doc CHANGES README %{_bindir}/* %files devel -f %{name}.files.devel -%{_libdir}/ocaml/*/propcc -%{_libdir}/ocaml/*/varcc +%{ocaml_standard_library}/*/propcc +%{ocaml_standard_library}/*/varcc %changelog
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2020-02-06 13:08:59 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.26092 (New) Package is "ocaml-lablgtk2" Thu Feb 6 13:08:59 2020 rev:16 rq:770453 version:2.18.10 Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2019-11-27 13:52:41.892402163 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.26092/ocaml-lablgtk2.changes 2020-02-06 13:09:09.152366417 +0100 @@ -1,0 +2,6 @@ +Thu Jan 30 07:07:07 UTC 2020 - oher...@suse.de + +- Update to version 2.18.10. + prepare for ocaml-4.10 + +--- Old: ocaml-lablgtk2-2.18.8.tar.xz New: ocaml-lablgtk2-2.18.10.tar.xz Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.3HxYDY/_old 2020-02-06 13:09:09.900366824 +0100 +++ /var/tmp/diff_new_pack.3HxYDY/_new 2020-02-06 13:09:09.904366827 +0100 @@ -16,7 +16,7 @@ # -Version:2.18.8 +Version:2.18.10 Release:0 %{?ocaml_preserve_bytecode} %global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types ++ _service ++ --- /var/tmp/diff_new_pack.3HxYDY/_old 2020-02-06 13:09:09.936366843 +0100 +++ /var/tmp/diff_new_pack.3HxYDY/_new 2020-02-06 13:09:09.936366843 +0100 @@ -2,9 +2,9 @@ https://github.com/garrigue/lablgtk.git git -2.18.8 - -lablgtk2188 +@PARENT_TAG@ + +d66addf4e9dc5ed489e85529475645996afa68a8 ocaml-lablgtk2 .cvsignore applications ++ ocaml-lablgtk2-2.18.8.tar.xz -> ocaml-lablgtk2-2.18.10.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-lablgtk2-2.18.8/CHANGES new/ocaml-lablgtk2-2.18.10/CHANGES --- old/ocaml-lablgtk2-2.18.8/CHANGES 2019-04-25 09:50:10.0 +0200 +++ new/ocaml-lablgtk2-2.18.10/CHANGES 2020-01-23 15:38:11.0 +0100 @@ -1,5 +1,21 @@ LablGTK changes log +In Lablgtk-2.18.10: + +2020.01.23 [Jacques] + * headers changed again in ocaml 4.10.0beta2 + * fix C compilation warnings + * fix SourceMarkAttributes.new_attribute + +In Lablgtk-2.18.9: + +2020.01.13 [Jacques] + * release new version, du to C header changes in ocaml 4.10 + * fix example for sourceview2 (#66) [Pieter Goetschalckx] + +2019.11.27 [Jacques] + * remove declaration of young_start for ocaml 4.10 (#93) + In Lablgtk-2.18.8: 2019.4.25 [Jacques] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-lablgtk2-2.18.8/README new/ocaml-lablgtk2-2.18.10/README --- old/ocaml-lablgtk2-2.18.8/README2019-04-25 09:50:10.0 +0200 +++ new/ocaml-lablgtk2-2.18.10/README 2020-01-23 15:38:11.0 +0100 @@ -1,5 +1,5 @@ - LablGTK2 2.18.8 : an interface to the GIMP Tool Kit + LablGTK2 2.18.10 : an interface to the GIMP Tool Kit Needed: ocaml-4.05 or more diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-lablgtk2-2.18.8/src/ml_gdk.c new/ocaml-lablgtk2-2.18.10/src/ml_gdk.c --- old/ocaml-lablgtk2-2.18.8/src/ml_gdk.c 2019-04-25 09:50:10.0 +0200 +++ new/ocaml-lablgtk2-2.18.10/src/ml_gdk.c 2020-01-23 15:38:11.0 +0100 @@ -57,7 +57,7 @@ CAMLprim void ml_raise_gdk (const char *errmsg) { - static value * exn = NULL; + static const value * exn = NULL; if (exn == NULL) exn = caml_named_value ("gdkerror"); raise_with_string (*exn, (char*)errmsg); @@ -478,7 +478,7 @@ switch (format) { case 8: data = alloc_string (nitems); -memcpy (String_val(data), xdata, sizeof(char) * nitems); +memcpy (Bytes_val(data), xdata, sizeof(char) * nitems); tag = MLTAG_BYTES; break; case 16: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-lablgtk2-2.18.8/src/ml_gdkpixbuf.c new/ocaml-lablgtk2-2.18.10/src/ml_gdkpixbuf.c --- old/ocaml-lablgtk2-2.18.8/src/ml_gdkpixbuf.c2019-04-25 09:50:10.0 +0200 +++ new/ocaml-lablgtk2-2.18.10/src/ml_gdkpixbuf.c 2020-01-23 15:38:11.0 +0100 @@ -304,9 +304,9 @@ { char *s; value pair = Field(cell, 0); - s = String_val(Field(pair, 0)); + s = Bytes_val(Field(pair, 0)); *opt_k[i] = copy ? g_strdup (s) : s; - s = String_val(Field(pair, 1)); + s = Bytes_val(Field(pair, 1)); *opt_v[i] = copy ? g_strdup (s) : s; cell = Field(cell, 1); } @@ -345,7 +345,7 @@ value *cb = data; value res, s;
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2019-11-27 13:52:28 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.26869 (New) Package is "ocaml-lablgtk2" Wed Nov 27 13:52:28 2019 rev:15 rq:746703 version:2.18.8 Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2018-05-29 10:39:23.692728124 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.26869/ocaml-lablgtk2.changes 2019-11-27 13:52:41.892402163 +0100 @@ -1,0 +2,27 @@ +Fri Nov 1 12:34:56 UTC 2019 - oher...@suse.de + +- Require current rpm macros +- Use _service file + +--- +Wed Oct 30 21:56:14 UTC 2019 - Aaron Puchert + +- Update to version 2.18.6. + * finish transition for applications subdirectory. + * prepare for 4.06: -safe-string transition and warnings. +- Update to version 2.18.7. + * Support property "expand" of GtkTreeViewColumn. + * ensure we compile on ocaml 4.05. + * put examples explicitly in the public domain. + * In GToolbox, add support for declaring dialogs transient for a +parent. + * Add some properties to GText.tag + * Add require for threads in META +- Update to version 2.18.8. + * remove -warn-error to allow compilation on future versions of +ocaml + * mark Gdk.PointArray.t and Gdk.SegmentArray.t as [@@ boxed] +- Change License to LGPL-2.1-only, as indicated by file headers. +- Remove non-free applications subdirectory. + +--- Old: lablgtk-2.18.5.tar.gz New: _service ocaml-lablgtk2-2.18.8.tar.xz Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.F1GXtv/_old 2019-11-27 13:52:43.572400769 +0100 +++ /var/tmp/diff_new_pack.F1GXtv/_new 2019-11-27 13:52:43.576400765 +0100 @@ -12,16 +12,16 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Version:2.18.5 +Version:2.18.8 Release:0 %{?ocaml_preserve_bytecode} %global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types Name: ocaml-lablgtk2 -Source0:lablgtk-%{version}.tar.gz +Source0:%{name}-%{version}.tar.xz BuildRequires: gtk2-devel BuildRequires: gtksourceview2-devel BuildRequires: gtkspell-devel @@ -29,10 +29,9 @@ BuildRequires: libgnomecanvas-devel BuildRequires: librsvg-devel BuildRequires: ocaml -BuildRequires: ocaml-camlp4-devel BuildRequires: ocaml-findlib BuildRequires: ocaml-lablgl-devel -BuildRequires: ocaml-rpm-macros >= 4.02.1 +BuildRequires: ocaml-rpm-macros >= 20191101 BuildRequires: xorg-x11 BuildRequires: zlib-devel Requires: ocaml @@ -40,10 +39,9 @@ Obsoletes: lablgtk2 < %{version} Provides: ocaml-lablgtk = %{version} Obsoletes: ocaml-lablgtk < %{version} -Url:http://lablgtk.forge.ocamlcore.org/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url:https://github.com/garrigue/lablgtk Summary:An Objective Caml Interface to gtk2+ -License:LGPL-2.1+ +License:LGPL-2.1-only Group: Development/Languages/OCaml %description @@ -53,16 +51,6 @@ level, which allows the interactive use of the library. - -Authors: - -Jacques Garrigue -Benjamin Monate -Olivier Andrieu -Jun Furuse -Hubert Fauque -Koji Kagawa - %package devel Summary:An Objective Caml interface to gtk2+ Group: Development/Languages/OCaml @@ -82,24 +70,13 @@ GTK2+. Objective Caml threads are supported, including for the top level, which allows for interactive use of the library. - - -Authors: - -Jacques Garrigue -Benjamin Monate -Olivier Andrieu -Jun Furuse -Hubert Fauque -Koji Kagawa - %prep -%setup -q -n lablgtk-%{version} +%autosetup -p1 + +%build 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 @@ -118,44 +95,17 @@ # Remove ld.conf (part of main OCaml dist). rm $RPM_BUILD_ROOT%{_libdir}/ocaml/ld.conf # -mkdir -vp %{buildroot}/etc/ld.so.conf.d/ -tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ -%{_libdir}/ocaml/lablgtk2 -_EOF_ -# +%ocaml_create_file_list %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files -%defattr(-, root,
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2018-05-29 10:39:17 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new (New) Package is "ocaml-lablgtk2" Tue May 29 10:39:17 2018 rev:14 rq:611147 version:2.18.5 Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2017-08-18 15:03:56.810017871 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2018-05-29 10:39:23.692728124 +0200 @@ -1,0 +2,5 @@ +Fri May 18 23:52:25 UTC 2018 - bjorn@gmail.com + +- Drop optional libgnomeui-devel BuildRequires. + +--- Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.BIvg2J/_old 2018-05-29 10:39:24.524697410 +0200 +++ /var/tmp/diff_new_pack.BIvg2J/_new 2018-05-29 10:39:24.528697262 +0200 @@ -27,7 +27,6 @@ BuildRequires: gtkspell-devel BuildRequires: libglade2-devel BuildRequires: libgnomecanvas-devel -BuildRequires: libgnomeui-devel BuildRequires: librsvg-devel BuildRequires: ocaml BuildRequires: ocaml-camlp4-devel
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2017-08-18 15:03:49 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new (New) Package is "ocaml-lablgtk2" Fri Aug 18 15:03:49 2017 rev:13 rq:517023 version:2.18.5 Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2017-06-02 10:34:07.585172992 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2017-08-18 15:03:56.810017871 +0200 @@ -1,0 +2,21 @@ +Tue Jul 25 13:04:54 UTC 2017 - oher...@suse.de + +- Use Group: Development/Languages/OCaml + +--- +Mon Jul 17 20:24:18 UTC 2017 - oher...@suse.de + +- update to 2.18.5 + See included CHANGES for details + +--- +Mon Jul 17 12:48:58 UTC 2017 - oher...@suse.de + +- Wrap specfile conditionals to fix quilt setup + +--- +Mon Jul 17 10:48:58 UTC 2017 - oher...@suse.de + +- Remove autodeps for pre openSUSE 12.1 releases + +--- Old: lablgtk-2.18.3.tar.gz New: lablgtk-2.18.5.tar.gz Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.tGumE5/_old 2017-08-18 15:03:59.413651166 +0200 +++ /var/tmp/diff_new_pack.tGumE5/_new 2017-08-18 15:03:59.437647786 +0200 @@ -1,7 +1,7 @@ # # spec file for package ocaml-lablgtk2 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX 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,18 +16,14 @@ # -Version:2.18.3 +Version:2.18.5 Release:0 -%{ocaml_preserve_bytecode} +%{?ocaml_preserve_bytecode} %global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types Name: ocaml-lablgtk2 Source0:lablgtk-%{version}.tar.gz BuildRequires: gtk2-devel -%if %suse_version <= 1140 -BuildRequires: gtksourceview18-devel -%else BuildRequires: gtksourceview2-devel -%endif BuildRequires: gtkspell-devel BuildRequires: libglade2-devel BuildRequires: libgnomecanvas-devel @@ -47,15 +43,9 @@ Obsoletes: ocaml-lablgtk < %{version} Url:http://lablgtk.forge.ocamlcore.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build -# ocaml autodep start for pkg: ocaml-lablgtk2 -# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires -%if 0%{?suse_version} < 1210 -Requires: ocaml-runtime -%endif -# ocaml autodep end for pkg: ocaml-lablgtk2 Summary:An Objective Caml Interface to gtk2+ License:LGPL-2.1+ -Group: Development/Libraries/Other +Group: Development/Languages/OCaml %description LablGTK2 uses the rich type system of Objective Caml 3 to provide a @@ -75,14 +65,8 @@ Koji Kagawa %package devel -# ocaml autodep start for pkg: ocaml-lablgtk2-devel -# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires -%if 0%{?suse_version} < 1210 -Requires: ocaml-runtime -%endif -# ocaml autodep end for pkg: ocaml-lablgtk2-devel Summary:An Objective Caml interface to gtk2+ -Group: Development/Libraries/Other +Group: Development/Languages/OCaml Provides: lablgtk2-devel = %{version} Obsoletes: lablgtk2-devel < %{version} Provides: ocaml-lablgtk-devel = %{version} @@ -90,10 +74,7 @@ Provides: lablgtk2:/usr/lib/ocaml/lablgtk2/glib.cmi Requires: %{name} = %{version} Requires: gtk2-devel -Requires: gtksourceview18-devel -%if %suse_version >= 1210 Requires: gtksourceview2-devel -%endif Requires: libgnomecanvas-devel %description devel @@ -124,7 +105,7 @@ make configure %configure --with-gnomecanvas make world -%if %{ocaml_native_compiler} +%if 0%{?ocaml_native_compiler} make opt pushd src make lablgtk.cmxa @@ -153,7 +134,7 @@ %doc CHANGES COPYING README examples /etc/ld.so.conf.d/*.conf %{_bindir}/* -%if %{ocaml_native_compiler} +%if 0%{?ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmxs %endif %{_libdir}/ocaml/*/*.so @@ -164,7 +145,7 @@ %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* %{_libdir}/ocaml/*/*.a -%if %{ocaml_native_compiler} +%if 0%{?ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmx %{_libdir}/ocaml/*/*.cmxa %{_libdir}/ocaml/*/*.o ++ lablgtk-2.18.3.tar.gz -> lablgtk-2.18.5.tar.gz ++ 4471 l
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2017-06-02 10:33:32 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new (New) Package is "ocaml-lablgtk2" Fri Jun 2 10:33:32 2017 rev:12 rq:500342 version:2.18.3 Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2016-07-15 12:46:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2017-06-02 10:34:07.585172992 +0200 @@ -1,0 +2,7 @@ +Wed May 31 22:07:09 UTC 2017 - zai...@opensuse.org + +- Change conditional to only apply gtksourceview18-devel + BuildRequires for SLE 11 and openSUSE 11.4 and older versions of + openSUSE. + +--- Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.zmbP4E/_old 2017-06-02 10:34:08.812999508 +0200 +++ /var/tmp/diff_new_pack.zmbP4E/_new 2017-06-02 10:34:08.812999508 +0200 @@ -23,8 +23,9 @@ Name: ocaml-lablgtk2 Source0:lablgtk-%{version}.tar.gz BuildRequires: gtk2-devel +%if %suse_version <= 1140 BuildRequires: gtksourceview18-devel -%if %suse_version >= 1210 +%else BuildRequires: gtksourceview2-devel %endif BuildRequires: gtkspell-devel
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2016-07-15 12:46:25 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 2015-07-08 06:59:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2016-07-15 12:46:37.0 +0200 @@ -1,0 +2,5 @@ +Tue Nov 10 10:18:47 UTC 2015 - oher...@suse.de + +- Add hardcoded Provides for pre 12.1 repos + +--- Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.LUgHUu/_old 2016-07-15 12:46:39.0 +0200 +++ /var/tmp/diff_new_pack.LUgHUu/_new 2016-07-15 12:46:39.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ocaml-lablgtk2 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -46,6 +46,12 @@ Obsoletes: ocaml-lablgtk < %{version} Url:http://lablgtk.forge.ocamlcore.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build +# ocaml autodep start for pkg: ocaml-lablgtk2 +# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires +%if 0%{?suse_version} < 1210 +Requires: ocaml-runtime +%endif +# ocaml autodep end for pkg: ocaml-lablgtk2 Summary:An Objective Caml Interface to gtk2+ License:LGPL-2.1+ Group: Development/Libraries/Other @@ -68,6 +74,12 @@ Koji Kagawa %package devel +# ocaml autodep start for pkg: ocaml-lablgtk2-devel +# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires +%if 0%{?suse_version} < 1210 +Requires: ocaml-runtime +%endif +# ocaml autodep end for pkg: ocaml-lablgtk2-devel Summary:An Objective Caml interface to gtk2+ Group: Development/Libraries/Other Provides: lablgtk2-devel = %{version} @@ -124,33 +136,46 @@ %makeinstall # Remove ld.conf (part of main OCaml dist). rm $RPM_BUILD_ROOT%{_libdir}/ocaml/ld.conf +# +mkdir -vp %{buildroot}/etc/ld.so.conf.d/ +tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ +%{_libdir}/ocaml/lablgtk2 +_EOF_ +# + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc CHANGES COPYING README examples +/etc/ld.so.conf.d/*.conf %{_bindir}/* -%dir %{_libdir}/ocaml/lablgtk2 -%{_libdir}/ocaml/lablgtk2/* %if %{ocaml_native_compiler} -%exclude %{_libdir}/ocaml/lablgtk2/*.a -%exclude %{_libdir}/ocaml/lablgtk2/*.cmx -%exclude %{_libdir}/ocaml/lablgtk2/*.cmxa -%endif -%exclude %{_libdir}/ocaml/lablgtk2/*.h -%exclude %{_libdir}/ocaml/lablgtk2/*.ml -%exclude %{_libdir}/ocaml/lablgtk2/*.mli +%{_libdir}/ocaml/*/*.cmxs +%endif +%{_libdir}/ocaml/*/*.so %files devel %defattr(-, root, root) %doc examples -%dir %{_libdir}/ocaml/lablgtk2 +%dir %{_libdir}/ocaml +%dir %{_libdir}/ocaml/* +%{_libdir}/ocaml/*/*.a %if %{ocaml_native_compiler} -%{_libdir}/ocaml/lablgtk2/*.a -%{_libdir}/ocaml/lablgtk2/*.cmx -%{_libdir}/ocaml/lablgtk2/*.cmxa -%endif -%{_libdir}/ocaml/lablgtk2/*.h -%{_libdir}/ocaml/lablgtk2/*.ml -%{_libdir}/ocaml/lablgtk2/*.mli +%{_libdir}/ocaml/*/*.cmx +%{_libdir}/ocaml/*/*.cmxa +%{_libdir}/ocaml/*/*.o +%endif +%{_libdir}/ocaml/*/*.cma +%{_libdir}/ocaml/*/*.cmi +%{_libdir}/ocaml/*/*.cmo +%{_libdir}/ocaml/*/*.h +%{_libdir}/ocaml/*/*.ml +%{_libdir}/ocaml/*/*.mli +%{_libdir}/ocaml/*/META +%{_libdir}/ocaml/*/propcc +%{_libdir}/ocaml/*/varcc %changelog
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2015-07-08 06:59:11 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 2014-11-14 09:18:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2015-07-08 06:59:12.0 +0200 @@ -1,0 +2,5 @@ +Tue Jun 23 11:47:29 UTC 2015 - oher...@suse.de + +- update to 2.18.3 + +--- Old: lablgtk-2.18.2.tar.gz New: lablgtk-2.18.3.tar.gz Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.we6N8k/_old 2015-07-08 06:59:13.0 +0200 +++ /var/tmp/diff_new_pack.we6N8k/_new 2015-07-08 06:59:13.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ocaml-lablgtk2 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX 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,7 +16,7 @@ # -Version:2.18.2 +Version:2.18.3 Release:0 %{ocaml_preserve_bytecode} %global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types ++ lablgtk-2.18.2.tar.gz -> lablgtk-2.18.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lablgtk-2.18.2/.gitignore new/lablgtk-2.18.3/.gitignore --- old/lablgtk-2.18.2/.gitignore 1970-01-01 01:00:00.0 +0100 +++ new/lablgtk-2.18.3/.gitignore 2014-10-29 08:51:05.0 +0100 @@ -0,0 +1,10 @@ +config.make +config.cache +config.status +config.log +configure.lineno +aclocal.m4 +autom4te.cache +test_dynlink.* +*~ +*.sw[po] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lablgtk-2.18.2/CHANGES new/lablgtk-2.18.3/CHANGES --- old/lablgtk-2.18.2/CHANGES 2014-09-18 08:47:06.0 +0200 +++ new/lablgtk-2.18.3/CHANGES 2014-10-29 08:51:05.0 +0100 @@ -1,5 +1,19 @@ LablGTK changes log +In Lablgtk-2.18.3: + +2014.10.06 [Jacques] + * add Gdk.Window.create_foreign and set_transient_for functions (Tim Cuthbertson) + +2014.09.20 [Jacques] + * CAMLparam initializes with Val_unit rather than 0 since ocaml 4.02. +Fix a related problem in ml_gobject. +This caused random crashes with unison (Christopher Zimmermann, PR#1425) + + * Also factorize some code to use Val_option_* + * Replace XID by GdkNativeWindow where required. +You may need to insert calls to Gdk.Window.native_of_xid in some places. + In Lablgtk-2.18.2: 2014.09.17 [Jacques] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lablgtk-2.18.2/README new/lablgtk-2.18.3/README --- old/lablgtk-2.18.2/README 2014-09-18 08:47:06.0 +0200 +++ new/lablgtk-2.18.3/README 2014-10-29 08:51:05.0 +0100 @@ -1,5 +1,5 @@ - LablGTK2 2.18.2 : an interface to the GIMP Tool Kit + LablGTK2 2.18.3 : an interface to the GIMP Tool Kit Needed: ocaml-3.11 or more (4.02 is preferred) @@ -312,7 +312,7 @@ You can use lablgtk in combination with LablGL - * get and install lablGL 1.04 from + * get and install lablGL 1.05 from http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html * get and install gtkglarea-1.99.0.tar.gz from ftp://ftp.gnome.org/pub/gnome/sources/gtkglarea/1.99/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lablgtk-2.18.2/src/Makefile new/lablgtk-2.18.3/src/Makefile --- old/lablgtk-2.18.2/src/Makefile 2014-09-18 08:47:06.0 +0200 +++ new/lablgtk-2.18.3/src/Makefile 2014-10-29 08:51:06.0 +0100 @@ -17,6 +17,7 @@ DLLDIR = $(LIBDIR)/stublibs include $(CONFIG) +#GTKCFLAGS += -Werror -Wno-error=deprecated-declarations TARGETS = varcc$(XE) lablgtktop$(XE) lablgtk2$(XB) gdk_pixbuf_mlsource$(XE) \ $(THINITOBJS) build.ml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lablgtk-2.18.2/src/gWindow.mli new/lablgtk-2.18.3/src/gWindow.mli --- old/lablgtk-2.18.2/src/gWindow.mli 2014-09-18 08:47:06.0 +0200 +++ new/lablgtk-2.18.3/src/gWindow.mli 2014-10-29 08:51:06.0 +0100 @@ -585,7 +585,7 @@ (** @gtkdoc gtk GtkPlug *) val plug : - window:Gdk.xid -> + window:Gdk.native_window -> ?border_width:int -> ?width:int -> ?height:int -> ?show:bo
commit ocaml-lablgtk2 for openSUSE:Factory
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.0 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2014-11-14 09:18:47.0 +0100 @@ -1,0 +2,73 @@ +Thu Oct 23 12:40:36 UTC 2014 - oher...@suse.de + +- BuildRequire ocaml-rpm-macros + +--- +Sat Sep 27 15:19:24 UTC 2014 - peter.tromm...@ohm-hochschule.de + +- 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.0 +0100 +++ /var/tmp/diff_new_pack.30WYoo/_new 2014-11-14 09:18:48.0 +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 @@
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2013-07-02 07:39:40 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-01-17 15:14:39.0 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2013-07-02 07:39:41.0 +0200 @@ -1,0 +2,5 @@ +Mon Jun 3 09:23:34 CEST 2013 - oher...@suse.de + +- Recompress with xz + +--- Old: lablgtk-2.14.2.tar.bz2 New: lablgtk-2.14.2.tar.xz Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.zlOxZA/_old 2013-07-02 07:39:42.0 +0200 +++ /var/tmp/diff_new_pack.zlOxZA/_new 2013-07-02 07:39:42.0 +0200 @@ -41,7 +41,7 @@ Requires: ocaml Version:2.14.2 Release:0 -Source0:lablgtk-%{version}.tar.bz2 +Source0:lablgtk-%{version}.tar.xz Provides: lablgtk2 = %{version} Obsoletes: lablgtk2 < %{version} Provides: ocaml-lablgtk = %{version} @@ -51,10 +51,6 @@ Summary:An Objective Caml Interface to gtk2+ License:LGPL-2.1+ Group: Development/Libraries/Other -%if "%{?_ignore_exclusive_arch}" != "" -%else -ExclusiveArch: %ix86 x86_64 -%endif %global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types @@ -109,7 +105,6 @@ Koji Kagawa %prep -: _ignore_exclusive_arch '%{?_ignore_exclusive_arch}' %setup -q -n lablgtk-%{version} find -name ".cvsignore" | xargs rm -v -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2013-01-17 15:14:37 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new (New) Package is "ocaml-lablgtk2", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2013-01-14 09:43:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2013-01-17 15:14:39.0 +0100 @@ -1,0 +2,10 @@ +Wed Jan 16 16:03:19 CET 2013 - oher...@suse.de + +- disable also /usr/lib/rpm/find-debuginfo.sh + +--- +Mon Jan 14 15:58:16 CET 2013 - oher...@suse.de + +- disable strip, it destroys bytecode binaries + +--- Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.5kLol1/_old 2013-01-17 15:14:41.0 +0100 +++ /var/tmp/diff_new_pack.5kLol1/_new 2013-01-17 15:14:41.0 +0100 @@ -17,6 +17,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 Name: ocaml-lablgtk2 BuildRequires: gtk2-devel @@ -45,7 +51,7 @@ Summary:An Objective Caml Interface to gtk2+ License:LGPL-2.1+ Group: Development/Libraries/Other -%if "%{_ignore_exclusive_arch}" != "" +%if "%{?_ignore_exclusive_arch}" != "" %else ExclusiveArch: %ix86 x86_64 %endif @@ -103,7 +109,7 @@ Koji Kagawa %prep -: _ignore_exclusive_arch '%{_ignore_exclusive_arch}' +: _ignore_exclusive_arch '%{?_ignore_exclusive_arch}' %setup -q -n lablgtk-%{version} find -name ".cvsignore" | xargs rm -v @@ -122,6 +128,11 @@ %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 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2013-01-14 09:43:35 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new (New) Package is "ocaml-lablgtk2", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2012-11-14 16:52:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2013-01-14 09:43:36.0 +0100 @@ -1,0 +2,5 @@ +Wed Jan 2 17:06:58 CET 2013 - oher...@suse.de + +- update specfile to handle disabled do_opt variable + +--- Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.WCHop0/_old 2013-01-14 09:43:37.0 +0100 +++ /var/tmp/diff_new_pack.WCHop0/_new 2013-01-14 09:43:37.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package ocaml-lablgtk2 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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,6 +16,8 @@ # +%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) + Name: ocaml-lablgtk2 BuildRequires: gtk2-devel BuildRequires: gtksourceview18-devel @@ -43,6 +45,10 @@ Summary:An Objective Caml Interface to gtk2+ License:LGPL-2.1+ Group: Development/Libraries/Other +%if "%{_ignore_exclusive_arch}" != "" +%else +ExclusiveArch: %ix86 x86_64 +%endif %global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types @@ -97,6 +103,7 @@ Koji Kagawa %prep +: _ignore_exclusive_arch '%{_ignore_exclusive_arch}' %setup -q -n lablgtk-%{version} find -name ".cvsignore" | xargs rm -v @@ -104,13 +111,14 @@ export CFLAGS="$RPM_OPT_FLAGS" make configure %configure --with-gnomecanvas -make world opt -%ifnarch ppc64 s390 s390x -cd src +make world +%if %opt +make opt +pushd src make lablgtk.cmxa make lablrsvg.cmxa make gtkInit.cmx -cd .. +popd %endif %install @@ -126,9 +134,11 @@ %{_bindir}/* %dir %{_libdir}/ocaml/lablgtk2 %{_libdir}/ocaml/lablgtk2/* +%if %opt %exclude %{_libdir}/ocaml/lablgtk2/*.a %exclude %{_libdir}/ocaml/lablgtk2/*.cmx %exclude %{_libdir}/ocaml/lablgtk2/*.cmxa +%endif %exclude %{_libdir}/ocaml/lablgtk2/*.h %exclude %{_libdir}/ocaml/lablgtk2/*.ml %exclude %{_libdir}/ocaml/lablgtk2/*.mli @@ -138,9 +148,11 @@ %doc examples %dir %{_libdir}/ocaml/lablgtk2 %{_libdir}/ocaml/stublibs +%if %opt %{_libdir}/ocaml/lablgtk2/*.a %{_libdir}/ocaml/lablgtk2/*.cmx %{_libdir}/ocaml/lablgtk2/*.cmxa +%endif %{_libdir}/ocaml/lablgtk2/*.h %{_libdir}/ocaml/lablgtk2/*.ml %{_libdir}/ocaml/lablgtk2/*.mli -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ocaml-lablgtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2012-11-14 16:52:29 Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new (New) Package is "ocaml-lablgtk2", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2012-09-23 21:08:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2012-11-14 16:52:31.0 +0100 @@ -1,0 +2,17 @@ +Mon Nov 12 15:10:39 CET 2012 - oher...@suse.de + +- BR gtksourceview2-devel in 12.1 and later + +--- +Mon Nov 12 15:06:34 CET 2012 - oher...@suse.de + +- remove gtksourceview-devel from BuilrRequires, configure does + not check for version 3 +- require gtksourceview18-devel in devel subpackage + +--- +Sat Nov 10 06:30:19 UTC 2012 - peter.tromm...@ohm-hochschule.de + +- BR gtksourceview2-devel to provide lablgtksourceview2 + +--- Other differences: -- ++ ocaml-lablgtk2.spec ++ --- /var/tmp/diff_new_pack.YJuCZm/_old 2012-11-14 16:52:31.0 +0100 +++ /var/tmp/diff_new_pack.YJuCZm/_new 2012-11-14 16:52:31.0 +0100 @@ -18,8 +18,10 @@ Name: ocaml-lablgtk2 BuildRequires: gtk2-devel -BuildRequires: gtksourceview-devel BuildRequires: gtksourceview18-devel +%if %suse_version >= 1210 +BuildRequires: gtksourceview2-devel +%endif BuildRequires: gtkspell-devel BuildRequires: libglade2-devel BuildRequires: libgnomecanvas-devel @@ -71,7 +73,10 @@ Provides: lablgtk2:/usr/lib/ocaml/lablgtk2/glib.cmi Requires: %{name} = %{version} Requires: gtk2-devel -Requires: gtksourceview-devel +Requires: gtksourceview18-devel +%if %suse_version >= 1210 +Requires: gtksourceview2-devel +%endif Requires: libgnomecanvas-devel %description devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org