Changeset 747


Ignore:
Timestamp:
Apr 13, 2006, 10:26:21 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Added a font creator that uses pango to render glyphs.
Location:
libcaca/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r742 r747  
    2222
    2323dnl AC_PROG_EGREP only exists in autoconf 2.54+, so we use AC_EGREP_CPP right
    24 dnl now otherwise it might be set in an obscure if statement.
     24dnl now otherwise it might be set in an obscure if statement. Same thing for
     25dnl PKG_PROG_PKG_CONFIG which needs to be called first.
    2526AC_EGREP_CPP(foo, foo)
     27PKG_PROG_PKG_CONFIG()
    2628
    2729dnl output driver features
     
    258260AM_CONDITIONAL(USE_IMLIB2, test "${ac_cv_my_have_imlib2}" = "yes")
    259261
     262# Build development tools?
     263PANGOFT2="no"
     264  PKG_CHECK_MODULES(pangoft2, pangoft2,
     265   [PANGOFT2="yes"])
     266AM_CONDITIONAL(USE_PANGO, test "${PANGO}" != "no")
     267
    260268# Build documentation?
    261269DOXYGEN="no"
  • libcaca/trunk/tools

    • Property svn:ignore
      •  

        old new  
        44.deps
        55optipal
         6makefont
        67*.exe
  • libcaca/trunk/tools/Makefile.am

    r742 r747  
    33AM_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca -DDATADIR=\"$(pkgdatadir)\"
    44
    5 noinst_PROGRAMS = optipal
     5noinst_PROGRAMS = optipal $(pango_programs)
    66
    77optipal_SOURCES = optipal.c
    88
     9makefont_SOURCES = makefont.c
     10makefont_CFLAGS = `pkg-config --cflags pangoft2`
     11makefont_LDFLAGS = `pkg-config --libs pangoft2`
     12
     13if USE_PANGO
     14pango_programs = makefont
     15else
     16pango_programs =
     17endif
Note: See TracChangeset for help on using the changeset viewer.