From 6dc3365c5dbc7c976a9187a988d26093837033f4 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 6 Feb 2009 12:03:40 +0000 Subject: [PATCH] - New upstream version 2.12.0. - Patch to include gnome-ui-init.h. - gdk-pixbuf-mlsource was renamed gdk_pixbuf_mlsource (this will probably break things). --- ...-lablgtk-2.12.0-gnome-ui-init-header.patch | 11 +++++++++++ ocaml-lablgtk.spec | 19 ++++++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 ocaml-lablgtk-2.12.0-gnome-ui-init-header.patch diff --git a/ocaml-lablgtk-2.12.0-gnome-ui-init-header.patch b/ocaml-lablgtk-2.12.0-gnome-ui-init-header.patch new file mode 100644 index 0000000..fa3ad69 --- /dev/null +++ b/ocaml-lablgtk-2.12.0-gnome-ui-init-header.patch @@ -0,0 +1,11 @@ +diff -ur lablgtk-2.12.0.orig/src/ml_panel.c lablgtk-2.12.0/src/ml_panel.c +--- lablgtk-2.12.0.orig/src/ml_panel.c 2007-06-20 08:40:34.000000000 +0100 ++++ lablgtk-2.12.0/src/ml_panel.c 2009-02-06 11:46:19.000000000 +0000 +@@ -23,6 +23,7 @@ + #include + + #include ++#include + #include + + #include diff --git a/ocaml-lablgtk.spec b/ocaml-lablgtk.spec index 392a234..2b64b34 100644 --- a/ocaml-lablgtk.spec +++ b/ocaml-lablgtk.spec @@ -1,15 +1,19 @@ %define debug_package %{nil} Name: ocaml-lablgtk -Version: 2.10.1 -Release: 7%{?dist} +Version: 2.12.0 +Release: 1%{?dist} Summary: Objective Caml interface to gtk+ Group: System Environment/Libraries License: LGPLv2 with exceptions + URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-%{version}.tar.gz + +Patch0: ocaml-lablgtk-2.12.0-gnome-ui-init-header.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Obsoletes: lablgtk <= 2.6.0-7 @@ -68,6 +72,9 @@ developing applications that use %{name}. %prep %setup -q -n lablgtk-%{version} + +%patch0 -p1 + # version information in META file is wrong perl -pi -e 's|version="1.3.1"|version="%{version}"|' META @@ -117,7 +124,7 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/ocaml/lablgtk2/*.cmi %{_libdir}/ocaml/lablgtk2/*.cma %{_libdir}/ocaml/stublibs/*.so -%{_bindir}/gdk-pixbuf-mlsource +%{_bindir}/gdk_pixbuf_mlsource %{_bindir}/lablgladecc2 %{_bindir}/lablgtk2 @@ -148,6 +155,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Feb 6 2009 Richard W.M. Jones - 2.12.0-1 +- New upstream version 2.12.0. +- Patch to include gnome-ui-init.h. +- gdk-pixbuf-mlsource was renamed gdk_pixbuf_mlsource (this will + probably break things). + * Wed Nov 26 2008 Richard W.M. Jones - 2.10.1-7 - Rebuild for OCaml 3.11.0+rc1.