1. 28 Dec, 2018 1 commit
    • Kjell Ahlstedt's avatar
      tools/gen_scripts: Update for non-source-dir builds · a3c7b569
      Kjell Ahlstedt authored
      Most modules (e.g. glib) can be built in a directory separated from the
      source directory. Update the scripts that generate .defs and doc.xml files
      to handle that. See gtkmm!11.
      The environment variable JHBUILD_SOURCES is not used any more.
      Instead the environment variables GMMPROC_GEN_SOURCE_DIR and
      GMMPROC_GEN_BUILD_DIR are read. See comments in init_generate.sh.
      a3c7b569
  2. 02 Jun, 2015 2 commits
  3. 10 Jun, 2013 1 commit
    • José Alburquerque's avatar
      Gen Scripts: Minor clean up of the description of the scripts. · 19609dd5
      José Alburquerque authored
      	* tools/gen_scripts/gio_generate_docs.sh:
      	* tools/gen_scripts/gio_generate_enums.sh:
      	* tools/gen_scripts/gio_generate_extra_defs.sh:
      	* tools/gen_scripts/gio_generate_methods.sh:
      	* tools/gen_scripts/glib_generate_docs.sh:
      	* tools/gen_scripts/glib_generate_enums.sh:
      	* tools/gen_scripts/glib_generate_extra_defs.sh:
      	* tools/gen_scripts/glib_generate_methods.sh:
      19609dd5
  4. 13 Jun, 2012 1 commit
    • Murray Cumming's avatar
      Simplify the gen_scripts slightly. · 381c6e5f
      Murray Cumming authored
      	* tools/gen_scripts/gio_generate_docs.sh:
      	* tools/gen_scripts/gio_generate_enums.sh:
      	* tools/gen_scripts/gio_generate_methods.sh:
      	* tools/gen_scripts/glib_generate_docs.sh:
      	* tools/gen_scripts/glib_generate_enums.sh:
      	* tools/gen_scripts/glib_generate_methods.sh:
      	Do not require changes to PATH.
      381c6e5f
  5. 01 Mar, 2012 1 commit
    • José Alburquerque's avatar
      Generation Scripts: Don't assume the root directory is glibmm. · e4ee6d19
      José Alburquerque authored
      	* tools/gen_scripts/gio_generate_docs.sh:
      	* tools/gen_scripts/gio_generate_enums.sh:
      	* tools/gen_scripts/gio_generate_extra_defs.sh:
      	* tools/gen_scripts/gio_generate_methods.sh:
      	* tools/gen_scripts/glib_generate_docs.sh:
      	* tools/gen_scripts/glib_generate_enums.sh:
      	* tools/gen_scripts/glib_generate_extra_defs.sh:
      	* tools/gen_scripts/glib_generate_methods.sh: Modify them so that they
      	assume that they reside in the tools/gen_scripts directory and find
      	the root of glibmm based on that instead of assuming that the name of
      	the root directory is glibmm.
      
      	* gio/src/gio_enums.defs.patch: Add this patch file to streamline the
      	enum generation so that keeping the custom Gio::HOST_WAS_NOT_FOUND
      	enum value is easier.
      e4ee6d19
  6. 28 Feb, 2012 1 commit
    • José Alburquerque's avatar
      tools: Add XML docs and defs generation scripts. · fd90d1f8
      José Alburquerque authored
      	* tools/gen_scripts/gio_generate_docs.sh:
      	* tools/gen_scripts/gio_generate_enums.sh:
      	* tools/gen_scripts/gio_generate_extra_defs.sh:
      	* tools/gen_scripts/gio_generate_methods.sh:
      	* tools/gen_scripts/glib_generate_docs.sh:
      	* tools/gen_scripts/glib_generate_enums.sh:
      	* tools/gen_scripts/glib_generate_extra_defs.sh:
      	* tools/gen_scripts/glib_generate_methods.sh: Add these scripts to
      	generate the XML docs and defs files for glibmm and giomm.  A
      	'JHBUILD_SOURCES' variable pointing to the jhbuild root source
      	directory needs to be defined and the various tools (like h2def.py,
      	enum.pl, etc.) need to be in the command path for these scripts to run
      	successfully.  They generate the appropriate files, patch them if
      	necessary, and place them in the correct place.  All that's needed is
      	to run the scripts.
      
      	* gio/src/gio_docs.xml:
      	* gio/src/gio_enums.defs:
      	* gio/src/gio_methods.defs:
      	* gio/src/gio_signals.defs:
      	* glib/src/glib_docs.xml:
      	* glib/src/glib_enums.defs:
      	* glib/src/glib_functions.defs:
      	* glib/src/gmodule_functions.defs:
      	* glib/src/gobject_enums.defs:
      	* glib/src/gobject_functions.defs: Regenerate all the XML and defs
      	files to ensure that the scripts work.
      
      	* glib/src/glib_enums.defs.patch: Add this patch file so that it isn't
      	necessary to manually edit the defs file.
      	* gio/src/gio_signals.defs.patch:
      	* glib/src/glib_functions.defs.patch: Update these patch files so the
      	defs files patch successfully.
      
      	Bug #668918.
      fd90d1f8