Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
xfce4-weather-plugin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Panel Plugins
xfce4-weather-plugin
Commits
b11e3056
Commit
b11e3056
authored
Jul 05, 2020
by
Romain Bouvier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update copyright/bugzilla URLs
parent
97601ab2
Pipeline
#1137
passed with stages
in 1 minute and 13 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
19 deletions
+21
-19
README
README
+13
-11
configure.ac.in
configure.ac.in
+2
-2
panel-plugin/weather-summary.c
panel-plugin/weather-summary.c
+5
-5
panel-plugin/weather.c
panel-plugin/weather.c
+1
-1
No files found.
README
View file @
b11e3056
...
...
@@ -92,8 +92,8 @@ left open by the former:
https
://
api
.
met
.
no
/
license_data
.
html
*
Service
-
specific
documentation
https
://
api
.
met
.
no
/
weatherapi
/
locationforecast
lts
/
1.3
/
documentation
https
://
api
.
met
.
no
/
weatherapi
/
sunrise
/
1.1
/
documentation
https
://
api
.
met
.
no
/
weatherapi
/
locationforecast
/
2.0
/
documentation
https
://
api
.
met
.
no
/
weatherapi
/
sunrise
/
2.0
/
documentation
For
more
technical
details
you
might
need
to
study
the
XML
schema
corresponding
to
the
document
in
question
.
...
...
@@ -101,11 +101,11 @@ corresponding to the document in question.
DEBUGGING
AND
REPORTING
BUGS
==========================================================================
Before
reporting
bugs
or
asking
for
new
features
,
please
consolidate
the
Xfce
bug
tracker
at
https
://
bugzilla
.
xfce
.
org
and
check
the
TODO
file
,
because
your
issue
or
request
might
have
been
reported
already
or
be
in
planning
.
However
,
feel
free
to
add
any
information
not
yet
mentioned
that
you
find
useful
.
Before
reporting
bugs
or
asking
for
new
features
,
please
open
an
issue
on
https
://
gitlab
.
xfce
.
org
/
panel
-
plugins
/
xfce4
-
weather
-
plugin
/
and
check
the
TODO
file
,
because
your
issue
or
request
might
have
been
reported
already
or
be
in
planning
.
However
,
feel
free
to
add
any
information
not
yet
mentioned
that
you
find
useful
.
First
,
if
you
're having trouble with downloading data, then you might
look at the warnings in the panel output. In case of an error, the
...
...
@@ -131,7 +131,7 @@ prove insightful to enable panel debugging as follows:
This
will
make
the
plugin
explain
what
it
's currently doing and dump
data it downloaded from the various sources. More information about
debugging panel plugins can be obtained from several pages of the Xfce
Wiki at https://
wiki.xfce.or
g.
Wiki at https://
docs.xfce.org/xfce/xfce4-panel/debuggin
g.
It'
s
also
relatively
easy
and
often
very
helpful
to
create
a
backtrace
using
gdb
or
any
other
debugger
should
the
plugin
crash
:
...
...
@@ -144,7 +144,8 @@ using gdb or any other debugger should the plugin crash:
4) Produce the crash if possible, or wait until it crashes.
5) GDB will detect the crash and freeze the plugin again. Use '
bt
' to
print a nice backtrace. Report the issue to the Xfce bugtracker at
https://bugzilla.xfce.org, providing the backtrace.
https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin,
providing the backtrace.
6) '
quit
' exits the debugger.
...
...
@@ -206,8 +207,9 @@ is to ask at a forum for your distribution, not on a general forum.
Then
for
both
cases
:
2
)
make
If
this
fails
,
file
a
bug
on
https
://
bugzilla
.
xfce
.
org
,
or
send
a
mail
to
the
xfce
mailing
list
and
provide
make
output
.
If
this
fails
,
file
a
bug
on
https
://
gitlab
.
xfce
.
org
/
panel
-
plugins
/
xfce4
-
weather
-
plugin
,
or
send
a
mail
to
the
xfce
mailing
list
and
provide
make
output
.
Finally
,
and
usually
as
root
:
3
)
make
install
...
...
configure.ac.in
View file @
b11e3056
...
...
@@ -18,9 +18,9 @@ m4_define([weather_version], [weather_version_major().weather_version_minor().we
dnl ***************************
dnl *** Initialize autoconf ***
dnl ***************************
AC_COPYRIGHT([Copyright (c) 2006-20
18
AC_COPYRIGHT([Copyright (c) 2006-20
20
The Xfce development team. All rights reserved.])
AC_INIT([xfce4-weather-plugin], [weather_version], [https://
bugzilla.xfce.org/
], [xfce4-weather-plugin])
AC_INIT([xfce4-weather-plugin], [weather_version], [https://
gitlab.xfce.org/panel-plugins/xfce4-weather-plugin
], [xfce4-weather-plugin])
AC_PREREQ([2.60])
AC_CONFIG_MACRO_DIR([m4])
...
...
panel-plugin/weather-summary.c
View file @
b11e3056
...
...
@@ -408,12 +408,12 @@ create_summary_tab(plugin_data *data)
/* Check for deprecated API and issue a warning if necessary */
if
(
data
->
weather_update
->
http_status_code
==
203
)
APPEND_BTEXT
(
_
(
"
\t
Met.no Locationforecast
LTS
API states that this version
\n
"
(
_
(
"
\t
Met.no Locationforecast API states that this version
\n
"
"
\t
of the webservice is deprecated, and the plugin needs to be
\n
"
"
\t
adapted to use a newer version, or it will stop working within
\n
"
"
\t
a few months.
\n
"
"
\t
Please file a bug on https://
bugzilla.xfce.org if no one
\n
"
"
\t
else has done so yet.
\n\n
"
));
"
\t
Please file a bug on https://
gitlab.xfce.org/panel-plugins/xfce4-weather-plugin/
\n
"
"
\t
if no one
else has done so yet.
\n\n
"
));
last_download
=
format_date
(
data
->
astro_update
->
last
,
NULL
,
TRUE
);
next_download
=
format_date
(
data
->
astro_update
->
next
,
NULL
,
TRUE
);
...
...
@@ -434,8 +434,8 @@ create_summary_tab(plugin_data *data)
(
_
(
"
\n\t
Met.no sunrise API states that this version of the webservice
\n
"
"
\t
is deprecated, and the plugin needs to be adapted to use
\n
"
"
\t
a newer version, or it will stop working within a few months.
\n
"
"
\t
Please file a bug on https://
bugzilla.xfce.org if no one
\n
"
"
\t
else has done so yet.
\n
"
));
"
\t
Please file a bug on https://
gitlab.xfce.org/panel-plugins/xfce4-weather-plugin/
\n
"
"
\t
if no one else has done so yet.
\n
\n
"
));
/* calculation times */
APPEND_BTEXT
(
_
(
"
\n
Times Used for Calculations
\n
"
));
...
...
panel-plugin/weather.c
View file @
b11e3056
...
...
@@ -1715,7 +1715,7 @@ weather_get_tooltip_text(const plugin_data *data)
gchar
*
windspeed
,
*
windbeau
,
*
winddir
,
*
winddeg
;
gchar
*
pressure
,
*
humidity
,
*
precipitation
;
gchar
*
fog
,
*
cloudiness
,
*
sunval
,
*
value
;
gchar
*
point
,
*
interval_start
,
*
interval_end
,
*
sunrise
,
*
sunset
;
gchar
*
point
,
*
interval_start
,
*
interval_end
,
*
sunrise
,
*
sunset
=
NULL
;
const
gchar
*
unit
;
conditions
=
get_current_conditions
(
data
->
weatherdata
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment