Commit Graph

97 Commits

Author SHA1 Message Date
Matthieu Herrb
cdb2f99034 libXfont2 2.0.3
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
2017-11-25 12:01:16 +01:00
Adam Jackson
d82dfe2549 libXfont 2.0.2
Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-10-11 11:33:29 -04:00
Adam Jackson
7557fe152d configure: Use -fvisibility=hidden if available
text	   data	    bss	    dec	    hex	filename
 233732	   8168	   1616	 243516	  3b73c	.libs/libXfont2.so.2.before
 217113	   6816	   1616	 225545	  37109	.libs/libXfont2.so.2.after

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-06-08 14:03:36 -04:00
Keith Packard
eefc0b0b90 Revert "Add compiler warning flags". Leave warning fixes.
This reverts commit eb67d10ae8, but
leaves the warning fixes in place; it looks like either I was
confused, or something has changed so that XORG_DEFAULT_OPTIONS now
pulls in the appropriate compiler warnings.
2015-12-12 14:56:03 -08:00
Keith Packard
14488af033 Bump version to 2.0.1
This release just fixes some build issues with 2.0.0

Signed-off-by: Keith Packard <keithp@keithp.com>
2015-12-11 07:09:16 -08:00
Keith Packard
95a40553b8 Remove fontconf.h
This file used to advertise which font formats the library
supports. The X server doesn't care, so let's just remove it so that
it doesn't conflict with the older version of libXfont

Signed-off-by: Keith Packard <keithp@keithp.com>
2015-12-11 07:09:16 -08:00
Matt Turner
903cd14547 Convert to non-recursive build. 2015-12-09 11:39:15 -08:00
Keith Packard
135fb032e9 Eliminate calls back to X server or font server functions by name (v4)
This eliminates the weak symbol adventures and makes all of the calls
back to the X server or Font server go through a table of functions
instead, clarifying the required API.

As this is a rather major change to the API for the library, it now
installs itself as libXfont2 instead of libXfont, and the package
config file is now xfont2.pc.

All of the installed headers remain the same as the original library;
there's now a new include file, libxfont2.h, which defines the X
server and Font server interfaces.

This moves util/atom.c to stubs/atom.c and reformats that file, hence
the diff being larger than it would otherwise be.

v2: Rename to libXfont2 instead of libXfont_2 as suggested by Emil Velikov
    Fix whitespace in stubs/atom.c, which was moved from util/

v3: Remove select masks from API. Expose single 'font_init' function
    for all library initialization.

v4: Change name of distributed tarballs to libXfont2 as well

Signed-off-by: Keith Packard <keithp@keithp.com>
2015-12-08 20:37:48 -08:00
Keith Packard
eb67d10ae8 Add compiler warning flags and fix warnings
Mostly signed vs unsigned comparisons

Signed-off-by: Keith Packard <keithp@keithp.com>
2015-12-08 20:36:38 -08:00
Jeremy Huddleston Sequoia
d6877a7c1c Use NO_WEAK_SYMBOLS instead of -flat_namespace
Lesser of two evil hacks, I suppose...

This reverts commit 0386fa7736.
2015-10-21 21:28:08 -07:00
Alan Coopersmith
da4246c98b libXfont 1.5.1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-03-17 08:12:19 -07:00
Alan Coopersmith
ad4f4d8a2d libXfont 1.5.0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-07-19 09:49:23 -07:00
Alan Coopersmith
b19cf2a78f libXfont 1.4.99.901
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-07-07 13:18:18 -07:00
Alan Coopersmith
c2b7758d26 Don't compile bitmap source files for disabled formats
pcfread.c is a special case - it's needed for either reading pcf files
from disk (--enable-pcfformat) or from the builtin fonts in memory
(--enable-builtins), so needed a new AM_CONDITIONAL case.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Rémi Cardona <remi@gentoo.org>
2014-05-23 17:21:00 -07:00
Alan Coopersmith
37595cfd4f Change default to disabling SNF support
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Rémi Cardona <remi@gentoo.org>
2014-05-23 17:20:52 -07:00
Alan Coopersmith
9f677e55c7 Use AS_HELP_STRING to provide help for AC_ARG_ENABLE & AC_ARG_WITH options
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Rémi Cardona <remi@gentoo.org>
2014-05-23 17:20:36 -07:00
Alan Coopersmith
21f5d3ec9d Bump version to 1.4.99.0 for master branch (to become 1.5)
libXfont 1.5.0 will be synchronized with the fontsproto 2.1.3 API
changes needed for xorg-server 1.16 branch.

