head 1.4; access; symbols pkgsrc-2023Q2:1.3.0.102 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.100 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.98 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.96 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.94 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.92 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.90 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.88 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.86 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.84 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.82 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.80 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.76 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.56 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.78 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.74 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.72 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.70 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.68 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.66 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.64 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.62 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.60 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.58 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.54 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.52 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.50 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.48 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.46 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.44 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.42 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.40 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.38 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.36 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.34 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.32 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.30 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.28 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.26 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.24 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.22 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.20 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.18 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.16 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.14 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.12 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.10 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.8 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.6 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.4 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.2 pkgsrc-2010Q4-base:1.3 pkgsrc-2009Q4:1.2.0.28 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.26 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.24 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.22 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.20 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.18 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.16 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.14 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.12 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.10 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.8 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.6 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2; locks; strict; comment @# @; 1.4 date 2023.07.19.06.58.04; author wiz; state dead; branches; next 1.3; commitid 8xTQjdJYbVn9GnxE; 1.3 date 2010.12.04.21.15.00; author adam; state Exp; branches; next 1.2; 1.2 date 2006.02.27.21.45.21; author minskim; state dead; branches; next 1.1; 1.1 date 2006.01.13.17.58.25; author wiz; state Exp; branches; next ; desc @@ 1.4 log @gthumb: update to 3.12.2. More than 10 years of development. Add patch to fix build with exiv2 0.28. @ text @$NetBSD: patch-ac,v 1.3 2010/12/04 21:15:00 adam Exp $ Updated from http://git.gnome.org/browse/libegg/tree/libegg/smclient --- copy-n-paste/eggdesktopfile.c.orig 2010-12-04 08:22:19.000000000 +0000 +++ copy-n-paste/eggdesktopfile.c @@@@ -16,8 +16,9 @@@@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; see the file COPYING.LIB. - * If not, see . + * License along with this library; see the file COPYING.LIB. If not, + * write to the Free Software Foundation, Inc., 59 Temple Place - + * Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H @@@@ -30,7 +31,10 @@@@ #include #include +#include +#if !defined(GDK_WINDOWING_QUARTZ) #include +#endif #include struct EggDesktopFile { @@@@ -430,6 +431,16 @@@@ egg_desktop_file_get_numeric (EggDesktop error); } +int +egg_desktop_file_get_integer (EggDesktopFile *desktop_file, + const char *key, + GError **error) +{ + return g_key_file_get_integer (desktop_file->key_file, + EGG_DESKTOP_FILE_GROUP, key, + error); +} + char ** egg_desktop_file_get_string_list (EggDesktopFile *desktop_file, const char *key, @@@@ -1273,8 +1284,8 @@@@ egg_desktop_file_launchv (EggDesktopFile out: if (env) { - g_strfreev ((char **)env->pdata); - g_ptr_array_free (env, FALSE); + g_ptr_array_foreach (env, (GFunc)g_free, NULL); + g_ptr_array_free (env, TRUE); } free_document_list (translated_documents); @@@@ -1385,6 +1396,8 @@@@ egg_desktop_file_launch (EggDesktopFile free_document_list (documents); break; + case EGG_DESKTOP_FILE_TYPE_UNRECOGNIZED: + case EGG_DESKTOP_FILE_TYPE_DIRECTORY: default: g_set_error (error, EGG_DESKTOP_FILE_ERROR, EGG_DESKTOP_FILE_ERROR_NOT_LAUNCHABLE, @@@@ -1407,23 +1420,9 @@@@ egg_desktop_file_error_quark (void) G_LOCK_DEFINE_STATIC (egg_desktop_file); static EggDesktopFile *egg_desktop_file; -/** - * egg_set_desktop_file: - * @@desktop_file_path: path to the application's desktop file - * - * Creates an #EggDesktopFile for the application from the data at - * @@desktop_file_path. This will also call g_set_application_name() - * with the localized application name from the desktop file, and - * gtk_window_set_default_icon_name() or - * gtk_window_set_default_icon_from_file() with the application's - * icon. Other code may use additional information from the desktop - * file. - * - * Note that for thread safety reasons, this function can only - * be called once. - **/ -void -egg_set_desktop_file (const char *desktop_file_path) +static void +egg_set_desktop_file_internal (const char *desktop_file_path, + gboolean set_defaults) { GError *error = NULL; @@@@ -1439,7 +1438,7 @@@@ egg_set_desktop_file (const char *deskto g_error_free (error); } - if (egg_desktop_file) { + if (set_defaults && egg_desktop_file != NULL) { /* Set localized application name and default window icon */ if (egg_desktop_file->name) g_set_application_name (egg_desktop_file->name); @@@@ -1456,6 +1455,51 @@@@ egg_set_desktop_file (const char *deskto } /** + * egg_set_desktop_file: + * @@desktop_file_path: path to the application's desktop file + * + * Creates an #EggDesktopFile for the application from the data at + * @@desktop_file_path. This will also call g_set_application_name() + * with the localized application name from the desktop file, and + * gtk_window_set_default_icon_name() or + * gtk_window_set_default_icon_from_file() with the application's + * icon. Other code may use additional information from the desktop + * file. + * See egg_set_desktop_file_without_defaults() for a variant of this + * function that does not set the application name and default window + * icon. + * + * Note that for thread safety reasons, this function can only + * be called once, and is mutually exclusive with calling + * egg_set_desktop_file_without_defaults(). + **/ +void +egg_set_desktop_file (const char *desktop_file_path) +{ + egg_set_desktop_file_internal (desktop_file_path, TRUE); +} + +/** + * egg_set_desktop_file_without_defaults: + * @@desktop_file_path: path to the application's desktop file + * + * Creates an #EggDesktopFile for the application from the data at + * @@desktop_file_path. + * See egg_set_desktop_file() for a variant of this function that + * sets the application name and default window icon from the information + * in the desktop file. + * + * Note that for thread safety reasons, this function can only + * be called once, and is mutually exclusive with calling + * egg_set_desktop_file(). + **/ +void +egg_set_desktop_file_without_defaults (const char *desktop_file_path) +{ + egg_set_desktop_file_internal (desktop_file_path, FALSE); +} + +/** * egg_get_desktop_file: * * Gets the application's #EggDesktopFile, as set by @ 1.3 log @* Fix building on Mac OS X * Fix building with Exiv2 0.21 @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update gthumb to 2.6.9. Changes: Fixed bug #326879 - gthumb-2.6.8: fix compilation against libexif-0.6.13 Fixed bug #318828: Exif Orientation Tag Incorrectly Updated. Fixed bug #305165: gthumb crash resize. Fixed bug #321124: Confusing handling of --disable-schemas-install Fixed bug #320947: Create Web Album Tool doesn't generate HTML pages with International characters Fixed bug #321274: Incorrect log2 definition/detection Fixed bug #317623: [PATCH] Enter a directory or a catalog with the ENTER key. Fixed bug #317628: [PATCH] Zoom in/out with CTRL + scrollwheel Fixed bug #317056: gthumb Cygwin build fixes. Fixed bug #316952: [PATCH] bind DELETE key to move a folder to trash in directory list. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2006/01/13 17:58:25 wiz Exp $ d3 94 a96 13 --- src/gth-exif-data-viewer.c.orig 2005-09-21 07:56:17.000000000 +0000 +++ src/gth-exif-data-viewer.c @@@@ -34,9 +34,9 @@@@ #include "image-viewer.h" #ifdef HAVE_LIBEXIF -#include -#include -#include +#include +#include +#include #endif /* HAVE_LIBEXIF */ d98 7 d106 49 @ 1.1 log @Make build against libexif-0.6.13. @ text @d1 1 a1 1 $NetBSD$ @