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
|
|
|
|
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
|
2015-05-20 09:31:02 +00:00
|
|
|
demos_base = \
|
2012-01-14 23:22:33 +00:00
|
|
|
application.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 \
|
2012-09-21 16:50:15 +00:00
|
|
|
css_shadows.c \
|
2015-05-08 00:01:14 +00:00
|
|
|
cursors.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 \
|
2013-11-27 16:53:33 +00:00
|
|
|
event_axes.c \
|
2004-04-21 17:52:33 +00:00
|
|
|
expander.c \
|
2015-07-22 14:56:56 +00:00
|
|
|
filtermodel.c \
|
2015-06-19 13:28:09 +00:00
|
|
|
font_features.c \
|
2013-01-17 20:12:39 +00:00
|
|
|
gestures.c \
|
2014-10-09 09:25:50 +00:00
|
|
|
glarea.c \
|
2013-12-12 21:09:34 +00:00
|
|
|
headerbar.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 \
|
2013-06-18 14:09:55 +00:00
|
|
|
listbox.c \
|
2013-10-07 04:05:21 +00:00
|
|
|
flowbox.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 \
|
2013-11-08 15:12:10 +00:00
|
|
|
popover.c \
|
2006-05-11 19:02:05 +00:00
|
|
|
printing.c \
|
2013-04-22 16:03:07 +00:00
|
|
|
revealer.c \
|
2004-11-21 16:24:01 +00:00
|
|
|
rotated_text.c \
|
2008-12-26 21:57:55 +00:00
|
|
|
search_entry.c \
|
2013-05-16 16:20:19 +00:00
|
|
|
search_entry2.c \
|
2014-08-23 16:38:42 +00:00
|
|
|
sidebar.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
sizegroup.c \
|
2015-06-28 14:11:54 +00:00
|
|
|
spinbutton.c \
|
2009-07-21 01:16:56 +00:00
|
|
|
spinner.c \
|
2013-04-22 01:16:24 +00:00
|
|
|
stack.c \
|
2015-06-29 05:43:27 +00:00
|
|
|
textmask.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
textview.c \
|
2006-08-26 01:17:17 +00:00
|
|
|
textscroll.c \
|
2012-05-26 00:39:59 +00:00
|
|
|
theming_style_classes.c \
|
2009-07-13 16:45:48 +00:00
|
|
|
toolpalette.c \
|
2011-12-05 23:23:18 +00:00
|
|
|
transparent.c \
|
2013-06-28 16:09:58 +00:00
|
|
|
tree_store.c
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2015-05-12 12:20:35 +00:00
|
|
|
if OS_UNIX
|
2015-05-20 09:31:02 +00:00
|
|
|
demos = $(demos_base) pagesetup.c
|
|
|
|
else
|
|
|
|
demos = $(demos_base)
|
2015-05-12 12:20:35 +00:00
|
|
|
endif
|
|
|
|
|
2011-05-16 11:47:17 +00:00
|
|
|
AM_CPPFLAGS = \
|
2008-08-12 15:04:55 +00:00
|
|
|
-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 = \
|
2014-11-28 14:47:58 +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) \
|
2014-11-28 14:47:58 +00:00
|
|
|
$(GDK_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
|
|
|
|
2013-11-05 15:20:49 +00:00
|
|
|
desktopdir = $(datadir)/applications
|
2013-11-07 17:28:23 +00:00
|
|
|
dist_desktop_DATA = gtk3-demo.desktop
|
2013-11-05 15:20:49 +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 += \
|
2014-11-28 14:47:58 +00:00
|
|
|
data/source.svg \
|
|
|
|
data/symbolic-source.svg \
|
2012-05-13 19:23:41 +00:00
|
|
|
demo.gresource.xml \
|
2015-06-28 13:23:28 +00:00
|
|
|
$(resource_files) \
|
2015-05-20 09:31:02 +00:00
|
|
|
org.gtk.Demo.gschema.xml \
|
|
|
|
demos.h.win32
|
2012-01-24 05:07:03 +00:00
|
|
|
|
|
|
|
gsettings_SCHEMAS = \
|
|
|
|
org.gtk.Demo.gschema.xml
|
|
|
|
|
|
|
|
@GSETTINGS_RULES@
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2013-05-09 16:57:34 +00:00
|
|
|
demos.h: $(demos) geninclude.pl
|
2013-04-22 16:03:07 +00:00
|
|
|
$(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2015-05-20 09:31:02 +00:00
|
|
|
demos.h.win32: $(demos_base) geninclude.pl
|
|
|
|
$(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos_base)) > demos.h.win32
|
|
|
|
|
|
|
|
nodist_gtk3_demo_SOURCES = demos.h
|
|
|
|
|
2010-05-11 00:04:20 +00:00
|
|
|
gtk3_demo_SOURCES = \
|
2000-10-18 15:50:13 +00:00
|
|
|
$(demos) \
|
2012-05-13 18:54:42 +00:00
|
|
|
demo_resources.c \
|
2015-05-20 09:31:02 +00:00
|
|
|
main.c
|
2000-10-18 15:50:13 +00:00
|
|
|
|
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)
|
|
|
|
|
2015-06-28 13:23:28 +00:00
|
|
|
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(builddir)/demo.gresource.xml)
|
2015-05-12 03:06:50 +00:00
|
|
|
|
2015-06-28 13:23:28 +00:00
|
|
|
demo_resources.c: demo.gresource.xml $(resource_files)
|
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/demo.gresource.xml
|
2012-05-13 19:23:41 +00:00
|
|
|
|
2013-11-05 19:11:50 +00:00
|
|
|
iconthemedir = $(datadir)/icons/hicolor
|
|
|
|
|
|
|
|
appsicon16dir = $(iconthemedir)/16x16/apps
|
|
|
|
appsicon22dir = $(iconthemedir)/22x22/apps
|
|
|
|
appsicon24dir = $(iconthemedir)/24x24/apps
|
|
|
|
appsicon32dir = $(iconthemedir)/32x32/apps
|
|
|
|
appsicon48dir = $(iconthemedir)/48x48/apps
|
|
|
|
appsicon256dir = $(iconthemedir)/256x256/apps
|
2014-11-28 14:47:58 +00:00
|
|
|
appsiconscalabledir = $(iconthemedir)/scalable/apps
|
|
|
|
|
|
|
|
dist_appsicon16_DATA = data/16x16/gtk3-demo.png data/16x16/gtk3-demo-symbolic.symbolic.png
|
|
|
|
dist_appsicon22_DATA = data/22x22/gtk3-demo.png data/22x22/gtk3-demo-symbolic.symbolic.png
|
|
|
|
dist_appsicon24_DATA = data/24x24/gtk3-demo.png data/24x24/gtk3-demo-symbolic.symbolic.png
|
|
|
|
dist_appsicon32_DATA = data/32x32/gtk3-demo.png data/32x32/gtk3-demo-symbolic.symbolic.png
|
|
|
|
dist_appsicon48_DATA = data/48x48/gtk3-demo.png data/48x48/gtk3-demo-symbolic.symbolic.png
|
|
|
|
dist_appsicon256_DATA = data/256x256/gtk3-demo.png data/256x256/gtk3-demo-symbolic.symbolic.png
|
2013-11-05 19:11:50 +00:00
|
|
|
|
2015-05-19 00:26:25 +00:00
|
|
|
update_icon_cache = $(top_builddir)/gtk/gtk-update-icon-cache --ignore-theme-index --force
|
2013-11-05 19:11:50 +00:00
|
|
|
|
|
|
|
install-data-hook: install-update-icon-cache
|
|
|
|
uninstall-hook: uninstall-update-icon-cache
|
|
|
|
|
|
|
|
install-update-icon-cache:
|
|
|
|
$(AM_V_at)$(POST_INSTALL)
|
|
|
|
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
|
|
|
|
|
|
|
uninstall-update-icon-cache:
|
|
|
|
$(AM_V_at)$(POST_UNINSTALL)
|
|
|
|
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
|
|
|
|
2015-05-20 09:31:02 +00:00
|
|
|
DISTCLEANFILES = demos.h demos.h.win32
|
2009-05-04 00:08:11 +00:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|