commit rpi-imager for openSUSE:Factory

2024-04-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rpi-imager for openSUSE:Factory 
checked in at 2024-04-08 17:39:13

Comparing /work/SRC/openSUSE:Factory/rpi-imager (Old)
 and  /work/SRC/openSUSE:Factory/.rpi-imager.new.1905 (New)


Package is "rpi-imager"

Mon Apr  8 17:39:13 2024 rev:9 rq:1166094 version:1.8.5

Changes:

--- /work/SRC/openSUSE:Factory/rpi-imager/rpi-imager.changes2023-12-07 
19:13:40.814507368 +0100
+++ /work/SRC/openSUSE:Factory/.rpi-imager.new.1905/rpi-imager.changes  
2024-04-08 17:51:38.348284015 +0200
@@ -1,0 +2,28 @@
+Sun Apr  7 19:57:35 UTC 2024 - Christian Boltz 
+
+- rpi-imager only supports little-endian architectures, stop trying
+  to build for (big-endian) s390x
+
+---
+Tue Feb 27 19:03:58 UTC 2024 - Scott Bradnick 
+
+- Adding "Recommends: polkit-gnome" along with a NOTE in the description
+  since using the GUI as a non-root user will throw an error on the
+  destination device.
+
+---
+Tue Feb 27 16:09:51 UTC 2024 - Scott Bradnick 
+
+- version 1.8.5
+  * Retry on HTTP/2 errors.
+  * Linux: Fix display of application name and icon on GNOME desktop 
environment.
+  * Disable Link Time Optimization as precaution against hard to trace bugs.
+
+- version 1.8.4
+  * OS customisation: Fixed first character being dropped when replacing 
existing password
+  * OS customisation: Impose character limits on usernames & hostnames
+  * i18n: Added Polish translation
+  * i18n: Updated Catalan, Japanese translations
+  * cli: Fixed local file passing via --repo
+
+---

Old:

  rpi-imager-1.8.3.tar.gz

New:

  rpi-imager-1.8.5.tar.gz



Other differences:
--
++ rpi-imager.spec ++
--- /var/tmp/diff_new_pack.7skzfD/_old  2024-04-08 17:51:38.852302618 +0200
+++ /var/tmp/diff_new_pack.7skzfD/_new  2024-04-08 17:51:38.852302618 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rpi-imager
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   rpi-imager
-Version:1.8.3
+Version:1.8.5
 Release:0
 Summary:Raspberry Pi Imaging Utility
 License:Apache-2.0
@@ -25,6 +25,7 @@
 URL:https://github.com/raspberrypi/rpi-imager
 Source: 
https://github.com/raspberrypi/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  cmake
+BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
 BuildRequires:  git
@@ -44,12 +45,21 @@
 BuildRequires:  pkgconfig(Qt5Svg)
 BuildRequires:  pkgconfig(libarchive)
 BuildRequires:  pkgconfig(libcurl)
+ExcludeArch:s390x
+Recommends: polkit-gnome
 
 %description
+Raspberry Pi Imager is the quick and easy way to install Raspberry Pi OS and
+other operating systems to a microSD card, ready to use with your Raspberry
+Pi. Watch our 45-second video to learn how to install an operating system
+using Raspberry Pi Imager.
+
+Download and install Raspberry Pi Imager to a computer with an SD card reader.
+Put the SD card you'll use with your Raspberry Pi into the reader and run
+Raspberry Pi Imager.
 
-Raspberry Pi Imager is the quick and easy way to install Raspberry Pi OS and 
other operating systems to a microSD card, ready to use with your Raspberry Pi. 
Watch our 45-second video to learn how to install an operating system using 
Raspberry Pi Imager.
-
-Download and install Raspberry Pi Imager to a computer with an SD card reader. 
Put the SD card you'll use with your Raspberry Pi into the reader and run 
Raspberry Pi Imager.
+NOTE: Relies on polkit when run as regular user. It doesn't have to be
+  polkit-gnome, but it has a low install base overhead.
 
 %prep
 %autosetup -p1
@@ -68,9 +78,11 @@
 
 pwd
 pushd linux
