]> git.pld-linux.org Git - packages/clutter.git/commitdiff
- 1.6.4
authorPatryk Zawadzki <patrys@room-303.com>
Sat, 26 Feb 2011 10:27:07 +0000 (10:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- merged from DEVEL

Changed files:
    clutter.spec -> 1.41
    gtkdoc.patch -> 1.2
    missing.patch -> 1.2

clutter.spec
gtkdoc.patch [new file with mode: 0644]
missing.patch [new file with mode: 0644]

index bd8bbf6afc11456c8700d8972920cf459337f7d9..b1e752da66075381ba60ea69b36f47128f0b9376 100644 (file)
@@ -1,27 +1,30 @@
 Summary:       Library for rich GUIs
 Summary(pl.UTF-8):     Biblioteka do bogatych graficznych interfejsów użytkownika
 Name:          clutter
-Version:       1.4.2
+Version:       1.6.4
 Release:       1
 License:       LGPL v2+
 Group:         Libraries
-Source0:       http://www.clutter-project.org/sources/clutter/1.4/%{name}-%{version}.tar.bz2
-# Source0-md5: 5a3c6d8414d4e286aba0a936f344c9b1
+Source0:       http://www.clutter-project.org/sources/clutter/1.6/%{name}-%{version}.tar.bz2
+# Source0-md5: faa6c93e4761bfd47e48106abf9a17ca
+Patch0:                gtkdoc.patch
+Patch1:                missing.patch
 URL:           http://www.clutter-project.org/
 BuildRequires: OpenGL-GLX-devel
-BuildRequires: atk-devel >= 1:1.7
+BuildRequires: atk-devel >= 1.7
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1:1.11
-BuildRequires: cairo-devel >= 1.6
+BuildRequires: cairo-devel
+BuildRequires: cairo-gobject-devel >= 1.10
 BuildRequires: docbook-dtd412-xml
-BuildRequires: gdk-pixbuf2-devel >= 2.0
+BuildRequires: gdk-pixbuf2-devel
 BuildRequires: gettext-devel >= 0.17
-BuildRequires: glib2-devel >= 1:2.18.0
+BuildRequires: glib2-devel >= 1:2.26.0
 BuildRequires: gobject-introspection-devel >= 0.9.5
 BuildRequires: gtk-doc >= 1.13
-BuildRequires: json-glib-devel >= 0.10.4-3
-BuildRequires: libdrm-devel
-BuildRequires: libtool >= 2:2.2.6
+BuildRequires: json-glib-devel >= 0.12
+BuildRequires: libtool >= 2.2.6
+BuildRequires: libxslt-progs
 BuildRequires: pango-devel >= 1:1.20
 BuildRequires: pkgconfig
 BuildRequires: python-modules
@@ -31,8 +34,6 @@ BuildRequires:        xorg-lib-libXdamage-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXfixes-devel >= 4
 BuildRequires: xorg-lib-libXi-devel
-Requires:      glib2 >= 1:2.18.0
-Requires:      json-glib >= 0.10.4-3
 Obsoletes:     clutter-cairo < 1.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -64,12 +65,9 @@ Summary(pl.UTF-8):   Pliki nagłówkowe biblioteki clutter
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      OpenGL-GLX-devel
-Requires:      atk-devel >= 1:1.7
-Requires:      glib2-devel >= 1:2.18.0
-Requires:      gdk-pixbuf2-devel >= 2.0
-Requires:      json-glib-devel >= 0.10.4-3
-Requires:      libdrm-devel
-Requires:      pango-devel >= 1:1.20
+Requires:      glib2-devel >= 1:2.26
+Requires:      gtk+2-devel >= 1:2.0
+Requires:      json-glib-devel >= 0.8.0
 Requires:      xorg-lib-libX11-devel
 Requires:      xorg-lib-libXcomposite-devel >= 0.4
 Requires:      xorg-lib-libXdamage-devel
@@ -110,6 +108,8 @@ Dokumentacja API clutter.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %{__gtkdocize}
@@ -120,7 +120,8 @@ Dokumentacja API clutter.
 %{__automake}
 %configure \
        --disable-silent-rules \
-       --with-json=system \
+       --with-flavour=glx \
+       --enable-docs \
        --enable-gtk-doc \
        --enable-static \
        --with-html-dir=%{_gtkdocdir}
@@ -132,6 +133,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libclutter-glx-1.0.la
+
 %find_lang clutter-1.0
 
 %clean
@@ -142,7 +145,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f clutter-1.0.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
+%doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/libclutter-glx-1.0.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libclutter-glx-1.0.so.0
 %{_libdir}/girepository-1.0/Cally-1.0.typelib
@@ -153,7 +156,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libclutter-glx-1.0.so
-%{_libdir}/libclutter-glx-1.0.la
 %{_includedir}/clutter-1.0
 %{_datadir}/gir-1.0/Cally-1.0.gir
 %{_datadir}/gir-1.0/Clutter-1.0.gir
@@ -174,4 +176,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_gtkdocdir}/cally
 %{_gtkdocdir}/clutter
