summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-11Add -help and -version optionsHEADmasterAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-11Print which argument(s) was unknown before giving usage messageAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-03xfd 1.1.4xfd-1.1.4Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-12Tag unused arguments to callback functions as _X_UNUSEDAlan Coopersmith
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 Coopersmith
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16Mark usage() as _X_NORETURN _X_COLDAlan Coopersmith
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16Fix warning: missing initializer for field ‘extension’ of ↵Alan Coopersmith
‘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 Coopersmith
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-06gitlab CI: add a basic build testAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-09xfd 1.1.3xfd-1.1.3Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-03Re-enable code to use XKB BellsAlan Coopersmith
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov
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 Hutterer
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 Coopersmith
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-12-10Move domaindir declaration inside #ifdef USE_GETTEXTAlan Coopersmith
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-06-07Suppress a spurious warning.Eric S. Raymond
2013-02-17Mark do_quit as noreturn, as suggested by gcc & clangAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-17convert sprintf calls to snprintfAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-16Drop old CVS version tagsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-16config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith
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 Schwab
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-10Use the Automake recommended alternative to AX_DEFINE_DIRGaetan Nadon
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 Coopersmith
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-28Strip trailing whitespaceAlan Coopersmith
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 Nadon
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 Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
This silences an Autoconf warning
2011-01-12config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon
This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-20xfd 1.1.0xfd-1.1.0Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-26config: Remove unnecessary calls from configure.acAlan Coopersmith
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 Coopersmith
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 Nadon
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 Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-31config: update and relocate AX_DEFINE_DIR macroGaetan Nadon
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 Herrb
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-29Clean up CFLAGS/LIB settings in configure.ac & Makefile.amAlan Coopersmith
- 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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-29Internationalize xfd: Call gettext on strings printed to stderrJay Hobson
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>