marco_add-pixbuf-inline-icons.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. diff -upr marco-1.7.0-orig/src/Makefile.am marco-1.7.0/src/Makefile.am
  2. --- marco-1.7.0-orig/src/Makefile.am 2014-01-25 11:38:54.000000000 +0100
  3. +++ marco-1.7.0/src/Makefile.am 2014-02-10 19:16:21.430872812 +0100
  4. @@ -191,14 +191,27 @@ xml_in_files = \
  5. 50-marco-global-key.xml.in
  6. xml_DATA = $(xml_in_files:.xml.in=.xml)
  7. -BUILT_SOURCES =
  8. +@INTLTOOL_SCHEMAS_RULE@
  9. +
  10. +IMAGES=stock_maximize.png stock_minimize.png stock_delete.png window.png mini-window.png
  11. +VARIABLES=stock_maximize_data $(srcdir)/stock_maximize.png \
  12. + stock_minimize_data $(srcdir)/stock_minimize.png \
  13. + stock_delete_data $(srcdir)/stock_delete.png \
  14. + mini_window_data $(srcdir)/mini-window.png \
  15. + window_data $(srcdir)/window.png
  16. +
  17. +BUILT_SOURCES = inlinepixbufs.h
  18. CLEANFILES = \
  19. + inlinepixbufs.h \
  20. marco.desktop \
  21. marco-wm.desktop \
  22. 50-marco-desktop-key.xml \
  23. 50-marco-global-key.xml \
  24. 50-marco-window-key.xml
  25. +inlinepixbufs.h: $(IMAGES)
  26. + $(AM_V_GEN)$(GDK_PIXBUF_CSOURCE) --raw --build-list $(VARIABLES) >$(srcdir)/inlinepixbufs.h
  27. +
  28. pkgconfigdir = $(libdir)/pkgconfig
  29. pkgconfig_DATA = libmarco-private.pc