+%{_gtkdocdir}/clutter-cookbook
 %{_gtkdocdir}/cogl
diff --git a/gtkdoc.patch b/gtkdoc.patch
new file mode 100644 (file)
index 0000000..54a1df4
--- /dev/null
@@ -0,0 +1,10 @@
+--- clutter-1.5.12/doc/cookbook/Makefile.am.wiget      2011-01-13 21:36:43.193867420 +0100
++++ clutter-1.5.12/doc/cookbook/Makefile.am    2011-01-13 21:37:00.204413186 +0100
+@@ -4,7 +4,6 @@ SUBDIRS = examples
+ NULL =
+-HTML_DIR = $(datadir)/gtk-doc/html
+ TARGET_DIR = $(HTML_DIR)/clutter-cookbook
+ XML_FILES = \
diff --git a/missing.patch b/missing.patch
new file mode 100644 (file)
index 0000000..aad9084
--- /dev/null
@@ -0,0 +1,87 @@
+--- clutter-1.6.0/doc/cookbook/examples/cb-button.h.wiget      2011-02-03 14:52:55.838124992 +0100
++++ clutter-1.6.0/doc/cookbook/examples/cb-button.h    2011-02-03 14:53:12.305129788 +0100
+@@ -0,0 +1,84 @@
++/* inclusion guard */
++#ifndef __CB_BUTTON_H__
++#define __CB_BUTTON_H__
++
++/* include any dependencies */
++#include <clutter/clutter.h>
++
++/* GObject implementation */
++
++/* declare this function signature to remove compilation errors with -Wall;
++ * the cb_button_get_type() function is actually added via the
++ * G_DEFINE_TYPE macro in the .c file
++ */
++GType cb_button_get_type (void);
++
++/* GObject type macros */
++/* returns the class type identifier (GType) for CbButton */
++#define CB_TYPE_BUTTON            (cb_button_get_type ())
++
++/* cast obj to a CbButton object structure*/
++#define CB_BUTTON(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), CB_TYPE_BUTTON, CbButton))
++
++/* check whether obj is a CbButton */
++#define CB_IS_BUTTON(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CB_TYPE_BUTTON))
++
++/* cast klass to CbButtonClass class structure */
++#define CB_BUTTON_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), CB_TYPE_BUTTON, CbButtonClass))
++
++/* check whether klass is a member of the CbButtonClass */
++#define CB_IS_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CB_TYPE_BUTTON))
++
++/* get the CbButtonClass structure for a CbButton obj */
++#define CB_BUTTON_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), CB_TYPE_BUTTON, CbButtonClass))
++
++/*
++ * Private instance fields; see
++ * http://www.gotw.ca/gotw/024.htm for the rationale
++ */
++typedef struct _CbButtonPrivate CbButtonPrivate;
++typedef struct _CbButton        CbButton;
++typedef struct _CbButtonClass   CbButtonClass;
++
++/* object structure */
++struct _CbButton
++{
++  /*<private>*/
++  ClutterActor parent_instance;
++
++  /* structure containing private members */
++  /*<private>*/
++  CbButtonPrivate *priv;
++};
++
++/* class structure */
++struct _CbButtonClass
++{
++  /* signals */
++  void (* clicked)(CbButton *button);
++
++  /*<private>*/
++  ClutterActorClass parent_class;
++};
++
++/* public API */
++
++/* constructor - note this returns a ClutterActor instance */
++ClutterActor *cb_button_new (void);
++
++/* getter */
++G_CONST_RETURN gchar * cb_button_get_text (CbButton *self);
++
++/* setters - these are wrappers round functions
++ * which change properties of the internal actors
++ */
++void cb_button_set_text (CbButton    *self,
++                         const gchar *text);
++
++void cb_button_set_background_color (CbButton           *self,
++                                     const ClutterColor *color);
++
++void cb_button_set_text_color (CbButton           *self,
++                               const ClutterColor *color);
++
++#endif /* __CB_BUTTON_H__ */
This page took 0.078291 seconds and 4 git commands to generate.