Hello community, here is the log from the commit of package feh for openSUSE:Factory checked in at 2018-11-08 09:48:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/feh (Old) and /work/SRC/openSUSE:Factory/.feh.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "feh" Thu Nov 8 09:48:45 2018 rev:28 rq:646618 version:2.28.1 Changes: -------- --- /work/SRC/openSUSE:Factory/feh/feh.changes 2018-10-23 20:37:40.300739187 +0200 +++ /work/SRC/openSUSE:Factory/.feh.new/feh.changes 2018-11-08 09:48:54.153070680 +0100 @@ -1,0 +2,8 @@ +Tue Nov 06 05:08:38 UTC 2018 - s...@suspend.net + +- update to 2.28.1 + * Do not ignore quit signals (SIGTERM, SIGINT, SIGQUIT) during preload + * Add missign EXIF orientations 2,4,5 and 7 (when built with exif=1) + * Improve randomness on non-glibc systems + +------------------------------------------------------------------- Old: ---- feh-2.28.tar.bz2 feh-2.28.tar.bz2.asc New: ---- feh-2.28.1.tar.bz2 feh-2.28.1.tar.bz2.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ feh.spec ++++++ --- /var/tmp/diff_new_pack.kxseb8/_old 2018-11-08 09:48:54.741069987 +0100 +++ /var/tmp/diff_new_pack.kxseb8/_new 2018-11-08 09:48:54.741069987 +0100 @@ -17,7 +17,7 @@ Name: feh -Version: 2.28 +Version: 2.28.1 Release: 0 Summary: X11 image viewer License: MIT AND LGPL-2.0-or-later ++++++ feh-2.28.tar.bz2 -> feh-2.28.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/ChangeLog new/feh-2.28.1/ChangeLog --- old/feh-2.28/ChangeLog 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/ChangeLog 2018-10-27 19:51:41.000000000 +0200 @@ -1,3 +1,11 @@ +Sat, 27 Oct 2018 19:46:48 +0200 Daniel Friesel <derf+...@finalrewind.org> + +* Release v2.28.1 + * Do not ignore quit signals (SIGTERM, SIGINT, SIGQUIT) during preload + * Add missing EXIF orientations 2, 4, 5, and 7 (when built with exif=1, + patch by Olof-Joachim Frahm) + * Improve randomness on non-glibc systems + Mon, 17 Sep 2018 21:17:04 +0200 Daniel Friesel <derf+...@finalrewind.org> * Release v2.28 @@ -8,9 +16,9 @@ * Fix unintened aliasing in rotated images whose rotation is not a multiple of 90 degrees (patch by <https://github.com/ulteq>) * New option: --on-last-slide=hold|quit|resume. - hold replaces --no-cycle (which is now deprecated), quit will cause feh - to quit after the last slide (patch by <https://github.com/ulteq>), - resume is the default (continue at the first image) + hold will cause feh to stop advancing beyond the last slide (patch by + <https://github.com/ulteq>), quit replaces --cycle-once (which is now + deprecated), and resume is the default (continue at the first image). Tue, 17 Jul 2018 17:33:10 +0200 Daniel Friesel <derf+...@finalrewind.org> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/config.mk new/feh-2.28.1/config.mk --- old/feh-2.28/config.mk 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/config.mk 2018-10-27 19:51:41.000000000 +0200 @@ -1,5 +1,5 @@ PACKAGE ?= feh -VERSION ?= 2.28 +VERSION ?= 2.28.1 app ?= 0 cam ?= 0 @@ -87,7 +87,7 @@ MAN_EXIF = disabled endif -MAN_DATE ?= September 17, 2018 +MAN_DATE ?= October 27, 2018 # Uncomment this to use dmalloc #CFLAGS += -DWITH_DMALLOC diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/src/collage.c new/feh-2.28.1/src/collage.c --- old/feh-2.28/src/collage.c 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/src/collage.c 2018-10-27 19:51:41.000000000 +0200 @@ -145,8 +145,8 @@ } /* pick random coords for thumbnail */ - xxx = ((w - www) * ((double) rand() / RAND_MAX)); - yyy = ((h - hhh) * ((double) rand() / RAND_MAX)); + xxx = ((w - www) * ((double) random() / RAND_MAX)); + yyy = ((h - hhh) * ((double) random() / RAND_MAX)); D(("image going on at x=%d, y=%d\n", xxx, yyy)); im_thumb = gib_imlib_create_cropped_scaled_image(im_temp, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/src/filelist.c new/feh-2.28.1/src/filelist.c --- old/feh-2.28/src/filelist.c 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/src/filelist.c 2018-10-27 19:51:41.000000000 +0200 @@ -37,6 +37,7 @@ int filelist_len = 0; gib_list *current_file = NULL; extern int errno; +extern int sig_exit; /* exit flag from signal handler */ static gib_list *rm_filelist = NULL; @@ -327,6 +328,10 @@ feh_display_status('s'); } else if (opt.verbose) feh_display_status('.'); + if (sig_exit) { + feh_display_status(0); + exit(sig_exit); + } } if (opt.verbose) feh_display_status(0); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/src/gib_imlib.c new/feh-2.28.1/src/gib_imlib.c --- old/feh-2.28/src/gib_imlib.c 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/src/gib_imlib.c 2018-10-27 19:51:41.000000000 +0200 @@ -717,3 +717,15 @@ imlib_context_set_image(im); imlib_image_orientate(orientation); } + +void gib_imlib_image_flip_horizontal(Imlib_Image im) +{ + imlib_context_set_image(im); + imlib_image_flip_horizontal(); +} + +void gib_imlib_image_flip_vertical(Imlib_Image im) +{ + imlib_context_set_image(im); + imlib_image_flip_vertical(); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/src/gib_imlib.h new/feh-2.28.1/src/gib_imlib.h --- old/feh-2.28/src/gib_imlib.h 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/src/gib_imlib.h 2018-10-27 19:51:41.000000000 +0200 @@ -181,6 +181,8 @@ void gib_imlib_parse_fontpath(char *path); Imlib_Font gib_imlib_load_font(char *name); void gib_imlib_image_orientate(Imlib_Image im, int orientation); +void gib_imlib_image_flip_horizontal(Imlib_Image im); +void gib_imlib_image_flip_vertical(Imlib_Image im); #ifdef __cplusplus } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/src/gib_list.c new/feh-2.28.1/src/gib_list.c --- old/feh-2.28/src/gib_list.c 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/src/gib_list.c 2018-10-27 19:51:41.000000000 +0200 @@ -362,7 +362,7 @@ } for (i = 0; i < len - 1; i++) { - r = i + rand() / (RAND_MAX / (len - i) + 1 ); + r = i + random() / (RAND_MAX / (len - i) + 1 ); t = farray[r]; farray[r] = farray[i]; farray[i] = t; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/src/imlib.c new/feh-2.28.1/src/imlib.c --- old/feh-2.28/src/imlib.c 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/src/imlib.c 2018-10-27 19:51:41.000000000 +0200 @@ -294,10 +294,22 @@ } file->ed = exifData; - if (orientation == 3) + if (orientation == 2) + gib_imlib_image_flip_horizontal(*im); + else if (orientation == 3) gib_imlib_image_orientate(*im, 2); + else if (orientation == 4) + gib_imlib_image_flip_vertical(*im); + else if (orientation == 5) { + gib_imlib_image_orientate(*im, 3); + gib_imlib_image_flip_vertical(*im); + } else if (orientation == 6) gib_imlib_image_orientate(*im, 1); + else if (orientation == 7) { + gib_imlib_image_orientate(*im, 3); + gib_imlib_image_flip_horizontal(*im); + } else if (orientation == 8) gib_imlib_image_orientate(*im, 3); #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/src/keyevents.c new/feh-2.28.1/src/keyevents.c --- old/feh-2.28/src/keyevents.c 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/src/keyevents.c 2018-10-27 19:51:41.000000000 +0200 @@ -686,7 +686,7 @@ } else if (feh_is_kp(EVENT_jump_random, state, keysym, button)) { if (winwid->type == WIN_TYPE_THUMBNAIL) - feh_thumbnail_select_next(winwid, rand() % (filelist_len - 1)); + feh_thumbnail_select_next(winwid, random() % (filelist_len - 1)); else slideshow_change_image(winwid, SLIDE_RAND, 1); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/src/main.c new/feh-2.28.1/src/main.c --- old/feh-2.28/src/main.c 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/src/main.c 2018-10-27 19:51:41.000000000 +0200 @@ -42,7 +42,7 @@ { atexit(feh_clean_exit); - srand(getpid() * time(NULL) % ((unsigned int) -1)); + srandom(getpid() * time(NULL) % ((unsigned int) -1)); setup_signal_handlers(); init_parse_options(argc, argv); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/src/slideshow.c new/feh-2.28.1/src/slideshow.c --- old/feh-2.28/src/slideshow.c 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/src/slideshow.c 2018-10-27 19:51:41.000000000 +0200 @@ -258,7 +258,7 @@ case SLIDE_RAND: if (filelist_len > 1) { current_file = feh_list_jump(filelist, current_file, FORWARD, - (rand() % (filelist_len - 1)) + 1); + (random() % (filelist_len - 1)) + 1); change = SLIDE_NEXT; } break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.28/src/wallpaper.c new/feh-2.28.1/src/wallpaper.c --- old/feh-2.28/src/wallpaper.c 2018-09-17 21:47:05.000000000 +0200 +++ new/feh-2.28.1/src/wallpaper.c 2018-10-27 19:51:41.000000000 +0200 @@ -252,7 +252,7 @@ XGCValues gcval; GC gc; char bgname[20]; - int num = (int) rand(); + int num = (int) random(); char bgfil[4096]; char sendbuf[4096];