[3/3] Use HTTPS URLs for gnome.org domains

Submitted by Paul Menzel on Oct. 16, 2018, 11:54 a.m.

Details

Message ID db9cea48-8591-a693-c38a-4c26cbff9f4e@molgen.mpg.de
State New
Series "Series without cover letter"
Headers show

Commit Message

Paul Menzel Oct. 16, 2018, 11:54 a.m.
Date: Tue, 16 Oct 2018 13:46:52 +0200

Run the command below suggested by geirha in ##sed@irc.freenode.net.

    git grep -l 'http://.*freedesktop.org' | xargs sed -i 's|http\(://\([[:alnum:].-]*\.\)\{0,1\}freedesktop\.org\)|https\1|g'

Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
---
 NEWS                      | 6 +++---
 configure.ac              | 2 +-
 src/cairo-output-stream.c | 2 +-
 util/cairo-trace/trace.c  | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

Patch hide | download patch | download mbox

diff --git a/NEWS b/NEWS
index 544e30d3e..256ed696e 100644
--- a/NEWS
+++ b/NEWS
@@ -4247,7 +4247,7 @@  bugs had perhaps never been hit by any users. But at least one was
 hit by the gnome-about program which resulted in dozens of duplicated
 bug reports against that program:
 
-	http://bugzilla.gnome.org/show_bug.cgi?id=431990
+	https://bugzilla.gnome.org/show_bug.cgi?id=431990
 
 We were very pleasantly surprised to see this bug get fixed as a
 side-effect of Chris's work. Well done, Chris!
@@ -5859,7 +5859,7 @@  fix:	https://gitweb.freedesktop.org/?p=cairo;a=commit;h=a0989f427be87c60415963dd
 
 PDF: Fix broken output on amd64 (Adrian Johnson)
 ------------------------------------------------
-report:	http://bugzilla.gnome.org/show_bug.cgi?id=349826
+report:	https://bugzilla.gnome.org/show_bug.cgi?id=349826
 fix:	https://gitweb.freedesktop.org/?p=cairo;a=commit;h=f4b12e497b7ac282b2f6831b8fb68deebc412e60
 
 PS: Fix broken output for truetype fonts > 64k (Adrian Johnson)
@@ -5940,7 +5940,7 @@  And at least the following bugs have been fixed:
  * PS/PDF: Fix broken placement for vertical glyphs
  * PS: Fix to not draw BUTT-capped zero-length dash segments
  * Do device offset before float->fixed conversion
-   http://bugzilla.gnome.org/show_bug.cgi?id=332266
+   https://bugzilla.gnome.org/show_bug.cgi?id=332266
  * PS: Fix source surfaces with transformations
  * PS: Fix to not draw BUTT-capped degnerate sub-paths
  * PS: Don't walk off end of array when printing "~>"
