2000-10-18 15:50:13 +00:00
|
|
|
## Makefile.am for gtk+/demos
|
call g_test_init() from gtk_test_init().
2007-11-22 15:39:40 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
democodedir=$(datadir)/gtk-$(GTK_API_VERSION)/demo
|
2000-11-13 04:36:38 +00:00
|
|
|
|
2009-05-11 05:23:13 +00:00
|
|
|
## These should be in the order you want them to appear in the
|
2001-04-18 18:09:18 +00:00
|
|
|
## demo app, which means alphabetized by demo title, not filename
|
2003-05-06 21:55:41 +00:00
|
|
|
demos = \
|
2012-01-14 23:22:33 +00:00
|
|
|
application.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
appwindow.c \
|
2006-01-28 06:03:50 +00:00
|
|
|
assistant.c \
|
Add GtkBuilder, fixes #172535
2007-06-15 Johan Dahlin <jdahlin@async.com.br>
* demos/gtk-demo/Makefile.am:
* demos/gtk-demo/builder.c: (quit_activate), (about_activate),
(do_builder):
* demos/gtk-demo/demo.ui:
* docs/reference/gtk/gtk-docs.sgml:
* docs/reference/gtk/gtk-sections.txt:
* docs/reference/gtk/gtk.types:
* docs/reference/gtk/tmpl/gtkbuildable.sgml:
* docs/reference/gtk/tmpl/gtkbuilder.sgml:
* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkaction.c: (gtk_action_buildable_init),
(gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
* gtk/gtkactiongroup.c: (gtk_action_group_get_type),
(gtk_action_group_buildable_init),
(gtk_action_group_buildable_add),
(gtk_action_group_buildable_set_name),
(gtk_action_group_buildable_get_name):
* gtk/gtkbuildable.c: (gtk_buildable_get_type),
(gtk_buildable_set_name), (gtk_buildable_get_name),
(gtk_buildable_add), (gtk_buildable_set_property),
(gtk_buildable_parser_finished), (gtk_buildable_construct_child),
(gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
(gtk_buildable_custom_finished),
(gtk_buildable_get_internal_child):
* gtk/gtkbuildable.h:
* gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
(gtk_builder_finalize), (gtk_builder_set_property),
(gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
(gtk_builder_real_get_type_from_name),
(gtk_builder_get_parameters), (gtk_builder_get_internal_child),
(_gtk_builder_construct), (_gtk_builder_add),
(apply_delayed_properties), (_gtk_builder_finish),
(gtk_builder_new), (gtk_builder_add_from_file),
(gtk_builder_add_from_string), (gtk_builder_get_object),
(object_add_to_list), (gtk_builder_get_objects),
(gtk_builder_set_translation_domain),
(gtk_builder_get_translation_domain),
(gtk_builder_connect_signals_default),
(gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
(gtk_builder_value_from_string),
(gtk_builder_value_from_string_type),
(_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
(gtk_builder_get_type_from_name), (gtk_builder_error_quark):
* gtk/gtkbuilder.h:
* gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
(error_missing_attribute), (error_invalid_attribute),
(error_invalid_tag), (builder_construct), (parse_object),
(free_object_info), (_get_type_by_symbol), (parse_child),
(free_child_info), (parse_property), (free_property_info),
(parse_signal), (_free_signal_info), (parse_interface),
(create_subparser), (free_subparser), (subparser_start),
(subparser_end), (parse_custom), (start_element), (end_element),
(text), (_gtk_builder_parser_parse_buffer):
* gtk/gtkbuilderprivate.h:
* gtk/gtkcelllayout.c: (attributes_start_element),
(attributes_text_element),
(_gtk_cell_layout_buildable_custom_tag_start),
(_gtk_cell_layout_buildable_custom_tag_end),
(_gtk_cell_layout_buildable_add):
* gtk/gtkcelllayout.h:
* gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
(gtk_cell_view_buildable_custom_tag_start),
(gtk_cell_view_buildable_custom_tag_end):
* gtk/gtkcolorseldialog.c:
(gtk_color_selection_dialog_buildable_interface_init),
(gtk_color_selection_dialog_buildable_get_internal_child):
* gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
(gtk_combo_box_buildable_custom_tag_start),
(gtk_combo_box_buildable_custom_tag_end):
* gtk/gtkcomboboxentry.c:
(gtk_combo_box_entry_buildable_interface_init),
(gtk_combo_box_entry_buildable_get_internal_child):
* gtk/gtkcontainer.c: (gtk_container_get_type),
(gtk_container_buildable_init), (gtk_container_buildable_add),
(gtk_container_buildable_set_child_property),
(attributes_start_element), (attributes_text_element),
(gtk_container_buildable_custom_tag_start),
(gtk_container_buildable_custom_tag_end):
* gtk/gtkdebug.h:
* gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
(gtk_dialog_buildable_get_internal_child),
(attributes_start_element), (attributes_text_element),
(gtk_dialog_buildable_custom_tag_start),
(gtk_dialog_buildable_custom_finished):
* gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
* gtk/gtkexpander.c: (gtk_expander_buildable_add),
(gtk_expander_buildable_init):
* gtk/gtkfontsel.c:
(gtk_font_selection_dialog_buildable_interface_init),
(gtk_font_selection_dialog_buildable_get_internal_child):
* gtk/gtkframe.c: (gtk_frame_buildable_init),
(gtk_frame_buildable_add):
* gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
(gtk_icon_view_buildable_custom_tag_start),
(gtk_icon_view_buildable_custom_tag_end):
* gtk/gtkliststore.c: (gtk_list_store_buildable_init),
(list_store_start_element), (list_store_end_element),
(list_store_text), (gtk_list_store_buildable_custom_tag_start),
(gtk_list_store_buildable_custom_tag_end):
* gtk/gtkmain.c:
* gtk/gtknotebook.c: (gtk_notebook_buildable_init),
(gtk_notebook_buildable_add):
* gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
(size_group_start_element),
(gtk_size_group_buildable_custom_tag_start),
(gtk_size_group_buildable_custom_finished):
* gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
(tree_model_start_element),
(gtk_tree_store_buildable_custom_tag_start),
(gtk_tree_store_buildable_custom_finished):
* gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
(gtk_tree_view_buildable_add):
* gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
* gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
(gtk_ui_manager_buildable_add),
(gtk_ui_manager_buildable_construct_child),
(gtk_ui_manager_buildable_custom_tag_start),
(gtk_ui_manager_buildable_custom_tag_end):
* gtk/gtkwidget.c: (gtk_widget_get_type),
(gtk_widget_buildable_interface_init),
(gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
(gtk_widget_buildable_set_property),
(gtk_widget_buildable_parser_finshed), (accel_group_start_element),
(gtk_widget_buildable_custom_tag_start),
(gtk_widget_buildable_custom_finshed):
* gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
(gtk_window_buildable_set_property),
(gtk_window_buildable_parser_finished):
* tests/Makefile.am:
* tests/buildertest.c: (builder_new_from_string), (test_parser),
(signal_normal), (signal_after), (signal_object),
(signal_object_after), (signal_first), (signal_second),
(signal_extra), (signal_extra2), (test_connect_signals),
(test_uimanager_simple), (test_domain), (test_translation),
(test_sizegroup), (test_list_store), (test_tree_store),
(test_types), (test_spin_button), (test_notebook),
(test_construct_only_property), (test_children),
(test_child_properties), (test_treeview_column), (test_icon_view),
(test_combo_box), (test_combo_box_entry), (test_cell_view),
(test_dialog), (test_accelerators), (test_widget), (main):
Add GtkBuilder, fixes #172535
svn path=/trunk/; revision=18141
2007-06-15 17:53:46 +00:00
|
|
|
builder.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
button_box.c \
|
|
|
|
changedisplay.c \
|
2004-07-29 15:40:35 +00:00
|
|
|
clipboard.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
colorsel.c \
|
2005-05-25 06:15:19 +00:00
|
|
|
combobox.c \
|
2012-05-24 18:14:17 +00:00
|
|
|
css_accordion.c \
|
2012-05-13 17:10:55 +00:00
|
|
|
css_basics.c \
|
2012-05-24 18:17:25 +00:00
|
|
|
css_multiplebgs.c \
|
2012-05-22 11:41:05 +00:00
|
|
|
css_pixbufs.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
dialog.c \
|
|
|
|
drawingarea.c \
|
|
|
|
editable_cells.c \
|
2009-07-09 01:41:53 +00:00
|
|
|
entry_buffer.c \
|
2004-01-07 22:19:51 +00:00
|
|
|
entry_completion.c \
|
2004-04-21 17:52:33 +00:00
|
|
|
expander.c \
|
2003-09-26 23:33:46 +00:00
|
|
|
hypertext.c \
|
2004-07-04 20:35:35 +00:00
|
|
|
iconview.c \
|
2005-07-12 16:02:19 +00:00
|
|
|
iconview_edit.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
images.c \
|
2009-06-22 21:22:23 +00:00
|
|
|
infobar.c \
|
|
|
|
links.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
list_store.c \
|
|
|
|
menus.c \
|
2009-08-31 04:20:39 +00:00
|
|
|
offscreen_window.c \
|
2009-08-31 23:36:35 +00:00
|
|
|
offscreen_window2.c \
|
2011-05-19 16:53:05 +00:00
|
|
|
overlay.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
panes.c \
|
2005-05-25 04:09:20 +00:00
|
|
|
pickers.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
pixbufs.c \
|
2006-05-11 19:02:05 +00:00
|
|
|
printing.c \
|
2004-11-21 16:24:01 +00:00
|
|
|
rotated_text.c \
|
2008-12-26 21:57:55 +00:00
|
|
|
search_entry.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
sizegroup.c \
|
2009-07-21 01:16:56 +00:00
|
|
|
spinner.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
stock_browser.c \
|
|
|
|
textview.c \
|
2006-08-26 01:17:17 +00:00
|
|
|
textscroll.c \
|
2012-05-26 00:39:59 +00:00
|
|
|
theming_style_classes.c \
|
2012-05-26 02:03:47 +00:00
|
|
|
theming_custom_css.c \
|
2009-07-13 16:45:48 +00:00
|
|
|
toolpalette.c \
|
2011-12-05 23:23:18 +00:00
|
|
|
transparent.c \
|
2003-08-05 19:16:01 +00:00
|
|
|
tree_store.c \
|
2003-09-26 23:33:46 +00:00
|
|
|
ui_manager.c
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2011-05-16 11:47:17 +00:00
|
|
|
AM_CPPFLAGS = \
|
2008-08-12 15:04:55 +00:00
|
|
|
-DDEMOCODEDIR="\"$(democodedir)\"" \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
|
|
-DGTK_DISABLE_DEPRECATED \
|
|
|
|
$(GTK_DEBUG_FLAGS) \
|
2003-05-06 21:55:41 +00:00
|
|
|
$(GTK_DEP_CFLAGS)
|
2000-10-18 15:50:13 +00:00
|
|
|
|
|
|
|
DEPS = \
|
2011-02-10 19:41:02 +00:00
|
|
|
$(top_builddir)/gtk/libgtk-3.la
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
LDADDS = \
|
2011-02-10 19:41:02 +00:00
|
|
|
$(top_builddir)/gtk/libgtk-3.la \
|
|
|
|
$(top_builddir)/gdk/libgdk-3.la \
|
2010-12-09 04:07:00 +00:00
|
|
|
$(GTK_DEP_LIBS) \
|
2010-06-26 05:06:30 +00:00
|
|
|
-lm
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2012-01-14 23:22:33 +00:00
|
|
|
bin_PROGRAMS = gtk3-demo gtk3-demo-application
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2012-05-13 18:00:27 +00:00
|
|
|
BUILT_SOURCES = demos.h demo_resources.c
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2012-01-16 22:07:12 +00:00
|
|
|
EXTRA_DIST += \
|
|
|
|
$(IMAGEFILES) \
|
|
|
|
demo.ui \
|
2012-05-13 19:23:41 +00:00
|
|
|
demo.gresource.xml \
|
|
|
|
$(RESOURCES) \
|
2012-01-24 05:07:03 +00:00
|
|
|
org.gtk.Demo.gschema.xml
|
|
|
|
|
|
|
|
gsettings_SCHEMAS = \
|
|
|
|
org.gtk.Demo.gschema.xml
|
|
|
|
|
|
|
|
@GSETTINGS_RULES@
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
demos.h: @REBUILD@ $(demos) geninclude.pl
|
2011-08-29 00:38:28 +00:00
|
|
|
$(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2010-05-11 00:04:20 +00:00
|
|
|
gtk3_demo_SOURCES = \
|
2000-10-18 15:50:13 +00:00
|
|
|
$(demos) \
|
2001-11-23 21:46:44 +00:00
|
|
|
demo-common.h \
|
2012-05-13 18:54:42 +00:00
|
|
|
demo_resources.c \
|
2000-10-18 15:50:13 +00:00
|
|
|
main.c \
|
|
|
|
demos.h
|
|
|
|
|
2010-05-11 00:04:20 +00:00
|
|
|
gtk3_demo_DEPENDENCIES = $(DEPS)
|
|
|
|
gtk3_demo_LDADD = $(LDADDS)
|
|
|
|
gtk3_demo_LDFLAGS = -export-dynamic
|
2000-11-13 04:36:38 +00:00
|
|
|
|
2012-01-14 23:22:33 +00:00
|
|
|
gtk3_demo_application_SOURCES = \
|
|
|
|
application-standalone.c \
|
2012-05-13 18:00:27 +00:00
|
|
|
demo_resources.c
|
2012-01-14 23:22:33 +00:00
|
|
|
|
|
|
|
gtk3_demo_application_LDADD = $(LDADDS)
|
|
|
|
|
2012-05-13 19:23:41 +00:00
|
|
|
demo_resources.c: demo.gresource.xml $(RESOURCES)
|
2012-05-13 18:00:27 +00:00
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/demo.gresource.xml
|
2012-01-14 23:22:33 +00:00
|
|
|
|
2012-05-13 19:23:41 +00:00
|
|
|
RESOURCES= application.ui \
|
|
|
|
menus.ui \
|
|
|
|
theming.ui \
|
|
|
|
gtk-logo-24.png \
|
|
|
|
gtk-logo-48.png \
|
2012-05-24 18:14:17 +00:00
|
|
|
css_accordion.css \
|
2012-05-13 19:23:41 +00:00
|
|
|
css_basics.css \
|
2012-05-24 18:17:25 +00:00
|
|
|
css_multiplebgs.css \
|
2012-05-22 11:41:05 +00:00
|
|
|
css_pixbufs.css \
|
2012-05-24 18:16:06 +00:00
|
|
|
cssview.css \
|
2012-05-13 19:23:41 +00:00
|
|
|
fancy.css \
|
|
|
|
reset.css
|
|
|
|
|
2001-05-07 15:58:47 +00:00
|
|
|
IMAGEFILES= alphatest.png \
|
2012-01-14 23:22:33 +00:00
|
|
|
apple-red.png \
|
2001-04-18 18:09:18 +00:00
|
|
|
background.jpg \
|
2001-05-07 15:58:47 +00:00
|
|
|
floppybuddy.gif \
|
2001-04-18 18:09:18 +00:00
|
|
|
gnome-applets.png \
|
|
|
|
gnome-calendar.png \
|
2004-07-04 20:35:35 +00:00
|
|
|
gnome-fs-directory.png \
|
|
|
|
gnome-fs-regular.png \
|
2001-04-18 18:09:18 +00:00
|
|
|
gnome-foot.png \
|
|
|
|
gnome-gimp.png \
|
|
|
|
gnome-gmush.png \
|
|
|
|
gnome-gsame.png \
|
|
|
|
gnu-keys.png \
|
2010-05-08 05:18:53 +00:00
|
|
|
gtk-logo-rgb.gif
|
2001-04-18 18:09:18 +00:00
|
|
|
|
2012-05-18 05:23:45 +00:00
|
|
|
democode_DATA = \
|
|
|
|
$(demos) \
|
|
|
|
$(IMAGEFILES) \
|
2012-05-13 19:23:41 +00:00
|
|
|
$(RESOURCES) \
|
|
|
|
demo.ui
|
2003-05-06 21:55:41 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = demos.h
|
2009-05-04 00:08:11 +00:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|