OLD | NEW |
1 # vim:set et ts=4: | 1 # vim:set et ts=4: |
2 # | 2 # |
3 # ibus - The Input Bus | 3 # ibus - The Input Bus |
4 # | 4 # |
5 # Copyright (c) 2007-2016 Peng Huang <shawn.p.huang@gmail.com> | 5 # Copyright (c) 2007-2016 Peng Huang <shawn.p.huang@gmail.com> |
6 # Copyright (c) 2015-2017 Takao Fujiwara <takao.fujiwara1@gmail.com> | 6 # Copyright (c) 2015-2017 Takao Fujiwara <takao.fujiwara1@gmail.com> |
7 # Copyright (c) 2007-2017 Red Hat, Inc. | 7 # Copyright (c) 2007-2017 Red Hat, Inc. |
8 # | 8 # |
9 # This library is free software; you can redistribute it and/or | 9 # This library is free software; you can redistribute it and/or |
10 # modify it under the terms of the GNU Lesser General Public | 10 # modify it under the terms of the GNU Lesser General Public |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 https://github.com/fujiwarat/cldr-emoji-annotation) | 646 https://github.com/fujiwarat/cldr-emoji-annotation) |
647 else | 647 else |
648 head=`echo "$EMOJI_ANNOTATION_DIR" | cut -c1`; | 648 head=`echo "$EMOJI_ANNOTATION_DIR" | cut -c1`; |
649 if test $head != "/" ; then | 649 if test $head != "/" ; then |
650 EMOJI_ANNOTATION_DIR=`realpath "$EMOJI_ANNOTATION_DIR"` | 650 EMOJI_ANNOTATION_DIR=`realpath "$EMOJI_ANNOTATION_DIR"` |
651 fi | 651 fi |
652 fi | 652 fi |
653 enable_emoji_dict="yes (enabled, use --disable-emoji-dict to disable)" | 653 enable_emoji_dict="yes (enabled, use --disable-emoji-dict to disable)" |
654 fi | 654 fi |
655 | 655 |
| 656 AC_ARG_ENABLE(harfbuzz-for-emoji, |
| 657 AS_HELP_STRING([--enable-harfbuzz-for-emoji], |
| 658 [Enable HarBuzz to draw emoji characters. |
| 659 Current Pango has a problem to draw emoji variants and |
| 660 this way enables to use HarfBuzz directly in GtkLabel.]), |
| 661 [enable_harfbuzz_for_emoji=$enableval], |
| 662 [enable_harfbuzz_for_emoji=no] |
| 663 ) |
| 664 AM_CONDITIONAL([ENABLE_HARFBUZZ_FOR_EMOJI], |
| 665 [test x"$enable_harfbuzz_for_emoji" = x"yes"]) |
| 666 |
| 667 if test x"$enable_harfbuzz_for_emoji" = x"yes"; then |
| 668 PKG_CHECK_MODULES(CAIRO, [ |
| 669 cairo |
| 670 ]) |
| 671 PKG_CHECK_MODULES(FONTCONFIG, [ |
| 672 fontconfig |
| 673 ]) |
| 674 PKG_CHECK_MODULES(HARFBUZZ, [ |
| 675 harfbuzz |
| 676 ]) |
| 677 PKG_CHECK_MODULES(PANGO, [ |
| 678 pango |
| 679 ]) |
| 680 else |
| 681 enable_harfbuzz_for_emoji="no (disabled, use --enable-harfbuzz-for-emoji to
enable)" |
| 682 fi |
| 683 |
656 # Check iso-codes. | 684 # Check iso-codes. |
657 PKG_CHECK_MODULES(ISOCODES, [ | 685 PKG_CHECK_MODULES(ISOCODES, [ |
658 iso-codes | 686 iso-codes |
659 ]) | 687 ]) |
660 ISOCODES_PREFIX=`$PKG_CONFIG iso-codes --variable=prefix` | 688 ISOCODES_PREFIX=`$PKG_CONFIG iso-codes --variable=prefix` |
661 AC_SUBST(ISOCODES_PREFIX) | 689 AC_SUBST(ISOCODES_PREFIX) |
662 | 690 |
663 AC_SUBST([GDBUS_CODEGEN], [`$PKG_CONFIG --variable gdbus_codegen gio-2.0`]) | 691 AC_SUBST([GDBUS_CODEGEN], [`$PKG_CONFIG --variable gdbus_codegen gio-2.0`]) |
664 | 692 |
665 # OUTPUT files | 693 # OUTPUT files |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 Build UI $enable_ui | 764 Build UI $enable_ui |
737 Build engine $enable_engine | 765 Build engine $enable_engine |
738 Enable key snooper $enable_key_snooper | 766 Enable key snooper $enable_key_snooper |
739 No snooper regexes "$NO_SNOOPER_APPS" | 767 No snooper regexes "$NO_SNOOPER_APPS" |
740 Panel icon "$IBUS_ICON_KEYBOARD" | 768 Panel icon "$IBUS_ICON_KEYBOARD" |
741 Enable surrounding-text $enable_surrounding_text | 769 Enable surrounding-text $enable_surrounding_text |
742 Enable libnotify $enable_libnotify | 770 Enable libnotify $enable_libnotify |
743 Enable Emoji dict $enable_emoji_dict | 771 Enable Emoji dict $enable_emoji_dict |
744 Unicode Emoji directory $UNICODE_EMOJI_DIR | 772 Unicode Emoji directory $UNICODE_EMOJI_DIR |
745 CLDR annotation directory $EMOJI_ANNOTATION_DIR | 773 CLDR annotation directory $EMOJI_ANNOTATION_DIR |
| 774 Enable HarfBuzz for Emoji $enable_harfbuzz_for_emoji |
746 Run test cases $enable_tests | 775 Run test cases $enable_tests |
747 ]) | 776 ]) |
748 | 777 |
OLD | NEW |