<commit_before><xml>

    <set name="USE_GTK3" value="1"/>

    <set name="GTK_PATH" value="/usr/lib/x86_64-linux-gnu/gtk-2.0" if="HXCPP_M64"/>
    <set name="GTK_GLIB_PATH" value="/usr/lib/x86_64-linux-gnu/glib-2.0" if="HXCPP_M64"/>
    <set name="GTK_PATH" value="/usr/lib/i386-linux-gnu/gtk-2.0" unless="HXCPP_M64"/>
    <set name="GTK_GLIB_PATH" value="/usr/lib/i386-linux-gnu/glib-2.0" unless="HXCPP_M64"/>

<!-- <error value="err - ${GTK_GLIB_PATH}" /> -->

    <files id="linc_dialogs">

      <cache value="0" />
      <compilerflag value="-I${LINC_DIALOGS_PATH}/linc"/>

      <section if="mac">
        <file name="${LINC_DIALOGS_PATH}/linc/linc_dialogs_mac.mm" />
      </section>

      <section if="windows">
        <file name="${LINC_DIALOGS_PATH}/linc/linc_dialogs_windows.cpp" />
      </section>

      <section if="linux">

        <file name="${LINC_DIALOGS_PATH}/linc/linc_dialogs_linux.cpp"/>

        <!-- gtk 3 only -->
        <compilerflag value="-I/usr/include/gtk-3.0" if="USE_GTK3"/>
        <compilerflag value="-I${GTK_GLIB_PATH}/include" if="USE_GTK3"/>

        <!-- gtk 2 and 3 -->
        <compilerflag value="-I/usr/include/libpng12"/>
        <compilerflag value="-I/usr/include/atk-1.0"/>
        <compilerflag value="-I/usr/include/cairo"/>
        <compilerflag value="-I/usr/include/gdk-pixbuf-2.0"/>
        <compilerflag value="-I/usr/include/pango-1.0"/>
        <compilerflag value="-I/usr/include/gio-unix-2.0/"/>
        <compilerflag value="-I/usr/include/freetype2"/>
        <compilerflag value="-I/usr/include/glib-2.0"/>
        <compilerflag value="-I/usr/include/pixman-1"/>

        <!-- gtk 2 only -->
        <compilerflag value="-I/usr/include/gtk-2.0" if="USE_GTK2"/>
        <compilerflag value="-I${GTK_PATH}/include" if="USE_GTK2"/>
        <compilerflag value="-I${GTK_GLIB_PATH}/include" if="USE_GTK2"/>
        <compilerflag value="-I/usr/include/harfbuzz" if="USE_GTK2"/>

      </section>

    </files>

    <files id="haxe">
      <compilerflag value="-I${LINC_DIALOGS_PATH}/linc"/>
    </files>

   <target id="haxe">

      <files id="linc_dialogs" />

      <section if="mac">
        <vflag name="-framework" value="Cocoa" />
        <vflag name="-framework" value="Foundation" />
      </section>

      <section if="windows">
        <lib name="comdlg32.lib" />
        <lib name="ole32.lib" />
      </section> <!-- windows -->

      <section if="linux">
        <!-- These are from `pkg-config --libs gtk+-3.0` -->
        <lib name="-lgtk-3" if="USE_GTK3"/>
        <lib name="-lgdk-3" if="USE_GTK3"/>
        <lib name="-lcairo-gobject" if="USE_GTK3"/>

        <!-- from both gtk3 and gtk2 -->
        <lib name="-latk-1.0"/>
        <lib name="-lgio-2.0"/>
        <lib name="-lpangocairo-1.0"/>
        <lib name="-lgdk_pixbuf-2.0"/>
        <lib name="-lpango-1.0"/>
        <lib name="-lcairo"/>
        <lib name="-lgobject-2.0"/>
        <lib name="-lglib-2.0"/>

        <!-- These are from `pkg-config --libs gtk+-2.0` -->
        <lib name="-lgtk-x11-2.0" if="USE_GTK2"/>
        <lib name="-lgdk-x11-2.0" if="USE_GTK2"/>
        <lib name="-lpangoft2-1.0" if="USE_GTK2"/>
        <lib name="-lfontconfig" if="USE_GTK2"/>
        <lib name="-lfreetype" if="USE_GTK2"/>
      </section>

   </target>
