Commit Graph

77 Commits

Author SHA1 Message Date
Akira TAGOH 97488fd725 export GETTEXTDATADIR to refer the local .its/.loc file instead of using --its option 2018-01-06 18:55:00 +09:00
Akira TAGOH 23ba0dc10d workaround to avoid modifying by gettextize 2017-11-07 15:40:17 +09:00
Akira TAGOH 9a0fcb948f Add the ruleset description support
Trying to address what these configuration files really do.
This change allows to see the short description that mention
the purpose of the content in the config file and obtain
them through API.

This change also encourage one who want to make some UI for
the user-specific configuration management. it is the main
purpose of this change for me though.

Aside from that, I've also made programs translatable. so
we see more dependencies on the build time for gettext,
and itstool to generate PO from xml.
2017-11-07 15:24:54 +09:00
Behdad Esfahbod 8f4c4d278d Remove blanks facility from the library
XML parser does not accept it anymore either.
2017-09-12 17:02:27 -04:00
Behdad Esfahbod 3bd4dd27bd Remove fc-glyphname 2017-09-12 17:02:27 -04:00
Akira TAGOH d6a5cc665a Hardcode the blanks in the library
https://bugs.freedesktop.org/show_bug.cgi?id=79956
2015-02-27 14:18:32 +09:00
Akira TAGOH 9161ed1e4a Add the relative path for <include> to fonts.conf if the parent path is same to fonts.conf
Bug 69836 - fonts.conf.in update for Windows cross-compiling
2013-09-30 11:30:00 +09:00
Akira TAGOH 3fc22cfe75 Minor cleanup 2013-03-29 12:46:04 +09:00
Quentin Glidic 96220a5ed9 Use LOG_COMPILER and AM_TESTS_ENVIRONMENT
TESTS_ENVIRONMENT is deprecated and should be reserved to the user to
override the test environment

<ext>_LOG_COMPILER is meant to contain the program that runs the test
with <ext> extension
LOG_COMPILER is for extensionless tests
AM_TESTS_ENVIRONMENT is meant to set the environment for the tests

  https://bugs.freedesktop.org/show_bug.cgi?id=60192

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2013-02-06 19:53:36 +09:00
Akira TAGOH 52b2b5c992 Bug 60312 - DIST_SUBDIRS should never appear in a conditional
As it is documented like this:

If SUBDIRS is defined conditionally using Automake conditionals,
Automake will define DIST_SUBDIRS automatically from the possible
values of SUBDIRS in all conditions.

So we don't need to re-define DIST_SUBDIRS in Makefile.am unless
we use AC_SUBST to define SUBDIRS.

Patch from Quentin Glidic
2013-02-05 20:45:14 +09:00
Akira TAGOH d34643894f Use AM_MISSING_PROG instead of hardcoding missing 2013-02-05 14:17:16 +09:00
Christoph J. Thompson e11f15628c Use the PKG_INSTALLDIR macro.
modified:   Makefile.am
	modified:   configure.ac
2013-02-01 10:42:03 +09:00
Akira TAGOH 8e8a99ae8a Bug 29312 - RFE: feature to indicate which characters are missing to satisfy the language support
Add fc-validate to check the language coverage in a font.
2013-01-09 12:21:33 +09:00
Behdad Esfahbod 538f1579e8 Trying to fix distcheck
Doesn't work though :(.  Building docs is very fragile...

At least, if docbook is present, distcheck passes now.
2013-01-02 18:23:55 -06:00
Behdad Esfahbod ed41b23765 Switch .gitignore to git.mk 2013-01-02 00:36:12 -06:00
Akira TAGOH c4a58ae0e2 Fix for libtoolize's warnings 2012-08-27 16:36:49 +09:00
Akira TAGOH 101825a129 Generate bzip2-compressed tarball too 2012-06-11 18:43:56 +09:00
Akira TAGOH e181ab4de5 Bug 29341 - Make some fontconfig paths configurable
Add configure options to set the directory to be installed:
  --with-templatedir for the configuration files a.k.a.
    /etc/fonts/conf.avail
  --with-baseconfigdir for fonts.conf etc a.k.a. /etc/fonts
  --with-configdir for the active configuration files a.k.a.
    /etc/fonts/conf.d
  --with-xmldir for fonts.dtd etc

and the default path for templatedir is changed to
${datadir}/fontconfig/conf.avail
2012-04-05 12:23:49 +09:00
Akira TAGOH becbdaebe3 Move workaround macros for fat binaries into the separate header file 2012-03-29 12:50:47 +09:00
Akira TAGOH 93460f93e9 Fix a build issue due to the use of non-portable variables
$< isn't supported in BSD make say. $(RM) is pre-defined in GNU make
though, not in BSD make say. so changed to check on configure if it's
pre-defined by make, otherwise set the appropriate command to $(RM).

This would be a workaround until it has the certain pre-defined value.
2012-03-16 16:34:37 +09:00
Akira TAGOH a5b609196f Revert "Fix a build fail on some environment."
This reverts commit 0fdfddf2ac.

Conflicts:

	doc/Makefile.am
