Bug#706861: ITP: calcelestial -- calcelestial calculates positions, rise set times of celestial bodies.

2013-05-05 Thread Steffen Vogel
Package: wnpp
Severity: wishlist
Owner: Steffen Vogel p...@steffenvogel.de

  Package name: calcelestial
  Version : 0.3
  Upstream Author : Steffen Vogel p...@steffenvogel.de
  URL : http://github.com/stv0g/calcelestial
  License : GPL
  Programming Lang: C
  Description : calcelestial calculates positions, rise  set times of 
celestial bodies.

I wrote this tool to easily schedule the switching of my lighting for home 
automation.
Its the successor of my previous tool called sun which was limited to rise/set 
times of the sun [1]
calcelestial is a lot more powerful tool as its supports more planets and the 
calculation of position.

Its a little tool following the unix paradigm. Its designed to be used in 
conjunjtion with cron, at
date etc. Calculations are done with the libnova library to minimize code 
duplication.

For me this tool is extremly useful as you might note with these examples:

Schedule a BIOS wakeup 10 minutes before the sunrise in Berlin:
  nvram-wakeup -s $(date -d -10 min $(calcelestial -p sun -m rise -q Berlin) 
+%s)

Shutdown the system 10 minutes after sunset:
  shutdown $(date -d +10 min $(calcelestial -p sun -m set --lat=50.55 
--lon=-6.2) +%H:%M)

Enable my lighting at cilil twiglight:
  echo ~/bin/enable-lightning | at $(calcelestial -p sun -m set -q Frankfurt -H 
civil)

The sourcecode is hosted at github [2].
My package is already available at Debian mentors [3].
Im looking for a sponsor.

Regards
   Steffen

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696593
[2] https://github.com/stv0g/calcelestial
[3] http://mentors.debian.net/package/calcelestial


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#706863: RFS: calcelestial/0.3-1 [ITP]

2013-05-05 Thread Steffen Vogel
Package: sponsorship-requests
Severity: wishlist

Dear mentors,
I am looking for a sponsor for my package calcelestial

 Package name: calcelestial
 Version : 0.3-1
 Upstream Author : Steffen Vogel p...@steffenvogel.de
 URL : https://github.com/stv0g/calcelestial
 License : GPL
 Section : utils

It builds those binary packages:
  calcelestial - calculates positions, rise  set times of celestial
bodies

To access further information about this package, please visit the
following URL:
http://mentors.debian.net/package/calcelestial

Alternatively, one can download the package with dget using this
command:
  dget -x
http://mentors.debian.net/debian/pool/main/c/calcelestial/calcelestial_0.3-1.dsc

More information about hello can be obtained from my blog:
http://www.steffenvogel.de/2013/05/05/calcelestial/

Or my ITP bugreport:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706861

Regards,
   Steffen Vogel

-- 
Steffen Vogel
Robensstraße 69
52070 Aachen

Mail: p...@steffenvogel.de
Mobil: +49 176 34911387
Web: http://www.steffenvogel.de
Jabber: st...@jabber.ccc.de
ICQ: 236033


signature.asc
Description: This is a digitally signed message part


Bug#698451: qemubuilder mounts rootfs as read-only

2013-01-18 Thread Steffen Vogel
Package: qemubuilder
Version: 0.70
Severity: important

Hey :-)

I'm trying to use qemubuilder to build my packages for the armel
architecture.

I'm using an official kernel (kernel-image-3.2.0-4-versatile) from the archives.

The initrd has been created in a chroot with qemu-arm-static as
described here:
http://lists.debian.org/debian-mentors/2012/03/msg00276.html

Maybe this should be added the the wiki. Most of the other kernels and
descriptions I've found in the internet are unusable..

Creating the base image was easy with: qemubuilder --create

When using the base image I faced a problem:
qemubuilder mount the rootfs as read-only:

$ sudo qemubuilder --update --configfile pbuilderrc

  [...]

forking qemu: qemu-system-arm -nodefaults -nographic -M versatilepb -m 1024 
-kernel
 /home/stv0g/pbuilder/armel/vmlinuz-3.2.0-4-versatile
 -initrd initrd.img-3.2.0-4-versatile -drive
 
