[gtk+] Move demos around



commit cf86c7c9bb9710a09c2f9bc8720f9f24c4e3a5e3
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu May 26 00:32:31 2011 -0400

    Move demos around
    
    The pixbuf-demo gets its own subdirectory, the other small
    tests move from demos/ to tests/.

 demos/Makefile.am                          |   55 +---------------------------
 demos/pixbuf-demo/Makefile.am              |   41 +++++++++++++++++++++
 demos/{ => pixbuf-demo}/apple-red.png      |  Bin 3545 -> 3545 bytes
 demos/{ => pixbuf-demo}/background.jpg     |  Bin 22219 -> 22219 bytes
 demos/{ => pixbuf-demo}/gnome-applets.png  |  Bin 3090 -> 3090 bytes
 demos/{ => pixbuf-demo}/gnome-calendar.png |  Bin 2755 -> 2755 bytes
 demos/{ => pixbuf-demo}/gnome-foot.png     |  Bin 2916 -> 2916 bytes
 demos/{ => pixbuf-demo}/gnome-gimp.png     |  Bin 3410 -> 3410 bytes
 demos/{ => pixbuf-demo}/gnome-gmush.png    |  Bin 3244 -> 3244 bytes
 demos/{ => pixbuf-demo}/gnome-gsame.png    |  Bin 4263 -> 4263 bytes
 demos/{ => pixbuf-demo}/gnu-keys.png       |  Bin 3852 -> 3852 bytes
 demos/{ => pixbuf-demo}/pixbuf-demo.c      |    0
 tests/Makefile.am                          |   24 +++++++++++-
 {demos => tests}/testanimation.c           |    0
 {demos => tests}/testpixbuf-color.c        |    0
 {demos => tests}/testpixbuf-save.c         |    0
 {demos => tests}/testpixbuf-scale.c        |    0
 17 files changed, 64 insertions(+), 56 deletions(-)
---
diff --git a/demos/Makefile.am b/demos/Makefile.am
index ad30656..254458d 100644
--- a/demos/Makefile.am
+++ b/demos/Makefile.am
@@ -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
index 0000000..ca520ce
--- /dev/null
+++ b/demos/pixbuf-demo/Makefile.am
@@ -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
diff --git a/demos/apple-red.png b/demos/pixbuf-demo/apple-red.png
similarity index 100%
rename from demos/apple-red.png
rename to demos/pixbuf-demo/apple-red.png
diff --git a/demos/background.jpg b/demos/pixbuf-demo/background.jpg
similarity index 100%
rename from demos/background.jpg
rename to demos/pixbuf-demo/background.jpg
diff --git a/demos/gnome-applets.png b/demos/pixbuf-demo/gnome-applets.png
similarity index 100%
rename from demos/gnome-applets.png
rename to demos/pixbuf-demo/gnome-applets.png
diff --git a/demos/gnome-calendar.png b/demos/pixbuf-demo/gnome-calendar.png
similarity index 100%
rename from demos/gnome-calendar.png
rename to demos/pixbuf-demo/gnome-calendar.png
diff --git a/demos/gnome-foot.png b/demos/pixbuf-demo/gnome-foot.png
similarity index 100%
rename from demos/gnome-foot.png
rename to demos/pixbuf-demo/gnome-foot.png
diff --git a/demos/gnome-gimp.png b/demos/pixbuf-demo/gnome-gimp.png
similarity index 100%
rename from demos/gnome-gimp.png
rename to demos/pixbuf-demo/gnome-gimp.png
diff --git a/demos/gnome-gmush.png b/demos/pixbuf-demo/gnome-gmush.png
similarity index 100%
rename from demos/gnome-gmush.png
rename to demos/pixbuf-demo/gnome-gmush.png
diff --git a/demos/gnome-gsame.png b/demos/pixbuf-demo/gnome-gsame.png
similarity index 100%
rename from demos/gnome-gsame.png
rename to demos/pixbuf-demo/gnome-gsame.png
diff --git a/demos/gnu-keys.png b/demos/pixbuf-demo/gnu-keys.png
similarity index 100%
rename from demos/gnu-keys.png
rename to demos/pixbuf-demo/gnu-keys.png
diff --git a/demos/pixbuf-demo.c b/demos/pixbuf-demo/pixbuf-demo.c
similarity index 100%
rename from demos/pixbuf-demo.c
rename to demos/pixbuf-demo/pixbuf-demo.c
diff --git a/tests/Makefile.am b/tests/Makefile.am
index fe07779..1d93f3c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -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		\
diff --git a/demos/testanimation.c b/tests/testanimation.c
similarity index 100%
rename from demos/testanimation.c
rename to tests/testanimation.c
diff --git a/demos/testpixbuf-color.c b/tests/testpixbuf-color.c
similarity index 100%
rename from demos/testpixbuf-color.c
rename to tests/testpixbuf-color.c
diff --git a/demos/testpixbuf-save.c b/tests/testpixbuf-save.c
similarity index 100%
rename from demos/testpixbuf-save.c
rename to tests/testpixbuf-save.c
diff --git a/demos/testpixbuf-scale.c b/tests/testpixbuf-scale.c
similarity index 100%
rename from demos/testpixbuf-scale.c
rename to tests/testpixbuf-scale.c



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]