Hello community, here is the log from the commit of package libXft for openSUSE:Factory checked in at 2019-03-26 22:29:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libXft (Old) and /work/SRC/openSUSE:Factory/.libXft.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libXft" Tue Mar 26 22:29:03 2019 rev:13 rq:687383 version:2.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libXft/libXft.changes 2019-01-26 22:18:12.651060103 +0100 +++ /work/SRC/openSUSE:Factory/.libXft.new.25356/libXft.changes 2019-03-26 22:29:06.645753737 +0100 @@ -1,0 +2,7 @@ +Thu Mar 21 15:19:16 UTC 2019 - Stefan Dirsch <[email protected]> + +- Update to version 2.3.3 + * This release updates XftDrawSrcPicture to use XRenderCreateSolidFill + when available (Render version 0.10 or later). + +------------------------------------------------------------------- Old: ---- libXft-2.3.2.tar.bz2 New: ---- libXft-2.3.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libXft.spec ++++++ --- /var/tmp/diff_new_pack.DB2jxv/_old 2019-03-26 22:29:07.117753623 +0100 +++ /var/tmp/diff_new_pack.DB2jxv/_new 2019-03-26 22:29:07.121753622 +0100 @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libXft %define lname libXft2 -Version: 2.3.2 +Version: 2.3.3 Release: 0 Summary: X FreeType library License: MIT ++++++ libXft-2.3.2.tar.bz2 -> libXft-2.3.3.tar.bz2 ++++++ ++++ 27577 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/ChangeLog new/libXft-2.3.3/ChangeLog --- old/libXft-2.3.2/ChangeLog 2014-06-06 08:05:36.000000000 +0200 +++ new/libXft-2.3.3/ChangeLog 2019-03-16 19:12:43.000000000 +0100 @@ -1,3 +1,79 @@ +commit a266847d3c17dcdfcac719a1aa970ad54f4b545a +Author: Alan Coopersmith <[email protected]> +Date: Sat Mar 16 11:03:38 2019 -0700 + + libXft 2.3.3 + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit fab5adf8fa3073862267e14aece1adf9eed0541c +Author: Alan Coopersmith <[email protected]> +Date: Sat Mar 16 11:03:17 2019 -0700 + + Add description of libXft to README.md + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit b397ffb23f02389b6c6168e7826605789907d740 +Author: Alan Coopersmith <[email protected]> +Date: Fri Dec 7 19:42:33 2018 -0800 + + Update configure.ac bug URL for gitlab migration + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit bdfb2b0e0fbf02ae69fe6cb2fbe352c4231e5c54 +Author: Alan Coopersmith <[email protected]> +Date: Mon Nov 19 22:20:38 2018 -0800 + + Update README for gitlab migration + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit c418dc7594f98359ae10815f62ee3efc0a511cf8 +Author: Mihail Konev <[email protected]> +Date: Thu Jan 26 13:52:49 2017 +1000 + + autogen: add default patch prefix + + Signed-off-by: Mihail Konev <[email protected]> + +commit 6a12debafe35963d205e0dc78eb742ad898312b7 +Author: Emil Velikov <[email protected]> +Date: Mon Mar 9 12:00:52 2015 +0000 + + autogen.sh: use quoted string variables + + Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent + fall-outs, when they contain space. + + Signed-off-by: Emil Velikov <[email protected]> + Reviewed-by: Peter Hutterer <[email protected]> + Signed-off-by: Peter Hutterer <[email protected]> + +commit 0d3402d1138afe9854452eb494acc649faa0dc9e +Author: Peter Hutterer <[email protected]> +Date: Tue Jan 24 10:32:07 2017 +1000 + + autogen.sh: use exec instead of waiting for configure to finish + + Syncs the invocation of configure with the one from the server. + + Signed-off-by: Peter Hutterer <[email protected]> + Reviewed-by: Emil Velikov <[email protected]> + +commit e8a83226bc10afb587f6f34daac44d2ef809c85e +Author: Keith Packard <[email protected]> +Date: Sun Oct 19 18:00:26 2014 -0500 + + XftDrawSrcPicture: Use XRenderCreateSolidFill when available + + Instead of creating 1x1 pictures, use the solid pictures added in + Render version 0.10 + + Signed-off-by: Keith Packard <[email protected]> + Reviewed-by: Adam Jackson <[email protected]> + commit 214f9b5306d833e2787c75fe41dfdc9228fcb738 Author: Alan Coopersmith <[email protected]> Date: Thu Jun 5 23:04:54 2014 -0700 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/Makefile.am new/libXft-2.3.3/Makefile.am --- old/libXft-2.3.2/Makefile.am 2014-06-06 08:05:07.000000000 +0200 +++ new/libXft-2.3.3/Makefile.am 2019-03-16 19:12:27.000000000 +0100 @@ -35,3 +35,5 @@ $(CHANGELOG_CMD) dist-hook: ChangeLog INSTALL + +EXTRA_DIST = README.md diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/NEWS new/libXft-2.3.3/NEWS --- old/libXft-2.3.2/NEWS 2014-06-06 08:05:07.000000000 +0200 +++ new/libXft-2.3.3/NEWS 2019-03-16 19:12:27.000000000 +0100 @@ -1,12 +1,17 @@ Xft X FreeType library - Version 2.3.0 - 2012-03-07 + Version 2.3.3 + 2019-03-16 Xft version 2.1 was the first stand alone release of Xft, a library that connects X applications with the FreeType font rasterization library. Xft uses fontconfig to locate fonts so it has no configuration files. +Version 2.3.3 + +Use XRenderCreateSolidFill when available (Render version 0.10 or later) +in XftDrawSrcPicture. + Version 2.3.2 Build fix for freetype 2.5.1, man page fix for XftDrawString8 & XftDrawRect. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/README new/libXft-2.3.3/README --- old/libXft-2.3.2/README 2014-06-06 08:05:07.000000000 +0200 +++ new/libXft-2.3.3/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,52 +0,0 @@ - Xft - X FreeType library - -Xft version 2.1 was the first stand alone release of Xft, a library that -connects X applications with the FreeType font rasterization library. Xft -uses fontconfig to locate fonts so it has no configuration files. - -Before building Xft you will need to have installed: - freetype http://freetype.org/ - fontconfig http://fontconfig.org/ - libX11, libXext, & libXrender http://x.org/ - -All questions regarding this software should be directed at the -Xorg mailing list: - - http://lists.freedesktop.org/mailman/listinfo/xorg - -Please submit bug reports to the Xorg bugzilla: - - https://bugs.freedesktop.org/enter_bug.cgi?product=xorg - -The master development code repository can be found at: - - git://anongit.freedesktop.org/git/xorg/lib/libXft - - http://cgit.freedesktop.org/xorg/lib/libXft - -For patch submission instructions, see: - - http://www.x.org/wiki/Development/Documentation/SubmittingPatches - -For more information on the git code manager, see: - - http://wiki.x.org/wiki/GitPage - -To release a version of this library: - - 1. Update the version number in configure.ac - 2. Fix the NEWS file - Change version number - Set the date - add highlights - 3. Commit those changes - 4. rebuild the configuration files with autogen.sh - sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man - 5. Follow the steps listed in - http://xorg.freedesktop.org/wiki/Development/Documentation/ReleaseHOWTO - -Keith Packard [email protected] - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/README.md new/libXft-2.3.3/README.md --- old/libXft-2.3.2/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/libXft-2.3.3/README.md 2019-03-16 19:12:27.000000000 +0100 @@ -0,0 +1,47 @@ +libXft - X FreeType library +--------------------------- + +libXft is the client side font rendering library, using libfreetype, +libX11, and the X Render extension to display anti-aliased text. + +Xft version 2.1 was the first stand alone release of Xft, a library that +connects X applications with the FreeType font rasterization library. Xft +uses fontconfig to locate fonts so it has no configuration files. + +Before building Xft you will need to have installed: + - FreeType https://freetype.org/ + - Fontconfig https://fontconfig.org/ + - libX11, libXext, & libXrender https://x.org/ + +All questions regarding this software should be directed at the +Xorg mailing list: + + https://lists.x.org/mailman/listinfo/xorg + +The master development code repository can be found at: + + https://gitlab.freedesktop.org/xorg/lib/libXft + +Please submit bug reports and requests to merge patches there. + +For patch submission instructions, see: + + https://www.x.org/wiki/Development/Documentation/SubmittingPatches + +To release a version of this library: + + 1. Update the version number in configure.ac + 2. Fix the NEWS file + Change version number + Set the date + add highlights + 3. Commit those changes + 4. rebuild the configuration files with autogen.sh + sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man + 5. Follow the steps listed in + https://www.x.org/wiki/Development/Documentation/ReleaseHOWTO/ + +Keith Packard [email protected] + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/compile new/libXft-2.3.3/compile --- old/libXft-2.3.2/compile 2014-06-06 08:05:18.000000000 +0200 +++ new/libXft-2.3.3/compile 2019-03-16 19:12:35.000000000 +0100 @@ -3,7 +3,7 @@ scriptversion=2012-10-14.11; # UTC -# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # Written by Tom Tromey <[email protected]>. # # This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/config.h.in new/libXft-2.3.3/config.h.in --- old/libXft-2.3.2/config.h.in 2014-06-06 08:05:17.000000000 +0200 +++ new/libXft-2.3.3/config.h.in 2019-03-16 19:12:34.000000000 +0100 @@ -30,8 +30,7 @@ /* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ +/* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Name of package */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/configure.ac new/libXft-2.3.3/configure.ac --- old/libXft-2.3.2/configure.ac 2014-06-06 08:05:07.000000000 +0200 +++ new/libXft-2.3.3/configure.ac 2019-03-16 19:12:27.000000000 +0100 @@ -27,8 +27,8 @@ # version. This version number will be substituted into Xft.h # Please bump the minor library number at each release as well. # -AC_INIT([libXft], [2.3.2], - [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXft]) +AC_INIT([libXft], [2.3.3], + [https://gitlab.freedesktop.org/xorg/lib/libXft/issues], [libXft]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/include/X11/Xft/Xft.h new/libXft-2.3.3/include/X11/Xft/Xft.h --- old/libXft-2.3.2/include/X11/Xft/Xft.h 2014-06-06 08:05:24.000000000 +0200 +++ new/libXft-2.3.3/include/X11/Xft/Xft.h 2019-03-16 19:12:42.000000000 +0100 @@ -30,7 +30,7 @@ /* #undef will be substituted by configure */ #define XFT_MAJOR 2 #define XFT_MINOR 3 -#define XFT_REVISION 2 +#define XFT_REVISION 3 #define XFT_VERSION ((XFT_MAJOR * 10000) + (XFT_MINOR * 100) + (XFT_REVISION)) #define XftVersion XFT_VERSION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/missing new/libXft-2.3.3/missing --- old/libXft-2.3.2/missing 2014-06-06 08:05:18.000000000 +0200 +++ new/libXft-2.3.3/missing 2019-03-16 19:12:35.000000000 +0100 @@ -1,9 +1,9 @@ #! /bin/sh # Common wrapper for a few potentially missing GNU programs. -scriptversion=2012-06-26.16; # UTC +scriptversion=2013-10-28.13; # UTC -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <[email protected]>, 1996. # This program is free software; you can redistribute it and/or modify @@ -160,7 +160,7 @@ ;; autom4te*) echo "You might have modified some maintainer files that require" - echo "the 'automa4te' program to be rebuilt." + echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/src/xftdpy.c new/libXft-2.3.3/src/xftdpy.c --- old/libXft-2.3.2/src/xftdpy.c 2014-06-06 08:05:07.000000000 +0200 +++ new/libXft-2.3.3/src/xftdpy.c 2019-03-16 19:12:27.000000000 +0100 @@ -106,6 +106,10 @@ if (major < 0 || (major == 0 && minor <= 2)) info->use_free_glyphs = FcFalse; + info->hasSolid = FcFalse; + if (major > 0 || (major == 0 && minor >= 10)) + info->hasSolid = FcTrue; + pf.type = PictTypeDirect; pf.depth = 32; pf.direct.redMask = 0xff; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/src/xftdraw.c new/libXft-2.3.3/src/xftdraw.c --- old/libXft-2.3.2/src/xftdraw.c 2014-06-06 08:05:07.000000000 +0200 +++ new/libXft-2.3.3/src/xftdraw.c 2019-03-16 19:12:27.000000000 +0100 @@ -333,39 +333,52 @@ * Pick one to replace at random */ i = (unsigned int) rand () % XFT_NUM_SOLID_COLOR; - /* - * Recreate if it was for the wrong screen - */ - if (info->colors[i].screen != draw->screen && info->colors[i].pict) - { - XRenderFreePicture (dpy, info->colors[i].pict); - info->colors[i].pict = 0; - } - /* - * Create picture if necessary - */ - if (!info->colors[i].pict) - { - Pixmap pix; - XRenderPictureAttributes pa; - pix = XCreatePixmap (dpy, RootWindow (dpy, draw->screen), 1, 1, - info->solidFormat->depth); - pa.repeat = True; - info->colors[i].pict = XRenderCreatePicture (draw->dpy, - pix, - info->solidFormat, - CPRepeat, &pa); - XFreePixmap (dpy, pix); + if (info->hasSolid) { + /* + * Free any existing entry + */ + if (info->colors[i].pict) + XRenderFreePicture (dpy, info->colors[i].pict); + /* + * Create picture + */ + info->colors[i].pict = XRenderCreateSolidFill (draw->dpy, &color->color); + } else { + if (info->colors[i].screen != draw->screen && info->colors[i].pict) + { + XRenderFreePicture (dpy, info->colors[i].pict); + info->colors[i].pict = 0; + } + /* + * Create picture if necessary + */ + if (!info->colors[i].pict) + { + Pixmap pix; + XRenderPictureAttributes pa; + + pix = XCreatePixmap (dpy, RootWindow (dpy, draw->screen), 1, 1, + info->solidFormat->depth); + pa.repeat = True; + info->colors[i].pict = XRenderCreatePicture (draw->dpy, + pix, + info->solidFormat, + CPRepeat, &pa); + XFreePixmap (dpy, pix); + } + /* + * Set to the new color + */ + info->colors[i].color = color->color; + info->colors[i].screen = draw->screen; + XRenderFillRectangle (dpy, PictOpSrc, + info->colors[i].pict, + &color->color, 0, 0, 1, 1); } - /* - * Set to the new color - */ info->colors[i].color = color->color; info->colors[i].screen = draw->screen; - XRenderFillRectangle (dpy, PictOpSrc, - info->colors[i].pict, - &color->color, 0, 0, 1, 1); + return info->colors[i].pict; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXft-2.3.2/src/xftint.h new/libXft-2.3.3/src/xftint.h --- old/libXft-2.3.2/src/xftint.h 2014-06-06 08:05:07.000000000 +0200 +++ new/libXft-2.3.3/src/xftint.h 2019-03-16 19:12:27.000000000 +0100 @@ -245,6 +245,7 @@ XExtCodes *codes; FcPattern *defaults; FcBool hasRender; + FcBool hasSolid; XftFont *fonts; XRenderPictFormat *solidFormat; unsigned long glyph_memory;
