GithubHelp home page GithubHelp logo

dirli / budgie-weather-applet Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 2.0 118 KB

Dlsplays the current weather for the selected location

License: GNU General Public License v2.0

Meson 5.78% Python 0.98% Vala 93.24%
budgie budgie-applet solus

budgie-weather-applet's People

Contributors

dirli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

vredesbyyrd

budgie-weather-applet's Issues

Change of location in applet, is not a real time

After installing weather applet (Here, Ubuntu 18.10, Budgie Desktop), after selecting initial location, if I want to change this - I am able to do so through applet configuration but the change does not take place in real time. I need to restart the system in order to see the location change

Add Dark Sky as a Weather Provider for Budgie Weather Applet

I had previously posted this on the Ubuntu Budgie Extras GitHub page, due to not realizing that the applet had been forked.

Can you please add Dark Sky as a weather provider, and require the user to provide their own API key

Most commercial weather providers are politically biased as to where I live, and as a result, they either refuse to show the weather at all, or claim that I live in a country that only "exists" politically, and outright ignore my country.
From what I see, GWeather does the latter.

OpenWeather, while not being politically inclined (thank goodness), still does not have accurate results in my area (but it is getting better as time progresses).
From my research, Dark Sky is the only provider I have mananaged to find that is:

  1. Not politically inclined;
  2. Provides accurate results in my area;
    And 3. Provides a public API.

Compilation issue on Ubuntu Budgie 18.04

Native dependency glib-2.0 found: YES 2.56.3
Program meson/meson_post_install.py found: YES (/usr/bin/env python3 /<<PKGBUILDDIR>>/meson/meson_post_install.py)
Build targets in project: 6
Found ninja-1.8.2 at /usr/bin/ninja
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd build && ninja -v
[1/11] glib-compile-resources /<<PKGBUILDDIR>>/data/plugin.gresource.xml --sourcedir /<<PKGBUILDDIR>>/data --sourcedir ../src --internal --generate --target src/bwa-resources.c --dependency-file src/bwa-resources.c.d
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
[2/11] glib-compile-resources /<<PKGBUILDDIR>>/data/plugin.gresource.xml --sourcedir /<<PKGBUILDDIR>>/data --sourcedir ../src --internal --generate --target src/bwa-resources.h
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
[3/11] valac -C --debug --pkg gweather-3.0 --pkg libsoup-2.4 --pkg json-glib-1.0 --pkg budgie-1.0 --pkg libpeas-1.0 --target-glib ' 2.46.0' --pkg glib-2.0 --pkg gtk+-3.0 --color=always --directory src/budgieweatherapplet@sha --basedir ../src --library budgieweatherapplet --header src/budgieweatherapplet.h --vapi ../budgieweatherapplet.vapi --gresources=/<<PKGBUILDDIR>>/data/plugin.gresource.xml ../src/WeatherApplet.vala ../src/Widgets/AppletSettings.vala ../src/Widgets/Popover.vala ../src/Providers/LibGWeather.vala ../src/WeatherInfo.vala ../src/ILogindManager.vala
FAILED: src/budgieweatherapplet@sha/WeatherApplet.c src/budgieweatherapplet@sha/Widgets/AppletSettings.c src/budgieweatherapplet@sha/Widgets/Popover.c src/budgieweatherapplet@sha/Providers/LibGWeather.c src/budgieweatherapplet@sha/WeatherInfo.c src/budgieweatherapplet@sha/ILogindManager.c src/budgieweatherapplet.h src/budgieweatherapplet.vapi 
valac -C --debug --pkg gweather-3.0 --pkg libsoup-2.4 --pkg json-glib-1.0 --pkg budgie-1.0 --pkg libpeas-1.0 --target-glib ' 2.46.0' --pkg glib-2.0 --pkg gtk+-3.0 --color=always --directory src/budgieweatherapplet@sha --basedir ../src --library budgieweatherapplet --header src/budgieweatherapplet.h --vapi ../budgieweatherapplet.vapi --gresources=/<<PKGBUILDDIR>>/data/plugin.gresource.xml ../src/WeatherApplet.vala ../src/Widgets/AppletSettings.vala ../src/Widgets/Popover.vala ../src/Providers/LibGWeather.vala ../src/WeatherInfo.vala ../src/ILogindManager.vala
../src/WeatherApplet.vala:127.28-127.45: error: 1 missing arguments for `void GLib.DateTime.now (GLib.TimeZone)'
            DateTime now = new DateTime.now();
                           ^^^^^^^^^^^^^^^^^^

Looking here https://valadoc.org/glib-2.0/GLib.DateTime.DateTime.now.html it does appear that "now" is missing a parameter.

maybe use now_local ?https://valadoc.org/glib-2.0/GLib.DateTime.DateTime.now_local.html

Metric / Imperial units need to be manually set.

ENV info:

  • Budgie-Desktop 10.4+250+g0f5a51c8-1
  • Arch linux
  • GTK3 3.24.5-1
  • Glib2 2.60.0-1

Hi, I have been testing the latest changes and here is an issue I have ran into.

  • detecting/setting metric or imperial units automatically based on location ip, or when manually setting the location does not work. I am located in a country that still uses imperial units (stupid) , and I have to manually set the unit via dconf.

This is not a big deal to me, but figured I should report it nonetheless.

Panel crashes searching for location

ENV info:

  • Budgie-Desktop 10.4+250+g0f5a51c8-1
  • Arch linux
  • GTK3 3.24.5-1
  • Glib2 2.60.0-1

Hi, I have been testing the latest changes and they look great. Although I have ran into an issue on commit 9155fb8

  • when searching for a location that is not immediately found, the plugin will crash the panel. nohup budgie-panel --replace& will bring it back up.

Here is the log for the panel crash when searching. I am not very familiar with vala, but if there is anything I can do let me know.

budgie-weather-crash-log.txt

issue with libgweather 3.28.3

Hi, thanks for sharing this plugin.

On arch linux libgweather was recently updated to 3.28.3, with that update this plugin no longer pulls in any weather info. The popover and panel just display blank. I tried recompiling hoping to get some clues but it compiles without issue. You can see libgweather's relevant commit history here

I have not been able to narrow down what change in 3.28.3 is responsible. For now I am just staying on 3.28.2, but figured I should file this to make the issue known.

Thanks for your time. Cheers.

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.