summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-05BSD MakefileobsdMatthieu Herrb
2023-02-09gitlab CI: stop requiring Signed-off-by in commitsHEADmasterAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-03xgamma 1.0.7xgamma-1.0.7Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-03Use strtof() if available, instead of casting atof() to floatAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-03Refactor to reduce code duplicationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-03Resolve -Wdouble-promotion warnings from clangAlan Coopersmith
Use 'f' suffix on const to match float type for gamma values. Add casts to double to make conversion explicit when passing to printf() that requires double instead of float. 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-02gitlab CI: add a basic build testAlan Coopersmith
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>
2015-04-16xgamma 1.0.6xgamma-1.0.6Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.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>
2014-05-24Add -version option to print program versionAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-24Print which option was in error along with usage messageAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-24Combine usage message fprintfs into a single callAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-24Fix const char warnings in calls to isabbreviation()Alan Coopersmith
gcc warned on every call: xgamma.c: In function ‘main’: xgamma.c:107:6: warning: passing argument 1 of ‘isabbreviation’ discards ‘const’ qualifier from pointer target type [enabled by default] if (isabbreviation ("-display", arg, 1)) { ^ xgamma.c:70:1: note: expected ‘char *’ but argument is of type ‘const char *’ isabbreviation(char *arg, char *s, size_t minslen) ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-24Fix size/sign conversion warnings in isabbreviation()Alan Coopersmith
clang said: xgamma.c:85:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strncmp (arg, s, slen) == 0) return (True); ~~~~~~~ ^~~~ xgamma.c:78:14: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] arglen = strlen (arg); ~ ^~~~~~~~~~~~ xgamma.c:79:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] slen = strlen (s); ~ ^~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-24Add noreturn attribute to Syntax functionAlan Coopersmith
Suggested by clang: xgamma.c:48:1: warning: function 'Syntax' could be declared with attribute 'noreturn' [-Wmissing-noreturn] { Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-03-22xgamma 1.0.5xgamma-1.0.5Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-03-14Document that xgamma is useless on XRandr screens.Michal Suchanek
Signed-off-by: Michal Suchanek <hramrach@centrum.cz> Reviewed-by: Alex Deucher <alexdeucher@gmail.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>
2010-11-08xgamma 1.0.4xgamma-1.0.4Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-08Purge CVS version tagsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-08config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSAlan Coopersmith
Regroup AC statements under the Autoconf initialization section. Regroup AM sttaements under the Automake initialization section. Add missing AC_CONFIG_SRCDIR Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-08config: 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-11-08config: 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-11-08config: 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> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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-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-10-13xgamma 1.0.3xgamma-1.0.3Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-13Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-01Add README with pointers to mailing lists, bugzilla, & gitAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-21Correct make distcheck and sparse warnings.Paulo Cesar Pereira de Andrade
2007-08-06Version bump: 1.0.2xgamma-1.0.2Alan Coopersmith
2007-08-06Replace COPYING stub with actual copyright/license info.Alan Coopersmith
2007-08-06Replace static ChangeLog with dist-hook to generate from git logAlan Coopersmith
2007-08-06Change xgamma_CFLAGS to AM_CFLAGS to make automake-1.10 happierAlan Coopersmith
Makefile.am:27: compiling `xgamma.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
2007-05-18X.Org Bug #10616: xgamma man page describes how to print gamma poorlyAlan Coopersmith
X.Org Bugzilla #10616: <https://bugs.freedesktop.org/show_bug.cgi?id=10616> Reported upstream from Debian bug #296201 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=296021>
2007-05-18renamed: .cvsignore -> .gitignoreAlan Coopersmith
2005-12-21Update package version for X11R7 release.XORG-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.XORG-6_99_99_904Kevin E Martin