clutter.modules: Remove deps on gir-repository
authorEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 13 Aug 2010 17:09:28 +0000 (18:09 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 13 Aug 2010 17:09:28 +0000 (18:09 +0100)
Keep it in the moduleset, but don't let Clutter depend on it.

build/clutter.modules
tests/conform/Makefile.am

index c6fccb5..43f9bf6 100644 (file)
       <dep package="pango"/>
       <dep package="gdk-pixbuf"/>
       <dep package="gobject-introspection"/>
-      <dep package="gir-repository"/>
       <dep package="json-glib"/>
     </dependencies>
   </autotools>
     <dependencies>
       <dep package="gobject-introspection"/>
     </dependencies>
-    <after>
-      <dep package="gir-repository"/>
-    </after>
   </autotools>
 
 </moduleset>
index 37f32b1..ace832f 100644 (file)
@@ -4,63 +4,84 @@ NULL =
 
 noinst_PROGRAMS = test-conformance
 
-test_conformance_SOURCES =             \
-       test-conform-main.c             \
-       test-conform-common.c           \
-       test-conform-common.h           \
-       \
+# the common sources
+common_sources = \
+       test-conform-common.h   \
+       test-conform-common.c   \
+       test-conform-main.c     \
+       $(NULL)
+
+# the unit-specific sources; please: keep all sections in alphabetical order!
+units_sources =
+
+# animation tests
+units_sources += \
+       test-animator.c                 \
+       test-behaviours.c               \
+       test-score.c                    \
+       test-state.c                    \
+       test-timeline.c                 \
        test-timeline-interpolate.c     \
        test-timeline-rewind.c          \
-       test-timeline.c                 \
-       test-cogl-vertex-buffer-contiguous.c \
-       test-cogl-vertex-buffer-interleved.c \
-       test-cogl-vertex-buffer-mutability.c \
-       test-cogl-fixed.c               \
-       test-cogl-backface-culling.c    \
-       test-cogl-npot-texture.c        \
-       test-cogl-blend-strings.c       \
-       test-cogl-premult.c             \
-       test-cogl-materials.c           \
-       test-cogl-viewport.c            \
-       test-cogl-offscreen.c           \
-       test-cogl-readpixels.c          \
-       test-cogl-multitexture.c        \
-       test-cogl-texture-mipmaps.c     \
-       test-cogl-texture-rectangle.c   \
-       test-cogl-texture-3d.c          \
-       test-cogl-texture-pixmap-x11.c  \
-       test-cogl-texture-get-set-data.c \
-       test-cogl-wrap-modes.c          \
-       test-cogl-pixel-buffer.c        \
-       test-cogl-path.c                \
-       test-cogl-object.c              \
-       test-cogl-depth-test.c          \
-       test-path.c                     \
-       test-pick.c                     \
-       test-clutter-rectangle.c        \
+       $(NULL)
+
+# cogl tests
+units_sources += \
+       test-cogl-backface-culling.c            \
+       test-cogl-blend-strings.c               \
+       test-cogl-depth-test.c                  \
+       test-cogl-fixed.c                       \
+       test-cogl-materials.c                   \
+       test-cogl-viewport.c                    \
+       test-cogl-multitexture.c                \
+       test-cogl-npot-texture.c                \
+       test-cogl-object.c                      \
+       test-cogl-offscreen.c                   \
+       test-cogl-path.c                        \
+       test-cogl-pixel-buffer.c                \
+       test-cogl-premult.c                     \
+       test-cogl-readpixels.c                  \
+       test-cogl-sub-texture.c                 \
+       test-cogl-texture-3d.c                  \
+       test-cogl-texture-get-set-data.c        \
+       test-cogl-texture-mipmaps.c             \
+       test-cogl-texture-pixmap-x11.c          \
+       test-cogl-texture-rectangle.c           \
+       test-cogl-vertex-buffer-contiguous.c    \
+       test-cogl-vertex-buffer-interleved.c    \
+       test-cogl-vertex-buffer-mutability.c    \
+       test-cogl-wrap-modes.c                  \
+       $(NULL)
+
+# actors tests
+units_sources += \
+       test-actor-destroy.c            \
+       test-actor-size.c               \
        test-actor-invariants.c         \
-       test-paint-opacity.c            \
+       test-anchors.c                  \
        test-binding-pool.c             \
-        test-clutter-text.c             \
        test-clutter-cairo-texture.c    \
-        test-text-cache.c               \
-       test-anchors.c                  \
-       test-model.c                    \
-       test-color.c                    \
-       test-clutter-units.c            \
+       test-clutter-rectangle.c        \
+        test-clutter-text.c             \
+       test-clutter-texture.c          \
        test-group.c                    \
-       test-actor-size.c               \
+       test-path.c                     \
+       test-paint-opacity.c            \
+       test-pick.c                     \
        test-texture-fbo.c              \
-       test-cogl-sub-texture.c         \
+        test-text-cache.c               \
+       $(NULL)
+
+# objects tests
+units_sources += \
+       test-clutter-units.c            \
+       test-color.c                    \
+       test-model.c                    \
        test-script-parser.c            \
-       test-actor-destroy.c            \
-       test-behaviours.c               \
-       test-animator.c                 \
-       test-state.c                    \
-       test-clutter-texture.c          \
-       test-score.c                    \
         $(NULL)
 
+test_conformance_SOURCES = $(common_sources) $(units_sources)
+
 # For convenience, this provides a way to easily run individual unit tests:
 .PHONY: wrappers clean-wrappers