-desktop-file-install --dir %{buildroot}%{_datadir}/applications/ 
rpi-imager.desktop
-%suse_update_desktop_file rpi-imager -r Settings HardwareSettings
-%suse_update_desktop_file rpi-imager -G Imager
+desktop-file-install --dir %{buildroot}%{_datadir}/applications/ 
org.raspberrypi.rpi-imager.desktop
+%suse_update_desktop_file org.raspberrypi.rpi-imager -r Settings 
HardwareSettings
+%suse_update_desktop_file org.raspberrypi.rpi-imager -G Imager
+
+%fdupes %{buildroot}
 
 %files
 %doc README.md

++ rpi-imager-1.8.3.tar.gz -> rpi-imager-1.8.5.tar.gz ++
/work/SRC/openSUSE:Factory/rpi-imager/rpi-imager-1.8.3.tar.gz 
/work/SRC/openSUSE:Factory/.rpi-imager

commit rpi-imager for openSUSE:Factory

2023-06-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rpi-imager for openSUSE:Factory 
checked in at 2023-06-13 16:08:57

Comparing /work/SRC/openSUSE:Factory/rpi-imager (Old)
 and  /work/SRC/openSUSE:Factory/.rpi-imager.new.15902 (New)


Package is "rpi-imager"

Tue Jun 13 16:08:57 2023 rev:7 rq:1092589 version:1.7.5

Changes:

--- /work/SRC/openSUSE:Factory/rpi-imager/rpi-imager.changes2023-04-07 
18:16:56.488758043 +0200
+++ /work/SRC/openSUSE:Factory/.rpi-imager.new.15902/rpi-imager.changes 
2023-06-13 16:09:10.818768703 +0200
@@ -1,0 +2,15 @@
+Sun May 28 14:05:52 UTC 2023 - Axel Braun 
+
+- version 1.7.5
+  * 567.patch removed (included in src)
+  * various fixes for Windows
+  * No changes from v1.7.4.1 for Linux and Mac other than version number
+  
+  version 1.7.4.1
+  * Advanced settings: fix creating files on FAT partition that are an exact 
multiple of cluster size.
+  * Advanced settings: allow end-of-directory marker to be missing in FAT32 
root directory (fixes customizing Homebridge image)
+  * Do you want to apply saved settings window: offer 'no' option, without 
clearing settings.
+  * Linux: eject storage properly through udisks2.
+  * Add Russian translation
+  
+---

Old:

  567.patch
  rpi-imager-1.7.4.tar.gz

New:

  rpi-imager-1.7.5.tar.gz



Other differences:
--
++ rpi-imager.spec ++
--- /var/tmp/diff_new_pack.44O8RA/_old  2023-06-13 16:09:11.686773824 +0200
+++ /var/tmp/diff_new_pack.44O8RA/_new  2023-06-13 16:09:11.694773871 +0200
@@ -17,15 +17,13 @@
 
 
 Name:   rpi-imager
-Version:1.7.4
+Version:1.7.5
 Release:0
 Summary:Raspberry Pi Imaging Utility
 License:Apache-2.0
 Group:  Hardware/Other
 URL:https://github.com/raspberrypi/rpi-imager
 Source: 
https://github.com/raspberrypi/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM Fix build using gcc 13
-Patch0: 
https://patch-diff.githubusercontent.com/raw/raspberrypi/rpi-imager/pull/567.patch
 BuildRequires:  cmake
 BuildRequires:  gcc
 BuildRequires:  gcc-c++

++ rpi-imager-1.7.4.tar.gz -> rpi-imager-1.7.5.tar.gz ++
/work/SRC/openSUSE:Factory/rpi-imager/rpi-imager-1.7.4.tar.gz 
/work/SRC/openSUSE:Factory/.rpi-imager.new.15902/rpi-imager-1.7.5.tar.gz 
differ: char 12, line 1


commit rpi-imager for openSUSE:Factory

2023-04-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rpi-imager for openSUSE:Factory 
checked in at 2023-04-07 18:16:51

