summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-02-11Add -help and -version optionsHEADmasterAlan Coopersmith2-4/+26
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-11Print which argument(s) was unknown before giving usage messageAlan Coopersmith1-1/+9
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-03xfd 1.1.4xfd-1.1.4Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-12Tag unused arguments to callback functions as _X_UNUSEDAlan Coopersmith2-15/+23
Gets rid of 33 -Wunused-parameter warnings from clang Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-12Handle -Wextra-semi-stmt warnings from clangAlan Coopersmith1-6/+6
Use do {...} while (0) idiom for pre-processor macros that define code blocks so that trailing semi-colons don't appear to be extraneous grid.c:305:38: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] CI_GET_CHAR_INFO_1D (fs, ch, cs); ^ grid.c:311:40: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] CI_GET_CHAR_INFO_2D (fs, r, c, cs); ^ grid.c:488:46: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] donestr (XftColor, xftColor, XtRXftColor); ^ grid.c:546:42: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] donestr (XftFont *, font, XtRXftFont); ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16Mark usage() as _X_NORETURN _X_COLDAlan Coopersmith2-2/+3
Raises minimum xproto requirement to 7.0.25 from Nov. 2013 to get the _X_COLD definition in <X11/Xfuncproto.h> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16Variable scope reductions as recommended by cppcheckAlan Coopersmith2-5/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16Fix warning: missing initializer for field ‘extension’ of ↵Alan Coopersmith1-1/+2
‘SimpleClassPart' grid.c:153:3: warning: missing initializer for field ‘extension’ of ‘SimpleClassPart {aka struct <anonymous>}’ [-Wmissing-field-initializers] } ^ In file included from grid.c:34:0: /net/also.us.oracle.com/export/alanc/X.Org/amd64-gcc/install/usr/X11R7/include/X11/Xaw/SimpleP.h:62:15: note: ‘extension’ declared here XtPointer extension; ^~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16Use _CONST_X_STRING to make libXt declare String as const char *Alan Coopersmith1-1/+2
Clears 46 out of 68 -Wdiscarded-qualifiers warnings from gcc Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-06Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-06gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-09xfd 1.1.3xfd-1.1.3Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-03Re-enable code to use XKB BellsAlan Coopersmith2-1/+15
Enabled by default, use --without-xkb to disable. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-21Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith3-26/+20
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2014-06-02autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith1-2/+3
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-02configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-12-10Move domaindir declaration inside #ifdef USE_GETTEXTAlan Coopersmith1-6/+9
Avoid unused variable warnings if USE_GETTEXT is undefined Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-16xfd 1.1.2xfd-1.1.2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-06-07Suppress a spurious warning.Eric S. Raymond1-1/+2
2013-02-17Mark do_quit as noreturn, as suggested by gcc & clangAlan Coopersmith2-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-17convert sprintf calls to snprintfAlan Coopersmith1-22/+23
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-16Drop old CVS version tagsAlan Coopersmith6-20/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-16config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith1-3/+5
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-07Fix SEGV when XftFontOpenName() returns NULL.Andreas Schwab1-3/+0
The semantics of a callback set with XtSetTypeConverter() is to return False only if there is no conversion at all. In this case the converstion string is copied verbatim to the target. Since the 'from' and 'to' types differ this doesn't make sense here at all. Instead the target value needs to be set to NULL and the return needs to be True. Signed-off-by: Andreas Schwab <schwab@suse.de> Reviewed-by: Egbert Eich <eich@freedesktop.org>
2012-02-15xfd 1.1.1xfd-1.1.1Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-10Use the Automake recommended alternative to AX_DEFINE_DIRGaetan Nadon3-54/+3
DATADIR, like any installation variable, is not known at configure time. This is by design to allow setting the variable at make time. The AX_DEFINE_DIR macro worked around this design and consequently cancelled an Automake feature. The alternative method suggested by Automake ends up being simpler while providing the same result as AX_DEFINE_DIR but without cancelling any feature. It is used in the xserver for the parser and in xquartz. The AX_DEFINE_DIR macro has been removed from the Autoconf Archive. There are no official providers for this macro anymore. Separate pre-processor from compiler flags. XFD_CFLAGS and CWARNFLAGS may contain compiler flags. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-28Remove freetype2 from PKG_CHECK_MODULES listAlan Coopersmith1-1/+1
No direct calls to libfreetype functions or #includes of freetype headers Fixes Solaris ld -z guidance warning: ld: guidance: removal of unused dependency recommended: libfreetype.so.6 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-28Add const attribute to domaindir fix gcc -Wwrite-strings warningsAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-28Strip trailing whitespaceAlan Coopersmith6-98/+98
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-01-19config: move man pages into their own directoryGaetan Nadon4-20/+18
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: replace hard coded man page section with substitution stringsGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon1-20/+20
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon1-1/+1
This silences an Autoconf warning
2011-01-12config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-1/+1
This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-20xfd 1.1.0xfd-1.1.0Alan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-26config: Remove unnecessary calls from configure.acAlan Coopersmith1-2/+0
AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-26config: upgrade to util-macros 1.8 for additional man page supportAlan Coopersmith2-22/+4
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 Enables use of platform appropriate version of sed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-26config: update AC_PREREQ statement to 2.60Gaetan Nadon1-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>
2010-04-01config: ignore xfd.po file when gettext is usedGaetan Nadon1-0/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-31config: update and relocate AX_DEFINE_DIR macroGaetan Nadon3-1/+6
Remove deprecated acinclude.m4 macro container file Use separate macro files as per autoconf recommendation Use the latest macro from GNU Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-16Let xfd build on systems without gettext.Matthieu Herrb1-0/+2
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-29Use AM_V_GEN to silence manpage generation tooAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-29Clean up CFLAGS/LIB settings in configure.ac & Makefile.amAlan Coopersmith2-12/+2
- Use AM_CFLAGS so AM_PROG_CC_C_O isn't needed - Combine pkg-config calls now that we don't need special handling for Xaw - Add dependencies on libXmu & libXrender since xfd calls functions in those directly Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-29Integrate gettext support with autotools build systemAlan Coopersmith4-3/+86
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-29Internationalize xfd: Call gettext on strings printed to stderrJay Hobson1-19/+45
Originally done for Solaris 9 to fix Sun bug 4348474 http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4348474 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>