- Removed gnome-1.x BuildRequires
- Removed BuildRequires not explicitly mentioned in the configure script (These are dragged in through dependencies.) - Fix a gcc4 error about lvalue casting.
This commit is contained in:
parent
f3b9f3d96f
commit
865c9bca73
11
lablgtk-gcc4.patch
Normal file
11
lablgtk-gcc4.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- lablgtk-2.4.0/src/ml_panel.c.gcc4 2005-05-10 06:05:10.000000000 -0400
|
||||||
|
+++ lablgtk-2.4.0/src/ml_panel.c 2005-05-10 06:07:36.000000000 -0400
|
||||||
|
@@ -128,7 +128,7 @@
|
||||||
|
static void weak_notify(gpointer data, GObject *applet)
|
||||||
|
{
|
||||||
|
value *glob_root = data;
|
||||||
|
- Pointer_val(*glob_root) = NULL;
|
||||||
|
+ Field(*glob_root, 1) = (long)NULL;
|
||||||
|
ml_global_root_destroy(glob_root);
|
||||||
|
}
|
||||||
|
|
19
lablgtk.spec
19
lablgtk.spec
@ -1,6 +1,6 @@
|
|||||||
Name: lablgtk
|
Name: lablgtk
|
||||||
Version: 2.4.0
|
Version: 2.4.0
|
||||||
Release: 4
|
Release: 5
|
||||||
|
|
||||||
Summary: Objective Caml interface to gtk+
|
Summary: Objective Caml interface to gtk+
|
||||||
|
|
||||||
@ -8,14 +8,18 @@ Group: System Environment/Libraries
|
|||||||
License: LGPL
|
License: LGPL
|
||||||
URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
|
URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
|
||||||
Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-2.4.0.tar.gz
|
Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-2.4.0.tar.gz
|
||||||
|
Patch0: lablgtk-gcc4.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: ocaml >= 3.08
|
Requires: ocaml >= 3.08
|
||||||
%{?_with_gl:Requires: lablgl >= 1.00}
|
%{?_with_gl:Requires: lablgl >= 1.00}
|
||||||
BuildRequires: ocaml >= 3.08, camlp4 >= 3.08
|
BuildRequires: ocaml >= 3.08, camlp4 >= 3.08
|
||||||
|
# lablgtk can generate quite extensive documentation.
|
||||||
|
# Probably should enable this and create a subpackage for it.
|
||||||
|
#BuildRequires: ocaml-ocamldoc
|
||||||
%{?_with_gl:BuildRequires: lablgl >= 1.00, gtkglarea2-devel}
|
%{?_with_gl:BuildRequires: lablgl >= 1.00, gtkglarea2-devel}
|
||||||
BuildRequires: gtk2-devel, libglade-devel, gdk-pixbuf-devel
|
BuildRequires: gtk2-devel
|
||||||
BuildRequires: librsvg2-devel, libcroco-devel
|
BuildRequires: libglade2-devel
|
||||||
BuildRequires: libbonobo-devel, bonobo-activation-devel, GConf2-devel
|
BuildRequires: librsvg2-devel
|
||||||
BuildRequires: libgnomeui-devel, libgnomecanvas-devel, gnome-panel-devel
|
BuildRequires: libgnomeui-devel, libgnomecanvas-devel, gnome-panel-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -28,6 +32,7 @@ gtk+.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .gcc4
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure %{?_with_gl: --with-gl} %{!?_with_gl: --without-gl} --enable-debug
|
%configure %{?_with_gl: --with-gl} %{!?_with_gl: --without-gl} --enable-debug
|
||||||
@ -56,6 +61,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc examples
|
%doc examples
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 22 2005 Toshio Kuratomi <toshio-iki-lounge.com> - 2.4.0-5
|
||||||
|
- Removed gnome-1.x BuildRequires
|
||||||
|
- Removed BuildRequires not explicitly mentioned in the configure script
|
||||||
|
(These are dragged in through dependencies.)
|
||||||
|
- Fix a gcc4 error about lvalue casting.
|
||||||
|
|
||||||
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 2.4.0-4
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 2.4.0-4
|
||||||
- rebuild on all arches
|
- rebuild on all arches
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user