Hello community, here is the log from the commit of package xlockmore for openSUSE:Factory checked in at 2017-06-12 15:28:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xlockmore (Old) and /work/SRC/openSUSE:Factory/.xlockmore.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xlockmore" Mon Jun 12 15:28:48 2017 rev:36 rq:500383 version:5.54 Changes: -------- --- /work/SRC/openSUSE:Factory/xlockmore/xlockmore.changes 2017-04-07 13:54:49.226648935 +0200 +++ /work/SRC/openSUSE:Factory/.xlockmore.new/xlockmore.changes 2017-06-12 15:28:51.618582395 +0200 @@ -1,0 +2,33 @@ +Wed May 31 17:14:54 CEST 2017 - sbra...@suse.com + +- Update to version 5.54: + * strange mode updates. + +------------------------------------------------------------------- +Fri Apr 28 19:33:08 CEST 2017 - sbra...@suse.com + +- Add a fix for double entering of password in non-English locales + (boo#1035688, xlockmore-pam.patch). + +------------------------------------------------------------------- +Wed Apr 26 17:20:02 CEST 2017 - sbra...@suse.com + +- Update to version 5.53: + * dclock fix for led bounce. + * Install changes for fortune. + * strange mode updates. + * life3d updates. + * messagefont fix. + * Changed default message font. + * spiral erase mode changed. + * Fix for kumppa -speed 0.2. + * new website at http://www.sillycycle.com + * xmb fonts fix. + * fixed xjack mode. + * Updated language use. +- Refresh xlockmore-bitmaps.patch, xlockmore-ttf_dir.patch, + xlockmore-extend-freetype-include-search.patch. +- Re-enable PAM (boo#1035688). +- Disable obsolete --enable-use-mb. + +------------------------------------------------------------------- Old: ---- xlockmore-5.45.tar.bz2 xlockmore-5.45.tar.bz2.asc New: ---- xlockmore-5.54.tar.xz xlockmore-5.54.tar.xz.asc xlockmore-pam.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xlockmore.spec ++++++ --- /var/tmp/diff_new_pack.QGnw3n/_old 2017-06-12 15:28:52.486459997 +0200 +++ /var/tmp/diff_new_pack.QGnw3n/_new 2017-06-12 15:28:52.490459432 +0200 @@ -17,17 +17,17 @@ Name: xlockmore -Version: 5.45 +Version: 5.54 Release: 0 Summary: Screen Saver and Locker for the X Window System License: MIT Group: System/X11/Utilities -Url: http://www.tux.org/~bagleyd/xlockmore.html -Source: http://www.tux.org/~bagleyd/xlock/%{name}-%{version}/%{name}-%{version}.tar.bz2 +Url: http://sillycycle.com/xlockmore.html +Source: http://sillycycle.com/xlock/%{name}-%{version}.tar.xz Source1: xlock.pamd Source2: xlock-wrapper Source3: xlock-wrapper_xorg6 -Source4: http://www.tux.org/~bagleyd/xlock/%{name}-%{version}/%{name}-%{version}.tar.bz2.asc +Source4: http://sillycycle.com/xlock/%{name}-%{version}.tar.xz.asc Source5: %{name}.keyring # apply even patches when X.org < 7.0 else apply odd patches Patch1: %{name}-bitmaps.patch @@ -39,6 +39,8 @@ # extended list of directories where could freetype be found Patch9: xlockmore-extend-freetype-include-search.patch Patch10: xlockmore-nose_mode_crash.patch +# PATCH-HACK-OPENSUSE xlockmore-pam.patch boo1035688 -- Do not hardcode "Password" string. Breaks LANG != en. +Patch11: xlockmore-pam.patch BuildRequires: ImageMagick-devel BuildRequires: automake BuildRequires: bc @@ -54,6 +56,7 @@ BuildRequires: libXpm-devel BuildRequires: libXt-devel BuildRequires: libdrm-devel +BuildRequires: pam-devel BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -82,6 +85,7 @@ %patch7 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %build aclocal @@ -99,8 +103,8 @@ --without-gtk\ --without-motif\ --disable-bomb\ + --enable-pam\ --enable-vtlock\ - --enable-use-mb\ --disable-allow-root\ --x-includes=%{_xorg7_prefix}/include\ --x-libraries=%{_xorg7_prefix}/%{_lib} ++++++ xlockmore-bitmaps.patch ++++++ --- /var/tmp/diff_new_pack.QGnw3n/_old 2017-06-12 15:28:52.550450972 +0200 +++ /var/tmp/diff_new_pack.QGnw3n/_new 2017-06-12 15:28:52.550450972 +0200 @@ -1,9 +1,9 @@ Index: xlock/XLock.ad =================================================================== ---- xlock/XLock.ad.orig 2009-08-27 22:42:04.000000000 +0200 -+++ xlock/XLock.ad 2010-12-14 12:19:00.772719051 +0100 -@@ -76,8 +76,8 @@ XLock.program: fortune -s - !XLock.messagefont: -*-times-*-*-*-*-18-*-*-*-*-*-*-* +--- xlock/XLock.ad.orig ++++ xlock/XLock.ad +@@ -79,8 +79,8 @@ XLock.messagefont: -*-times-*-*-*-*-18-* + !XLock.messagefont: *8x16* ! For modes with images -!XLock.*.bitmap: bitmaps/m-xlock.xbm ++++++ xlockmore-extend-freetype-include-search.patch ++++++ --- /var/tmp/diff_new_pack.QGnw3n/_old 2017-06-12 15:28:52.562449279 +0200 +++ /var/tmp/diff_new_pack.QGnw3n/_new 2017-06-12 15:28:52.562449279 +0200 @@ -1,16 +1,17 @@ -diff -Naur xlockmore-5.43/configure.in xlockmore-5.43.new/configure.in ---- xlockmore-5.43/configure.in 2013-02-21 17:32:25.000000000 +0100 -+++ xlockmore-5.43.new/configure.in 2013-12-15 20:09:47.668438807 +0100 -@@ -1914,7 +1914,7 @@ - AC_DEFUN(AC_PATH_FREETYPE_DIRECT, +Index: xlockmore-5.53/configure.ac +=================================================================== +--- xlockmore-5.53.orig/configure.ac ++++ xlockmore-5.53/configure.ac +@@ -1912,7 +1912,7 @@ dnl freetype FREETYPE + AC_DEFUN([AC_PATH_FREETYPE_DIRECT], [test -z "$freetype_direct_test_library" && freetype_direct_test_library=freetype test -z "$freetype_direct_test_function" && freetype_direct_test_function=FT_Init_FreeType --test -z "$freetype_direct_test_include" && freetype_direct_test_include=freetype2/freetype/freetype.h +-test -z "$freetype_direct_test_include" && freetype_direct_test_include=freetype2/freetype.h +test -z "$freetype_direct_test_include" && freetype_direct_test_include=freetype.h for ac_dir in \ /usr/X11R6.5.1/include \ /usr/X11R6.4/include \ -@@ -1974,11 +1974,14 @@ +@@ -1972,11 +1972,14 @@ test -z "$freetype_direct_test_include" /usr/openwin/share/include \ /usr/openwin/include \ \ ++++++ xlockmore-pam.patch ++++++ This is more a hack than a correct fix. Instead of hadcoded expecting of "Password" prompt as a first PAM query, just expect that it asks for password (xlock hardcodes "Password" as a first query in the GUI). It will unbreak xlock with non-English locales, but it will still swallow the first prompt from PAM. In most cases, it is just translated "Password" string, but in some cases it can be a different question. To fully fix the problem, GUI needs to be redone. Instead of hardcoded "Password" prompt in the initial phase of authentication, get all prompts from PAM. Index: xlockmore-5.53/xlock/passwd.c =================================================================== --- xlockmore-5.53.orig/xlock/passwd.c +++ xlockmore-5.53/xlock/passwd.c @@ -335,29 +335,19 @@ PAM_conv(int num_msg, #ifdef DEBUG (void) printf( " + Message style: PAM_PROMPT_ECHO_OFF\n" ); #endif - if( strstr( msg[replies]->msg, "Password" ) == NULL ) { - PAM_putText( msg[replies], &reply[replies], False ); - } else { - reply[replies].resp = COPY_STRING(PAM_password); - } + reply[replies].resp = COPY_STRING(PAM_password); /* PAM frees resp */ break; case PAM_TEXT_INFO: #ifdef DEBUG (void) printf( " + Message style: PAM_TEXT_INFO\n" ); #endif - if( strstr( msg[replies]->msg, "Password" ) == NULL ) { - PAM_putText( msg[replies], &reply[replies], False ); - } /* PAM frees resp */ break; case PAM_ERROR_MSG: #ifdef DEBUG (void) printf( " + Message style: PAM_ERROR_MSG\n" ); #endif - if( strstr( msg[replies]->msg, "Password" ) == NULL ) { - PAM_putText( msg[replies], &reply[replies], False ); - } /* PAM frees resp */ break; default: ++++++ xlockmore-ttf_dir.patch ++++++ --- /var/tmp/diff_new_pack.QGnw3n/_old 2017-06-12 15:28:52.586445896 +0200 +++ /var/tmp/diff_new_pack.QGnw3n/_new 2017-06-12 15:28:52.586445896 +0200 @@ -1,28 +1,28 @@ -Index: configure.in +Index: configure.ac =================================================================== ---- configure.in.orig 2010-01-28 00:30:40.000000000 +0100 -+++ configure.in 2010-12-14 12:19:00.863842724 +0100 -@@ -1585,9 +1585,9 @@ else +--- configure.ac.orig ++++ configure.ac +@@ -1686,9 +1686,9 @@ else ttf=yes - AC_DEFINE(HAVE_TTF) + AC_DEFINE([HAVE_TTF], [1], [True Text Font]) if test "x$prefix" = "xNONE"; then -- AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/lib/X11/xlock/fonts/") -+ AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/share/fonts/truetype/") +- AC_DEFINE_UNQUOTED([DEF_TTFONT], ["/usr/lib/X11/xlock/fonts/"], [True Text Font]) ++ AC_DEFINE_UNQUOTED([DEF_TTFONT], ["/usr/share/fonts/truetype/"], [True Text Font]) else -- AC_DEFINE_UNQUOTED(DEF_TTFONT, "${prefix}/lib/X11/xlock/fonts/") -+ AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/share/fonts/truetype/") +- AC_DEFINE_UNQUOTED([DEF_TTFONT], ["${prefix}/lib/X11/xlock/fonts/"], [True Text Font]) ++ AC_DEFINE_UNQUOTED([DEF_TTFONT], ["/usr/share/fonts/truetype/"], [True Text Font]) fi XLOCKLIBS="${XLOCKLIBS} -lttf" test "x$ttf_includes" = xNONE && ttf_includes=$ac_ttf_includes -@@ -1985,9 +1985,9 @@ else +@@ -2086,9 +2086,9 @@ else freetype=yes - AC_DEFINE(HAVE_FREETYPE) + AC_DEFINE([HAVE_FREETYPE], [1], [Free Type]) if test "x$prefix" = "xNONE"; then -- AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/lib/X11/xlock/fonts/") -+ AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/share/fonts/truetype/") +- AC_DEFINE_UNQUOTED([DEF_TTFONT], ["/usr/lib/X11/xlock/fonts/"], [True Text Font]) ++ AC_DEFINE_UNQUOTED([DEF_TTFONT], ["/usr/share/fonts/truetype/"], [True Text Font]) else -- AC_DEFINE_UNQUOTED(DEF_TTFONT, "${prefix}/lib/X11/xlock/fonts/") -+ AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/share/fonts/truetype/") +- AC_DEFINE_UNQUOTED([DEF_TTFONT], ["${prefix}/lib/X11/xlock/fonts/"], [True Text Font]) ++ AC_DEFINE_UNQUOTED([DEF_TTFONT], ["/usr/share/fonts/truetype/"], [True Text Font]) fi XLOCKLIBS="${XLOCKLIBS} -lfreetype" test "x$freetype_includes" = xNONE && freetype_includes=$ac_freetype_includes