Comparing /work/SRC/openSUSE:Factory/rpi-imager (Old)
 and  /work/SRC/openSUSE:Factory/.rpi-imager.new.19717 (New)


Package is "rpi-imager"

Fri Apr  7 18:16:51 2023 rev:6 rq:1077782 version:1.7.4

Changes:

--- /work/SRC/openSUSE:Factory/rpi-imager/rpi-imager.changes2023-03-10 
22:09:16.429649829 +0100
+++ /work/SRC/openSUSE:Factory/.rpi-imager.new.19717/rpi-imager.changes 
2023-04-07 18:16:56.488758043 +0200
@@ -1,0 +2,5 @@
+Thu Apr  6 10:47:25 UTC 2023 - Dominique Leuenberger 
+
+- Add 567.patch: Fix build using gcc13.
+
+---

New:

  567.patch



Other differences:
--
++ rpi-imager.spec ++
--- /var/tmp/diff_new_pack.RRaxzK/_old  2023-04-07 18:16:57.136761775 +0200
+++ /var/tmp/diff_new_pack.RRaxzK/_new  2023-04-07 18:16:57.144761822 +0200
@@ -24,7 +24,8 @@
 Group:  Hardware/Other
 URL:https://github.com/raspberrypi/rpi-imager
 Source: 
https://github.com/raspberrypi/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-
+# PATCH-FIX-UPSTREAM Fix build using gcc 13
+Patch0: 
https://patch-diff.githubusercontent.com/raw/raspberrypi/rpi-imager/pull/567.patch
 BuildRequires:  cmake
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
@@ -52,7 +53,7 @@
 Download and install Raspberry Pi Imager to a computer with an SD card reader. 
Put the SD card you'll use with your Raspberry Pi into the reader and run 
Raspberry Pi Imager.
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 pushd src

++ 567.patch ++
>From 569a70671bc82a4dac1a96ba34d9bebaa4e54392 Mon Sep 17 00:00:00 2001
From: Onuralp SEZER 
Date: Sun, 19 Mar 2023 23:18:20 +0300
Subject: [PATCH] fix: header import cstdint

Signed-off-by: Onuralp SEZER 
---
 src/dependencies/drivelist/src/drivelist.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dependencies/drivelist/src/drivelist.hpp 
b/src/dependencies/drivelist/src/drivelist.hpp
index 096b181c..42d4e17a 100644
--- a/src/dependencies/drivelist/src/drivelist.hpp
+++ b/src/dependencies/drivelist/src/drivelist.hpp
@@ -20,6 +20,7 @@
 #include 
 #include 
 #include 
