summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* autogen.sh: Implement GNOME Build APIbaserock/morphColin Walters2013-01-161-1/+3
| | | | | | http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
* configure: Drop AM_MAINTAINER_MODEAdam Jackson2013-01-161-1/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* Fix a bunch of clang integer size conversion warnings in ucs2anyAlan Coopersmith2012-12-161-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ucs2any.c:149:36: warning: implicit conversion changes signedness: 'int' to 'si ze_t' (aka 'unsigned long') [-Wsign-conversion] *dest = zrealloc(*dest, dest_size + source_size); ~~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~ ucs2any.c:147:29: warning: implicit conversion loses integer precision: 'unsign ed long' to 'int' [-Wshorten-64-to-32] dest_size = strlen(*dest) + 1; ~ ~~~~~~~~~~~~~~^~~ ucs2any.c:148:16: warning: implicit conversion loses integer precision: 'size_t ' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] source_size = strlen(source); ~ ^~~~~~~~~~~~~~ ucs2any.c:159:8: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] *t = toupper(*t); ~ ^~~~~~~~~~~ ucs2any.c:305:27: warning: implicit conversion loses integer precision: 'int' t o 'char' [-Wconversion] (*buffer)[position++] = c; ~ ^ ucs2any.c:465:21: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if (strlen(string) <= l) return NULL; ~~~~~~~~~~~~~~ ^ ~ ucs2any.c:466:31: warning: implicit conversion changes signedness: 'int' to 'si ze_t' (aka 'unsigned long') [-Wsign-conversion] if (strncmp(string, pattern, l) != 0) return NULL; ~~~~~~~ ^ ucs2any.c:463:10: warning: implicit conversion loses integer precision: 'size_t ' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int l = strlen(pattern); ~ ^~~~~~~~~~~~~~~ ucs2any.c:730:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] target = strtol(p+2, &endp, 16); ~ ^~~~~~~~~~~~~~~~~~~~~~ ucs2any.c:738:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ucs = strtol(p+2, &endp, 16); ~ ^~~~~~~~~~~~~~~~~~~~~~ ucs2any.c:843:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] bbx.cwidth = w; ~ ^ ucs2any.c:844:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] bbx.cheight = h; ~ ^ ucs2any.c:845:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] bbx.cxoff = x; ~ ^ ucs2any.c:846:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] bbx.cyoff = y; ~ ^ ucs2any.c:850:7: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] w, h, x, y, &bbx); ^ ucs2any.c:850:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] w, h, x, y, &bbx); ^ ucs2any.c:850:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] w, h, x, y, &bbx); ^ ucs2any.c:850:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] w, h, x, y, &bbx); ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* font-util 1.3.0font-util-1.3.0Alan Coopersmith2012-02-281-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* configure.ac updates to match other X.Org modulesAlan Coopersmith2012-02-231-7/+7
| | | | | | | | | | | | layout and comment the top portion of configure.ac add missing AC_CONFIG_SRCDIR Replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS replace deprecated AC_HELP_STRING with AS_HELP_STRING Remove unnecessary AC_PROG_CC & AC_PROG_INSTALL (already provided by XORG_DEFAULT_OPTIONS) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon<memsize@videotron.ca>
* Fix "cast discards qualifiers from pointer target type" warningsAlan Coopersmith2011-11-181-2/+2
| | | | | | | | ucs2any.c: In function ‘chars_compare’: ucs2any.c:450:2: warning: cast discards qualifiers from pointer target type ucs2any.c:451:2: warning: cast discards qualifiers from pointer target type Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Mark usage() as not returning to clear incorrect uninit var warningAlan Coopersmith2011-11-181-1/+8
| | | | | | | | | | bdftruncate.c: In function ‘main’: bdftruncate.c:119:16: warning: ‘threshold’ may be used uninitialized in this function (It's not actually, if you consider that usage() exits when parse_threshold fails.) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Add const attributes to fix gcc -Wwrite-strings warningsAlan Coopersmith2011-09-261-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* If cross-compiling, we don't have to run mkfontdirJon TURNEY2011-09-252-2/+27
| | | | | | | | | | | | | | | | | | If cross-compiling, we can run the host mkfontdir on the font directory, since the output is arch independent (I think) If cross-compiling and we can't find mkfontdir, just warn that mkfontdir needs to be run on the target. When not cross-compiling, the behaviour remains unchanged: mkfontdir must be found and is run (Also, bump version number to 1.2.90 as the next release must be 1.3.0 as this change adds a macro) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Never run fc-cache if cross-compilingJon TURNEY2011-09-251-3/+4
| | | | | | | | | | | Since the cache files produced by fc-cache are arch-dependent, there is no point in running fc-cache if cross-compiling So, even if we aren't using a DESTDIR, but are installing directly into (a hopefully non-default) prefix, don't run fc-cache when cross-compiling Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* bdftruncate: Make sure opt_minus_w and opt_plus_w are initializedJeremy Huddleston2011-05-041-2/+2
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* ucs2any: Dead code removalJeremy Huddleston2011-04-281-1/+0
| | | | | Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* bdftruncate: Properly support -w and +wJeremy Huddleston2011-04-281-11/+10
| | | | | | | Regression introduced by fb486bb1a5038912d064291b12c7aef5da3d8b63 Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* font-util 1.2.0font-util-1.2.0Jeremy Huddleston2010-10-071-1/+1
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* fontutil.m4: Add XORG_FONT_FC_CONFDIR to find fontconfig's confdirJeremy Huddleston2010-10-071-0/+34
| | | | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Acked-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* fontutil.m4: Add a shorthand --disable-all-encodings option.Michał Górny2010-10-071-2/+12
| | | | | | | | | | | | | | This option is useful to disable all possible font encodings at once, without fine-graining the calling ebuilds for a list of encodings supported by each font package. The option is parsed before all other encoding options, so it basically sets defaults for all of them. Afterwards, any encoding can be re-enabled back using '--enable-<encoding>' (much like '--disable-all-encodings --enable-iso8859-2'). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Gaetan Nadon <memsize@videotron.ca>
* Purge cvs tags.Jesse Adkins2010-10-061-1/+0
| | | | | Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* font-util 1.1.2font-util-1.1.2Alan Coopersmith2010-10-041-1/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Sun's copyrights now belong to OracleAlan Coopersmith2010-10-042-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: update AC_PREREQ statement to 2.60Gaetan Nadon2010-10-041-1/+1
| | | | | | | | | | Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* XORG_FONT_REQUIRED_PROG: should stop when program is missing #14436Gaetan Nadon2010-08-281-1/+1
| | | | | | | | | | | | | | The macro was designed to test for a program and, when missing, stop the configuration. The first parameter to the macro is a variable name which is used by AC_PATH_PROG to store the program path. The test failed to reference the variable content, it tested the variable name which is never blank. BDFTOPCF MKFONTSCALE MKFONTDIR COMPRESS and UCS2ANY were affected. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Tested-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon2010-08-205-27/+47
| | | | | | | | | Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Replace /usr/X11R6 mapfiles path in manpage with actual path via sedAlan Coopersmith2010-05-202-1/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: remove fontutil.pc.in from the EXTRA_DIST variableGaetan Nadon2010-03-281-3/+1
| | | | | | | It is automatically distributed in the tarball by Automake Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: generated fontutil.m4 is "installed", not "distributed"Gaetan Nadon2010-03-271-2/+1
| | | | | | | Generated files are not included in the tarball, only .in files The fontutil.m4.in file is added in the tarball by Automake. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Update Sun license notices to current X.Org standard formAlan Coopersmith2010-01-142-58/+46
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon2009-11-231-0/+2
| | | | | Now that the INSTALL file is generated. Allows running make maintainer-clean.
* Makefile.am: add INSTALL target and clean ChangeLog DIST targetsGaetan Nadon2009-11-231-4/+5
| | | | | | Add INSTALL target to generate file with INSTALL_CMD #24206 ChangeLog is not required in EXTRA_DIST #24432 ChangeLog is not required in MAINTAINERCLEANFILES #24432
* INSTALL, NEWS, README COPYING or AUTHORS files are missing/incorrect #24206Gaetan Nadon2009-11-233-0/+0
| | | | | | | | Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated COPYING may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
* .gitignore: use common defaults with custom section # 24239Gaetan Nadon2009-11-231-14/+69
| | | | | | Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
* font-util 1.1.1font-util-1.1.1Alan Coopersmith2009-10-121-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Make fontrootdir capitalization consistently lowercaseAlan Coopersmith2009-10-102-4/+3
| | | | | | | Fixes installation of mapfiles, which were going to /util because ${fontrootdir} was undefined in Makefile. Found by tinderbox. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* font-util 1.1.0: Add new macros to replace code common to many font modulesfont-util-1.1.0Alan Coopersmith2009-10-096-233/+378
| | | | | | | | | | | | | | | | | | | | XORG_FONT_MACROS_VERSION(required-version) XORG_FONT_CHECK_ENCODING(encoding) XORG_FONT_CHECK_ENCODING_LIST(encoding1 encoding2....) XORG_FONT_REQUIRED_PROG(VARNAME, progname) XORG_FONT_FCCACHE() XORG_FONT_COMMON_UTILS() XORG_FONT_BDF_UTILS() XORG_FONT_SCALED_UTILS() XORG_FONT_CHECK_COMPRESSION() XORG_FONT_UCS2ANY() XORG_FONTROOTDIR() XORG_FONTSUBDIR(variable, flag, subdir) XORG_FONTDIR(subdir) Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Acked-by: Dan Nicholson <dbn.lists@gmail.com> Acked-by: Rémi Cardona <remi@gentoo.org>
* Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith2009-10-062-9/+6
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Fix parsing of hexadecimal arguments to bdftruncateAlan Coopersmith2009-09-231-2/+2
| | | | | | Since bdftruncate suggests running itself with "0x3200", that should work. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Bump to 1.0.2font-util-1.0.2Julien Cristau2009-08-071-1/+1
|
* Add README with pointers to mailing list, bugzilla & git reposAlan Coopersmith2009-02-191-0/+25
|
* Add missing copyright/license notices to COPYINGAlan Coopersmith2009-02-191-0/+71
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Janitor: Correct make distcheck and configure.ac simplificationPaulo Cesar Pereira de Andrade2009-01-274-11/+19
|
* Update license of code copyrighted by the NetBSD FoundationAlan Coopersmith2008-06-242-6/+0
| | | | | | As per http://mail-index.netbsd.org/netbsd-announce/2008/06/20/msg000030.html dropped the endorsement clause and verified remaining text matches current NetBSD Foundation license.
* Replace static ChangeLog with dist-hook to generate from git logJames Cloos2007-12-062-56/+10
|
* Replace bdftruncate Perl script with C programJames Cloos2007-12-034-84/+232
| | | | | | | | | | | From bugzilla bug 13465¹: [This] is a replacement for the bdftruncate program, which removes the only runtime dependency on Perl in modular Xorg. 1] http://bugs.freedesktop.org/show_bug.cgi?id=13465 Bug was posted by Joerg Sonnenberger <joerg@NetBSD.org>.
* Add *~ to .gitignore to skip patch/emacs droppingsJames Cloos2007-09-031-0/+1
|
* Rename .cvsignore to .gitignoreJames Cloos2007-08-231-0/+0
|
* Bump to 1.0.1font-util-1_0_1XORG-7_1Adam Jackson2006-05-192-1/+6
|
* Update license copy in COPYING file too.Alan Coopersmith2006-02-172-5/+2
|
* Sync license statement with NetBSD, which has removed advertising clauseAlan Coopersmith2006-02-172-5/+9
| | | | | | | from original NetBSD license. (See http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/xsrc/xfree/xc/fonts/util /ucs2any.c?rev=1.9&content-type=text/plain and http://www.mail-archive.com/devel%40xfree86.org/msg07685.html )
* Update package version number for final X11R7 release candidate.XORG-7_0XORG-6_99_99_904Kevin E Martin2005-12-152-1/+6
|
* Bug #5175: Make mapdir configurable (David Coulthart and Donnie Berkholz).MODULAR_COPYKevin E Martin2005-12-094-4/+18
|
* Change *man_SOURCES ==> *man_PRE to fix autotools warnings.Kevin E Martin2005-12-062-3/+8
|