2012-03-16 11:55:30 +09:00
Akira TAGOH 3b142c2aae Get rid of $< from Makefile.am 2012-03-11 02:12:10 +09:00
Akira TAGOH 0fdfddf2ac Fix a build fail on some environment. 2012-03-10 23:30:30 +09:00
Behdad Esfahbod d1a0fca316 Make fc-arch stuff cross-compiling-safe
Fixes:
Bug 32679 - fontconfig-2.8.0 does not cross compile
Bug 25462 - Cross-compilation doesn't work
2010-12-28 01:22:34 -06:00
Behdad Esfahbod 5aaf466d38 Cleanup copyright notices to replace "Keith Packard" with "the author(s)" 2010-11-10 16:45:42 -05:00
Behdad Esfahbod ba7b50ab33 Add fc-pattern cmdline tool 2010-04-20 23:18:00 -04:00
Behdad Esfahbod 2c93614ea0 Bug 18886 installation crashes if fontconfig already installed
Run the uninstalled fc-cache, not the installed one.
2010-02-25 15:10:41 -05:00
Behdad Esfahbod d07059b7a3 Fix distcheck 2009-06-24 14:43:43 -04:00
Behdad Esfahbod 7042e23649 [Makefile.am] Don't clean ChangeLog in distclean 2009-06-24 13:52:09 -04:00
Behdad Esfahbod 3074a73b41 Replace 'KEITH PACKARD' with 'THE AUTHOR(S)' in license text in all files 2009-03-13 17:59:28 -04:00
Behdad Esfahbod b9b01b6ed0 Call git tools using "git cmd" instead of "git-cmd" syntax
Recent git doesn't install the git-* commands in path.
2009-03-12 13:48:54 -04:00
Dan Nicholson c08216c6f4 Let make expand fc_cachedir/FC_CACHEDIR (bug #18675)
configure replaces a NONE prefix with the default prefix too late.
So we move fonts.conf creation to Makefile, such that prefix is correctly
expanded. Ugly, but works.
2009-02-15 13:40:16 -08:00
Behdad Esfahbod 6bffe1a95b Add fc-scan too that runs FcFileScan/FcDirScan
This is quite similar to fc-query, but calling FcFileScan/FcDirScan instead
of FcFreeTypeQuery.
2009-02-13 16:54:06 -08:00
Behdad Esfahbod e690fbb20e Get rid of $Id$ tags 2009-02-13 16:53:57 -08:00
Behdad Esfahbod 77c0d8bce8 Add fc-query (#13019) 2009-02-13 16:53:56 -08:00
Keith Packard 83c5c357ab Oops. Fix for bug 15928 used wrong path for installed fc-cache.
fc-cache lives in $(bindir)/fc-cache, not $(bindir)/fc-cache/fc-cache.
2008-05-24 17:01:12 -07:00
Glen Low c6228a34b0 Fix Win32 build error: install tries to run fc-cache locally (bug 15928).
When building in Win32 e.g. with MinGW, the install tries to run fc-cache
locally but the required DLL's are not in the path. I've included a patch for
this to fix Makefile.in to run fc-cache from bindir but obviously this should
be applied to Makefile.am instead.

(the second part of this patch was already in the tree)
2008-05-24 15:59:35 -07:00
Keith Packard df8ceebdbe Remove doltcompile in distclean 2008-05-03 20:06:48 -07:00
Keith Packard 89d6119c02 A few fixups for make distcheck 2007-10-25 15:19:14 -07:00
Keith Packard 00268a50e8 Fix ChangeLog generation to avoid circular make dependency 2007-10-18 03:52:29 -07:00
Keith Packard 9596dce93b Don't display tests for DESTDIR on make install.
Make install output quieter by eliding the shell commands
used to test for DESTDIR being set during make install.
2006-09-09 21:30:06 -07:00
Keith Packard 248b5903b7 Rename conf.avail to conf.d 2006-09-09 19:37:22 -07:00
Keith Packard 766a9b2f61 Merge branch 'jhcloos' 2006-09-09 15:49:24 -07:00
Keith Packard 4c34c0c52a Create fc_cachedir at install time. Bug 8157. 2006-09-07 10:37:24 -07:00
Keith Packard 88b6bebc3d Update for version 2.3.97. 2006-09-06 23:58:14 -07:00
James Cloos 469010c1bd Update Makefile.am files 2006-09-04 15:57:19 -04:00
James Cloos 709f32438d Move files from conf.d to conf.avail
All of the files in conf.d are now in conf.avail
Makefile.am is updated to reflect the change
2006-09-04 01:21:55 -04:00
Keith Packard 2ec3ed0806 Update instructions for doing a release. Autogen ChangeLog from git-log. 2006-09-03 14:58:49 -07:00
Keith Packard cfccd4873a Really only rebuild caches for system fonts at make install time.
Oops. Fix actual fc-cache command line instead of just the displayed version.
2006-09-01 13:22:45 -07:00
Keith Packard fd7223c770 Only rebuild caches for system fonts at make install time.
Rebuilding user-specific fonts will stick those cache files in the system
font cache directory.
2006-09-01 12:05:04 -07:00