file=/home/stv0g/pbuilder/armel/build/qemu.7431.cowdev,index=0,media=disk,cache=writeback
 -drive 
file=/home/stv0g/pbuilder/armel/build/qemu.7431.dev,index=1,media=disk,cache=writeback
 -append root=/dev/sda quiet init=/pbuilder-run console=ttyAMA0,115200n8 
-serial stdio
 -net user -net nic 

Uncompressing Linux... done, booting the kernel.
Loading, please wait...

- qemu-pbuilder first-stage
mount: proc already mounted
mount: can't find / in /etc/fstab or /etc/mtab
cp: cannot create regular file `/etc/mtab': Read-only file system

- qemu-pbuilder second-stage
- setting time to Fri Jan 18 18:07:23 2013

  [...]

The /pbuilder-run script reports in line 6:
$ mount -n -o rw,remount /
mount: can't find / in /etc/fstab or /etc/mtab

So the files /etc/fstab and /etc/mtab are still not existant at this
stage of booting...
I suggest creating a symlink before trying to remount the rootfs:
$ ln -s /proc/mounts /etc/mtab

Regards,

Steffen

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6.9-custom-rt21 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages qemubuilder depends on:
ii  debootstrap 1.0.44
ii  libc6   2.13-37
ii  pbuilder0.213
ii  qemu-kvm [kvm]  1.1.2+dfsg-3
ii  qemu-system 1.1.2+dfsg-3

qemubuilder recommends no packages.

qemubuilder suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#696600: Sponsoring sun - schedule tasks at sunrise/set

2012-12-25 Thread Steffen Vogel
Hi Paul's :-)

Im very glad you want to sponsor my package!

Some more thoughts about an appropriate packagename:
I'm currently not clear about the future development of the sun tool.
There are several features which might extend the tool in future
releases:
- add muslimic prayer times: http://www.nabkal.de/namazrech.html
- add calculations for the sun position
- add calculations for sun eclipses

As I'm not willing to change the packagename, once its in the archive, I
think it's important the choose a suitable name which also covers these
new features.

Here are my proposals:

sun - fits calculations related to the planet sun

suncal - seems only to be correct for time/date related calculus.
Determination of the sun position in coordinates is not covered.

ephemeris - fits calculations for positions of arbitrary celestial
objects (sun, moon, planets, stars ..)

Regards,
  Steffen

-- 
Steffen Vogel
Robensstraße 69
52070 Aachen

Mail: p...@steffenvogel.de
Mobil: +49 176 34911387
Web: http://www.steffenvogel.de
Jabber: st...@jabber.ccc.de
ICQ: 236033


signature.asc
Description: This is a digitally signed message part


Bug#696600: Sponsoring sun - schedule tasks at sunrise/set

2012-12-25 Thread Steffen Vogel
Am Dienstag, den 25.12.2012, 11:35 -0500 schrieb Paul Tagliamonte:
 Or, see if you can barter with the FTP folks to keep `sun'

Jup, I agree. I think, we should just try to get 'sun' into the
archives. It's still worth the try, than continue discussing... ;-)

If the name gets rejected, we could even choose between:
- suncal
- atsun
- suncalc

  suncal - seems only to be correct for time/date related calculus.
  Determination of the sun position in coordinates is not covered. 
  Depends on if you expand cal to calendar or calculation(s) :)
  (Maybe suncalc would be clearer for the latter.)
 A agree, suncal isn't bad, but what's neat about sun is how the
command
 invocation flows:
 
I would prefer 'suncalc'. Just to keep more options open.

Regards,
  Steffen
-- 
Steffen Vogel
Robensstraße 69
52070 Aachen

Mail: p...@steffenvogel.de
Mobil: +49 176 34911387
Web: http://www.steffenvogel.de
Jabber: st...@jabber.ccc.de
ICQ: 236033


signature.asc
Description: This is a digitally signed message part


Bug#636089: Please close

