Coder Social home page Coder Social logo

rodoviario / libmateweather Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mate-desktop/libmateweather

0.0 1.0 0.0 11.06 MB

Library to access weather information from online services

Home Page: https://mate-desktop.org

License: GNU Lesser General Public License v2.1

Shell 0.97% Perl 1.47% C 79.77% XSLT 0.73% Makefile 14.63% M4 2.42%

libmateweather's Introduction

libmateweather is a libgnomeweather fork.

libmateweather is a library to access weather information from online
services for numerous locations.

libmateweather isn't supported in the devel platform, which means OS vendors 
won't guarantee the API/ABI long-term, but authors of open source apps
should feel free to use libmateweather as users can always recompile against
a new version.  

To use libmateweather in your code, you need to define the 
MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE preprecessor symbol, e.g. by adding
-DMATEWEATHER_I_KNOW_THIS_IS_UNSTABLE to your CFLAGS.


HOW TO TRANSLATE THE DEFAULT LOCATION DATA
------------------------------------------

To translate the default location, enter the data for the largest city on your
locale as follows: (Location Data for en_US.UTF-8: «Washington, D.C. US»)

    msgid "'DEFAULT_LOCATION'"
    msgstr "'Washington'"

    msgid "'DEFAULT_CODE'"
    msgstr "'KOCW'"

    msgid "'DEFAULT_ZONE'"
    msgstr "'America/New_York'"

    msgid "'DEFAULT_RADAR'"
    msgstr "' '"

    msgid "'DEFAULT_COORDINATES'"
    msgstr "'35.570557 -77.049721'"

You can retrieve the required data if you have set your location on the clock
panel applet:

    $ dconf read /org/mate/panel/objects/clock/prefs/cities 
    ['<location name="" city="Washington" timezone="America/New_York"
    latitude="35.570557" longitude="-77.049721" code="KOCW" current="false"/>']

libmateweather's People

Contributors

raveit65 avatar stefano-k avatar monsta avatar infirit avatar rbuj avatar sc0w avatar szesch avatar yetist avatar flexiondotorg avatar perberos avatar piotrdrag avatar tamplan avatar mejans avatar glensc avatar zhuyaliang avatar rezso avatar muesli4 avatar lukefromdc avatar willysr avatar vkareh avatar rodoviario avatar rnagy avatar sunweaver avatar jpjust avatar goetzc avatar dmashal avatar benpicco avatar crayxt avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.