xf86-video-amdgpu: Branch '1.1' - 2 commits

Michel Dänzer daenzer at kemper.freedesktop.org
Fri Sep 16 09:23:08 UTC 2016


 configure.ac |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

New commits:
commit b407c1244d28a80f76275abca2239cdd4120f017
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Fri Sep 16 18:11:31 2016 +0900

    Bump version for 1.1.2 release

diff --git a/configure.ac b/configure.ac
index ff6a368..123947b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-video-amdgpu],
-        [1.1.1],
+        [1.1.2],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
         [xf86-video-amdgpu])
 
commit 82062157263d6f63ce8f645bf32101fd18bd98e5
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Fri Sep 16 18:01:41 2016 +0900

    Fix handling of configure option --with-xorg-conf-dir
    
    There were two problems:
    
    I accidentally changed the variable name in the AC_ARG_WITH stanza from
    configdir to xorgconfigdir, so specifying --with-xorg-conf-dir wouldn't
    work correctly. Fix this back to configdir.
    
    If neither --with-xorg-conf-dir nor --prefix is specified on the command
    line, the $prefix variable doesn't contain "/usr/local" (the default
    prefix) yet at this point but "NONE". So make install would attempt to
    install 10-amdgpu.conf in ${DESTDIR}NONE/share/X11/xorg.conf.d/ . Fix
    this by leaving ${prefix} verbatim in the default value, to be resolved
    by make.
    
    Also print the configdir value along with the values of other similar
    configuration variables.
    
    Reported-by: Timo Aaltonen <tjaalton at debian.org>
    Reviewed-by: Julien Cristau <jcristau at debian.org>
    (Cherry picked from commit aa8a3fa2468094cd37959179e8417ba7ba0a326c)

diff --git a/configure.ac b/configure.ac
index ed45aaa..ff6a368 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,9 +89,9 @@ PKG_CHECK_EXISTS([xorg-server >= 1.16],
 		 [sysconfigdir=""])
 AC_ARG_WITH(xorg-conf-dir,
             AS_HELP_STRING([--with-xorg-conf-dir=DIR],
-                           [Default xorg.conf.d directory [[default=$prefix/share/X11/xorg.conf.d/]]]),
-            [xorgconfdir="$withval"],
-            [xorgconfdir="$prefix/share/X11/xorg.conf.d"])
+                           [Default xorg.conf.d directory [[default=${prefix}/share/X11/xorg.conf.d]]]),
+            [configdir="$withval"],
+            [configdir='${prefix}/share/X11/xorg.conf.d'])
 AC_SUBST(configdir)
 AM_CONDITIONAL(HAS_XORG_CONF_DIR, [test "x$sysconfigdir" != "x"])
 
@@ -279,6 +279,7 @@ echo "        prefix:              $prefix"
 echo "        exec_prefix:         $exec_prefix"
 echo "        libdir:              $libdir"
 echo "        includedir:          $includedir"
+echo "        configdir:           $configdir"
 
 echo ""
 echo "        CFLAGS:              $CFLAGS"


More information about the xorg-commit mailing list