diff --git a/BUILDING b/BUILDING index 8db2a52..9699de6 100644 --- a/BUILDING +++ b/BUILDING @@ -7,7 +7,7 @@ Distributions are generated using stdeb, execute it on the Raspberry Pi to build To debug installation: - sudo dpkg -D113 -i ../python-hackclock_2.0-beta-1_all.deb + sudo dpkg -D113 -i ../python-hackclock_2.3.0-1_all.deb To completely uninstall: @@ -15,7 +15,7 @@ To completely uninstall: To verify the files inside the package: - dpkg -c deb_dist/python-hackclock_2.0-beta-1_all.deb + dpkg -c deb_dist/python-hackclock_2.3.0-1_all.deb Requirements diff --git a/LICENSE b/LICENSE index e06d208..632aba1 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ Apache License same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + Copyright 2017 John T. Ellis Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -199,4 +199,3 @@ Apache License WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - diff --git a/README.md b/README.md index 08f123e..5d4d4d9 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,14 @@ A suggested list of hardware you might need to buy is saved as a wishlist at Ada Installation ------------ -I'm assuming that you are starting with the Raspian Minimal Linux distribution. NOOBS or the like also works, but Raspian Minimal is small enough to fit on a 2GB microSD card. To install the hack-clock distribution on top of it: +I'm assuming that you are starting with the Raspian Minimal Linux distribution available at https://www.raspberrypi.org/downloads/raspbian/ or pre-installed by several distributors. NOOBS or the like also works, but Raspian Minimal is small enough to fit on a 2GB microSD card. + +To install the hack-clock distribution on top of Raspian: 1. Make sure your Raspberry Pi is up to date with the latest packages & firmware with `sudo apt-get update; sudo apt-get dist-upgrade` 2. Enable I2C by executing `sudo raspi-config` as described in Adafruit's tutorial: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c -3. Add the necessary Python and GStreamer dependencies using the command: `sudo apt-get install wiringpi python-bottle python-requests python-oauth2client python-httplib2 python-setuptools python-pip python-dev python-dateutil python-smbus gstreamer0.10-x gstreamer-tools gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly python-gst0.10` -4. Install hack-clock via `wget https://github.com/deckerego/hack-clock/releases/download/2.2.2/python-hackclock_2.2.2-1_all.deb; sudo dpkg -i python-hackclock_2.2.2-1_all.deb` +3. Add the necessary Python and GStreamer dependencies using the command: `sudo apt-get install wiringpi ntp python-bottle python-requests python-oauth2client python-httplib2 python-setuptools python-pip python-dev python-dateutil python-smbus gstreamer0.10-x gstreamer0.10-alsa gstreamer-tools gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly python-gst0.10` +4. Install hack-clock via `wget https://github.com/deckerego/hack-clock/releases/download/2.3.0/python-hackclock_2.3.0-1_all.deb; sudo dpkg -i python-hackclock_2.3.0-1_all.deb` 5. Tweak `/etc/hack-clock.conf` and `/etc/default/hack-clock` to fit your needs (GPIO pins, correct weather station, etc.). A list of observed weather stations is available at http://forecast.weather.gov/stations.php 6. Reboot your Pi to re-load modules and start the IDE web server diff --git a/debian/changelog b/debian/changelog index f3a1a5c..bb80d37 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ -hackclock (2.2.2-1) stable; urgency=low +hackclock (2.3.0-1) stable; urgency=low - * Fixed improper escaping of a single-quote + * Migration to Raspian Stretch + * Reboot on kernel panic + * Fixed LICENSE to include copyright - -- DeckerEgo Thu, 8 Jun 2017 21:30:00 -0500 + -- DeckerEgo Mon, 25 Sep 2017 23:00:00 -0500 diff --git a/debian/control b/debian/control index 1d62c5a..e6b5b50 100644 --- a/debian/control +++ b/debian/control @@ -10,5 +10,5 @@ X-Python-Version: >= 2.7 Package: python-hackclock Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, ntp, python-bottle, python-requests, python-httplib2, python-oauth2client, wiringpi, python-setuptools, python-pip, python-dev, python-dateutil, python-smbus, gstreamer0.10-x, gstreamer0.10-alsa, gstreamer-tools, gstreamer0.10-plugins-base, gstreamer0.10-plugins-good, gstreamer0.10-plugins-bad, python-gst0.10 +Depends: ${misc:Depends}, ${python:Depends}, ntp, python-bottle, python-requests, python-httplib2, python-oauth2client, wiringpi, python-setuptools, python-pip, python-dev, python-dateutil, python-smbus, gstreamer0.10-x, gstreamer0.10-alsa, gstreamer-tools, gstreamer0.10-plugins-base, gstreamer0.10-plugins-good, python-gst0.10 Description: A hackable alarm clock for the Raspberry Pi diff --git a/package.sh b/package.sh index 847a999..a16a508 100755 --- a/package.sh +++ b/package.sh @@ -7,7 +7,7 @@ rm home/pi/hack-clock/backups/blocks_clock.* cd .. echo "Compressing file..." -tar Jcf hackclock_2.2.2.orig.tar.xz hack-clock/ +tar Jcf hackclock_2.3.0.orig.tar.xz hack-clock/ cd hack-clock dpkg-buildpackage -rfakeroot -uc -us diff --git a/setup.py b/setup.py index a026f53..dba47b5 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ def all_files(newroot, oldroot): setup( name='HackClock', - version='2.2.2', + version='2.3.0', description='A hackable alarm clock for the Raspberry Pi', author='DeckerEgo', author_email='john@deckerego.net',