diff --git a/configure.ac b/configure.ac
index 5f06d58a0..f1487271a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -760,7 +760,7 @@  dnl Build gobject integration library
 CAIRO_ENABLE_FUNCTIONS(gobject, gobject, auto, [
   gobject_REQUIRES="gobject-2.0 glib-2.0 >= 2.14"
   PKG_CHECK_MODULES(GOBJECT, $gobject_REQUIRES, ,
-    [use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"])
+    [use_gobject="no (requires $gobject_REQUIRES https://download.gnome.org/pub/GNOME/sources/glib/)"])
   gobject_NONPKGCONFIG_EXTRA_LIBS="-L\${libdir} -lcairo-gobject"
 ])
 dnl I'm too lazy to fix the caching properly
diff --git a/src/cairo-output-stream.c b/src/cairo-output-stream.c
index 72b81526c..935fa44c3 100644
--- a/src/cairo-output-stream.c
+++ b/src/cairo-output-stream.c
@@ -293,7 +293,7 @@  _cairo_output_stream_write_hex_string (cairo_output_stream_t *stream,
 
 /* Format a double in a locale independent way and trim trailing
  * zeros.  Based on code from Alex Larson <alexl@redhat.com>.
- * http://mail.gnome.org/archives/gtk-devel-list/2001-October/msg00087.html
+ * https://mail.gnome.org/archives/gtk-devel-list/2001-October/msg00087.html
  *
  * The code in the patch is copyright Red Hat, Inc under the LGPL, but
  * has been relicensed under the LGPL/MPL dual license for inclusion
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index 87b2df46e..1fe130bba 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -521,7 +521,7 @@  _fini_trace (void)
 
 /* Format a double in a locale independent way and trim trailing
  * zeros.  Based on code from Alex Larson <alexl@redhat.com>.
- * http://mail.gnome.org/archives/gtk-devel-list/2001-October/msg00087.html
+ * https://mail.gnome.org/archives/gtk-devel-list/2001-October/msg00087.html
  *
  * The code in the patch is copyright Red Hat, Inc under the LGPL.
  */

Comments

Bryce Harrington Oct. 16, 2018, 5:16 p.m.
Thanks for the patches, landed all three.

Bryce

On Tue, Oct 16, 2018 at 01:54:55PM +0200, Paul Menzel wrote:
> Date: Tue, 16 Oct 2018 13:46:52 +0200
> 
> Run the command below suggested by geirha in ##sed@irc.freenode.net.
> 
>     git grep -l 'http://.*freedesktop.org' | xargs sed -i 's|http\(://\([[:alnum:].-]*\.\)\{0,1\}freedesktop\.org\)|https\1|g'

Btw, I noticed the command in the commit message was wrong; I've fixed
it locally when applying the commit.

> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
> ---
>  NEWS                      | 6 +++---
>  configure.ac              | 2 +-
>  src/cairo-output-stream.c | 2 +-
>  util/cairo-trace/trace.c  | 2 +-
>  4 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/NEWS b/NEWS
> index 544e30d3e..256ed696e 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -4247,7 +4247,7 @@ bugs had perhaps never been hit by any users. But at least one was
>  hit by the gnome-about program which resulted in dozens of duplicated
>  bug reports against that program:
>  
> -	http://bugzilla.gnome.org/show_bug.cgi?id=431990
> +	https://bugzilla.gnome.org/show_bug.cgi?id=431990
>  
>  We were very pleasantly surprised to see this bug get fixed as a
>  side-effect of Chris's work. Well done, Chris!
> @@ -5859,7 +5859,7 @@ fix:	https://gitweb.freedesktop.org/?p=cairo;a=commit;h=a0989f427be87c60415963dd
>  
>  PDF: Fix broken output on amd64 (Adrian Johnson)
>  ------------------------------------------------
> -report:	http://bugzilla.gnome.org/show_bug.cgi?id=349826
> +report:	https://bugzilla.gnome.org/show_bug.cgi?id=349826
>  fix:	https://gitweb.freedesktop.org/?p=cairo;a=commit;h=f4b12e497b7ac282b2f6831b8fb68deebc412e60
>  
>  PS: Fix broken output for truetype fonts > 64k (Adrian Johnson)
> @@ -5940,7 +5940,7 @@ And at least the following bugs have been fixed:
>   * PS/PDF: Fix broken placement for vertical glyphs
>   * PS: Fix to not draw BUTT-capped zero-length dash segments
>   * Do device offset before float->fixed conversion
> -   http://bugzilla.gnome.org/show_bug.cgi?id=332266
> +   https://bugzilla.gnome.org/show_bug.cgi?id=332266
>   * PS: Fix source surfaces with transformations
>   * PS: Fix to not draw BUTT-capped degnerate sub-paths
>   * PS: Don't walk off end of array when printing "~>"
> diff --git a/configure.ac b/configure.ac
> index 5f06d58a0..f1487271a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -760,7 +760,7 @@ dnl Build gobject integration library
>  CAIRO_ENABLE_FUNCTIONS(gobject, gobject, auto, [
>    gobject_REQUIRES="gobject-2.0 glib-2.0 >= 2.14"
>    PKG_CHECK_MODULES(GOBJECT, $gobject_REQUIRES, ,
> -    [use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"])
> +    [use_gobject="no (requires $gobject_REQUIRES https://download.gnome.org/pub/GNOME/sources/glib/)"])
>    gobject_NONPKGCONFIG_EXTRA_LIBS="-L\${libdir} -lcairo-gobject"
>  ])
>  dnl I'm too lazy to fix the caching properly
> diff --git a/src/cairo-output-stream.c b/src/cairo-output-stream.c
> index 72b81526c..935fa44c3 100644
> --- a/src/cairo-output-stream.c
> +++ b/src/cairo-output-stream.c
> @@ -293,7 +293,7 @@ _cairo_output_stream_write_hex_string (cairo_output_stream_t *stream,
>  
>  /* Format a double in a locale independent way and trim trailing
>   * zeros.  Based on code from Alex Larson <alexl@redhat.com>.
> - * http://mail.gnome.org/archives/gtk-devel-list/2001-October/msg00087.html
> + * https://mail.gnome.org/archives/gtk-devel-list/2001-October/msg00087.html
>   *
>   * The code in the patch is copyright Red Hat, Inc under the LGPL, but
>   * has been relicensed under the LGPL/MPL dual license for inclusion
> diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
> index 87b2df46e..1fe130bba 100644
> --- a/util/cairo-trace/trace.c
> +++ b/util/cairo-trace/trace.c
> @@ -521,7 +521,7 @@ _fini_trace (void)
>  
>  /* Format a double in a locale independent way and trim trailing
>   * zeros.  Based on code from Alex Larson <alexl@redhat.com>.
> - * http://mail.gnome.org/archives/gtk-devel-list/2001-October/msg00087.html
> + * https://mail.gnome.org/archives/gtk-devel-list/2001-October/msg00087.html
>   *
>   * The code in the patch is copyright Red Hat, Inc under the LGPL.
>   */
> -- 
> 2.17.1
> 



> -- 
> cairo mailing list
> cairo@cairographics.org
> https://lists.cairographics.org/mailman/listinfo/cairo
Paul Menzel Oct. 16, 2018, 5:23 p.m.
Dear Bryce,


On 10/16/18 19:16, Bryce Harrington wrote:

> On Tue, Oct 16, 2018 at 01:54:55PM +0200, Paul Menzel wrote:
>> Date: Tue, 16 Oct 2018 13:46:52 +0200
>>
>> Run the command below suggested by geirha in ##sed@irc.freenode.net.
>>
>>     git grep -l 'http://.*freedesktop.org' | xargs sed -i 's|http\(://\([[:alnum:].-]*\.\)\{0,1\}freedesktop\.org\)|https\1|g'
> 
> Btw, I noticed the command in the commit message was wrong; I've fixed
> it locally when applying the commit.

Sorry for pasting the command with the other domain. Thank you for your
vigilant eyes and for amending the commit.


Kind regards,

Paul