libXfont 1.4.x will be left for stable release branch for older
Xserver releases.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-04-21 22:06:59 -07:00
Alan Coopersmith
5a398a55cc Require fontsproto 2.1.3 for matching function prototypes
Building current libXfont git against fontsproto 2.1.2 causes clang
complaints of:

patcache.c:130:1: error: conflicting types for 'CacheFontPattern'
CacheFontPattern (FontPatternCachePtr cache,
^
patcache.c:176:1: error: conflicting types for 'FindCachedFontPattern'
FindCachedFontPattern (FontPatternCachePtr cache,
^

due to the constification of arguments not matching.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
2014-04-21 22:03:29 -07:00
Alan Coopersmith
5d696738c2 Correct comment in configure.ac about scalable font support
Bitstream Speedo support was removed in commit d50de26430.
All scalable font support now goes through FreeType, which can
also handle some bitmap font formats as well.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
2014-01-23 21:59:34 -08:00
Alan Coopersmith
3011006385 libXfont 1.4.7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-07 08:22:31 -08:00
Alan Coopersmith
fdcf9a9be6 Add AC_USE_SYSTEM_EXTENSIONS to expose non-standard extensions
Required on Solaris to expose definitions in system headers that
are not defined in the XPG standards now that xtrans 1.3 defines
_XOPEN_SOURCE to 600 on Solaris.

Fixes build failures:
fserve.c: In function 'fs_block_handler':
fserve.c:1210:5: error: 'fd_mask' undeclared (first use in this function)
fserve.c:1210:5: note: each undeclared identifier is reported only once for each function it appears in
In file included from transport.c:67:0,
                 from fstrans.c:28:
Xtranssock.c: In function '_FontTransSocketINETConnect':
Xtranssock.c:1421:19: error: 'INET6_ADDRSTRLEN' undeclared (first use in this function)
Xtranssock.c:1421:19: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2013-12-30 08:48:04 -08:00
Alan Coopersmith
8b289e10c5 libXfont 1.4.6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-21 16:53:47 -07:00
Adam Jackson
9d8936879b configure: Remove AM_MAINTAINER_MODE
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-15 14:28:48 -05:00
Yaakov Selkowitz
5680e4c3d7 Omit catalogue support on systems without symlinks
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2012-10-29 19:00:55 -05:00
Alan Coopersmith
4b67ad5486 libXfont 1.4.5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-03-02 10:05:21 -08:00
Alan Coopersmith
098ab294de Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-16 22:21:21 -07:00
Alan Coopersmith
1c7cfd7a2b Remove configure comment about synchronizing version numbers
This appears to have been a mistaken copy-and-paste from something like
libXcursor - I can't find any Xfont.h header, nor any libXfont header
containing a version number.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2011-08-19 11:21:40 -07:00
Matthieu Herrb
a7970f5c81 libXfont 1.4.4
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-08-10 13:22:01 -07:00
Gaetan Nadon
7f8345aa6f doc: use common makefile for developers documentation
The user/specs docs now have external references support.
Developers doc are not installed so they do not participate.
However, using a similar makefile shared amongst developers
document reduces maintenance and is forward looking.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-03-31 09:29:43 -04:00
Gaetan Nadon
77027deabc config: comment, minor upgrade, quote and layout configure.ac
Group statements per section as per Autoconf standard layout
Quote statements where appropriate.
Autoconf recommends not using dnl instead of # for comments

Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
Add AC_CONFIG_SRCDIR([Makefile.am])

This helps automated maintenance and release activities.
Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
2011-02-03 16:57:59 -05:00
Gaetan Nadon
9ea1790d61 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
AC_PROG_C_C99. This sets gcc with -std=gnu99.
If AC_PROG_CC macro is called afterwards, it resets CC to gcc.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-27 18:50:15 -05:00
Alan Coopersmith
12157fbebc libXfont 1.4.3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-28 20:43:27 -07:00
Gaetan Nadon
5c49c956e9 doc: use xorg-docs xorg.css stylesheet
Use latest DocBook XML util-macros infrastructure

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-28 14:31:19 -04:00
Tiago Vignatti
27270de56f libXfont 1.4.2
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2010-06-21 17:15:48 +03:00
Gaetan Nadon
d8d9013237 config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS
There are 2 headers to generate. The first one (config.h)
is picked up by autoheader to generate the familiar config.h.in
input file. The others in the list (or in subsequent AC_CONFIG_HEADERS
macro calls) are generated from their existing matching template,
e.g. fontconf.h.in.

When multiple headers are listed in the same macro call,
they cannot be separated by a new line like we do in AC_OUTPUT.

Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-01 16:14:16 -04:00
Gaetan Nadon
df94cb141f Revert "config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS"
This reverts commit 8e84687b26.

Until the issue is resolved on MAC O/S
http://tinderbox.x.org/builds/2010-03-31-0030/logs/libXfont/
2010-03-31 20:21:47 -04:00
Gaetan Nadon
8e84687b26 config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Both headers end up created by the same macro.

Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-30 13:15:52 -04:00
Gaetan Nadon
f77258d0b2 config: remove protection for AS_HELP_STRING for old autoconf
No longer needed as modules will not configure with 2.57.
AS_HELP_STRING was introduced in 2.58. The minimum level
is now 2.60.

Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-27 21:43:52 -04:00
Gaetan Nadon
a79a22bfcb doc: specify 0.0.20 as the minimum version for xmlto
Older versions do not have fop backend.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-11 14:37:34 -05:00
Gaetan Nadon
a76488f75f doc: use new macros to control doc generation
Namely XORG_WITH_FOP for the fop backend (pdf) and
XORG_ENABLE_DEVEL_DOCS for the generation of all docs

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-05 11:25:47 -05:00
Gaetan Nadon
360f10333a config: replace custom code with reusable macro XORG_WITH_XMLTO
XORG_WITH_XMLTO provides additional functions like a configure
option which allow platform builders to control the usage of
the xmlto program.

This is a requirement from platforms that do not have such doc tool.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-01-20 11:46:21 -05:00
Gaetan Nadon
72353a449e configure.ac: AM_MAINTAINER_MODE missing #24238
This turns off maintainer mode build rules in tarballs.
Works in conjunction with autogen.sh --enable-maintainer-mode
For all X.Org components.
2009-10-28 15:28:32 -04:00
Gaetan Nadon
c22d67cc78 Deploy the new XORG_DEFAULT_OPTIONS #24242
This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.
2009-10-27 15:07:25 -04:00
Alan Coopersmith
64f21944c5 libXfont 1.4.1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-09 17:38:33 -07:00
Alan Coopersmith
947d3162f5 Remove unused setting of ENCODINGSDIR
Seems to have been a leftover from before the encoding code was split
out into libfontenc by XFree86

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-07 13:13:25 -07:00
Alan Coopersmith
18053ffbf9 Convert documentation from troff to DocBook/XML
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-07 11:06:56 -07:00
Alan Coopersmith
b7be4a976a Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-06 13:03:25 -07:00
Adam Jackson
0045b2555b libXfont 1.4.0 2009-02-18 13:53:14 -05:00
Adam Jackson
732191d5d6 Remove loadable renderer support. 2009-01-20 22:42:22 -05:00
Adam Jackson
1247f01ee3 Delete Type1
Yes, these are still real fonts, but freetype can handle them just fine.
2009-01-20 01:13:08 -05:00