summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-08-07Retire this fork of luitHEADmasterAdam Jackson1-22/+5
We're not seriously maintaining this tool, we should stop pretending. Signed-off-by: Adam Jackson <ajax@redhat.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>
2016-01-13Fix LNEXT handling on BSDChristian Weisgerber1-1/+1
http://marc.info/?l=openbsd-misc&m=145123363601391&w=2 We need to turn off IEXTEN to make the tty transparent. I thought ICANON would cover this (as it does on Linux), but apparently it's a BSD-ism that LNEXT operates independently of ICANON. That isn't a bug either; both the OpenBSD code and the rather different FreeBSD code explicitly handle it this way. IEXTEN is part of POSIX, even if the actual behavior is "implementation-defined", so I don't think it needs an ifdef. Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
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>
2014-01-01Plug a memory leak found by clang's static analyzerJeremy Huddleston Sequoia1-1/+1
charset.c:360:2: warning: Potential leak of memory pointed to by 'c' return NULL; ^~~~~~~~~~~ 1 warning generated. Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2013-12-02Remove nearly empty locale.c fileAlan Coopersmith2-6/+0
Simply included a bunch of .h files and had no code of its own. Flagged by Solaris ld -z guidance: ld: guidance: removal of unused file recommended: locale.o Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-15Merge overlapping AC_CHECK_HEADERS & AC_CHECK_FUNCS calls into one setAlan Coopersmith1-4/+1
Duplication introduced when merging in changes in commit fddfe30c3ff91c Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2013-07-15Replace hardcoded _XOPEN_SOURCE=500 with AC_USE_SYSTEM_EXTENSIONSAlan Coopersmith2-12/+2
-D_XOPEN_SOURCE was originally added for Linux in commit e751086392e837 and then updated to -D_XOPEN_SOURCE=500 in commit e1a002217cabdb to expose strdup() in glibc headers. As noted in bug 47792 though, the posix_openpt() function is not visible unless that's raised to 600. Instead of continually chasing the standards ourselves, switch to letting autoconf handle that for us. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2013-07-15config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith1-2/+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> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2013-06-21Fix GCC_UNUSED definition to actually work with -Wunused-parameterAlan Coopersmith1-1/+5
Silences warnings of: charset.c: In function ‘IdentityRecode’: charset.c:42:51: warning: unused parameter ‘self’ [-Wunused-parameter] charset.c: In function ‘NullReverse’: charset.c:84:26: warning: unused parameter ‘n’ [-Wunused-parameter] charset.c:84:59: warning: unused parameter ‘self’ [-Wunused-parameter] other.c: In function ‘mapping_utf8’: other.c:108:44: warning: unused parameter ‘s’ [-Wunused-parameter] other.c: In function ‘reverse_utf8’: other.c:114:44: warning: unused parameter ‘s’ [-Wunused-parameter] luit.c: In function ‘sigwinchHandler’: luit.c:463:21: warning: unused parameter ‘sig’ [-Wunused-parameter] luit.c: In function ‘sigchldHandler’: luit.c:470:20: warning: unused parameter ‘sig’ [-Wunused-parameter] luit.c: In function ‘parent’: luit.c:657:12: warning: unused parameter ‘pid’ [-Wunused-parameter] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-08Set up terminal before fork.Mike FABIAN1-1/+6
After the fork it is undefined wether parent or child runs first. So there can be a race: if the child runs before the terminal of the parent is set up correctly luit may hang. This patch sets up the terminal before forking and undoes the settings in the child. Signed-off-by: Mike FABIAN <mfabian@redhat.com> Signed-off-by: Egbert Eich <eich@freedesktop.org>
2012-03-22luit 1.1.1luit-1.1.1Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-02-10Add additional printf & noreturn attributes suggested by gcc warningsAlan Coopersmith1-8/+16
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-05Fix memory leak on failure in getFontencCharsetAlan Coopersmith1-0/+2
Error: Memory leak (CWE 401) Memory leak of pointer 'c' allocated with malloc(80) at line 297 of app/luit/charset.c in function 'getFontencCharset'. 'c' allocated at line 290 with malloc(80). at line 303 of app/luit/charset.c in function 'getFontencCharset'. 'c' allocated at line 290 with malloc(80). [ This bug was found by the Parfait 0.4.2 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-10-13Add support for posix_openpt().Ed Schouten2-1/+5
Instead of opening /dev/ptmx directly, we should use the proper posix_openpt() function to obtain a pseudo-terminal. Some operating systems, such as FreeBSD 8 and later, implement pseudo-terminal master device nodes as a special file descriptor type, like sockets. They do not support creation of pseudo-terminals through /dev/ptmx. Signed-off-by: Ed Schouten <ed@80386.nl> Reviewed-by: Guillem Jover <guillem@hadrons.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-10-06Fix ifdef-foo for the BSDs which are still living in the 90sJeremy Huddleston1-6/+6
NetBSD and FreeBSD still don't _POSIX_SAVED_IDS https://bugs.freedesktop.org/show_bug.cgi?id=41513 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-08-16Remove check for zlib in configure scriptAlan Coopersmith1-2/+0
If libfontenc needs it, it will either be linked with it or provide -lz in its pkg-config library requirements. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2011-05-06Mark FatalError _X_NORETURNJeremy Huddleston3-21/+12
This removes a false-positive from static analysis results. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-01-25man: Use \fI & \fR instead of .I for strings longer than Solaris can handleAlan Coopersmith1-2/+2
The nroff .I macro on Solaris was truncating these strings when displayed using the "man" command Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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-06Purge cvs tags.Jesse Adkins1-1/+0
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
2010-10-06luit 1.1.0luit-1.1.0Alan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-26config: Remove unnecessary calls from configure.acAlan Coopersmith2-6/+2
AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables 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-08-20make: whitespace managementGaetan Nadon1-14/+17
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-20luit.man: remove trailing whitespaceGaetan Nadon1-3/+3
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-20config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon4-42/+43
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 Use the appropriate platform version of sed Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-20man: replace hardcoded (7) with __miscmansuffix__Gaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-20man: replacement string should be __appmansuffix__Gaetan Nadon1-2/+2
To match XORG_MANPAGE_SECTIONS macro expectations. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-20man: replacement string should be __locale_alias__Gaetan Nadon1-1/+1
To match the luit.man expectations. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-01Warn if configure does not find Xlib, but don't link against it.Alan Coopersmith1-1/+5
luit doesn't #include any Xlib headers or call any Xlib functions, just attempts to read Xlib's locale.aliases files if it can find it. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-01Whitespace cleanup from Thomas Dickey's luit-20100601 forkJeremy Huddleston10-1312/+1312
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-07-01Integrate changes from Thomas Dickey's luit-20100601 forkJeremy Huddleston15-632/+1307
* add -alias option to allow override of locale.alias pathname. * improve fix waitForInput as suggested in Freedesktop #26383. * fix warnings from clang --analyze Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-02-10Bump to 1.0.5luit-1.0.5Julien Cristau1-1/+1
2010-02-10Bump xorg-macros requirement to 1.4 for XORG_INSTALLJulien Cristau1-2/+2
2010-02-05poll: check for POLLERR|POLLHUP in WaitForInputJulien Cristau1-2/+2
X.Org bug#26383 <http://bugs.freedesktop.org/26383> Acked-by: Juliusz Chroboczek <jch@pps.jussieu.fr> Signed-off-by: Julien Cristau <jcristau@debian.org>
2009-12-22configure: Fix a linewrap that snuck in with copy/pasteJeremy Huddleston1-2/+1
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-12-22darwin: Don't use poll()Jeremy Huddleston1-2/+11
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-11-26Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon1-0/+1
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon4-2/+5
Add missing INSTALL file. Use standard GNU file on building tarball README 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.
2009-10-27Deploy the new XORG_DEFAULT_OPTIONS #24242Gaetan Nadon1-2/+3
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-26Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon1-2/+1
ChangeLog filename is known to Automake and requires no further coding in the makefile.
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon1-11/+66
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.
2009-10-21This is not a GNU project, so declare it foreign.Jeremy Huddleston1-1/+1
On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: > > I noticed an INSTALL file in xlsclients and libXvMC today, and it > > was quite annoying to work around since 'autoreconf -fvi' replaces > > it and git wants to commit it. Should these files even be in git? > > Can I nuke them for the betterment of humanity and since they get > > created by autoreconf anyways? > > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation of the INSTALL file. It is also part of the 24206 solution. Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-10-06luit: Cygwin compatibility fixYaakov Selkowitz1-1/+11
Cygwin has O_NOCTTY but not TIOCSCTTY, so there is no way for the tty to become controlling this way. Also, document the reason for calling one right after the other. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-10-01luit 1.0.4luit-1.0.4Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>