[goffice] Config: stop checking for Xrender.



commit 28903f754ede950879545e7d618c660888e0527a
Author: Morten Welinder <terra gnome org>
Date:   Fri Jun 26 20:29:13 2020 -0400

    Config: stop checking for Xrender.
    
    We haven't needed this for decades.

 ChangeLog    |  7 ++++++-
 NEWS         | 11 ++++++-----
 configure.ac | 28 ++++------------------------
 3 files changed, 16 insertions(+), 30 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7bcc4048..69d1d9e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-06-26  Morten Welinder  <terra gnome org>
+
+       * configure.ac (xrender): Stop checking for xrender.  We haven't
+       needed that for a decade or two.
+
 2020-06-22  Jean Brefort  <jean brefort normalesup org>
 
        * goffice/canvas/*: enable GocGroup to work as a widgtless canvas.
@@ -602,7 +607,7 @@
 2016-01-01 Andreas J. Guelzow <aguelzow pyrshep ca>
 
        * utils/go-format.c (go_format_output_date_to_odf): write
-       gnm:am-suffix and gnm:pm-suffix attributes instead of the 
+       gnm:am-suffix and gnm:pm-suffix attributes instead of the
        gnm:style attribute for number:style
 
 2016-01-01 Andreas J. Guelzow <aguelzow pyrshep ca>
diff --git a/NEWS b/NEWS
index 654034b6..c9a0feb6 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ Morten:
        * Avoid critical in document image handling.
        * Introspection fixes.
        * Speed up GocGroup for large number of children.  [Gnumeric #465]
+       * Stop checking for Xrender.
 
 --------------------------------------------------------------------------
 goffice 0.10.47:
@@ -23,7 +24,7 @@ Jean:
        * Fix a drawing error in contour plots. [#458]
        * Ensure that all required dims have valid data in a valid series. [#466]
        * Fix legend order in bar plots.
-       * Test plot series validity after a data change. [#468] 
+       * Test plot series validity after a data change. [#468]
        * Fix crossing axis position. [#45]
        * Fix component duplication. [#483]
 
@@ -678,7 +679,7 @@ goffice 0.9.2:
 Andreas:
        * Improve sensitivity handling of SI related widgets in format selector.
        * Fix scientific format with SI prefix selection. [#665301]
-       * Fix recognition of formats with SI prefix by format selector. 
+       * Fix recognition of formats with SI prefix by format selector.
        [#665303]
        * Handle numeral shapes for number formats.
 
@@ -830,7 +831,7 @@ goffice 0.8.12:
 
 Andreas
        * Fix US 30/360 date calculations. [#631242][#630784]
-       
+
 Jean:
        * Fixed sorting with accentuated characters. [#631504]
        * Allow filled plots to be displayed behind the grids. [#632310]
@@ -847,7 +848,7 @@ goffice 0.8.11:
 
 Jean:
        * Implement custom grids in xyz plots. [#624273]
-       
+
 Jon Nordby:
        * Update API documentation.
 
@@ -901,7 +902,7 @@ Jean:
 goffice 0.8.8:
 
 Andreas:
-       * Make sure that go_format_sel_format_classification returns the 
+       * Make sure that go_format_sel_format_classification returns the
          value used by the format selector. [#625454]
 
 Jean:
diff --git a/configure.ac b/configure.ac
index c5c39d09..8518dfaf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,7 +78,7 @@ AM_MAINTAINER_MODE([enable])
 
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
-dnl We need intltool >= 0.35.0 to use the LINGUAS file in the po dir 
+dnl We need intltool >= 0.35.0 to use the LINGUAS file in the po dir
 IT_PROG_INTLTOOL([0.35.0])
 
 dnl We use $host_os:
@@ -385,26 +385,6 @@ dnl ****************************
 
 PKG_CHECK_MODULES(GOFFICE, $goffice_reqs)
 
-dnl  Checks for Xft/XRender
-have_xrender=no
-xrender_libs="-lXrender -lXext"
-AC_CHECK_LIB(Xrender, XRenderFindFormat, 
-       [have_xrender=yes
-        dnl See if we really need that -lXext
-        AC_CHECK_LIB(Xrender, XRenderQueryVersion,
-                     [xrender_libs="-lXrender"],
-                     [],
-                     [])],
-       [],
-       [-lXext])
-if test $have_xrender = yes; then
-  AC_SUBST(RENDER_LIBS, $xrender_libs)
-  AC_DEFINE(HAVE_RENDER, 1, [Define if libXrender is available.])
-else
-  AC_SUBST(RENDER_LIBS, "")
-fi
-unset xrender_libs
-
 dnl *****************************
 dnl FIXME: perhaps declare with AC_ARG_VAR?
 dnl       If we use the initial value of a variable, we have to make it precious.
@@ -652,7 +632,7 @@ if test "x$with_long_double" = "xyes"; then
                           [Define if GOffice supplies strtold.])
                ],
                [AC_MSG_RESULT(assuming not)])
-    else 
+    else
        AC_DEFINE([GOFFICE_SUPPLIED_STRTOLD], 1,
                  [Define if GOffice supplies strtold.])
        AC_CHECK_FUNCS(string_to_decimal decimal_to_quadruple)
@@ -688,7 +668,7 @@ LIBS=$SAVE_LIBS
 GIR_REQ=1.0.0
 AC_ARG_ENABLE(introspection,
           AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
-                         [Enable introspection for this build]),, 
+                         [Enable introspection for this build]),,
                          [enable_introspection=no])
 
 AC_MSG_CHECKING([for gobject-introspection])
@@ -711,7 +691,7 @@ AS_CASE([$enable_introspection],
 dnl Canonicalize enable_introspection
 enable_introspection=$found_introspection
 ],
-[      
+[
     AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
 ])
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]