+commit 1517ad263ba4c0b8c9251a726cce1ed8a86a634c
+Author: Bdale Garbee <bdale@gag.com>
+Date: Tue Jun 24 21:54:30 2014 -0600
+
+ releasing 1.4.1
+
+commit 6986da4407ac53e267b95abb1848211ea9d32b41
+Merge: 5f6059a 237472e
+Author: Bdale Garbee <bdale@gag.com>
+Date: Tue Jun 24 21:31:53 2014 -0600
+
+ Merge branch 'branch-1.4' of ssh://git.gag.com/scm/git/fw/altos into branch-1.4
+
+commit 5f6059a9273dfe557145a9f620db81693f3bc27e
+Author: Bdale Garbee <bdale@gag.com>
+Date: Tue Jun 24 21:22:26 2014 -0600
+
+ need the api key in Bdale's root too
+
+commit 42fd93b67af396b0478e9e795026cf1a5312e5c9
+Author: Bdale Garbee <bdale@gag.com>
+Date: Tue Jun 24 21:12:59 2014 -0600
+
+ make sure to use Google Maps API key for official builds
+
+commit 9a78df4ea121d1d3c14da2abae1a82c34121e13c
+Author: Bdale Garbee <bdale@gag.com>
+Date: Sun Jun 15 18:41:25 2014 -0600
+
+ notes updated for TeleGPS and 1.4 release learnings
+
+commit 237472e1b98283a82c674bb48c0347189d9d37bf
+Author: Keith Packard <keithp@keithp.com>
+Date: Tue Jun 24 20:15:38 2014 -0700
+
+ altosuilib: Mark 'Configure AltosUI' window with maps key status
+
+ This lets us check a build to make sure it has a maps key
+
+ Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit 0da9cdfbeacbaed13615ca2daade372920299c4a
+Author: Keith Packard <keithp@keithp.com>
+Date: Fri Jun 20 11:56:58 2014 -0700
+
+ Add note about including Google maps API key
+
+ Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit 2bbbd2c22e32d4c40782a9f12657f1a385cc6bc7
+Author: Keith Packard <keithp@keithp.com>
+Date: Fri Jun 20 11:51:11 2014 -0700
+
+ Add 1.4.1 release notes
+
+ Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit 9dbd752150875f1f9fc93063f66d2153ec15d935
+Author: Keith Packard <keithp@keithp.com>
+Date: Wed Jun 18 14:16:36 2014 -0700
+
+ altosui: Ship TeleMetrum v2.0 firmware with AltosUI
+
+ Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit 44f60782d73bf5fdb6e1e54a3fdbe50808b7d7f5
+Author: Keith Packard <keithp@keithp.com>
+Date: Tue Jun 17 20:46:33 2014 -0700
+
+ Fix java version detection and downloading
+
+ Move java stuff to a common include file, java.nsh
+
+ Let any version no older than 1.6 serve by using ${VersionCompare}
+
+ Use version 6 downloads as those don't require a click-through agreement.
+
+ Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit 7140ca8a4bc0be8386f8edacadb7ac5d88c6f1b1
+Author: Keith Packard <keithp@keithp.com>
+Date: Tue Jun 17 00:08:03 2014 -0700
+
+ Sign our .inf file with the comodo key. Update signing-driver
+
+ I've tested this on Windows 7 and it appears to work. No idea if it
+ works on Windows 8 yet.
+
+ Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit 9ab3a1de95b705783c31a7e16447f52c10b6b480
+Author: Bdale Garbee <bdale@gag.com>
+Date: Sun Jun 15 17:44:42 2014 -0600
+
+ turn-on support for TeleGPS
+
+commit b40351d5cb9802133f443d4f5150958b03b9e8f0
+Author: Bdale Garbee <bdale@gag.com>
+Date: Sun Jun 15 17:43:50 2014 -0600
+
+ tagging 1.4 release
+
commit 97a7cbaee806965ca7c696fb02f6e1d24b026b9b
Author: Bdale Garbee <bdale@gag.com>
Date: Sun Jun 15 17:43:06 2014 -0600
git checkout master
- - make sure there is a doc/release-notes-<version>.xsl
- - make sure that doc/altusmetrum.xsl has the right copyright year,
- and add release to the revision history at the front (release notes
- will be pulled in automatically)
+ - make sure the Google Maps API key is in the build chroot and root
+ sudo mkdir -p /var/cache/pbuilder/base.cow/opt/google /opt/google
+ sudo cp ~/altusmetrumllc/google-maps-api-key \
+ /var/cache/pbuilder/base.cow/opt/google/maps-api-key
+ sudo ln -sf /home/bdale/altusmetrumllc/google-maps-api-key \
+ /opt/google/maps-api-key
- - get a Google Maps API key and install it in
- ~/altusmetrumllc/google-maps-api-key. If you don't have a
- key, the app will still work, but downloading map tiles will
- be slow, and you will only be able to download a limited
- number per day.
+ - if this is an x.y release, then:
+ git checkout -b branch-<version>
+ - if this is an x.y.z release, then:
+ git checkout branch-<version> # the x.y parts only
+ - cherry-pick or merge appropriate content from master
+
- update the version in configure.ac
- git log > ChangeLog
- git commit -a
+ - make sure there is a doc/release-notes-<version>.xsl
+ - make sure that doc/altusmetrum.xsl has the right copyright year,
+ and add release to the revision history at the front (release notes
+ will be pulled in automatically)
- make absolutely sure checked-out tree is "clean"
- make absolutely sure the pdclib/ submodule is on the master branch,
up to date, and "clean"
- - if this is an x.y release, then:
- git checkout -b branch-<version>
- git tag -a <version>
- - edit .git/gbp.conf to use branch-<version> as upstream
+ git log > ChangeLog
+ git commit -a
+ git tag -a <version> # full x.y.z version
- - if this is an x.y.z release, then:
- git checkout branch-<version> # the x.y parts only
- git merge master
- git tag -a <version> # full x.y.z version
+ - make sure .git/gbp.conf set to use branch-<version> as upstream
git checkout debian
git merge branch-<version>
src/telemega-v1.0/flash-loader/*.elf \
src/telemetrum-v2.0/flash-loader/*.elf \
~/altusmetrumllc/Binaries/loaders/
- (cd ~/altusmetrumllc ; git commit -a)
+ (cd ~/altusmetrumllc ; git add Binaries ; git commit -a)
- copy the relevant release notes file from doc/ to
/home/bdale/web/altusmetrum/AltOS/releases/<rev>
- create /home/bdale/web/altusmetrum/MicroPeak/releases/<rev>,
and move the MicroPeak installers from AltOS/releases to there
- - go edit ~/web/altusmetrum/AltOS/releases/<rev>.mdwn and
- /home/bdale/web/altusmetrum/MicroPeak/releases/<rev>.mdwn, to
+ - create /home/bdale/web/altusmetrum/TeleGPS/releases/<rev>,
+ and move the MicroPeak installers from AltOS/releases to there
+
+ - go edit ~/web/altusmetrum/AltOS/releases/<rev>.mdwn,
+ /home/bdale/web/altusmetrum/MicroPeak/releases/<rev>.mdwn, and
+ /home/bdale/web/altusmetrum/TeleGPS/releases/<rev>.mdwn, to
include release date and explicit ref to dir contents so the
web pages shows versioned links, commit and push
--- /dev/null
+!include WordFunc.nsh
+
+; Definitions for Java Detection
+
+!define JRE_VERSION "1.6"
+!define JRE32_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=52247&/jre-6u27-windows-i586.exe"
+!define JRE64_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=52249&/jre-6u27-windows-x64.exe"
+
+Var JavaDownload
+Var JavaBits
+
+Function GetJRE
+ ${If} ${RunningX64}
+ StrCpy $JavaDownload ${JRE64_URL}
+ StrCpy $JavaBits "64"
+ ${Else}
+ StrCpy $JavaDownload ${JRE32_URL}
+ StrCpy $JavaBits "32"
+ ${EndIf}
+
+ MessageBox MB_OK "This product uses Java ${JRE_VERSION}, \
+ $JavaBits bits, it will now \
+ be downloaded and installed"
+
+ StrCpy $2 "$TEMP\Java Runtime Environment.exe"
+ nsisdl::download /TIMEOUT=30000 $JavaDownload $2
+ Pop $R0 ;Get the return value
+ StrCmp $R0 "success" +3
+ MessageBox MB_OK "Download failed: $R0"
+ Quit
+ ExecWait $2
+ Delete $2
+FunctionEnd
+
+Function DetectJRE
+ ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" \
+ "CurrentVersion"
+
+ DetailPrint "Desired Java version ${JRE_VERSION}"
+ DetailPrint "Actual Java version $2"
+
+ ${VersionCompare} $2 ${JRE_VERSION} $3
+
+ IntCmp $3 1 done done
+
+ Call GetJRE
+
+done:
+
+FunctionEnd
FIRMWARE_TM_1_0=$(top_srcdir)/src/telemetrum-v1.0/telemetrum-v1.0-$(VERSION).ihx
FIRMWARE_TM_1_1=$(top_srcdir)/src/telemetrum-v1.1/telemetrum-v1.1-$(VERSION).ihx
FIRMWARE_TM_1_2=$(top_srcdir)/src/telemetrum-v1.2/telemetrum-v1.2-$(VERSION).ihx
-FIRMWARE_TM=$(FIRMWARE_TM_1_0) $(FIRMWARE_TM_1_1) $(FIRMWARE_TM_1_2)
+FIRMWARE_TM_2_0=$(top_srcdir)/src/telemetrum-v2.0/telemetrum-v2.0-$(VERSION).ihx
+FIRMWARE_TM=$(FIRMWARE_TM_1_0) $(FIRMWARE_TM_1_1) $(FIRMWARE_TM_1_2) $(FIRMWARE_TM_2_0)
FIRMWARE_TELEMINI_1_0=$(top_srcdir)/src/telemini-v1.0/telemini-v1.0-$(VERSION).ihx
FIRMWARE_TELEMINI=$(FIRMWARE_TELEMINI_1_0)
!addplugindir Instdrv/NSIS/Plugins
+!addincludedir Instdrv/NSIS/Includes
!include x64.nsh
-; Definitions for Java 1.7 Detection
-!define JRE_VERSION "1.7"
-!define JRE_ALTERNATE "1.6"
-!define JRE32_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=83383&/jre-7u51-windows-i586.exe"
-!define JRE64_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=83385&/jre-7u51-windows-x64.exe"
+!include java.nsh
+
!define PRODUCT_NAME "Altus Metrum Windows Software"
Name "Altus Metrum Installer"
${EndIf}
FunctionEnd
-Var JavaDownload
-Var JavaBits
-
-Function GetJRE
- ${If} ${RunningX64}
- StrCpy $JavaDownload ${JRE64_URL}
- StrCpy $JavaBits "64"
- ${Else}
- StrCpy $JavaDownload ${JRE32_URL}
- StrCpy $JavaBits "32"
- ${EndIf}
-
- MessageBox MB_OK "${PRODUCT_NAME} uses Java ${JRE_VERSION}, \
- $JavaBits bits, it will now \
- be downloaded and installed"
-
- StrCpy $2 "$TEMP\Java Runtime Environment.exe"
- nsisdl::download /TIMEOUT=30000 $JavaDownload $2
- Pop $R0 ;Get the return value
- StrCmp $R0 "success" +3
- MessageBox MB_OK "Download failed: $R0"
- Quit
- ExecWait $2
- Delete $2
-FunctionEnd
-
-Function DetectJRE
- ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" \
- "CurrentVersion"
-
- StrCmp $2 ${JRE_VERSION} done
-
- StrCmp $2 ${JRE_ALTERNATE} done
-
- Call GetJRE
-
- done:
-FunctionEnd
-
; Pages to present
Page license
File "../src/telemetrum-v1.0/telemetrum-v1.0-${VERSION}.ihx"
File "../src/telemetrum-v1.1/telemetrum-v1.1-${VERSION}.ihx"
File "../src/telemetrum-v1.2/telemetrum-v1.2-${VERSION}.ihx"
+ File "../src/telemetrum-v2.0/telemetrum-v2.0-${VERSION}.ihx"
File "../src/telemini-v1.0/telemini-v1.0-${VERSION}.ihx"
File "../src/telegps-v1.0/telegps-v1.0-${VERSION}.ihx"
File "../src/teledongle-v0.2/teledongle-v0.2-${VERSION}.ihx"
constraints(0, 3));
row++;
- pane.add(new JLabel (String.format("AltOS version %s", AltosUIVersion.version)),
+ pane.add(new JLabel (String.format("AltOS version %s (%smaps key)",
+ AltosUIVersion.version,
+ AltosUIVersion.has_google_maps_api_key() ? "" : "no ")),
constraints(0, 3));
row++;
dnl Process this file with autoconf to create configure.
AC_PREREQ(2.57)
-AC_INIT([altos], 1.4)
+AC_INIT([altos], 1.4.1)
AC_CONFIG_SRCDIR([src/kernel/ao.h])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
configure: configure-stamp
configure-stamp:
dh_testdir
- PKG_CONFIG_PATH=/opt/stlink/lib/pkgconfig ./autogen.sh --prefix=/usr
+ PKG_CONFIG_PATH=/opt/stlink/lib/pkgconfig ./autogen.sh \
+ --prefix=/usr --with-google-key=/opt/google/maps-api-key
touch configure-stamp
build: build-arch build-indep
release-notes-1.3.html \
release-notes-1.3.1.html \
release-notes-1.3.2.html \
- release-notes-1.4.html
+ release-notes-1.4.html \
+ release-notes-1.4.1.html
PICTURES=\
altosui.png \
altusmetrum.html: $(RELNOTES_XSL) $(IMAGES)
altusmetrum.pdf: $(RELNOTES_XSL) $(IMAGES)
+telegps.html: $(RELNOTES_XSL) $(IMAGES)
+telegps.pdf: $(RELNOTES_XSL) $(IMAGES)
+
$(PDF): $(FOSTYLE) $(TEMPLATES)
indent: altusmetrum.xsl
</para>
</legalnotice>
<revhistory>
+ <revision>
+ <revnumber>1.4.1</revnumber>
+ <date>24 June 2014</date>
+ <revremark>
+ Minor release fixing some installation bugs.
+ </revremark>
+ </revision>
<revision>
<revnumber>1.4</revnumber>
<date>15 June 2014</date>
</appendix>
<appendix>
<title>Release Notes</title>
+ <simplesect>
+ <title>Version 1.41</title>
+ <xi:include
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="release-notes-1.4.1.xsl"
+ xpointer="xpointer(/article/*)"/>
+ </simplesect>
<simplesect>
<title>Version 1.4</title>
<xi:include
--- /dev/null
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+"/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
+
+<article>
+ <para>
+ Version 1.4.1 is a minor release. It fixes install issues on
+ Windows and provides the missing TeleMetrum V2.0 firmware. There
+ aren't any changes to the firmware or host applications at
+ all. All Windows users will want to upgrade to get the signed
+ driver, but Mac and Linux users who do not need the TeleMetrum
+ V2.0 firmware image will not need to upgrade.
+ </para>
+ <para>
+ Windows Install Fixes
+ <itemizedlist>
+ <listitem>
+ <para>
+ Provide signed Windows driver files. This should avoid any need to
+ disable driver signature checking on Windows 7 or 8.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Fix Java version detection and download. Previously, the
+ installer would only look for Java 6 or 7 and insist on
+ downloading its own Java bits if there was something else
+ installed. Furthermore, the 64-bit Java link provided didn't
+ work for anyone other than Keith, making it impossible to
+ install AltOS on any machine with Java SE 8 installed.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ <para>
+ Other Fixes
+ <itemizedlist>
+ <listitem>
+ <para>
+ Include 1.4 firmware for TeleMetrum V2.0. None of the
+ installers shipped this file. Now it's included in the AltOS
+ packages for Linux, Mac and Windows.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Include Google Application Key for map downloading. The 1.4
+ release didn't have this key in the released version of the
+ software, making map downloading fail for most people.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+</article>
</para>
</legalnotice>
<revhistory>
+ <revision>
+ <revnumber>1.4.1</revnumber>
+ <date>20 June 2014</date>
+ <revremark>
+ Minor release fixing some installation bugs.
+ </revremark>
+ </revision>
<revision>
<revnumber>1.4</revnumber>
<date>13 June 2014</date>
</para>
</section>
</chapter>
+ <appendix>
+ <title>Release Notes</title>
+ <simplesect>
+ <title>Version 1.41</title>
+ <xi:include
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="release-notes-1.4.1.xsl"
+ xpointer="xpointer(/article/*)"/>
+ </simplesect>
+ <simplesect>
+ <title>Version 1.4</title>
+ <xi:include
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="release-notes-1.4.xsl"
+ xpointer="xpointer(/article/*)"/>
+ </simplesect>
+ </appendix>
</book>
<!-- LocalWords: Altusmetrum TeleGPS
-->
$(WINDOWS_DIST): $(WINDOWS_FILES) micropeak-windows.nsi
-rm -f $@
- makensis -Omicropeak-windows.log "-XOutFile $@" "-DVERSION=$(VERSION)" micropeak-windows.nsi
+ makensis -Omicropeak-windows.log "-XOutFile $@" "-DVERSION=$(VERSION)" micropeak-windows.nsi || (cat micropeak-windows.log && exit 1)
Manifest.txt: Makefile
echo 'Main-Class: org.altusmetrum.micropeak.MicroPeak' > $@
!addplugindir Instdrv/NSIS/Plugins
+!addincludedir ../altosui/Instdrv/NSIS/Includes
!include x64.nsh
-; Definitions for Java 1.7 Detection
-!define JRE_VERSION "1.7"
-!define JRE_ALTERNATE "1.6"
-!define JRE32_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=83383&/jre-7u51-windows-i586.exe"
-!define JRE64_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=83385&/jre-7u51-windows-x64.exe"
-!define PRODUCT_NAME "Altus Metrum Windows Software"
+!include java.nsh
Name "Altus Metrum MicroPeak Installer"
${EndIf}
FunctionEnd
-Var JavaDownload
-Var JavaBits
-
-Function GetJRE
- ${If} ${RunningX64}
- StrCpy $JavaDownload ${JRE64_URL}
- StrCpy $JavaBits "64"
- ${Else}
- StrCpy $JavaDownload ${JRE32_URL}
- StrCpy $JavaBits "32"
- ${EndIf}
-
- MessageBox MB_OK "${PRODUCT_NAME} uses Java ${JRE_VERSION}, \
- $JavaBits bits, it will now \
- be downloaded and installed"
-
- StrCpy $2 "$TEMP\Java Runtime Environment.exe"
- nsisdl::download /TIMEOUT=30000 $JavaDownload $2
- Pop $R0 ;Get the return value
- StrCmp $R0 "success" +3
- MessageBox MB_OK "Download failed: $R0"
- Quit
- ExecWait $2
- Delete $2
-FunctionEnd
-
-Function DetectJRE
- ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" \
- "CurrentVersion"
- StrCmp $2 ${JRE_VERSION} done
-
- StrCmp $2 ${JRE_ALTERNATE} done
-
- Call GetJRE
-
- done:
-FunctionEnd
-
; Pages to present
Page license
http://technet.microsoft.com/en-us/library/dd919238%28v=ws.10%29.aspx
-# use MMC to add the certificates snap-in for ComputerAccount on Local computer
+Start MMC as administrator (start a console as administrator, launch
+mmc from there).
-Run console as Administrator:
+Use MMC to add the certificates snap-in for ComputerAccount on Local computer
-makecert -r -n "CN=AltusMetrum" -ss AltusMetrumCertStore -sr LocalMachine
+Create a key store for our keys called AltusMetrumCertStore
+
+Add our key from ~/altusmetrumllc/altusmetrum-key.p12
+
+# Our cert is now called "Altus Metrum, LLC"
+
+Create a new directory with a simple path. Copy altusmetrum.inf to
+that directory
# <path> contains the altusmetrum.inf file we ship. Make sure <path>
# is otherwise empty or inf2cat will get confused
inf2cat /driver:<path> /os:7_X86,7_X64,8_X86,8_X64
-signtool sign /s AltusMetrumCertStore /n “AltusMetrum"
+signtool sign /s AltusMetrumCertStore /n “Altus Metrum, LLC"
/t http://timestamp.verisign.com/scripts/timestamp.dll
altusmetrum.cat
-
-pnputil -i -a altusmetrum.inf
!addplugindir ../altosui/Instdrv/NSIS/Plugins
+!addincludedir ../altosui/Instdrv/NSIS/Includes
!include x64.nsh
-; Definitions for Java 1.7 Detection
-!define JRE_VERSION "1.7"
-!define JRE_ALTERNATE "1.6"
-!define JRE32_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=83383&/jre-7u51-windows-i586.exe"
-!define JRE64_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=83385&/jre-7u51-windows-x64.exe"
-!define PRODUCT_NAME "TeleGPS Windows Software"
+!include java.nsh
Name "TeleGPS Installer"
${EndIf}
FunctionEnd
-Var JavaDownload
-Var JavaBits
-
-Function GetJRE
- ${If} ${RunningX64}
- StrCpy $JavaDownload ${JRE64_URL}
- StrCpy $JavaBits "64"
- ${Else}
- StrCpy $JavaDownload ${JRE32_URL}
- StrCpy $JavaBits "32"
- ${EndIf}
-
- MessageBox MB_OK "${PRODUCT_NAME} uses Java ${JRE_VERSION}, \
- $JavaBits bits, it will now \
- be downloaded and installed"
-
- StrCpy $2 "$TEMP\Java Runtime Environment.exe"
- nsisdl::download /TIMEOUT=30000 $JavaDownload $2
- Pop $R0 ;Get the return value
- StrCmp $R0 "success" +3
- MessageBox MB_OK "Download failed: $R0"
- Quit
- ExecWait $2
- Delete $2
-FunctionEnd
-
-Function DetectJRE
- ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" \
- "CurrentVersion"
-
- StrCmp $2 ${JRE_VERSION} done
-
- StrCmp $2 ${JRE_ALTERNATE} done
-
- Call GetJRE
-
- done:
-FunctionEnd
-
; Pages to present
Page license