summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-10install: Use sysconfdir instead of libdir for config files.Egbert Eich
Most X packages today install their config files in sysconfigdir, only a few are left which still put their configuration in libdir. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-04unifdef -U__UNIXOS2__Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-11-30Add size limit to scanf string specifierAlan Coopersmith
While it's tempting to just switch to fgets(), that would require implementing our own whitespace stripping to match the current scanf behavior. Fixes parfait static analysis warning: Error: Buffer overrun Buffer overflow (CWE 120): Use of fscanf(%s), with buffer 'buf' at line 135 of app/xsm/lock.c in function 'GetLockId'. [ This bug was found by the Parfait 0.3.7 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-11-19Fix some gcc -Wwrite-strings warningsAlan Coopersmith
Many are unfixable at the moment due to the libXt API Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-11-19Terminate execl() arguments with NULL instead of 0Alan Coopersmith
Makes sure that a full 64-bits of 0 is passed in 64-bit builds, and clears gcc warning of: misc.c: In function ‘System’: misc.c:114:2: warning: missing sentinel in function call Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-20Convert a couple last sprintf calls to snprintfAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-20Convert XtMalloc + sprintf to XtAsprintfAlan Coopersmith
Depends on libXt > 1.0.99 to ensure XtAsprintf is available. 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-12-10Make System() prototype for Solaris in xsm.h actually a prototypeAlan Coopersmith
Fixes gcc warning: xsm.h:217: warning: function declaration isn't a prototype Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-26xsm 1.0.2xsm-1.0.2Alan 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 PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables 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 The existing statement can now be removed from the configuration file. Use automake provided $(AM_V_GEN) and XORG_DEFAULT_OPTIONS provided $(SED) Enables silent rule and use 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-02-11config: move CWARNFLAGS from configure.ac to Makefile.amGaetan Nadon
Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-19configure.ac: use backticks rather than $() for cmd subsGaetan Nadon
Use "$PKG_CONFIG" rather than hard coded "pkg-config" Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-26Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
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 Nadon
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 Nadon
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 Nadon
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-01-26Correct make distcheck and gcc/sparse warnings.Paulo Cesar Pereira de Andrade
2008-11-28Compile warning fixes.Paulo Cesar Pereira de Andrade
Include header with prototypes for signals.c, and change prototypes and definitions to match. This should not have any side effects as function arguments are ignored. Ansify some functions with K&R definitions. printhex.c:fprintfhex() could be changed to a "sane" implementation, but only change was "ansification".
2008-11-28enable VPATH build, reorganize app default filesPaulo Cesar Pereira de Andrade
Minor changes to http://bugs.freedesktop.org/attachment.cgi?id=20212.
2008-11-22Fix build in separate directory.Matthieu Herrb
2008-11-16Don't override the RSH variable before checking if it's setJulien Cristau
This allows setting RSH on the configure command line or environment, and lifts the build dependency on an rsh client.
2008-10-22Use realloc to resize buffer, not malloc+strcpy+freeAlan Coopersmith
2008-10-22Constify lock.cAlan Coopersmith
2008-08-20xaw8 is gone, use xaw7James Cloos
2008-03-27Build fix for file systems that are not case sensitiveJeremy Huddleston
2008-02-21Add PKG_CHECK_MODULES entries for the libraries xsm calls directlyAlan Coopersmith
2008-02-21Change xsm_CFLAGS to AM_CFLAGS to make automake-1.10 happierAlan Coopersmith
Makefile.am:32: compiling `auth.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
2007-12-06Replace static ChangeLog with dist-hook to generate from git logJames Cloos
2007-11-26Remove instructions on monolithic build system from READMEAlan Coopersmith
2007-11-26Use snprintf, strdup & remove instead of sprintf, malloc/strcpy & unlinkAlan Coopersmith
2007-09-03Add *~ to .gitignore to skip patch/emacs droppingsJames Cloos
2007-08-23Rename .cvsignore to .gitignoreJames Cloos
2005-12-21Update package version for X11R7 release.xsm-1.0.1XORG-7_1XORG-7_0_99_901XORG-7_0Kevin E Martin
2005-12-19Stub COPYING filesAdam Jackson
2005-12-15Update package version number for final X11R7 release candidate.xsm-1.0.0XORG-6_99_99_904Kevin E Martin
2005-12-07Change to use the app-defaults default dir configured in libXt.MODULAR_COPYKevin E Martin
2005-12-06Change *man_SOURCES ==> *man_PRE to fix autotools warnings.Kevin E Martin
2005-12-03Update package version number for X11R7 RC3 release.XORG-6_99_99_903Kevin E Martin
2005-11-28Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4Alan Coopersmith
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
2005-11-21Another pass at .cvsignores for apps.Eric Anholt
2005-11-20Add/improve .cvsignore files for apps.Eric Anholt
2005-11-09Update package version number for X11R7 RC2 release.XORG-6_99_99_902Kevin E Martin