Fix #941: Update links from http: to https: where possible
authorDan Fandrich  <>
Wed, 9 Feb 2022 14:48:12 +0000 (14:48 +0000)
committerColin Clark <colin.clark@cclark.uk>
Wed, 9 Feb 2022 14:48:12 +0000 (14:48 +0000)
https://github.com/BestImageViewer/geeqie/pull/941

Co-authored by Colin Clark

A number of links are bit-rotted and no longer work; only a few of these
are updated here. Generated links are also not touched.

17 files changed:
CODING.md
README.md
configure.ac
doc/docbook/GuideIndex.xml
doc/docbook/GuideReferenceLIRC.xml
doc/docbook/GuideReferenceStandards.xml
geeqie.spec.in
org.geeqie.Geeqie.appdata.xml.in
plugins/geocode-parameters/geocode-parameters.awk
plugins/rotate/geeqie-rotate
src/exif-common.c
src/exif.c
src/image-load.c
src/main.h
src/pixbuf-renderer.c
src/thumb_standard.c
src/window.c

index 9a98159..2a4648b 100644 (file)
--- a/CODING.md
+++ b/CODING.md
@@ -82,7 +82,7 @@ If referencing a Geeqie GitHub issue, include the issue number in the summary li
 
 Use whole sentences beginning with Capital letter. For each modification use a new line. Or you can write the theme, colon and then every change on new line, begin with "- ".
 
