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
2a7680f2
Commit
2a7680f2
authored
Sep 22, 2018
by
Sean Davis
🕶
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use HTTPS where possible, update NEWS
parent
239529ee
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
22 deletions
+27
-22
NEWS
NEWS
+6
-1
README
README
+13
-13
configure.ac.in
configure.ac.in
+2
-2
panel-plugin/weather-search.c
panel-plugin/weather-search.c
+1
-1
panel-plugin/weather-summary.c
panel-plugin/weather-summary.c
+4
-4
panel-plugin/weather.h
panel-plugin/weather.h
+1
-1
No files found.
NEWS
View file @
2a7680f2
...
...
@@ -17,7 +17,12 @@ UNRELEASED
- libxfce4util-1.0 4.12.0+
- libxfce4ui-2 4.12.0+
- libxfce4panel-2.0 4.12.0+
- libsoup-2.4 2.42.0
- libsoup-2.4 2.42.0+
- Use HTTPS where possible
- Translation updates: Albanian, Belarusian, Bulgarian, Catalan,
Chinese (China), Croatian, Danish, Dutch, French, Galician, Hebrew,
Hungarian, Italian, Korean, Lithuanian, Polish, Portuguese (Brazil),
Russian, Serbian, Swedish, Turkish
0.8.10
======
...
...
README
View file @
2a7680f2
XFCE4
-
WEATHER
-
PLUGIN
==========================================================================
You
can
always
find
up
-
to
-
date
information
at
the
plugin
homepage
:
http
://
goodies
.
xfce
.
org
/
projects
/
panel
-
plugins
/
xfce4
-
weather
-
plugin
http
s
://
goodies
.
xfce
.
org
/
projects
/
panel
-
plugins
/
xfce4
-
weather
-
plugin
CONTENTS
...
...
@@ -67,7 +67,7 @@ is used for altitude and timezone detection. GeoNames requires one to
register
an
account
and
limits
requests
on
a
per
-
hour
and
per
-
day
basis
to
prevent
misuse
of
their
service
.
There
are
no
other
restrictions
and
registration
is
free
,
uncomplicated
and
takes
less
than
a
minute
(
http
://
www
.
geonames
.
org
/
export
/
web
-
services
.
html
).
than
a
minute
(
http
s
://
www
.
geonames
.
org
/
export
/
web
-
services
.
html
).
Performing
these
steps
will
ensure
automatic
altitude
and
timezone
detection
are
kept
operational
for
all
users
of
the
plugin
.
Currently
,
it
is
no
big
deal
and
only
a
precaution
,
as
there
are
likely
not
that
...
...
@@ -151,16 +151,16 @@ using gdb or any other debugger should the plugin crash:
BUILD REQUIREMENTS AND DEPENDENCIES
==========================================================================
To be able to build the plugin, the following requirements have to be
met in addition to those of XFCE-4.1
0
:
met in addition to those of XFCE-4.1
4
:
* >=libxml-2.4.0
* >=libsoup-2.
26
.0
* >=libsoup-2.
42
.0
* >=upower-0.9.0 (optional)
You might also need developer libraries necessary for building other
parts of XFCE. Usually autogen.sh / configure will tell you, otherwise
look at the XFCE build instructions http://docs.xfce.org/xfce/building
and the release information https://wiki.xfce.org/releng/4.1
0
/roadmap.
look at the XFCE build instructions http
s
://docs.xfce.org/xfce/building
and the release information https://wiki.xfce.org/releng/4.1
4
/roadmap.
EASY BUILD INSTRUCTIONS
...
...
@@ -168,7 +168,7 @@ EASY BUILD INSTRUCTIONS
If you'
re
interesting
in
building
the
plugin
yourself
,
these
instructions
provided
here
will
work
for
most
users
.
If
not
,
please
look
at
the
INSTALL
file
or
ask
at
a
forum
for
your
linux
distribution
or
try
the
methods
explained
on
http
://
www
.
xfce
.
org
/
community
.
Make
or
try
the
methods
explained
on
http
s
://
www
.
xfce
.
org
/
community
.
Make
sure
you
have
installed
the
needed
dependencies
(
see
previous
section
BUILD
REQUIREMENTS
AND
DEPENDENCIES
).
...
...
@@ -187,7 +187,7 @@ you have GNU automake installed!):
1
a
)
./
autogen
.
sh
--
prefix
=/
usr
Otherwise
,
if
you
've downloaded the tarball from e.g.
http://archive.xfce.org/, issue the following command:
http
s
://archive.xfce.org/, issue the following command:
1b) ./configure --prefix=/usr
...
...
@@ -416,10 +416,10 @@ package are under GPL by default.
2
)
Freedesktop
standardized
naming
scheme
--------------------------------------------------------------------------
It
was
suggested
(
http
://
mail
.
xfce
.
org
/
pipermail
/
xfce
/
2012
-
August
/
031180.
html
)
It
was
suggested
(
http
s
://
mail
.
xfce
.
org
/
pipermail
/
xfce
/
2012
-
August
/
031180.
html
)
to
make
use
of
icon
themes
implementing
the
freedesktop
standardized
naming
scheme
,
like
some
KDE
and
GNOME
application
do
,
for
reference
please
see
http
://
standard
s
.
freedesktop
.
org
/
icon
-
naming
-
spec
/
icon
-
naming
-
spec
-
latest
.
html
.
http
s
://
specification
s
.
freedesktop
.
org
/
icon
-
naming
-
spec
/
icon
-
naming
-
spec
-
latest
.
html
.
This
might
not
be
such
a
good
idea
,
however
,
because
*
the
standard
only
provides
a
limited
set
of
weather
icons
which
will
...
...
@@ -443,8 +443,8 @@ you can find lots of free-to-use icons and icon sets on the web!
--------------------------------------------------------------------------
In
August
2012
a
question
was
raised
about
the
license
of
the
Liquid
icon
theme
(
see
http
://
mail
.
xfce
.
org
/
pipermail
/
xfce
/
2012
-
August
/
031178.
html
and
http
://
mail
.
xfce
.
org
/
pipermail
/
xfce
/
2012
-
August
/
031188.
html
for
icon
theme
(
see
http
s
://
mail
.
xfce
.
org
/
pipermail
/
xfce
/
2012
-
August
/
031178.
html
and
http
s
://
mail
.
xfce
.
org
/
pipermail
/
xfce
/
2012
-
August
/
031188.
html
for
further
discussion
),
so
let
's elaborate a bit on that.
According to original author of the plugin, Bob Schlärmann, the
...
...
@@ -465,7 +465,7 @@ response.
An archived version of the website which contains information about
the previously available icon sets and the license is still available at
http://web.archive.org/web/20100724155753/http://liquidweather.net/icons.php:
http
s
://web.archive.org/web/20100724155753/http://liquidweather.net/icons.php:
"On this page, you'
ll
find
additional
iconsets
and
backgrounds
for
liquid
weather
++
-
please
note
that
the
backgrounds
are
not
easily
installable
with
versions
earlier
than
v9
.0
.
With
the
exception
of
the
...
...
configure.ac.in
View file @
2a7680f2
...
...
@@ -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-201
7
AC_COPYRIGHT([Copyright (c) 2006-201
8
The Xfce development team. All rights reserved.])
AC_INIT([xfce4-weather-plugin], [weather_version], [http://bugzilla.xfce.org/], [xfce4-weather-plugin])
AC_INIT([xfce4-weather-plugin], [weather_version], [http
s
://bugzilla.xfce.org/], [xfce4-weather-plugin])
AC_PREREQ([2.60])
AC_CONFIG_MACRO_DIR([m4])
...
...
panel-plugin/weather-search.c
View file @
2a7680f2
...
...
@@ -161,7 +161,7 @@ search_cb(GtkWidget *widget,
gtk_dialog_set_response_sensitive
(
GTK_DIALOG
(
dialog
->
dialog
),
GTK_RESPONSE_ACCEPT
,
FALSE
);
url
=
g_strdup_printf
(
"http://nominatim.openstreetmap.org/"
url
=
g_strdup_printf
(
"http
s
://nominatim.openstreetmap.org/"
"search?q=%s&format=xml"
,
sane_str
);
g_free
(
sane_str
);
...
...
panel-plugin/weather-summary.c
View file @
2a7680f2
...
...
@@ -570,15 +570,15 @@ create_summary_tab(plugin_data *data)
&
lnk_color
,
NULL
);
APPEND_BTEXT
(
_
(
"
\n
Credits
\n
"
));
APPEND_LINK_ITEM
(
_
(
"
\t
Encyclopedic information partly taken from
\n\t\t
"
),
_
(
"Wikipedia"
),
"http://wikipedia.org"
,
ltag_wiki
);
_
(
"Wikipedia"
),
"http
s
://wikipedia.org"
,
ltag_wiki
);
APPEND_LINK_ITEM
(
_
(
"
\n\t
Elevation and timezone data provided by
\n\t\t
"
),
_
(
"GeoNames"
),
"http://geonames.org/"
,
ltag_geonames
);
"http
s
://geonames.org/"
,
ltag_geonames
);
APPEND_LINK_ITEM
(
_
(
"
\n\t
Weather and astronomical data from
\n\t\t
"
),
_
(
"The Norwegian Meteorological Institute"
),
"http://met.no/"
,
ltag_metno
);
"http
s
://met.no/"
,
ltag_metno
);
g_object_set_data_full
(
G_OBJECT
(
ltag_img
),
"url"
,
/* url for image */
g_strdup
(
"http://met.no"
),
g_free
);
g_strdup
(
"http
s
://met.no"
),
g_free
);
g_signal_connect
(
G_OBJECT
(
view
),
"motion-notify-event"
,
G_CALLBACK
(
view_motion_notify
),
sum
);
...
...
panel-plugin/weather.h
View file @
2a7680f2
...
...
@@ -27,7 +27,7 @@
#endif
#include "weather-icon.h"
#define PLUGIN_WEBSITE "http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin"
#define PLUGIN_WEBSITE "http
s
://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin"
#define MAX_FORECAST_DAYS 10
#define DEFAULT_FORECAST_DAYS 5
#define MAX_SCROLLBOX_LINES 10
...
...
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