head 1.9; access; symbols pkgsrc-2022Q3:1.7.0.4 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.2 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.6.0.10 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.8 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.6 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.4 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.2 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.5.0.44 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.42 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.38 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.18 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.40 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.36 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.34 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.32 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.30 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.28 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.26 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.24 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.22 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.20 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.16 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.14 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.12 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.10 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.8 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.6 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.4 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.2 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.4.0.24 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.22 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.20 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.18 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.16 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.14 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.12 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.10 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.8 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.6 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.4 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.2 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.3.0.20 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.18 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.16 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.14 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.12 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.10 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.8 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.6 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.4 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.2 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.2.0.4 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.2 pkgsrc-2009Q3-base:1.2; locks; strict; comment @# @; 1.9 date 2022.11.22.14.13.23; author gdt; state dead; branches; next 1.8; commitid iwT1fehyitJjLH2E; 1.8 date 2022.11.21.11.58.47; author wiz; state Exp; branches; next 1.7; commitid K42vL7IslUU63z2E; 1.7 date 2022.05.20.12.03.08; author wiz; state Exp; branches; next 1.6; commitid 80ZIEKmrr94Q1NED; 1.6 date 2021.01.11.18.18.58; author gdt; state Exp; branches; next 1.5; commitid 4IvqxCVlIWX4ZkDC; 1.5 date 2015.09.10.19.06.57; author gdt; state Exp; branches; next 1.4; commitid 9Z2bMrjMAO4IVJAy; 1.4 date 2012.08.28.00.30.45; author gdt; state Exp; branches; next 1.3; 1.3 date 2010.02.20.20.50.34; author gdt; state Exp; branches; next 1.2; 1.2 date 2009.07.24.10.51.16; author drochner; state Exp; branches; next 1.1; 1.1 date 2009.07.23.23.08.37; author wiz; state Exp; branches; next ; desc @@ 1.9 log @graphics/geeqie: Redo patch-ac (UB avoidance) Redo patch-ac, which was about avoiding UB from calls that were not async-signal-safe from a signal handler. Further, the code called mmap in a way that POSIX says must fail. Add links to upstream bug report and upstream pull request. @ text @$NetBSD: patch-ac,v 1.8 2022/11/21 11:58:47 wiz Exp $ * first hunk Comment from 2009/07/24: disable the SIGBUS handler completely -- as implemented it can only cause trouble This is not known to be reported upstream. --- src/main.c.orig 2022-08-12 09:32:26.000000000 +0000 +++ src/main.c @@@@ -1026,6 +1026,7 @@@@ void exit_program(void) */ /** @@FIXME this probably needs some better ifdefs. Please report any compilation problems */ +#if 0 #if defined(SIGBUS) && defined(SA_SIGINFO) static void sigbus_handler_cb(int UNUSED(signum), siginfo_t *info, void *UNUSED(context)) { @@@@ -1034,9 +1035,11 @@@@ static void sigbus_handler_cb(int UNUSED mmap((void *)(((unsigned long)info->si_addr / pagesize) * pagesize), pagesize, PROT_READ | PROT_WRITE, MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); } #endif +#endif /* 0 */ static void setup_sigbus_handler(void) { +#if 0 #if defined(SIGBUS) && defined(SA_SIGINFO) struct sigaction sigbus_action; sigfillset(&sigbus_action.sa_mask); @@@@ -1045,6 +1048,7 @@@@ static void setup_sigbus_handler(void) sigaction(SIGBUS, &sigbus_action, NULL); #endif +#endif /* 0 */ } static void set_theme_bg_color() @ 1.8 log @geeqie: update to 2.0.1. Geeqie 2.0.1 ============ - Exclude build directories from release tar Geeqie 2.0 ============ - GTK2 no longer supported - Configuration system moved from Autotools to Meson - Spelling checks for metadata - When navigation folders, on return to a folder select last image viewed - Search facility in Exif window - Display keyboard shortcuts in popup menus - LIRC deleted - renderer-clutter() deleted And as usual: - Many bug fixes - Updated language support @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2022/05/20 12:03:08 wiz Exp $ @ 1.7 log @geeqie: update to 1.7.3. pkgsrc: enable some more modern image formats (heif, webp, jp2) Geeqie 1.7.3 ============ - Fix crash with Flatpak version Geeqie 1.7.2 ============ - Copy image to clipboard option - Fix MacOS problems - Multi-threaded find duplicates - Generate sRGB thumbnails for images with embedded color profile - External image decoder option - AppImage supported - Support jpeg xl format - Automated cache maintenance - Support archive (e.g. zip) files - Use system theme background color And as usual: - Many small improvements - Many bug fixes - Updated language support @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2021/01/11 18:18:58 gdt Exp $ d12 1 a12 1 --- src/main.c.orig 2022-04-12 09:46:17.000000000 +0000 d14 1 a14 1 @@@@ -1223,6 +1223,7 @@@@ void exit_program(void) d20 1 a20 1 static void sigbus_handler_cb(int signum, siginfo_t *info, void *context) d22 1 a22 1 @@@@ -1231,9 +1232,11 @@@@ static void sigbus_handler_cb(int signum d34 1 a34 1 @@@@ -1242,6 +1245,7 @@@@ static void setup_sigbus_handler(void) @ 1.6 log @graphics/geeqie: Fix clutter crash Add patch cherry-picking an upstream commit, resolving crashes when enabling clutter. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2015/09/10 19:06:57 gdt Exp $ d12 1 a12 6 * second hunk Avoid clutter crash. Cherrypicked from upstream: https://github.com/BestImageViewer/geeqie/commit/f34ea0700048c27319a2256408171adda32a7580 --- src/main.c.orig 2020-11-20 21:36:33.000000000 +0000 d14 1 a14 1 @@@@ -873,6 +873,7 @@@@ void exit_program(void) d16 1 a16 1 /* FIXME: this probably needs some better ifdefs. Please report any compilation problems */ d22 1 a22 1 @@@@ -881,9 +882,11 @@@@ static void sigbus_handler_cb(int signum d34 1 a34 1 @@@@ -892,6 +895,7 @@@@ static void setup_sigbus_handler(void) d41 1 a41 13 gint main(gint argc, gchar *argv[]) @@@@ -905,11 +909,6 @@@@ gint main(gint argc, gchar *argv[]) #if !GLIB_CHECK_VERSION(2,32,0) g_thread_init(NULL); #endif -#ifdef HAVE_CLUTTER -/* FIXME: see below */ - putenv("LIBGL_ALWAYS_INDIRECT=1"); - XInitThreads(); -#endif gdk_threads_init(); gdk_threads_enter(); @ 1.5 log @Update to 1.2.2. (1.2.2 and 1.2.1 are build nits) Geeqie 1.2 ========== - Support for lcms2 - Basic support for lua scripting (still documentation needed) - Several bugfixes @ text @d1 3 a3 1 $NetBSD: patch-ac,v 1.4 2012/08/28 00:30:45 gdt Exp $ d12 6 a17 1 --- src/main.c.orig 2015-05-23 12:20:43.000000000 +0000 d19 1 a19 1 @@@@ -709,6 +709,7 @@@@ void exit_program(void) d27 1 a27 1 @@@@ -717,9 +718,11 @@@@ static void sigbus_handler_cb(int signum d39 1 a39 1 @@@@ -728,6 +731,7 @@@@ static void setup_sigbus_handler(void) d47 12 @ 1.4 log @add patch comments @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2010/02/20 20:50:34 gdt Exp $ d10 1 a10 1 --- src/main.c.orig 2010-02-17 21:21:19.000000000 +0000 @ 1.3 log @Update to 1.0. Take maintainership. Upstream did not provide a list of changes from 1.0beta2. @ text @d1 8 a8 1 $NetBSD: patch-ac,v 1.2 2009/07/24 10:51:16 drochner Exp $ @ 1.2 log @-remove unneeded patch -disable the SIGBUS handler completely -- as implemented it can only cause trouble @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/main.c.orig 2009-07-02 19:45:20.000000000 +0200 d5 1 a5 1 @@@@ -698,7 +698,7 @@@@ void exit_program(void) a8 1 -#ifdef SIGBUS d10 1 d13 5 a17 2 unsigned long pagesize = sysconf(_SC_PAGE_SIZE); @@@@ -709,7 +709,7 @@@@ static void sigbus_handler_cb(int signum a20 1 -#ifdef SIGBUS d22 1 d25 8 a32 1 sigbus_action.sa_sigaction = sigbus_handler_cb; @ 1.1 log @Update to 1.0beta2. Convert to user-destdir, set LICENSE. * active image follows keyboard focus * added simple desktop file editor * layout id "_current_" matches the currently active layout window * added a possibility to update existing bars from config * added tooltips to external editors on toolbar, added "load config" command to remote control * added possibility to update existing layout window from config * added function to reload external editors at any time * added more IPTC tags * implemented editing support in exif pane * fixed loading of desktop file icons, gtk seems to expect an icon name without extension * compute histogram in idle time * completely separated global and layout window options, layout window configuration is available under separate menu entry * do not allow to add keywords with the same name as siblings * added keyword tree filtering * show file name in advanced_exif * handle sidecar files for raw formats that are not known to exiv2 * added a dialog for editing keyword tree * added a popup menu in keyword tree * Remove the toggle on advanced exif window menu item. * Advanced exif window: make all columns sortable and resizable. * Display icons in edit contextual menu. * In various Edit context menus, only display editors that match the file types in the selection. * allow dropping of multiple keywords * show a label instead of the default drag icon * implemented keywords editor as described at http://geeqie.wiki.sourceforge.net/keywords * Try to improve tab completion: when a key is pressed while tab completion menu is shown, the number of entries is reduced, dhowing all matching entries but the menu is no more closed after each key pressure. Number of possible entries in this menu was increased from 500 to 1000. Pressing TAB when path entry is empty now adds / (root directory). * added popup menu to the exif pane * indicate that the exif pane is empty * Display pixel coordinates and rgb, patch by Ruben Stein * reorder exif pane entries with drag and drop * overlay now survives image split * Add a directory separator at the end of names in tab completion list to indicate directories. * Align exif labels vertically (visually better since name is now smaller than value). * Enable 'Use profile from image' item of color management menu only if such profile information is available from image. * In the side bar, display the filename without the 'Filename:' prefix and makes it centered. Allow to select it for copy'n'paste. * Color profiles menu: test for file access before allowing to select it as input profile. * load icons for external editors * split overlay options between global and layout window * save and restore toolbar configuration * Add an indicator of the embedded color profile when recognized (a * just after sRGB or AdobeRGB compatible). * Color profiles menu: mark empty entries as inactive. * Add a tooltip showing current histogram state on bar histogram. * correctly save and restore overlay string * Save bar pane histogram state to rc file. * Add a contextual menu on bar pane histogram allowing to change channels and mode. * Drop histogram based on mean value. * config file format changed to XML * Add grid to bar histogram. * Fix bug 2599857: file list sort order was wrong in many cases. * separated "normal" and advanced exif, "Normal" exif is now in the generic bar, advanced exif is in separate window. * replaced bar_info with an universal bar * Start with "Fit to window" in "Leave Zoom at previous setting" mode * do not switch to the next image on mouse click in split mode, it interferes with image switching too much. * Speed up random slideshow, startup time decreases from minutes to seconds when amount of images is big. Patch by Kjell Morgenstern. * Do not show geeqie itself in editors menus. * read external editors from .desktop files * Invert Horizontally vs vertically zoom fit, it was a TRUE/FALSE mismatch, reported by Christopher Beland. * Remove harmful documentation.helpdir and documentation.htmldir options. These paths can still be modified through with-readmedir and --htmldir configure options. Reported by Christopher Beland. * show symlinks in filelist * added a status bar button for writting metadata immediately * metadata write mode (direct or sidecar) made configurable for each file format @ text @d3 1 a3 1 --- src/main.c.orig 2009-07-02 17:45:20.000000000 +0000 d5 1 a5 1 @@@@ -698,6 +698,10 @@@@ void exit_program(void) d9 2 a10 5 +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS 0 +#endif + #ifdef SIGBUS d13 10 @