-See also [A Note About Git Commit Messages](http://www.tpope.net/node/106)
+See also [A Note About Git Commit Messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
 
 Example:
 
index ee8931e..d1f510c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ open an issue on [Geeqie at GitHub](https://github.com/BestImageViewer/geeqie/is
 
 Subscribe to the mailing list [here](https://www.freelists.org/list/geeqie).
 
-The project website is <http://www.geeqie.org/> and you will find the latest sources in the
+The project website is <https://www.geeqie.org/> and you will find the latest sources in the
 [Geeqie repository](http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git).
 
 ## Contents
@@ -84,7 +84,7 @@ Geeqie is a graphics file viewer. Basic features:
 * Geeqie includes a 'find duplicates' tool which can compare images using a variety of criteria (filename, file size, visual similarity, dimensions, image content), either within a single folder or between two folders. Finding duplicates ignoring the rotation of images is also supported.
 * Images may be given a rating value (also known as a "star rating").
 
-* Maps from [OpenStreetMap](http://www.openstreetmap.org) may be displayed in a side panel. If an image has GPS coordinates embedded, its position will be displayed on the map - if Image Direction is encoded, that will be displayed also. If an image does not have embedded GPS coordinates, it may be dragged-and-dropped onto the map to encode its position.
+* Maps from [OpenStreetMap](https://www.openstreetmap.org) may be displayed in a side panel. If an image has GPS coordinates embedded, its position will be displayed on the map - if Image Direction is encoded, that will be displayed also. If an image does not have embedded GPS coordinates, it may be dragged-and-dropped onto the map to encode its position.
 
 * Speed of operation can be increased by caching thumbnails and similarity data of images. When Geeqie is run as a stand-alone command line program (`geeqie --cache-maintenance <path>`) these data will be recursively created from the defined start point. This program can be called from `cron` or `anacron` so that cache updating is automatically done at specified intervals.
 
index bab56c3..accf029 100644 (file)
@@ -1,7 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.  -*- Autoconf
  -*-
 
-dnl This file is a part of Geeqie project (http://www.geeqie.org/).
+dnl This file is a part of Geeqie project (https://www.geeqie.org/).
 dnl Copyright (C) 2008 - 2018 The Geeqie Team
 dnl
 dnl This program is free software; you can redistribute it and/or modify
@@ -15,7 +15,7 @@ dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU General Public License for more details.
 
 AC_PREREQ(2.57)
-AC_INIT([geeqie], m4_translit(m4_esyscmd([./version.sh]), m4_newline), [geeqie@freelists.org], [], [http://www.geeqie.org/])
+AC_INIT([geeqie], m4_translit(m4_esyscmd([./version.sh]), m4_newline), [geeqie@freelists.org], [], [https://www.geeqie.org/])
 
 # Add -Werror to the default CFLAGS
 CFLAGS+=" -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type"
@@ -789,7 +789,7 @@ AH_TOP([
  */
 
 /*
- *  This file is a part of Geeqie project (http://www.geeqie.org/).
+ *  This file is a part of Geeqie project (https://www.geeqie.org/).
  *  Copyright (C) 2008 - 2016 The Geeqie Team
  *
  *  This program is free software; you can redistribute it and/or modify
index e16ece1..780b331 100644 (file)
@@ -55,7 +55,7 @@
       </para>
       <para>
         Website:
-        <ulink url="http://geeqie.org">geeqie.org</ulink>
+        <ulink url="https://www.geeqie.org">geeqie.org</ulink>
       </para>
     </legalnotice>
   </bookinfo>
index 34fd9a5..e109a15 100644 (file)
@@ -6,7 +6,7 @@
   <para>If you are using a pre-compiled distribution, availability depends on the package maintainer.</para>
   <para>
     The website
-    <ulink url="http://www.lirc.org">Linux Infrared Remote Control</ulink>
+    <ulink url="https://www.lirc.org">Linux Infrared Remote Control</ulink>
     has detailed information on this subject.
   </para>
   <para>
index 383e0be..bf9a3b5 100644 (file)
@@ -7,7 +7,7 @@
   </para>
   <para>
     Desktop files:
-    <ulink url="http://standards.freedesktop.org/desktop-entry-spec/">http://standards.freedesktop.org/desktop-entry-spec/</ulink>
+    <ulink url="https://specifications.freedesktop.org/desktop-entry-spec/latest/">https://standards.freedesktop.org/desktop-entry-spec/</ulink>
   </para>
   <para>
     XMP:
@@ -19,7 +19,7 @@
   </para>
   <para>
     Pango mark up:
-    <ulink url="https://developer.gnome.org/pygtk/stable/pango-markup-language.html" />
+    <ulink url="https://docs.gtk.org/Pango/pango_markup.html" />
   </para>
   <para>
     Thumbnails:
index e6cd3ff..8dc8bd6 100644 (file)
@@ -34,7 +34,7 @@ License:        GNU General Public License version 2 or later (GPL v2 or later)
 Group:          Productivity/Graphics/Viewers
 Source:         geeqie-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-URL:            http://www.geeqie.org/
+URL:            https://www.geeqie.org/
 #
 # these are requirements of the plugins
 Requires: exiv2 exiftran ImageMagick ufraw
index 897ef76..571a1a0 100644 (file)
   </description>
   <screenshots>
     <screenshot type="default">
-      <image>http://cclark.uk/geeqie/screenshots/Screenshot_2017-08-13_12-02-32_rescaled.png</image>
+      <image>https://cclark.uk/geeqie/screenshots/Screenshot_2017-08-13_12-02-32_rescaled.png</image>
     </screenshot>
     <screenshot>
-      <image>http://cclark.uk/geeqie/screenshots/Screenshot_2017-08-13_12-29-44_rescaled.png</image>
+      <image>https://cclark.uk/geeqie/screenshots/Screenshot_2017-08-13_12-29-44_rescaled.png</image>
     </screenshot>
   </screenshots>
   <releases>
@@ -31,7 +31,7 @@
     <keyword>fast</keyword>
     <keyword>graphics</keyword>
   </keywords>
-  <url type="homepage">http://geeqie.org</url>
+  <url type="homepage">https://www.geeqie.org</url>
   <update_contact>geeqie@freelists.org</update_contact>
   <translation type="gettext">geeqie</translation>
 </component>
index bcdec1e..2f2a262 100644 (file)
@@ -42,13 +42,13 @@ function check_parameters(latitude, longitude)
 #
 # Search the input string for known formats.
 {
-if (index($0, "http://www.geonames.org/maps/google_"))
+if (index($0, "https://www.geonames.org/maps/google_"))
     {
     # This is a drag-and-drop or copy-paste from a geonames.org search
     # in the format e.g.
-    # http://www.geonames.org/maps/google_51.513_-0.092.html
+    # https://www.geonames.org/maps/google_51.513_-0.092.html
 
-    gsub(/http:\/\/www.geonames.org\/maps\/google_/, "")
+    gsub(/https:\/\/www.geonames.org\/maps\/google_/, "")
     gsub(/.html/, "")
     gsub(/_/, " ")
     print check_parameters($1, $2)
index 563a853..fcca7ae 100755 (executable)
@@ -31,7 +31,7 @@ rotate()
                    # exiftran ignores xmp, set it manually
                    exiv2 -M "set Xmp.tiff.Orientation 1" "$1"
                        [ $? != 0 ] && exit 1
-                   #http://dev.exiv2.org/issues/show/639
+                   #http://dev.exiv2.org/issues/639
                        if [ -n "$gq_orientation" ] ; then
                                exiv2 -M "set Xmp.tiff.Orientation 1" \
                                                                -M "set Exif.Image.Orientation 1" "$gq_metadata"
@@ -52,7 +52,7 @@ rotate()
                    # mogrify ignores xmp, set it manually
                    exiv2 -M "set Xmp.tiff.Orientation 1" "$1"
                        [ $? != 0 ] && exit 1
-                   #http://dev.exiv2.org/issues/show/639
+                   #http://dev.exiv2.org/issues/639
                        if [ -n "$gq_orientation" ] ; then
                                exiv2 -M "set Xmp.tiff.Orientation 1" \
                                                                -M "set Exif.Image.Orientation 1" "$gq_metadata"
index ecd64f6..4d14b75 100644 (file)
@@ -1148,7 +1148,7 @@ gboolean exif_jpeg_parse_color(ExifData *exif, guchar *data, guint size)
  * it is here because it shares tag neming infrastructure with exif
  * we should probably not invest too much effort into this because
  * new exiv2 will support the same functionality
- * http://dev.exiv2.org/issues/show/505
+ * https://dev.exiv2.org/issues/505
  *-------------------------------------------------------------------
  */
 
index 2062e89..ec2f4ff 100644 (file)
@@ -316,7 +316,7 @@ static ExifTextList ExifSubjectRangeList[] = {
 };
 
 /*
-Tag names should match to exiv2 keys, http://www.exiv2.org/metadata.html
+Tag names should match to exiv2 keys, https://www.exiv2.org/metadata.html
 Tags that don't match are not supported by exiv2 and should not be used anywhere in the code
 */
 
index ff5bf1c..a26929d 100644 (file)
@@ -581,8 +581,8 @@ static void image_loader_area_prepared_cb(gpointer loader, gpointer data)
        size_t h, rs;
 
        /* a workaround for
-          http://bugzilla.gnome.org/show_bug.cgi?id=547669
-          http://bugzilla.gnome.org/show_bug.cgi?id=589334
+          https://bugzilla.gnome.org/show_bug.cgi?id=547669
+          https://bugzilla.gnome.org/show_bug.cgi?id=589334
        */
        gchar *format = il->backend.get_format_name(loader);
        if (strcmp(format, "svg") == 0 ||
index 25729c6..cb8eb7a 100644 (file)
@@ -77,7 +77,7 @@
 
 #define GQ_APPNAME "Geeqie"
 #define GQ_APPNAME_LC "geeqie"
-#define GQ_WEBSITE "http://www.geeqie.org/"
+#define GQ_WEBSITE "https://www.geeqie.org/"
 #define GQ_EMAIL_ADDRESS "geeqie@freelists.org"
 
 #define GQ_RC_DIR              "." GQ_APPNAME_LC
index 54a943f..f88152e 100644 (file)
@@ -2041,7 +2041,7 @@ static gboolean pr_mouse_motion_cb(GtkWidget *widget, GdkEventMotion *event, gpo
 #endif
 
        /* This is a hack, but work far the best, at least for single pointer systems.
-        * See http://bugzilla.gnome.org/show_bug.cgi?id=587714 for more. */
+        * See https://bugzilla.gnome.org/show_bug.cgi?id=587714 for more. */
        gint x, y;
 #if GTK_CHECK_VERSION(3,0,0)
        device_manager = gdk_display_get_device_manager(gdk_window_get_display(event->window));
@@ -2098,7 +2098,7 @@ static gboolean pr_mouse_motion_cb(GtkWidget *widget, GdkEventMotion *event, gpo
 
        /* This is recommended by the GTK+ documentation, but does not work properly.
         * Use deprecated way until GTK+ gets a solution for correct motion hint handling:
-        * http://bugzilla.gnome.org/show_bug.cgi?id=587714
+        * https://bugzilla.gnome.org/show_bug.cgi?id=587714
         */
        /* gdk_event_request_motions (event); */
        return FALSE;
index 3f7a5cc..6e89260 100644 (file)
@@ -39,8 +39,7 @@
  * This thumbnail caching implementation attempts to conform
  * to the Thumbnail Managing Standard proposed on freedesktop.org
  * The standard is documented here: \n
- *   http://triq.net/~jens/thumbnail-spec/index.html \n
- *  (why isn't it actually hosted on freedesktop.org?)
+ *   https://www.freedesktop.org/wiki/Specifications/thumbnails/ \n
  *
  * This code attempts to conform to version 0.7.0 of the standard.
  *
index 7495759..4a20376 100644 (file)
@@ -251,11 +251,11 @@ void help_window_show(const gchar *key)
                        {
                        if (g_strcmp0(key, "index.html") == 0)
                                {
-                               path = g_build_filename("http://geeqie.org/help/", "GuideIndex.html", NULL);
+                               path = g_build_filename("https://www.geeqie.org/help/", "GuideIndex.html", NULL);
                                }
                        else
                                {
-                               path = g_build_filename("http://geeqie.org/help/", key, NULL);
+                               path = g_build_filename("https://www.geeqie.org/help/", key, NULL);
                                }
                        }
                help_browser_run(path);