</xml>
<commit_msg>enable hxcpp cache<commit_after><xml>

    <set name="USE_GTK3" value="1"/>

    <set name="GTK_PATH" value="/usr/lib/x86_64-linux-gnu/gtk-2.0" if="HXCPP_M64"/>
    <set name="GTK_GLIB_PATH" value="/usr/lib/x86_64-linux-gnu/glib-2.0" if="HXCPP_M64"/>
    <set name="GTK_PATH" value="/usr/lib/i386-linux-gnu/gtk-2.0" unless="HXCPP_M64"/>
    <set name="GTK_GLIB_PATH" value="/usr/lib/i386-linux-gnu/glib-2.0" unless="HXCPP_M64"/>

<!-- <error value="err - ${GTK_GLIB_PATH}" /> -->

    <files id="linc_dialogs">

      <cache value="1" />
      <compilerflag value="-I${LINC_DIALOGS_PATH}/linc"/>

      <section if="mac">
        <file name="${LINC_DIALOGS_PATH}/linc/linc_dialogs_mac.mm" />
      </section>

      <section if="windows">
        <file name="${LINC_DIALOGS_PATH}/linc/linc_dialogs_windows.cpp" />
      </section>

      <section if="linux">

        <file name="${LINC_DIALOGS_PATH}/linc/linc_dialogs_linux.cpp"/>

        <!-- gtk 3 only -->
        <compilerflag value="-I/usr/include/gtk-3.0" if="USE_GTK3"/>
        <compilerflag value="-I${GTK_GLIB_PATH}/include" if="USE_GTK3"/>

        <!-- gtk 2 and 3 -->
        <compilerflag value="-I/usr/include/libpng12"/>
        <compilerflag value="-I/usr/include/atk-1.0"/>
        <compilerflag value="-I/usr/include/cairo"/>
        <compilerflag value="-I/usr/include/gdk-pixbuf-2.0"/>
        <compilerflag value="-I/usr/include/pango-1.0"/>
        <compilerflag value="-I/usr/include/gio-unix-2.0/"/>
        <compilerflag value="-I/usr/include/freetype2"/>
        <compilerflag value="-I/usr/include/glib-2.0"/>
        <compilerflag value="-I/usr/include/pixman-1"/>

        <!-- gtk 2 only -->
        <compilerflag value="-I/usr/include/gtk-2.0" if="USE_GTK2"/>
        <compilerflag value="-I${GTK_PATH}/include" if="USE_GTK2"/>
        <compilerflag value="-I${GTK_GLIB_PATH}/include" if="USE_GTK2"/>
        <compilerflag value="-I/usr/include/harfbuzz" if="USE_GTK2"/>

      </section>

    </files>

    <files id="haxe">
      <compilerflag value="-I${LINC_DIALOGS_PATH}/linc"/>
    </files>

   <target id="haxe">

      <files id="linc_dialogs" />

      <section if="mac">
        <vflag name="-framework" value="Cocoa" />
        <vflag name="-framework" value="Foundation" />
      </section>

      <section if="windows">
        <lib name="comdlg32.lib" />
        <lib name="ole32.lib" />
      </section> <!-- windows -->

      <section if="linux">
        <!-- These are from `pkg-config --libs gtk+-3.0` -->
        <lib name="-lgtk-3" if="USE_GTK3"/>
        <lib name="-lgdk-3" if="USE_GTK3"/>
        <lib name="-lcairo-gobject" if="USE_GTK3"/>

        <!-- from both gtk3 and gtk2 -->
        <lib name="-latk-1.0"/>
        <lib name="-lgio-2.0"/>
        <lib name="-lpangocairo-1.0"/>
        <lib name="-lgdk_pixbuf-2.0"/>
        <lib name="-lpango-1.0"/>
        <lib name="-lcairo"/>
        <lib name="-lgobject-2.0"/>
        <lib name="-lglib-2.0"/>

        <!-- These are from `pkg-config --libs gtk+-2.0` -->
        <lib name="-lgtk-x11-2.0" if="USE_GTK2"/>
        <lib name="-lgdk-x11-2.0" if="USE_GTK2"/>
        <lib name="-lpangoft2-1.0" if="USE_GTK2"/>
        <lib name="-lfontconfig" if="USE_GTK2"/>
        <lib name="-lfreetype" if="USE_GTK2"/>
      </section>

   </target>
</xml>

{'fraction_non_alphanumeric': 0.21295876755777074, 'fraction_numerical': 0.03201933242712581, 'mean_word_length': 2.369974554707379, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 155, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2843208', 'n_tokens_mistral': 2587, 'n_tokens_neox': 2484, 'n_words': 360}