if OS_UNIX
xdgmimedir += xdgmime
+if USE_QUARTZ
+GTK_PRINT_PREVIEW_COMMAND="/Applications/Preview.app/Contents/MacOS/Preview %f"
+else
GTK_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f"
endif
+endif
SUBDIRS = theme-bits $(xdgmimedir) . tests
-DIST_SUBDIRS=theme-bits xdgmime
+DIST_SUBDIRS=theme-bits xdgmime tests
if HAVE_CUPS
GTK_PRINT_BACKENDS=file,cups
-DGTK_COMPILATION \
-DGTK_PRINT_BACKENDS=\"$(GTK_PRINT_BACKENDS)\" \
-DGTK_PRINT_PREVIEW_COMMAND=\"$(GTK_PRINT_PREVIEW_COMMAND)\" \
+ -I$(top_builddir) \
-I$(top_builddir)/gtk \
-I$(top_srcdir) -I../gdk \
-I$(top_srcdir)/gdk \
gtkcheckbutton.h \
gtkcheckmenuitem.h \
gtkclipboard.h \
- gtkclist.h \
gtkcolorbutton.h \
gtkcolorsel.h \
gtkcolorseldialog.h \
- gtkcombo.h \
gtkcombobox.h \
gtkcomboboxentry.h \
gtkcontainer.h \
- gtkctree.h \
gtkcurve.h \
gtkdebug.h \
gtkdialog.h \
gtkfilechooserdialog.h \
gtkfilechooserwidget.h \
gtkfilefilter.h \
- gtkfilesel.h \
gtkfixed.h \
gtkfontbutton.h \
gtkfontsel.h \
gtkinputdialog.h \
gtkinvisible.h \
gtkitem.h \
- gtkitemfactory.h \
gtklabel.h \
gtklayout.h \
gtklinkbutton.h \
- gtklist.h \
- gtklistitem.h \
gtkliststore.h \
gtkmain.h \
gtkmenu.h \
gtkmodules.h \
gtknotebook.h \
gtkobject.h \
- gtkoldeditable.h \
- gtkoptionmenu.h \
gtkpagesetup.h \
gtkpaned.h \
gtkpapersize.h \
- gtkpixmap.h \
gtkplug.h \
- gtkpreview.h \
gtkprintcontext.h \
gtkprintoperation.h \
gtkprintoperationpreview.h \
gtkprintsettings.h \
gtkprivate.h \
- gtkprogress.h \
gtkprogressbar.h \
gtkradioaction.h \
gtkradiobutton.h \
gtkseparatormenuitem.h \
gtkseparatortoolitem.h \
gtksettings.h \
- gtksignal.h \
gtksizegroup.h \
gtksocket.h \
gtkspinbutton.h \
gtktable.h \
gtktearoffmenuitem.h \
gtktestutils.h \
- gtktext.h \
gtktextbuffer.h \
gtktextbufferrichtext.h \
gtktextchild.h \
gtktexttag.h \
gtktexttagtable.h \
gtktextview.h \
- gtktipsquery.h \
gtktoggleaction.h \
gtktogglebutton.h \
gtktoggletoolbutton.h \
gtktoolbar.h \
gtktoolbutton.h \
gtktoolitem.h \
+ gtktoolshell.h \
gtktooltip.h \
- gtktooltips.h \
- gtktree.h \
gtktreednd.h \
- gtktreeitem.h \
gtktreemodel.h \
gtktreemodelfilter.h \
gtktreemodelsort.h \
gtkcellview.c \
gtkcheckbutton.c \
gtkcheckmenuitem.c \
- gtkclist.c \
gtkcolorbutton.c \
gtkcolorsel.c \
gtkcolorseldialog.c \
- gtkcombo.c \
gtkcombobox.c \
gtkcomboboxentry.c \
gtkcontainer.c \
- gtkctree.c \
gtkcurve.c \
gtkdialog.c \
gtkdrawingarea.c \
gtkfilechooserutils.c \
gtkfilechooserwidget.c \
gtkfilefilter.c \
- gtkfilesel.c \
gtkfilesystem.c \
gtkfilesystemmodel.c \
gtkfixed.c \
gtkinputdialog.c \
gtkinvisible.c \
gtkitem.c \
- gtkitemfactory.c \
gtkkeyhash.c \
gtklabel.c \
gtklayout.c \
gtklinkbutton.c \
- gtklist.c \
- gtklistitem.c \
gtkliststore.c \
gtkmain.c \
gtkmarshal.c \
gtkmodules.c \
gtknotebook.c \
gtkobject.c \
- gtkoldeditable.c \
- gtkoptionmenu.c \
gtkpagesetup.c \
gtkpaned.c \
gtkpapersize.c \
gtkpathbar.c \
- gtkpixmap.c \
gtkplug.c \
- gtkpreview.c \
gtkprintcontext.c \
gtkprintoperation.c \
gtkprintoperationpreview.c \
gtkprintsettings.c \
gtkprintutils.c \
- gtkprogress.c \
gtkprogressbar.c \
gtkradioaction.c \
gtkradiobutton.c \
gtkseparatormenuitem.c \
gtkseparatortoolitem.c \
gtksettings.c \
- gtksignal.c \
gtksizegroup.c \
gtksocket.c \
gtkspinbutton.c \
gtktable.c \
gtktearoffmenuitem.c \
gtktestutils.c \
- gtktext.c \
gtktextbtree.c \
gtktextbuffer.c \
gtktextbufferrichtext.c \
gtktextutil.c \
gtktextview.c \
gtkthemes.c \
- gtktipsquery.c \
gtktoggleaction.c \
gtktogglebutton.c \
gtktoggletoolbutton.c \
gtktoolbar.c \
gtktoolbutton.c \
gtktoolitem.c \
+ gtktoolshell.c \
gtktooltip.c \
- gtktooltips.c \
- gtktree.c \
gtktreedatalist.c \
gtktreednd.c \
- gtktreeitem.c \
gtktreemodel.c \
gtktreemodelfilter.c \
gtktreemodelsort.c \
gtkwindow-decorate.c \
gtkwindow.c \
$(gtk_clipboard_dnd_c_sources)
+
+# Broken
+gtk_public_h_sources += \
+ gtktext.h \
+ gtktree.h \
+ gtktreeitem.h
+gtk_base_c_sources += \
+ gtktext.c \
+ gtktree.c \
+ gtktreeitem.c
+
+# Deprecated
+gtk_public_h_sources += \
+ gtkclist.h \
+ gtkcombo.h \
+ gtkctree.h \
+ gtkfilesel.h \
+ gtkitemfactory.h \
+ gtklist.h \
+ gtklistitem.h \
+ gtkoldeditable.h \
+ gtkoptionmenu.h \
+ gtkpixmap.h \
+ gtkpreview.h \
+ gtkprogress.h \
+ gtksignal.h \
+ gtktipsquery.h \
+ gtktooltips.h
+gtk_base_c_sources += \
+ gtkclist.c \
+ gtkcombo.c \
+ gtkctree.c \
+ gtkfilesel.c \
+ gtkitemfactory.c \
+ gtklist.c \
+ gtklistitem.c \
+ gtkoldeditable.c \
+ gtkoptionmenu.c \
+ gtkpixmap.c \
+ gtkpreview.c \
+ gtkprogress.c \
+ gtksignal.c \
+ gtktipsquery.c \
+ gtktooltips.c
+
gtk_c_sources = $(gtk_base_c_sources)
gtk_all_c_sources = $(gtk_base_c_sources)
${CPP} $(DEFS) $(INCLUDES) -DGTK_ENABLE_BROKEN $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) xgen-gtfsrc.c | \
grep -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \
sort | uniq | \
- sed '{ s/^/vgt=/; s/$$/();/; }' > xgen-gtf \
+ sed '{ s/^/*tp++ = /; s/$$/();/; }' > xgen-gtf \
&& cp xgen-gtf $@ && rm -f xgen-gtf
gtktestutils.c: gtktypefuncs.c
gtkunixprintinclude_HEADERS = $(gtk_unix_print_public_h_sources)
libgtk_x11_2_0_la_SOURCES = $(gtk_c_sources)
-libgtk_linux_fb_2_0_la_SOURCES = $(gtk_c_sources)
libgtk_win32_2_0_la_SOURCES = $(gtk_c_sources)
libgtk_quartz_2_0_la_SOURCES = $(gtk_c_sources)
libgtk_directfb_2_0_la_SOURCES = $(gtk_c_sources)
libgtk_x11_2_0_la_LDFLAGS = $(libtool_opts)
-libgtk_linux_fb_2_0_la_LDFLAGS = $(libtool_opts)
libgtk_win32_2_0_la_LDFLAGS = $(libtool_opts) -Wl,-luuid
libgtk_quartz_2_0_la_LDFLAGS = $(libtool_opts)
libgtk_directfb_2_0_la_LDFLAGS = $(libtool_opts)
libgtk_x11_2_0_la_LIBADD = $(libadd)
-libgtk_linux_fb_2_0_la_LIBADD = $(libadd)
libgtk_win32_2_0_la_LIBADD = $(libadd) -lole32 -lgdi32 -lcomdlg32 -lwinspool -lcomctl32
libgtk_win32_2_0_la_DEPENDENCIES = $(gtk_def) $(gtk_win32_res)
libgtk_quartz_2_0_la_LIBADD = $(libadd)
if USE_WIN32
libgtk_target_ldflags = $(gtk_win32_res_ldflag) $(gtk_win32_symbols)
endif
-EXTRA_LTLIBRARIES = libgtk-x11-2.0.la libgtk-linux-fb-2.0.la libgtk-win32-2.0.la libgtk-quartz-2.0.la libgtk-directfb-2.0.la
+EXTRA_LTLIBRARIES = libgtk-x11-2.0.la libgtk-win32-2.0.la libgtk-quartz-2.0.la libgtk-directfb-2.0.la
install-exec-hook:
if DISABLE_EXPLICIT_DEPS
stock-icons/16/gtk-network.png \
stock-icons/16/gtk-new.png \
stock-icons/16/gtk-open.png \
+ stock-icons/16/gtk-page-setup.png \
stock-icons/16/gtk-paste.png \
stock-icons/16/gtk-preferences.png \
stock-icons/16/gtk-print.png \
stock-icons/24/gtk-orientation-landscape.png \
stock-icons/24/gtk-orientation-reverse-portrait.png \
stock-icons/24/gtk-orientation-portrait.png \
+ stock-icons/24/gtk-page-setup.png \
stock-icons/24/gtk-paste.png \
stock-icons/24/gtk-preferences.png \
stock-icons/24/gtk-print.png \