Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
git-svn-id: https://vcs.maemo.org/svn/omweather/trunk@3090 5aa3d57c-301e-0410-a7f2-8fec96c11689
  • Loading branch information
vasvlad committed Aug 16, 2009
1 parent 8c1977a commit 912494d
Show file tree
Hide file tree
Showing 20 changed files with 949 additions and 0 deletions.
2 changes: 2 additions & 0 deletions omweather-gismeteo-ru-stations-db/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Vlad Vasiliev <[email protected]>
Pavel Fialko <[email protected]>
2 changes: 2 additions & 0 deletions omweather-gismeteo-ru-stations-db/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0.1
* Inintial release
6 changes: 6 additions & 0 deletions omweather-gismeteo-ru-stations-db/INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
You will need Maemo develoment environment to build deb-package,
or download deb-package from https://garage.maemo.org/projects/omweather/




31 changes: 31 additions & 0 deletions omweather-gismeteo-ru-stations-db/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# vim: set sw=4 ts=4 et:
#
# This file is part of omweather-gismeteo-ru-source
#
# Copyright (C) 2009 Vlad Vasiliev
# Copyright (C) 2009 Pavel Fialko
# for the code
#
# This software is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.
#
# This software is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this software; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA

SUBDIRS = src data

EXTRA_DIST = autogen.sh \
debian/changelog \
debian/compat \
debian/copyright \
debian/control \
debian/rules
Empty file.
4 changes: 4 additions & 0 deletions omweather-gismeteo-ru-stations-db/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
OMWeather gismeteo.ru source library

Copyright(c) 2009 Vlad Vasiliev
Copyright(c) 2009 Pavel Fialko
11 changes: 11 additions & 0 deletions omweather-gismeteo-ru-stations-db/autogen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

set -x
glib-gettextize --copy --force
libtoolize --automake --copy --force
aclocal
intltoolize --automake --copy --force
autoconf --force
autoheader --force
automake --add-missing --copy --force-missing --foreign

42 changes: 42 additions & 0 deletions omweather-gismeteo-ru-stations-db/configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
AC_PREREQ(2.59)
AC_INIT(omweather-gismeteo-ru-source, 0.1)
AM_INIT_AUTOMAKE(omweather-gismeteo-ru-source, 0.1)
AC_CONFIG_HEADER([src/config.h:src/config.h.in])
AC_CONFIG_SRCDIR([src/main.c])
AC_CANONICAL_HOST
AC_GNU_SOURCE
dnl Checks for programs.
AC_PROG_CC
AC_PROG_CPP
AC_PROG_CXX
AC_PROG_LN_S
AC_PROG_RANLIB
AC_PROG_LIBTOOL
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_STRUCT_TM
dnl Checks for library functions.
AC_CHECK_FUNCS([memset])
AC_CHECK_FUNCS([strrchr])
AC_CHECK_FUNCS([strstr])
AC_FUNC_STRFTIME
dnl glibc2 needs this
AC_DEFINE([_XOPEN_SOURCE], [1], [glibc2 needs this])
dnl check packages
PKG_CHECK_MODULES(GTK, [gtk+-2.0])
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)

PKG_CHECK_MODULES(LIBXML2, [libxml-2.0 >= 2.6.16])
AC_SUBST(LIBXML2_LIBS)
AC_SUBST(LIBXML2_CFLAGS)

dnl Config files
AC_CONFIG_FILES([Makefile
src/Makefile
data/Makefile])
dnl Produce output files
AC_OUTPUT
33 changes: 33 additions & 0 deletions omweather-gismeteo-ru-stations-db/data/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# vim: set sw=4 ts=4 et:
#
# This file is part of omweather-gismeteo-ru-source
#
# Copyright (C) 2009 Vlad Vasiliev
# Copyright (C) 2009 Pavel Fialko
# for the code
#
# This software is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.
#
# This software is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this software; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA

omweather_gismeteo_ru_sourcedir = $(datadir)/omweather/sources
omweather_gismeteo_ru_source_DATA = gismeteo.ru.xml

omweather_gismeteo_ru_source_dbdir = $(datadir)/omweather/db
omweather_gismeteo_ru_source_db_DATA = gismeteo.ru.db