+#include 
 
 namespace Drivelist {
 


commit rpi-imager for openSUSE:Factory

2023-03-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rpi-imager for openSUSE:Factory 
checked in at 2023-03-10 22:08:54

Comparing /work/SRC/openSUSE:Factory/rpi-imager (Old)
 and  /work/SRC/openSUSE:Factory/.rpi-imager.new.31432 (New)


Package is "rpi-imager"

Fri Mar 10 22:08:54 2023 rev:5 rq:1070696 version:1.7.4

Changes:

--- /work/SRC/openSUSE:Factory/rpi-imager/rpi-imager.changes2022-10-21 
16:20:31.866283512 +0200
+++ /work/SRC/openSUSE:Factory/.rpi-imager.new.31432/rpi-imager.changes 
2023-03-10 22:09:16.429649829 +0100
@@ -1,0 +2,10 @@
+Wed Mar  8 16:42:57 UTC 2023 - Axel Braun 
+
+- version 1.7.4
+  * Advanced settings: fix escaping single quotes ( ' ) in WLAN password
+  * Windows only: when auto-detecting the WLAN password used by the computer 
running Imager, it now processes passwords that contain < > ' " & correctly.
+  * Advanced settings: default to using username of logged-in user instead of 
'pi'
+  * Now uses a different method to edit files on the FAT partition to apply 
advanced settings. Imager now understands the FAT16/FAT32 file system format 
and can edit files by itself using the raw disk device, without having to rely 
on the operating system to mount the partition first.
+  * French translation update
+
+---

Old:

  rpi-imager-1.7.3.tar.gz

New:

  rpi-imager-1.7.4.tar.gz



Other differences:
--
++ rpi-imager.spec ++
--- /var/tmp/diff_new_pack.xJ5VTa/_old  2023-03-10 22:09:17.253653580 +0100
+++ /var/tmp/diff_new_pack.xJ5VTa/_new  2023-03-10 22:09:17.261653616 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rpi-imager
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   rpi-imager
-Version:1.7.3
+Version:1.7.4
 Release:0
 Summary:Raspberry Pi Imaging Utility
 License:Apache-2.0

++ rpi-imager-1.7.3.tar.gz -> rpi-imager-1.7.4.tar.gz ++
/work/SRC/openSUSE:Factory/rpi-imager/rpi-imager-1.7.3.tar.gz 
/work/SRC/openSUSE:Factory/.rpi-imager.new.31432/rpi-imager-1.7.4.tar.gz 
differ: char 16, line 1


commit rpi-imager for openSUSE:Factory

2022-10-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rpi-imager for openSUSE:Factory 
checked in at 2022-10-21 16:20:23

Comparing /work/SRC/openSUSE:Factory/rpi-imager (Old)
 and  /work/SRC/openSUSE:Factory/.rpi-imager.new.2275 (New)


Package is "rpi-imager"

Fri Oct 21 16:20:23 2022 rev:4 rq:1030409 version:1.7.3

Changes:

--- /work/SRC/openSUSE:Factory/rpi-imager/rpi-imager.changes2022-04-16 
00:14:32.033671905 +0200
+++ /work/SRC/openSUSE:Factory/.rpi-imager.new.2275/rpi-imager.changes  
2022-10-21 16:20:31.866283512 +0200
@@ -1,0 +2,15 @@
+Mon Oct 17 16:22:27 UTC 2022 - Axel Braun 
+
+- rpi-imager (1.7.3) 
+  * Linux: use GnuTLS instead of OpenSSL for computing SHA256
+  * Fix persistenting public key authentication setting
+  * Linux: prefill wlan PSK if Linux distro uses NetworkManager
+  * Add digital signage icon
+  * Fix ""Cannot send events to objects owned by a different thread" warning
+  * Update Slovan/Korean language files
+  * Allow selecting file names without extension
+  * Add possibility to outsource handling of custom settings to script at
+/usr/lib/raspberrypi-sys-mods/imager_custom
+  * Advanced settings: disallow invalid characters in hostname field
+
+---

Old:

  rpi-imager-1.7.2.tar.gz

New:

  rpi-imager-1.7.3.tar.gz



Other differences:
--
++ rpi-imager.spec ++
--- /var/tmp/diff_new_pack.B97sCw/_old  2022-10-21 16:20:32.570284832 +0200
+++ /var/tmp/diff_new_pack.B97sCw/_new  2022-10-21 16:20:32.574284840 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rpi-imager
-Version:1.7.2
+Version:1.7.3
 Release:0
 Summary:Raspberry Pi Imaging Utility
 License:Apache-2.0

++ rpi-imager-1.7.2.tar.gz -> rpi-imager-1.7.3.tar.gz ++
/work/SRC/openSUSE:Factory/rpi-imager/rpi-imager-1.7.2.tar.gz 
/work/SRC/openSUSE:Factory/.rpi-imager.new.2275/rpi-imager-1.7.3.tar.gz differ: 
char 23, line 1


commit rpi-imager for openSUSE:Factory

2022-04-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rpi-imager for openSUSE:Factory 
checked in at 2022-04-16 00:14:11

Comparing /work/SRC/openSUSE:Factory/rpi-imager (Old)
 and  /work/SRC/openSUSE:Factory/.rpi-imager.new.1941 (New)


Package is "rpi-imager"

Sat Apr 16 00:14:11 2022 rev:3 rq:970184 version:1.7.2

Changes:

--- /work/SRC/openSUSE:Factory/rpi-imager/rpi-imager.changes2022-03-17 
17:02:31.809732734 +0100
+++ /work/SRC/openSUSE:Factory/.rpi-imager.new.1941/rpi-imager.changes  
2022-04-16 00:14:32.033671905 +0200
@@ -1,0 +2,17 @@
+Thu Apr 14 13:52:55 UTC 2022 - Axel Braun 
+
+- fix for new autoconf
+
+---
+Tue Mar 29 17:42:45 UTC 2022 - Axel Braun 
+
+- version 1.7.2
+- Advanced options: remove overscan option
+- Advanced options: remove first run wizard suppression option
+- gz/xz/zstd custom images: pad if image size is not dividable by 512 byte
+- Store saved wifi password hashed
+- Make buttons blue on focus, to ease keyboard navigation
+- Add Japan, Korean translations
+- rpi-imager-noupdates.diff removed (included in current version)
+
+---

Old:

  rpi-imager-1.7.1.tar.gz
  rpi-imager-noupdates.diff

New:

  rpi-imager-1.7.2.tar.gz



Other differences:
--
++ rpi-imager.spec ++
--- /var/tmp/diff_new_pack.TtapxX/_old  2022-04-16 00:14:33.073673293 +0200
+++ /var/tmp/diff_new_pack.TtapxX/_new  2022-04-16 00:14:33.081673304 +0200
@@ -17,15 +17,14 @@
 
 
 Name:   rpi-imager
-Version:1.7.1
+Version:1.7.2
 Release:0
 Summary:Raspberry Pi Imaging Utility
 License:Apache-2.0
 Group:  Hardware/Other
 URL:https://github.com/raspberrypi/rpi-imager
 Source: 
https://github.com/raspberrypi/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# https://github.com/raspberrypi/rpi-imager/pull/362
-Patch:  rpi-imager-noupdates.diff
+
 BuildRequires:  cmake
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
@@ -56,10 +55,12 @@
 %autosetup
 
 %build
-%cmake . -DENABLE_CHECK_VERSION=0 -DENABLE_TELEMETRY=0
+pushd src
+%cmake -DENABLE_CHECK_VERSION=0 -DENABLE_TELEMETRY=0
 %cmake_build
 
 %install
+pushd src
 %cmake_install
 
 mkdir -p %{buildroot}%{_datadir}/icons

++ rpi-imager-1.7.1.tar.gz -> rpi-imager-1.7.2.tar.gz ++
/work/SRC/openSUSE:Factory/rpi-imager/rpi-imager-1.7.1.tar.gz 
/work/SRC/openSUSE:Factory/.rpi-imager.new.1941/rpi-imager-1.7.2.tar.gz differ: 
char 12, line 1


commit rpi-imager for openSUSE:Factory

2022-03-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rpi-imager for openSUSE:Factory 
checked in at 2022-03-17 17:02:04

Comparing /work/SRC/openSUSE:Factory/rpi-imager (Old)
 and  /work/SRC/openSUSE:Factory/.rpi-imager.new.25692 (New)


Package is "rpi-imager"

Thu Mar 17 17:02:04 2022 rev:2 rq:962457 version:1.7.1

Changes:

--- /work/SRC/openSUSE:Factory/rpi-imager/rpi-imager.changes2021-09-06 
15:57:58.629295937 +0200
+++ /work/SRC/openSUSE:Factory/.rpi-imager.new.25692/rpi-imager.changes 
2022-03-17 17:02:31.809732734 +0100
@@ -1,0 +2,6 @@
+Mon Feb 14 17:02:14 UTC 2022 - Ludwig Nussel 
+
+- new version 1.7.1
+- disable telemetry and auto updates (rpi-imager-noupdates.diff)
+
+---

Old:

  rpi-imager-1.6.2.tar.gz

New:

  rpi-imager-1.7.1.tar.gz
  rpi-imager-noupdates.diff



Other differences:
--
++ rpi-imager.spec ++
--- /var/tmp/diff_new_pack.4m4bpr/_old  2022-03-17 17:02:32.793733487 +0100
+++ /var/tmp/diff_new_pack.4m4bpr/_new  2022-03-17 17:02:32.797733490 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rpi-imager
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,25 @@
 
 
 Name:   rpi-imager
-Version:1.6.2
+Version:1.7.1
 Release:0
 Summary:Raspberry Pi Imaging Utility
 License:Apache-2.0
 Group:  Hardware/Other
 URL:https://github.com/raspberrypi/rpi-imager
 Source: 
https://github.com/raspberrypi/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# https://github.com/raspberrypi/rpi-imager/pull/362
+Patch:  rpi-imager-noupdates.diff
+BuildRequires:  cmake
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
 BuildRequires:  git
 BuildRequires:  libqt5-qtquickcontrols2
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
+BuildRequires:  update-desktop-files
 BuildRequires:  util-linux-systemd
 BuildRequires:  cmake(Qt5LinguistTools)
-BuildRequires:  cmake
 BuildRequires:  pkgconfig(Qt5Concurrent)
 BuildRequires:  pkgconfig(Qt5DBus)
 BuildRequires:  pkgconfig(Qt5Qml)
@@ -42,7 +45,6 @@
 BuildRequires:  pkgconfig(Qt5Svg)
 BuildRequires:  pkgconfig(libarchive)
 BuildRequires:  pkgconfig(libcurl)
-BuildRequires:  update-desktop-files
 
 %description
 
@@ -51,10 +53,10 @@
 Download and install Raspberry Pi Imager to a computer with an SD card reader. 
Put the SD card you'll use with your Raspberry Pi into the reader and run 
Raspberry Pi Imager.
 
 %prep
-%setup -q
+%autosetup
 
 %build
-%cmake .
+%cmake . -DENABLE_CHECK_VERSION=0 -DENABLE_TELEMETRY=0
 %cmake_build 
 
 %install

++ rpi-imager-1.6.2.tar.gz -> rpi-imager-1.7.1.tar.gz ++
/work/SRC/openSUSE:Factory/rpi-imager/rpi-imager-1.6.2.tar.gz 
/work/SRC/openSUSE:Factory/.rpi-imager.new.25692/rpi-imager-1.7.1.tar.gz 
differ: char 12, line 1

++ rpi-imager-noupdates.diff ++
>From 66a7902d13f162965e7215e74dd3dc84b9718108 Mon Sep 17 00:00:00 2001
From: Ludwig Nussel 
Date: Mon, 14 Feb 2022 15:01:32 +0100
Subject: [PATCH] Add compile time options for telemetry and updates

---
 CMakeLists.txt  | 15 +++
 config.h|  1 -
 imagewriter.cpp |  2 ++
 main.qml|  2 +-
 4 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c560e91..e885d30 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,9 @@ if (APPLE)
 set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "" FORCE)
 endif()
 
+OPTION (ENABLE_CHECK_VERSION "Check for version updates" ON)
+OPTION (ENABLE_TELEMETRY "Enable sending telemetry" ON)
+
 project(rpi-imager LANGUAGES CXX C)
 set(IMAGER_VERSION_MAJOR 1)
 set(IMAGER_VERSION_MINOR 7)
@@ -107,6 +110,18 @@ else()
 message(STATUS "LTO not supported: <${ipoerror}>")
 endif()
 
+if(ENABLE_TELEMETRY)
+add_definitions(-DTELEMETRY_ENABLED_DEFAULT=true)
+else()
+add_definitions(-DTELEMETRY_ENABLED_DEFAULT=false)
+endif()
+
+if(ENABLE_CHECK_VERSION)
+add_definitions(-DCHECK_VERSION_DEFAULT=true)
+else()
+add_definitions(-DCHECK_VERSION_DEFAULT=false)
+endif()
+
 # Because dependencies are typically not available by default on Windows, 
build bundled code
 if (WIN32)
 # Target Windows 7 (needed for drivelist module)
diff --git a/config.h b/config.h
index 75a4110..7262339 100644
--- a/config.h
+++ b/config.h
@@ -15,7 +15,6 @@
 
 /* Phone home the name of images downloaded for image popularity ranking */
 #define TELEMETRY_URL 
"https://rpi-imager-stats.raspberrypi.com/downlo