2012-12-24 Thread Steffen Vogel
Since a similiar package is in testing [1], I assume this ITP should be
closed?

The changelog also mentioned it [2]: Initial release (Closes: #636089)

Regards,
  Steffen

[1] http://packages.debian.org/wheezy/swe-standard-data
[2]
http://packages.debian.org/changelogs/pool/main/s/swe-standard-data/swe-standard-data_4-1/changelog

-- 
Steffen Vogel
Robensstraße 69
52070 Aachen

Mail: p...@steffenvogel.de
Mobil: +49 176 34911387
Web: http://www.steffenvogel.de
Jabber: st...@jabber.ccc.de
ICQ: 236033


signature.asc
Description: This is a digitally signed message part


Bug#696593: ITP: sun -- sun calculates the sun's rise/set times

2012-12-23 Thread Steffen Vogel
Package: wnpp
Severity: wishlist
Owner: Steffen Vogel p...@steffenvogel.de

  Package name: sun
  Version : 0.1
  Upstream Author : Steffen Vogel p...@steffenvogel.de
  URL : 
http://www.steffenvogel.de/2012/12/23/cron-jobs-fur-sonnenauf-untergang/
  License : GPL
  Programming Lang: ANSI C
  Description : sun calculates the sun's rise/set times, the solar noon and 
the daylight time duration

I wrote this tool to easily schedule the switching of my lighting for home 
automation.
Its a stand alone binary following the unix paradigm. Its designed to be used 
in conjunjtion with cron, at
date etc.

For me this tool is extremly useful as you might note with these examples:

Schedule a BIOS wakeup 10 minutes before the sunrise in Berlin:
  nvram-wakeup -s $(date -d -10min $(sun rise -q Berlin) +%s)

Shutdown the system 10 minutes after sunset:
  shutdown $(date -d +10min $(src/sun set --lat=50.55 --lon=-6.2) +%H:%M)

Enable my lighting at cilil twiglight:
  echo ~/bin/enable-lightning | at $(sun set -q Frankfurt -t civil)

The sourcecode is hostet at github:
https://github.com/stv0g/sun

Debian packaging is already completed. I'm currently providing the package in 
my own apt repository:
http://packages.0l.de/debian/pool/main/s/sun/

Its based on the solar calculations:
http://lexikon.astronomie.info/zeitgleichung/neu.html
from Arnold Barmettler barmett...@astronomie.info

Merry X-Mas

Steffen

PS: Please excuse my mistakes i've propably made. Thats my first ITP and Debian 
package overall...


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-23 Thread Steffen Vogel
Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my new package sun

 Package name: sun
 Version : 0.2-1
 Upstream Author : Steffen Vogel p...@steffenvogel.de
 URL : https://github.com/stv0g/sun
 License : GPL
 Section : utils

It builds those binary packages:
  sun   - solar ephemeris calculator

I wrote this tool to easily schedule the switching of my lighting for
home automation.
Its a stand alone binary following the unix paradigm. Its designed to be
used in conjunjtion with cron, at
date etc.

For me this tool is extremly useful as you might note with these
examples:

Schedule a BIOS wakeup 10 minutes before the sunrise in Berlin:
 nvram-wakeup -s $(date -d -10min $(sun rise -q Berlin) +%s)

Shutdown the system 10 minutes after sunset:
 shutdown $(date -d +10min $(src/sun set --lat=50.55 --lon=-6.2) +%H:%M)

Enable my lighting at cilil twiglight:
  echo ~/bin/enable-lightning | at $(sun set -q Frankfurt -t civil)

To access further information about this package, please visit the
following URL:
http://mentors.debian.net/package/sun

Alternatively, one can download the package with dget using this
command:
dget -x http://mentors.debian.net/debian/pool/main/s/sun/sun_0.2-1.dsc

More information about sun can be obtained from my blog:
http://www.steffenvogel.de/2012/12/23/cron-jobs-fur-sonnenauf-untergang/

or my ITP bugreport:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696593

Regards,
 Steffen Vogel

-- 
Steffen Vogel
Robensstraße 69
52070 Aachen

Mail: p...@steffenvogel.de
Mobil: +49 176 34911387
Web: http://www.steffenvogel.de
Jabber: st...@jabber.ccc.de
ICQ: 236033


signature.asc
Description: This is a digitally signed message part


Bug#696593: Sponsor?

2012-12-23 Thread Steffen Vogel
Hey *,
thanks for your great feedback!

 Would it be possible to have a name a bit less generic and short ? It is
 not a command-line tool that people are likely to use on a regular
 basis, as far as I can tell.

Uhm, you are right :-/ I've choosen 'sun' because of the signature of the tool:

usage: sun mode [options]
  mode is one of: rise, set, noon, daytime, nighttime

The name 'sun' allows you to create easy readable expressions like:

sun rise --query Sydney

Whats about 'solar' or 'suntime'? Any other suggestions?

 Sounds like an interesting project. Have you already uploaded your
 package to Debian mentors [1] to ask for sponsorship?

I've created a RFS [1]

 FWIW, two existing way to do that that are already in Debian
 are the packages remind and libdatetime-astro-sunrise-perl.

Yes, that's correct. I already knew that before I started working on 'sun'.
I decided to choose ANSI C as language to be fast an portable.
I planning to use 'sun' on a very small embedded system.

And second, the algorithm I used for this package keeps place for enhancements 
to
calculate the suns position (declination, rightascension).

I'm not really a fan of these perl-modules. That's not my understanding
of small, fast  portable tools as it is being contemplated in the UNIX 
paradigm.

There's already an updated upstream version. I added a simple caching
for geonames.org lookups. So I reuploaded the package to debian-mentors
[2].

Regards,
  Steffen Vogel

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696600
[2] http://mentors.debian.net/package/sun
-- 
Steffen Vogel
Robensstraße 69
52070 Aachen

Mail: p...@steffenvogel.de
Mobil: +49 176 34911387
Web: http://www.steffenvogel.de
Jabber: st...@jabber.ccc.de
ICQ: 236033


signature.asc
Description: This is a digitally signed message part


Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-23 Thread Steffen Vogel
Hi Gregor,

thanks for reviewing my package! I've fixed all points you mentioned.

There still the problem that the package name (sun) might be too generic
to be included in the archive. What do you think about this concern?
I've collected some alternatives:

solar
suncal
atsun
sunrun
suncycles - makes no sense to me

Am Sonntag, den 23.12.2012, 23:17 +0100 schrieb gregor herrmann:
 - The package doesn't build on a machine / in a chroot without
   internet access because the tests fail:

fixed. I moved the binary from the check_ prefix to the noinst_ prefix.
So it gets compiled for testing purposes but not installed by automake.

 - You can remove the override_dh_auto_configure in debian/rules if
   you use debhelper (= 9) in debian/control and 9 in debian/compat.

fixed.

 - Current Standards-Version is 3.9.4.

fixed.

 - You don't need the version restrictions for pkg-config libjson0-dev
   libcurl4-openssl-dev in debian/control, for all 3 packages there
   are no older versions in the archive.

fixed.

 - Please run lintian with all bells and whistles turned on against
   the .changes file. It reports for me:
   debian-watch-contains-dh_make-template and 
   3x hyphen-used-as-minus-sign for the manpage

fixed. I've run lintian with --pedantic -E. No more warnings are showing
up. Just debian-mentor's lintian claims:
  newer-standards-version  3.9.4 (current is 3.9.3)

 - Installing the empty NEWS file doesn't look so helpful :)
   (And I'd rename docs to sun.docs for consistency with
   sun.manpages.)

fixed. Automake requires the NEWS file. So, I removed it from
debian/sun.docs.

I uploaded a the updated package to debian-mentors [1].

Regards,
  Steffen

[1] http://mentors.debian.net/package/sun

-- 
Steffen Vogel
Robensstraße 69
52070 Aachen

Mail: p...@steffenvogel.de
Mobil: +49 176 34911387
Web: http://www.steffenvogel.de
Jabber: st...@jabber.ccc.de
ICQ: 236033


signature.asc
Description: This is a digitally signed message part