]> Pileus Git - ~andy/gtk/commitdiff
Move demos around
authorMatthias Clasen <mclasen@redhat.com>
Thu, 26 May 2011 04:32:31 +0000 (00:32 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 26 May 2011 04:32:31 +0000 (00:32 -0400)
The pixbuf-demo gets its own subdirectory, the other small
tests move from demos/ to tests/.

17 files changed:
demos/Makefile.am
demos/pixbuf-demo/Makefile.am [new file with mode: 0644]
demos/pixbuf-demo/apple-red.png [moved from demos/apple-red.png with 100% similarity]
demos/pixbuf-demo/background.jpg [moved from demos/background.jpg with 100% similarity]
demos/pixbuf-demo/gnome-applets.png [moved from demos/gnome-applets.png with 100% similarity]
demos/pixbuf-demo/gnome-calendar.png [moved from demos/gnome-calendar.png with 100% similarity]
demos/pixbuf-demo/gnome-foot.png [moved from demos/gnome-foot.png with 100% similarity]
demos/pixbuf-demo/gnome-gimp.png [moved from demos/gnome-gimp.png with 100% similarity]
demos/pixbuf-demo/gnome-gmush.png [moved from demos/gnome-gmush.png with 100% similarity]
demos/pixbuf-demo/gnome-gsame.png [moved from demos/gnome-gsame.png with 100% similarity]
demos/pixbuf-demo/gnu-keys.png [moved from demos/gnu-keys.png with 100% similarity]
demos/pixbuf-demo/pixbuf-demo.c [moved from demos/pixbuf-demo.c with 100% similarity]
tests/Makefile.am
tests/testanimation.c [moved from demos/testanimation.c with 100% similarity]
tests/testpixbuf-color.c [moved from demos/testpixbuf-color.c with 100% similarity]
tests/testpixbuf-save.c [moved from demos/testpixbuf-save.c with 100% similarity]
tests/testpixbuf-scale.c [moved from demos/testpixbuf-scale.c with 100% similarity]

index ad306562f4c24d0913815afdab0ec1c39eb25839..254458d6c5fef5bda30c37a1f65a540512298cee 100644 (file)
@@ -1,59 +1,6 @@
 ## Makefile.am for gtk+/demos
 include $(top_srcdir)/Makefile.decl
 
-SUBDIRS = gtk-demo
-
-INCLUDES =                             \
-       -I$(top_srcdir)                 \
-       -I$(top_builddir)/gdk           \
-       -DGDK_DISABLE_DEPRECATED        \
-       -DGTK_DISABLE_DEPRECATED        \
-       $(GTK_DEBUG_FLAGS)              \
-       $(GTK_DEP_CFLAGS)
-
-DEPS = \
-       $(top_builddir)/gtk/libgtk-3.la
-
-LDADDS = \
-       $(top_builddir)/gtk/libgtk-3.la \
-       $(top_builddir)/gdk/libgdk-3.la \
-       $(GTK_DEP_LIBS)                         \
-       $(MATH_LIB)
-
-noinst_PROGRAMS =              \
-       testanimation           \
-       testpixbuf-color        \
-       testpixbuf-save         \
-       testpixbuf-scale        \
-       pixbuf-demo
-
-testpixbuf_save_DEPENDENCIES = $(DEPS)
-testpixbuf_color_DEPENDENCIES = $(DEPS)
-testpixbuf_scale_DEPENDENCIES = $(DEPS)
-testanimation_DEPENDENCIES = $(DEPS)
-pixbuf_demo_DEPENDENCIES = $(DEPS)
-
-testpixbuf_save_LDADD = $(LDADDS)
-testpixbuf_color_LDADD = $(LDADDS)
-testpixbuf_scale_LDADD = $(LDADDS)
-testanimation_LDADD = $(LDADDS)
-pixbuf_demo_LDADD = $(LDADDS)
-
-testpixbuf_save_SOURCES = testpixbuf-save.c
-testpixbuf_color_SOURCES = testpixbuf-color.c
-testpixbuf_scale_SOURCES = testpixbuf-scale.c
-testanimation_SOURCES = testanimation.c
-pixbuf_demo_SOURCES = pixbuf-demo.c
-
-EXTRA_DIST +=                  \
-       apple-red.png           \
-       background.jpg          \
-       gnome-applets.png       \
-       gnome-calendar.png      \
-       gnome-foot.png          \
-       gnome-gimp.png          \
-       gnome-gmush.png         \
-       gnome-gsame.png         \
-       gnu-keys.png
+SUBDIRS = gtk-demo pixbuf-demo
 
 -include $(top_srcdir)/git.mk
diff --git a/demos/pixbuf-demo/Makefile.am b/demos/pixbuf-demo/Makefile.am
new file mode 100644 (file)
index 0000000..ca520ce
--- /dev/null
@@ -0,0 +1,41 @@
+## Makefile.am for gtk+/demos
+include $(top_srcdir)/Makefile.decl
+
+INCLUDES =                             \
+       -I$(top_srcdir)                 \
+       -I$(top_builddir)/gdk           \
+       -DGDK_DISABLE_DEPRECATED        \
+       -DGTK_DISABLE_DEPRECATED        \
+       $(GTK_DEBUG_FLAGS)              \
+       $(GTK_DEP_CFLAGS)
+
+DEPS = \
+       $(top_builddir)/gtk/libgtk-3.la
+
+LDADDS = \
+       $(top_builddir)/gtk/libgtk-3.la \
+       $(top_builddir)/gdk/libgdk-3.la \
+       $(GTK_DEP_LIBS)                 \
+       $(MATH_LIB)
+
+noinst_PROGRAMS =              \
+       pixbuf-demo
+
+pixbuf_demo_DEPENDENCIES = $(DEPS)
+
+pixbuf_demo_LDADD = $(LDADDS)
+
+pixbuf_demo_SOURCES = pixbuf-demo.c
+
+EXTRA_DIST +=                  \
+       apple-red.png           \
+       background.jpg          \
+       gnome-applets.png       \
+       gnome-calendar.png      \
+       gnome-foot.png          \
+       gnome-gimp.png          \
+       gnome-gmush.png         \
+       gnome-gsame.png         \
+       gnu-keys.png
+
+-include $(top_srcdir)/git.mk
index fe077798d92ab6506f18bc14a20fa2ccdcaa315c..1d93f3c05e5808d7e31cfd7ec0f67fab7f7064d9 100644 (file)
@@ -89,7 +89,7 @@ noinst_PROGRAMS =  $(TEST_PROGS)      \
        testtreecolumns                 \
        testtreecolumnsizing            \
        testtreesort                    \
-       testverticalcells                       \
+       testverticalcells               \
        treestoretest                   \
        testxinerama                    \
        testwindows                     \
@@ -110,7 +110,11 @@ noinst_PROGRAMS =  $(TEST_PROGS)   \
        testnoscreen                    \
        testtreepos                     \
        testsensitive                   \
-       testtextview
+       testtextview                    \
+       testanimation                   \
+       testpixbuf-save                 \
+       testpixbuf-color                \
+       testpixbuf-scale
 
 if USE_X11
 noinst_PROGRAMS += testerrors
@@ -211,6 +215,10 @@ testnoscreen_DEPENDENCIES = $(TEST_DEPS)
 testtreepos_DEPENDENCIES = $(TEST_DEPS)
 testsensitive_DEPENDENCIES = $(TEST_DEPS)
 testtextview_DEPENDENCIES = $(TEST_DEPS)
+testanimation_DEPENDENCIES = $(TEST_DEPS)
+testpixbuf_save_DEPENDENCIES = $(TEST_DEPS)
+testpixbuf_color_DEPENDENCIES = $(TEST_DEPS)
+testpixbuf_scale_DEPENDENCIES = $(TEST_DEPS)
 
 flicker_LDADD = $(LDADDS)
 simple_LDADD = $(LDADDS)
@@ -297,6 +305,10 @@ testnoscreen_LDADD = $(LDADDS)
 testtreepos_LDADD = $(LDADDS)
 testsensitive_LDADD = $(LDADDS)
 testtextview_LDADD = $(LDADDS)
+testanimation_LDADD = $(LDADDS)
+testpixbuf_save_LDADD = $(LDADDS)
+testpixbuf_color_LDADD = $(LDADDS)
+testpixbuf_scale_LDADD = $(LDADDS)
 
 
 testentrycompletion_SOURCES =  \
@@ -444,6 +456,14 @@ testtoplevelembed_SOURCES = testtoplevelembed.c
 
 testtextview_SOURCES = testtextview.c
 
+testanimation_SOURCES = testanimation.c
+
+testpixbuf_scale_SOURCES = testpixbuf-scale.c
+
+testpixbuf_color_SOURCES = testpixbuf-color.c
+
+testpixbuf_save_SOURCES = testpixbuf-save.c
+
 
 EXTRA_DIST +=                  \
        gradient1.png           \
similarity index 100%
rename from demos/testanimation.c
rename to tests/testanimation.c