rpms/guile-gnome-platform/FC-6 guile-gnome-allowed-options.patch, NONE, 1.1 guile-gnome-platform.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Xavier LAMIEN (laxathom)
fedora-extras-commits at redhat.com
Wed Oct 3 21:05:36 UTC 2007
- Previous message (by thread): rpms/guile-gnome-platform/F-7 guile-gnome-allowed-options.patch, NONE, 1.1 guile-gnome-platform.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/guile-gnome-platform/EL-5 guile-gnome-allowed-options.patch, NONE, 1.1 guile-gnome-platform.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: laxathom
Update of /cvs/pkgs/rpms/guile-gnome-platform/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31875/FC-6
Modified Files:
.cvsignore sources
Added Files:
guile-gnome-allowed-options.patch guile-gnome-platform.spec
Log Message:
Imported
guile-gnome-allowed-options.patch:
--- NEW FILE guile-gnome-allowed-options.patch ---
--- guile-gnome-platform-2.15.93/glib/gnome/gw/support/gobject.scm.false 2007-08-19 17:42:53.000000000 +0200
+++ guile-gnome-platform-2.15.93/glib/gnome/gw/support/gobject.scm 2007-08-19 17:48:04.000000000 +0200
@@ -194,7 +194,8 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Wrap objects.
-(define-class <gobject-object-type> (<gobject-classed-pointer-type>))
+(define-class <gobject-object-type> (<gobject-classed-pointer-type>)
+ #:allowed-options '(null-ok))
(define-method (unwrap-null-checked (value <gw-value>)
status-var
@@ -246,7 +247,8 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Wrap boxed types, represented on the scheme side by GValues.
-(define-class <gobject-boxed-type> (<gobject-classed-pointer-type>))
+(define-class <gobject-boxed-type> (<gobject-classed-pointer-type>)
+ #:allowed-options '(null-ok))
(define-method (make-typespec (type <gobject-boxed-type>) (options <list>))
(next-method type (cons 'unspecialized options)))
@@ -350,7 +352,8 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Wrap interfaces. We only understand interfaces implemented by objects.
-(define-class <gobject-interface-type> (<gobject-classed-pointer-type>))
+(define-class <gobject-interface-type> (<gobject-classed-pointer-type>)
+ #:allowed-options '(null-ok))
(define-method (wrap-interface! (ws <gobject-wrapset-base>) . args)
(let ((type (apply make <gobject-interface-type> args)))
@@ -516,10 +519,6 @@
#:c-const-type-name (string-append "const " ctype))))
(add-type-alias! ws ctype (name type))))
-(for-each (lambda (null-ok-class)
- (class-slot-set! null-ok-class 'allowed-options '(null-ok)))
- (list <gobject-object-type> <gobject-boxed-type>
- <gobject-interface-type>))
;; Used for functions that operate on classes, e.g.
;; gtk_widget_class_install_style_property,
--- NEW FILE guile-gnome-platform.spec ---
Name: guile-gnome-platform
Version: 2.15.93
Release: 6%{?dist}
Summary: Guile wrapper collection for the GNOME library stack
Group: Applications/System
License: GPLv2
URL: http://www.gnu.org/software/guile-gnome/
Source0: http://ftp.gnu.org/pub/gnu/guile-gnome/%{name}/%{name}-%{version}.tar.gz
Patch0: guile-gnome-allowed-options.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: ppc64
BuildRequires: guile-cairo-devel
BuildRequires: g-wrap-devel >= 1.8.9
BuildRequires: libgnomeui-devel, glibc
Requires: guile
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%description
The guile-gnome project brings the power of Scheme to your graphical
application. guile-gnome modules support the entire GNOME library
stack: from Pango to GnomeCanvas, GTK+ to GStreamer, Glade to
GtkSourceView, you will find in guile-gnome a comprehensive
environment for developing modern applications.
%package devel
Summary: Libraries and header files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: g-wrap-devel, guile-cairo-devel
Requires: ORBit2-devel, pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
#Allowed options grom g-wrap-1.9.9
%patch0 -p1 -b .allowed-options
#Fix default paths
sed -i "s|local/||" glib/bin/guile-gnome.in
sed -i "s|share/guile|share/guile/site|" configure
sed -i "s|>= 2.18||" configure
sed -i "s|guile-gnome|guile-gnome-0|" defs/guile-gnome-defs.pc.in
#Fix OPTFLAGS on gtk/gnome/gw build
sed -i "s|CFLAGS = -g|CFLAGS = @CFLAGS@ -g|" gtk/gnome/gw/Makefile.in
%build
export LDFLAGS="-lORBit-2 -lbonobo-2"
%configure --disable-libtool-lock --disable-static --disable-Werror
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
#Remove .la files
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
#Remove deprecated file
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
/sbin/install-info %{_infodir}/guile-gnome-tutorial.info.gz %{_infodir}/dir || :
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/guile-gnome-tutorial.info.gz %{_infodir}/dir || :
fi
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README ChangeLog NEWS
%{_bindir}/*
%{_libdir}/*.so.*
%dir %{_libdir}/guile-gnome-0
%dir %{_libdir}/orbit-2.0
%{_libdir}/guile-gnome-0/*.so.*
%{_libdir}/orbit-2.0/*.so.*
%{_datadir}/guile-gnome-0
%{_datadir}/guile/site/gnome-0.scm
%{_infodir}/*.info.gz
%files devel
%defattr(-,root,root,-)
%doc HACKING
%{_libdir}/*.so
%{_libdir}/guile-gnome-0/*.so
%{_libdir}/orbit-2.0/*.so
%{_libdir}/pkgconfig/*
%{_includedir}/guile-gnome-0
%changelog
* Tue Sep 11 2007 XAvier Lamien < lxtnow[at]gmail.com > - 2.15.93-6
- linked missing libraries.
* Mon Sep 10 2007 Xavier Lamien < lxtnow[at]gmail.com > - 2.15.93-5
- Fixed optflags for gtk build.
- Enhanced requires.
* Sun Sep 02 2007 Xavier Lamien < lxtnow[at]gmail.com > - 2.15.93-4
- Exclude pcc64.
- Fixed Requires & default permissions on files.
* Mon Aug 27 2007 XAvier Lamien < lxtnow[at]gmail.com > - 2.15.93-3
- Add missing BR & Requires.
* Sun Aug 19 2007 Xavier Lamien < lxtnow[at]gmail.com > - 2.15.93-2
- Patched to build against g-wrap-1.9.9.
* Tue Jul 10 2007 Xavier Lamien < lxtnow[at]gmail.com > - 2.15.93-1
- Initial RPM Release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/guile-gnome-platform/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 12 Sep 2007 15:52:30 -0000 1.1
+++ .cvsignore 3 Oct 2007 21:05:04 -0000 1.2
@@ -0,0 +1 @@
+guile-gnome-platform-2.15.93.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/guile-gnome-platform/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 12 Sep 2007 15:52:30 -0000 1.1
+++ sources 3 Oct 2007 21:05:04 -0000 1.2
@@ -0,0 +1 @@
+c74e081f8312cdbd4a5bc62e8239203c guile-gnome-platform-2.15.93.tar.gz
- Previous message (by thread): rpms/guile-gnome-platform/F-7 guile-gnome-allowed-options.patch, NONE, 1.1 guile-gnome-platform.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/guile-gnome-platform/EL-5 guile-gnome-allowed-options.patch, NONE, 1.1 guile-gnome-platform.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list