summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-02-09gitlab CI: stop requiring Signed-off-by in commitsHEADmasterAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-03xgamma 1.0.7xgamma-1.0.7Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-03Use strtof() if available, instead of casting atof() to floatAlan Coopersmith2-4/+10
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-03Refactor to reduce code duplicationAlan Coopersmith1-28/+23
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-03Resolve -Wdouble-promotion warnings from clangAlan Coopersmith1-20/+22
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 Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-02gitlab CI: add a basic build testAlan Coopersmith1-0/+98
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-28/+19
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>
2015-04-16xgamma 1.0.6xgamma-1.0.6Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.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>
2014-05-24Add -version option to print program versionAlan Coopersmith2-1/+13
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-24Print which option was in error along with usage messageAlan Coopersmith1-15/+25
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-24Combine usage message fprintfs into a single callAlan Coopersmith1-11/+10
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-24Fix const char warnings in calls to isabbreviation()Alan Coopersmith1-1/+1
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 Coopersmith1-3/+3
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 Coopersmith2-2/+2
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 Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-03-14Document that xgamma is useless on XRandr screens.Michal Suchanek1-1/+5
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 Nadon4-16/+17
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-7/+7
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-11-08xgamma 1.0.4xgamma-1.0.4Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-08Purge CVS version tagsAlan Coopersmith2-3/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-08config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSAlan Coopersmith1-4/+7
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 Coopersmith1-5/+0
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 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-11-08config: 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> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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 Nadon5-3/+6
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 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-13xgamma 1.0.3xgamma-1.0.3Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-13Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith2-11/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-01Add README with pointers to mailing lists, bugzilla, & gitAlan Coopersmith1-0/+26
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-21Correct make distcheck and sparse warnings.Paulo Cesar Pereira de Andrade4-4/+16
2007-08-06Version bump: 1.0.2xgamma-1.0.2Alan Coopersmith1-1/+1
2007-08-06Replace COPYING stub with actual copyright/license info.Alan Coopersmith1-8/+42
2007-08-06Replace static ChangeLog with dist-hook to generate from git logAlan Coopersmith2-31/+11
2007-08-06Change xgamma_CFLAGS to AM_CFLAGS to make automake-1.10 happierAlan Coopersmith1-1/+1
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 Coopersmith1-4/+9
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 Coopersmith1-0/+1
2005-12-21Update package version for X11R7 release.XORG-7_1XORG-7_0_99_901XORG-7_0Kevin E Martin2-1/+6
2005-12-19Stub COPYING filesAdam Jackson1-0/+12
2005-12-15Update package version number for final X11R7 release candidate.XORG-6_99_99_904Kevin E Martin2-1/+6
2005-12-06Change *man_SOURCES ==> *man_PRE to fix autotools warnings.MODULAR_COPYKevin E Martin2-3/+8