summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-05-26 00:32:31 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-05-26 00:32:31 -0400
commitcf86c7c9bb9710a09c2f9bc8720f9f24c4e3a5e3 (patch)
treedd35572494e8dbda7c1e9ffa14150d914a43dd11
parent6499d89a6e39a2842b3281744d9a28cbf6e47d0d (diff)
downloadgtk+-cf86c7c9bb9710a09c2f9bc8720f9f24c4e3a5e3.tar.gz
Move demos around
The pixbuf-demo gets its own subdirectory, the other small tests move from demos/ to tests/.
-rw-r--r--demos/Makefile.am55
-rw-r--r--demos/pixbuf-demo/Makefile.am41
-rw-r--r--demos/pixbuf-demo/apple-red.png (renamed from demos/apple-red.png)bin3545 -> 3545 bytes
-rw-r--r--demos/pixbuf-demo/background.jpg (renamed from demos/background.jpg)bin22219 -> 22219 bytes
-rw-r--r--demos/pixbuf-demo/gnome-applets.png (renamed from demos/gnome-applets.png)bin3090 -> 3090 bytes
-rw-r--r--demos/pixbuf-demo/gnome-calendar.png (renamed from demos/gnome-calendar.png)bin2755 -> 2755 bytes
-rw-r--r--demos/pixbuf-demo/gnome-foot.png (renamed from demos/gnome-foot.png)bin2916 -> 2916 bytes
-rw-r--r--demos/pixbuf-demo/gnome-gimp.png (renamed from demos/gnome-gimp.png)bin3410 -> 3410 bytes
-rw-r--r--demos/pixbuf-demo/gnome-gmush.png (renamed from demos/gnome-gmush.png)bin3244 -> 3244 bytes
-rw-r--r--demos/pixbuf-demo/gnome-gsame.png (renamed from demos/gnome-gsame.png)bin4263 -> 4263 bytes
-rw-r--r--demos/pixbuf-demo/gnu-keys.png (renamed from demos/gnu-keys.png)bin3852 -> 3852 bytes
-rw-r--r--demos/pixbuf-demo/pixbuf-demo.c (renamed from demos/pixbuf-demo.c)0
-rw-r--r--tests/Makefile.am24
-rw-r--r--tests/testanimation.c (renamed from demos/testanimation.c)0
-rw-r--r--tests/testpixbuf-color.c (renamed from demos/testpixbuf-color.c)0
-rw-r--r--tests/testpixbuf-save.c (renamed from demos/testpixbuf-save.c)0
-rw-r--r--tests/testpixbuf-scale.c (renamed from demos/testpixbuf-scale.c)0
17 files changed, 64 insertions, 56 deletions
diff --git a/demos/Makefile.am b/demos/Makefile.am
index ad306562f4..254458d6c5 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 0000000000..ca520ce7dc
--- /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
index b0a24e9418..b0a24e9418 100644
--- a/demos/apple-red.png
+++ b/demos/pixbuf-demo/apple-red.png
Binary files differ
diff --git a/demos/background.jpg b/demos/pixbuf-demo/background.jpg
index 86c006aa46..86c006aa46 100644
--- a/demos/background.jpg
+++ b/demos/pixbuf-demo/background.jpg
Binary files differ
diff --git a/demos/gnome-applets.png b/demos/pixbuf-demo/gnome-applets.png
index 8d3549e97c..8d3549e97c 100644
--- a/demos/gnome-applets.png
+++ b/demos/pixbuf-demo/gnome-applets.png
Binary files differ
diff --git a/demos/gnome-calendar.png b/demos/pixbuf-demo/gnome-calendar.png
index 889f329ae5..889f329ae5 100644
--- a/demos/gnome-calendar.png
+++ b/demos/pixbuf-demo/gnome-calendar.png
Binary files differ
diff --git a/demos/gnome-foot.png b/demos/pixbuf-demo/gnome-foot.png
index 0476658517..0476658517 100644
--- a/demos/gnome-foot.png
+++ b/demos/pixbuf-demo/gnome-foot.png
Binary files differ
diff --git a/demos/gnome-gimp.png b/demos/pixbuf-demo/gnome-gimp.png
index f6bbc6d36c..f6bbc6d36c 100644
--- a/demos/gnome-gimp.png
+++ b/demos/pixbuf-demo/gnome-gimp.png
Binary files differ
diff --git a/demos/gnome-gmush.png b/demos/pixbuf-demo/gnome-gmush.png
index 0a4b0d04e6..0a4b0d04e6 100644
--- a/demos/gnome-gmush.png
+++ b/demos/pixbuf-demo/gnome-gmush.png
Binary files differ
diff --git a/demos/gnome-gsame.png b/demos/pixbuf-demo/gnome-gsame.png
index 01c061151f..01c061151f 100644
--- a/demos/gnome-gsame.png
+++ b/demos/pixbuf-demo/gnome-gsame.png
Binary files differ
diff --git a/demos/gnu-keys.png b/demos/pixbuf-demo/gnu-keys.png
index 58a33770e6..58a33770e6 100644
--- a/demos/gnu-keys.png
+++ b/demos/pixbuf-demo/gnu-keys.png
Binary files differ
diff --git a/demos/pixbuf-demo.c b/demos/pixbuf-demo/pixbuf-demo.c
index 64b3f0490a..64b3f0490a 100644
--- a/demos/pixbuf-demo.c
+++ b/demos/pixbuf-demo/pixbuf-demo.c
diff --git a/tests/Makefile.am b/tests/Makefile.am
index fe077798d9..1d93f3c05e 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
index 4d00a9d807..4d00a9d807 100644
--- a/demos/testanimation.c
+++ b/tests/testanimation.c
diff --git a/demos/testpixbuf-color.c b/tests/testpixbuf-color.c
index 3f762e6707..3f762e6707 100644
--- a/demos/testpixbuf-color.c
+++ b/tests/testpixbuf-color.c
diff --git a/demos/testpixbuf-save.c b/tests/testpixbuf-save.c
index 35ef367474..35ef367474 100644
--- a/demos/testpixbuf-save.c
+++ b/tests/testpixbuf-save.c
diff --git a/demos/testpixbuf-scale.c b/tests/testpixbuf-scale.c
index 65eb2b128d..65eb2b128d 100644
--- a/demos/testpixbuf-scale.c
+++ b/tests/testpixbuf-scale.c