summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /gnome-extra/gnome-weather
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'gnome-extra/gnome-weather')
-rw-r--r--gnome-extra/gnome-weather/Manifest2
-rw-r--r--gnome-extra/gnome-weather/files/gnome-weather-3.8.2-temp-unit.patch59
-rw-r--r--gnome-extra/gnome-weather/gnome-weather-3.14.1.ebuild34
-rw-r--r--gnome-extra/gnome-weather/gnome-weather-3.16.2.1.ebuild38
-rw-r--r--gnome-extra/gnome-weather/metadata.xml5
5 files changed, 138 insertions, 0 deletions
diff --git a/gnome-extra/gnome-weather/Manifest b/gnome-extra/gnome-weather/Manifest
new file mode 100644
index 000000000000..498860b2e937
--- /dev/null
+++ b/gnome-extra/gnome-weather/Manifest
@@ -0,0 +1,2 @@
+DIST gnome-weather-3.14.1.tar.xz 10520072 SHA256 e3acea9b5e9e7dd5e9d51c2793c568ea7378b08b4de1bcfe7f0b8b3c2004fe87 SHA512 e167fe07aacc0af8aa30ee40f8aca83e735ddc3c7278b221f09fecc82d513f90250e6079425dc04d4ae865a4a265753b9332234795326a84d7b3b1a228f4afa1 WHIRLPOOL 69a9f3ed5a947f3e4f681c9aa8c6a73f772b4496401a61456e33173cf23ebc34fd8a0711aee6bef889c7077c9cb6141e7036de454356ca9932f7b5d13210eca2
+DIST gnome-weather-3.16.2.1.tar.xz 10344692 SHA256 0fe481d4be192ca32cb401f3f4b74feb0f1ea3241f23dc51ec1949874836e355 SHA512 a4adb392da018cd4033416ae4d4e481a025455fab69213db9ab7fa42add635e87b9ed846bfa69dfdda591fb0ee58cd63c7486b74659f14e23b1bcd97f4d13e8d WHIRLPOOL 30ce35737658507b6d37cdc6e64a736a81ff0869ec9b48dbca094c1da25f622095411a6f67af731f4d68354b352d69e584c841c89b4abafc7fcafcb1e916cdbb
diff --git a/gnome-extra/gnome-weather/files/gnome-weather-3.8.2-temp-unit.patch b/gnome-extra/gnome-weather/files/gnome-weather-3.8.2-temp-unit.patch
new file mode 100644
index 000000000000..c652651f9737
--- /dev/null
+++ b/gnome-extra/gnome-weather/files/gnome-weather-3.8.2-temp-unit.patch
@@ -0,0 +1,59 @@
+From 7c901f42d2837e682f37d85b1fa3ee94922f2a05 Mon Sep 17 00:00:00 2001
+From: Giovanni Campagna <gcampagna@src.gnome.org>
+Date: Mon, 13 May 2013 21:19:49 +0000
+Subject: Add a submenu to the app menu to choose the temperature unit
+
+Among all the preferences in the old dialog, temperature unit
+is the only one that makes real sense, as we don't show wind
+speed, visibility or pressure.
+Also, exclude the Kelvin entry, which is there just to make
+cool screenshots :)
+---
+diff --git a/data/app-menu.ui b/data/app-menu.ui
+index 42a16a4..c332595 100644
+--- a/data/app-menu.ui
++++ b/data/app-menu.ui
+@@ -6,12 +6,25 @@
+ <attribute name="action">win.new</attribute>
+ <attribute name="accel">&lt;Primary&gt;n</attribute>
+ </item>
++ </section>
++ <submenu>
++ <attribute translatable="yes" name="label">Temperature unit</attribute>
++ <item>
++ <attribute translatable="yes" name="label">Celsius</attribute>
++ <attribute name="action">app.temperature-unit</attribute>
++ <attribute name="target">centigrade</attribute>
++ </item>
++ <item>
++ <attribute translatable="yes" name="label">Fahrenheit</attribute>
++ <attribute name="action">app.temperature-unit</attribute>
++ <attribute name="target">fahrenheit</attribute>
++ </item>
++ </submenu>
++ <section>
+ <item>
+ <attribute name="action">win.about</attribute>
+ <attribute name="label" translatable="yes">About Weather</attribute>
+ </item>
+- </section>
+- <section>
+ <item>
+ <attribute name="action">app.quit</attribute>
+ <attribute name="label" translatable="yes">Quit</attribute>
+diff --git a/src/main.js b/src/main.js
+index 687b79e..844a0d4 100644
+--- a/src/main.js
++++ b/src/main.js
+@@ -76,6 +76,9 @@ const Application = new Lang.Class({
+ [{ name: 'quit',
+ activate: this._onQuit }]);
+
++ let gwSettings = new Gio.Settings({ schema: 'org.gnome.GWeather' });
++ this.add_action(gwSettings.create_action('temperature-unit'));
++
+ this._initAppMenu();
+
+ this.add_accelerator("Escape", "win.selection-mode(false)", null);
+--
+cgit v0.9.2
diff --git a/gnome-extra/gnome-weather/gnome-weather-3.14.1.ebuild b/gnome-extra/gnome-weather/gnome-weather-3.14.1.ebuild
new file mode 100644
index 000000000000..c570659ea889
--- /dev/null
+++ b/gnome-extra/gnome-weather/gnome-weather-3.14.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit eutils gnome2
+
+DESCRIPTION="A weather application for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Design/Apps/Weather"
+
+LICENSE="GPL-2+ LGPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/gjs-1.41.4
+ >=dev-libs/glib-2.32:2
+ >=dev-libs/gobject-introspection-1.35.9
+ >=dev-libs/libgweather-3.9.5
+ >=x11-libs/gtk+-3.11.4:3
+"
+DEPEND="${RDEPEND}
+ dev-util/appdata-tools
+ >=dev-util/intltool-0.26
+ virtual/pkgconfig
+"
+
+src_configure() {
+ # dogtail is not packaged in gentoo
+ gnome2_src_configure --disable-dogtail
+}
diff --git a/gnome-extra/gnome-weather/gnome-weather-3.16.2.1.ebuild b/gnome-extra/gnome-weather/gnome-weather-3.16.2.1.ebuild
new file mode 100644
index 000000000000..2d218e40f132
--- /dev/null
+++ b/gnome-extra/gnome-weather/gnome-weather-3.16.2.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit gnome2 virtualx
+
+DESCRIPTION="A weather application for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Design/Apps/Weather"
+
+LICENSE="GPL-2+ LGPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-libs/gjs-1.43.3
+ >=dev-libs/glib-2.32:2
+ >=dev-libs/gobject-introspection-1.35.9
+ >=dev-libs/libgweather-3.15.90
+ >=x11-libs/gtk+-3.11.4:3
+"
+DEPEND="${RDEPEND}
+ dev-util/appdata-tools
+ >=dev-util/intltool-0.26
+ virtual/pkgconfig
+ test? ( dev-util/dogtail )
+"
+
+src_configure() {
+ gnome2_src_configure $(use_enable test dogtail)
+}
+
+src_test() {
+ Xemake check TESTS_ENVIRONMENT="dbus-run-session"
+}
diff --git a/gnome-extra/gnome-weather/metadata.xml b/gnome-extra/gnome-weather/metadata.xml
new file mode 100644
index 000000000000..da6fd63d0085
--- /dev/null
+++ b/gnome-extra/gnome-weather/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+</pkgmetadata>