copyright_iconsdir = $(datadir)/omweather/copyright_icons
copyright_icons_DATA = gismeteo.ru.png


Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions omweather-gismeteo-ru-stations-db/data/gismeteo.ru.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<source xmlns="https://garage.maemo.org/projects/omweather/">
<name>gismeteo.ru</name>
<logo>gismeteo.ru.png</logo>
<base>gismeteo.ru.db</base>
<forecast url="http://wap.gismeteo.ru/gm/normal/node/prognoz_week/3/?field_wmo=%s&amp;field_index=%s" />
<detail url="http://xml.weather.com/weather/local/%s?cm_ven=1CW&amp;site=wx.com-bar&amp;cm_ite=wx-cc&amp;par=1CWFFv1.1.8&amp;cm_pla=wx.com-bar&amp;cm_cat=FFv1.1.8&amp;unit=m&amp;dayf=1&amp;hbhf=12" />
<search url="http://xoap.weather.com/search/search?where=%s" />
<library>libomweather-gismeteo-ru-source.so</library>
</source>
5 changes: 5 additions & 0 deletions omweather-gismeteo-ru-stations-db/debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
omweather-gismeteo-ru-stations-db (0.1) unstable; urgency=low

* Initial release.

-- Vlad Vasiliev <[email protected]> Mon, 17 Aug 2009 19:53:20 +0200
1 change: 1 addition & 0 deletions omweather-gismeteo-ru-stations-db/debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4
50 changes: 50 additions & 0 deletions omweather-gismeteo-ru-stations-db/debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
Source: omweather-gismeteo-ru-stations-db
Section: user/accessories
Priority: optional
Maintainer: Vlad Vasiliev <[email protected]>
Build-Depends: debhelper (>= 4.0.0), libxml2-dev, libgtk2.0-dev
Standards-Version: 3.6.0

Package: omweather-gismeteo-ru-stations-db
Architecture: any
Depends: ${shlibs:Depends}
Provides: omweather-stations-db
Description: Stations database and source lib for gismeteo.ru
for Other Maemo Weather
© 2009 by Vlad Vasiliev and Pavel Fialko
XB-Maemo-Icon-26:
iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A
/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9gLHgk7K2pwCKgAAAAZdEVYdENv
bW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAGyElEQVRIx5WWa3BVVx3Ff3ufc+47lya5gcgj
CQ0gQkptI0KRoQyOwxQr08o4OGpbP2mtFscM06E4A4wdWlBRaVGqFsZS2wFE4gcehRQJyBsSLMgj
0CRgEkJubm4eN4/7OOf8/XAvJJR21DWz5uwP55y19tr/vfcfhmEA3srKyorq6urq2trahkOHDl3e
vHnzz/1+fwGgAJ2j4v+EAlBK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ions omweather-gismeteo-ru-stations-db/debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
This file is part of omweather-weather-com-stations-db

Copyright (C) 2009 Vlad Vasiliev
Copyright (C) 2009 Pavel Fialko
for the code

This software is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this software; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA

94 changes: 94 additions & 0 deletions omweather-gismeteo-ru-stations-db/debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1


CFLAGS = -Wall -pedantic -DRELEASE

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif

configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --disable-static
touch configure-stamp

build: build-stamp

build-stamp: configure-stamp
dh_testdir

# Add here commands to compile the package.
$(MAKE)

touch build-stamp

clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp

# Add here commands to clean up after the build process.
-$(MAKE) clean

dh_clean

install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs

# Add here commands to install the package
$(MAKE) install DESTDIR=$(CURDIR)/debian/omweather-gismeteo-ru-stations-db


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
# dh_installchangelogs
# dh_installdocs
# dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_python
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
33 changes: 33 additions & 0 deletions omweather-gismeteo-ru-stations-db/src/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# vim: set sw=4 ts=4 et:
#
# This file is part of omweather-gismeteo-ru-source
#
# Copyright (C) 2009 Vlad Vasiliev
# Copyright (C) 2009 Pavel Fialko
# for the code
#
# This software is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.
#
# This software is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this software; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA

libhhdir = /usr/lib/omweather
libhh_LTLIBRARIES = libomweather-gismeteo-ru-source.la
libomweather_gismeteo_ru_source_la_SOURCES = main.c main.h
libomweather_gismeteo_ru_source_la_CFLAGS = $(GTK_CFLAGS) $(LIBXML2_CFLAGS) \
-Wall -pedantic
libomweather_gismeteo_ru_source_la_LDFLAGS = -module -avoid-version
libomweather_gismeteo_ru_source_la_LIBADD = $(GTK_LIBS) $(LIBXML2_LIBS)

clean-local:
$(RM) *.core core core.* stamp-*.h *~
Loading

0 comments on commit 912494d

Please sign in to comment.