[gnome-internet-radio-locator] Fix broken stuff, bump version and credit the Hungarian translator
- From: ole <ole src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-internet-radio-locator] Fix broken stuff, bump version and credit the Hungarian translator
- Date: Sat, 17 Feb 2018 14:46:03 +0000 (UTC)
commit 1e2354f6804885adfe34c1d377b59cb259c69cbc
Author: Ole Aamot <oka oka no>
Date: Sat Feb 17 15:45:09 2018 +0100
Fix broken stuff, bump version and credit the Hungarian translator
NEWS | 8 ++++
configure.ac | 3 +-
src/gnome-internet-radio-locator.c | 64 +++++++++++++++++-----------------
src/gnome-internet-radio-locator.xml | 16 +--------
4 files changed, 42 insertions(+), 49 deletions(-)
---
diff --git a/NEWS b/NEWS
index 7664e45..0943728 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,12 @@
=============
+Version 1.0.4
+=============
+
+Translations
+
+ * Balazs Mesko (hu)
+
+=============
Version 1.0.3
=============
diff --git a/configure.ac b/configure.ac
index 6b50fc4..c7d9f95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT(gnome-internet-radio-locator,1.0.3)
+AC_INIT(gnome-internet-radio-locator,1.0.4)
AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar subdir-objects])
AM_MAINTAINER_MODE
AC_CONFIG_SRCDIR([src/gnome-internet-radio-locator.c])
@@ -74,7 +74,6 @@ PKG_CHECK_MODULES(GNOME_INTERNET_RADIO_LOCATOR,
gstreamer-tag-1.0 >= 1.0 \
gstreamer-video-1.0 \
gtk+-3.0 >= 3.0 \
- libsoup-2.4 >= 0.29.1 \
libxml-2.0 >= 2.0 \
pangoft2 >= 0.28)
diff --git a/src/gnome-internet-radio-locator.c b/src/gnome-internet-radio-locator.c
index 2ee942c..de184a6 100644
--- a/src/gnome-internet-radio-locator.c
+++ b/src/gnome-internet-radio-locator.c
@@ -690,37 +690,37 @@ on_search_matches(GtkEntryCompletion *widget,
gtk_tree_model_get_value(model, iter, STATION_LOCATION, &city);
gtk_tree_model_get_value(model, iter, STATION_URI, &value);
gtk_tree_model_get_value(model, iter, STATION_NAME, &station_name);
- g_print ("on_search_matches: %s\n", (gchar *)g_value_get_string(&city));
- location = (gchar *)g_value_get_string(&city);
- town = strtok(location, ", ");
- country = strtok(NULL, " ");
-/* Handle U.S. states
- geocode_place_set_country (place, "United States of America");
- country = geocode_place_get_state (country);
-*/
- place = geocode_place_new((gchar *)g_value_get_string(&station_name),
GEOCODE_PLACE_TYPE_MISCELLANEOUS);
-
- g_print ("geocode_place_new:town: %s\n", geocode_place_get_town(place));
- g_print ("geocode_place_new:country: %s\n", geocode_place_get_country(place));
-
- geocode_place_set_town (place, town);
- geocode_place_set_country(place, country);
-
- geocode_nominatim = geocode_nominatim_new ("https://nominatim.gnome.org/", "ole gnome org");
-
- g_print ("geocode_place_get_town: %s\n", geocode_place_get_town(place));
- g_print ("geocode_place_get_country: %s\n", geocode_place_get_country(place));
- /* g_print ("%s\n", geocode_nominatim_get_city(geocode_nominatim)); */
-
- reverse_city = geocode_reverse_new_for_location(geocode_location);
- place = geocode_reverse_resolve(reverse_city, err);
-
- geocode_location = geocode_place_get_location(place);
- g_print ("%f7.3\n", geocode_location_get_latitude(geocode_location));
- lat = geocode_location_get_latitude(geocode_location);
- lon = geocode_location_get_longitude(geocode_location);
- g_print ("lat: %ld\n", lat);
- g_print ("lon: %ld\n", lon);
+/* g_print ("on_search_matches: %s\n", (gchar *)g_value_get_string(&city)); */
+/* location = (gchar *)g_value_get_string(&city); */
+/* town = strtok(location, ", "); */
+/* country = strtok(NULL, " "); */
+/* /\* Handle U.S. states */
+/* geocode_place_set_country (place, "United States of America"); */
+/* country = geocode_place_get_state (country); */
+/* *\/ */
+/* place = geocode_place_new((gchar *)g_value_get_string(&station_name),
GEOCODE_PLACE_TYPE_MISCELLANEOUS); */
+
+/* g_print ("geocode_place_new:town: %s\n", geocode_place_get_town(place)); */
+/* g_print ("geocode_place_new:country: %s\n", geocode_place_get_country(place)); */
+
+/* geocode_place_set_town (place, town); */
+/* geocode_place_set_country(place, country); */
+
+/* geocode_nominatim = geocode_nominatim_new ("https://nominatim.gnome.org/", "ole gnome org"); */
+
+/* g_print ("geocode_place_get_town: %s\n", geocode_place_get_town(place)); */
+/* g_print ("geocode_place_get_country: %s\n", geocode_place_get_country(place)); */
+/* /\* g_print ("%s\n", geocode_nominatim_get_city(geocode_nominatim)); *\/ */
+
+/* reverse_city = geocode_reverse_new_for_location(geocode_location); */
+/* place = geocode_reverse_resolve(reverse_city, err); */
+
+/* geocode_location = geocode_place_get_location(place); */
+/* g_print ("%f7.3\n", geocode_location_get_latitude(geocode_location)); */
+/* lat = geocode_location_get_latitude(geocode_location); */
+/* lon = geocode_location_get_longitude(geocode_location); */
+/* g_print ("lat: %ld\n", lat); */
+/* g_print ("lon: %ld\n", lon); */
/*
location_city = geocode_location_new (lat, lon, GEOCODE_LOCATION_ACCURACY_CITY);
@@ -732,7 +732,7 @@ on_search_matches(GtkEntryCompletion *widget,
name_city = geocode_place_get_town (place_city);
name_country = geocode_place_get_country (place_country);
*/
- champlain_view_center_on (CHAMPLAIN_VIEW (view),lat,lon);
+ /* champlain_view_center_on (CHAMPLAIN_VIEW (view),lat,lon); */
gnome_internet_radio_locator_player_stop(player);
player = gst_player_new (NULL, gst_player_g_main_context_signal_dispatcher_new(NULL));
/* g_object_set_data(G_OBJECT(widget), "station_uri", g_value_get_string(&value)); */
diff --git a/src/gnome-internet-radio-locator.xml b/src/gnome-internet-radio-locator.xml
index 6c5f1f5..fdd99c1 100644
--- a/src/gnome-internet-radio-locator.xml
+++ b/src/gnome-internet-radio-locator.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl"
href="https://people.gnome.org/~ole/gnome-internet-radio-locator/gnome-internet-radio-locator.xsl" ?>
<!DOCTYPE gnome_internet_radio_locator SYSTEM "gnome-internet-radio-locator-0.1.dtd">
-<gnome_internet_radio_locator version="1.0.3">
+<gnome_internet_radio_locator version="1.0.4">
<station band="ONLINE" id="drnyheder" lang="da" name="Danmarks Radio Nyheder" rank="1.0" type="gov">
<frequency uri="http://www.dr.dk/nyheder">FM 93.3 in Aalborg</frequency>
<location>Copenhagen, Denmark</location>
@@ -1052,18 +1052,4 @@ Behind the scenes we rely on our fantastic technical, musical and promotional te
<stream mime="audio/aac" uri="http://ice1.somafm.com/defcon-32-aac" codec="MPEG-2 AAC" samplerate="44100
Hz" channels="Stereo" bitrate="32 kbps" />
<uri>http://somafm.com/</uri>
</station>
- <station band="ONLINE" id="radionorwegian" lang="en" name="Radio Norwegian" rank="1.0" type="org">
- <frequency uri="http://www.radionorwegian.com/">ONLINE in Oslo, Norway</frequency>
- <location>Oslo, Norway</location>
- <description lang="en">
- Free Radio broadcast supported by the GNOME Foundation.
- </description>
- <stream mime="audio/ogg" uri="http://stream.radionorwegian.com:8000/128.ogg" codec="Ogg Vorbis"
samplerate="44100 Hz" channels="Stereo" bitrate="128 kbps" />
- <stream mime="audio/ogg" uri="http://stream.radionorwegian.com:8000/112.ogg" codec="Ogg Vorbis"
samplerate="44100 Hz" channels="Stereo" bitrate="112 kbps" />
- <stream mime="audio/ogg" uri="http://stream.radionorwegian.com:8000/96.ogg" codec="Ogg Vorbis"
samplerate="44100 Hz" channels="Stereo" bitrate="96 kbps" />
- <stream mime="audio/ogg" uri="http://stream.radionorwegian.com:8000/80.ogg" codec="Ogg Vorbis"
samplerate="44100 Hz" channels="Stereo" bitrate="80 kbps" />
- <stream mime="audio/ogg" uri="http://stream.radionorwegian.com:8000/64.ogg" codec="Ogg Vorbis"
samplerate="44100 Hz" channels="Stereo" bitrate="64 kbps" />
- <stream mime="audio/ogg" uri="http://stream.radionorwegian.com:8000/56.ogg" codec="Ogg Vorbis"
samplerate="44100 Hz" channels="Stereo" bitrate="56 kbps" />
- <uri>http://www.radionorwegian.com/</uri>
- </station>
</gnome_internet_radio_locator>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]