Bug#778947: Program calls home to check for updates

tony mancill tmancill at debian.org
Sun Feb 22 18:11:13 UTC 2015


On 02/21/2015 08:54 PM, Vagrant Cascadian wrote:
> It seems that setting updatesUrl to an empty value might resolve the
> issue. I haven't tested it, but the following patch might work:
> 
> Index: sweethome3d/src/com/eteks/sweethome3d/viewcontroller/package.properties
> ===================================================================
> --- sweethome3d.orig/src/com/eteks/sweethome3d/viewcontroller/package.properties
> +++ sweethome3d/src/com/eteks/sweethome3d/viewcontroller/package.properties
> @@ -122,7 +122,7 @@ HomeController.updatesMessageStyleSheet=
>      .update { text-align: center; font-weight: normal; margin-bottom: 0;} \
>      .releaseDateAndSize { font-size: 95%; text-align: center; margin-top: 0; margin-bottom: 0;} \
>      .downloadPage { text-align: center; margin-top: 2px; margin-bottom: 0;} 
> -HomeController.updatesUrl=http://www.sweethome3d.com/SweetHome3DUpdates.xml
> +HomeController.updatesUrl=

Hi Vagrant,

Thank you for looking into this and supplying a patch.  I think a
potential issue with blanking the updatesUrl is that if the user were to
"opt-in" and want to check for updates, that the functionality would be
broken.

Attached is a patch that simply sets the default value of
checkForUpdates to false.  I have verified that for a clean install of
sweethome3d, that it eliminates the automatic "phone-home" that occurs
when the program starts, but allows the user to re-enable the check
should it ever be desired.

For users who already have the setting set to true in their preference
files, they can either use the settings dialog to disable the check and
preserve their other settings, or get all new default settings with:

$ rm -rf ~/.java/.userPrefs/com/eteks/
$ rm -rf ~/.eteks/

Gabriele, I have this commit sitting in my local git repo; please let me
know if you'd prefer to address this another way.  Otherwise, I can
prepare and upload and an unblock request.

Cheers,
tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable_checForUpdates_778947.patch
Type: text/x-diff
Size: 1698 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20150222/1dd98c42/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20150222/1dd98c42/attachment.sig>


More information about the pkg-java-maintainers mailing list