botan: new package
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
diff -rupN cairo-dock-plug-ins-3.4.1.orig/CMakeLists.txt cairo-dock-plug-ins-3.4.1/CMakeLists.txt
|
||||
--- cairo-dock-plug-ins-3.4.1.orig/CMakeLists.txt 2015-03-12 09:43:57.171067365 +0100
|
||||
+++ cairo-dock-plug-ins-3.4.1/CMakeLists.txt 2015-03-12 09:46:20.717120675 +0100
|
||||
@@ -573,11 +573,11 @@ if (enable-mono-interface)
|
||||
if (NOT GMCS_EXECUTABLE OR NOT EXISTS ${GMCS_EXECUTABLE})
|
||||
message (STATUS "Could not find Mono compiler gmcs, won't build Mono interface.")
|
||||
else()
|
||||
- pkg_check_modules (MONO_PACKAGE glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0)
|
||||
+ pkg_check_modules (MONO_PACKAGE dbus-sharp-2.0 dbus-sharp-glib-2.0 glib-sharp-3.0)
|
||||
if (NOT MONO_PACKAGE_FOUND)
|
||||
- message (STATUS "Could not find glib-sharp-2.0, ndesk-dbus-1.0 or ndesk-dbus-glib-1.0; won't be built Mono interface.")
|
||||
- message (WARNING "These modules are required to compile DBus applet with Mono interface: glib-sharp-2.0, ndesk-dbus-1.0 and ndesk-dbus-glib-1.0")
|
||||
- set (MODULES_MISSING "${MODULES_MISSING} glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0")
|
||||
+ message (STATUS "Could not find dbus-sharp-2.0, dbus-sharp-glib-2.0 or glib-sharp-3.0; won't be built Mono interface.")
|
||||
+ message (WARNING "These modules are required to compile DBus applet with Mono interface: dbus-sharp-2.0, dbus-sharp-glib-2.0 and glib-sharp-3.0")
|
||||
+ set (MODULES_MISSING "${MODULES_MISSING} dbus-sharp-2.0 dbus-sharp-glib-2.0 glib-sharp-3.0")
|
||||
else()
|
||||
set (MONO_FOUND TRUE)
|
||||
set (with_mono yes)
|
||||
|
||||
diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CMakeLists.txt cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CMakeLists.txt
|
||||
--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CMakeLists.txt 2015-03-12 09:52:56.491934965 +0100
|
||||
+++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CMakeLists.txt 2015-03-12 09:54:07.418777441 +0100
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
execute_process(COMMAND ${GMCS_EXECUTABLE}
|
||||
-target:library
|
||||
- -pkg:glib-sharp-2.0 -pkg:ndesk-dbus-1.0 -pkg:ndesk-dbus-glib-1.0
|
||||
+ -pkg:dbus-sharp-2.0 -pkg:dbus-sharp-glib-2.0 -pkg:glib-sharp-3.0
|
||||
-out:${CMAKE_CURRENT_BINARY_DIR}/CDApplet.dll
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CDApplet.cs ${CMAKE_CURRENT_SOURCE_DIR}/ISubApplet.cs ${CMAKE_CURRENT_SOURCE_DIR}/IApplet.cs)
|
||||
### find how to register to GAC ...
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
From 402a2d7bb657be4ad4072f07612e008e846d5e97 Mon Sep 17 00:00:00 2001
|
||||
From: Fabounet <fabounet03@gmail.com>
|
||||
Date: Sun, 22 May 2016 21:13:21 +0200
|
||||
Subject: [PATCH] [1581725] Updated the weather URL we retrieve data from
|
||||
|
||||
---
|
||||
weather/src/applet-config.c | 2 +-
|
||||
weather/src/applet-read-data.c | 3 ---
|
||||
weather/src/applet-struct.h | 3 +++
|
||||
3 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/weather/src/applet-config.c b/weather/src/applet-config.c
|
||||
index c9a33c2..0a27a8a 100755
|
||||
--- a/weather/src/applet-config.c
|
||||
+++ b/weather/src/applet-config.c
|
||||
@@ -174,7 +174,7 @@ static void _on_got_location_data (const gchar *cLocationData, GldiModuleInstanc
|
||||
gldi_task_discard (myData.pGetLocationTask);
|
||||
myData.pGetLocationTask = NULL;
|
||||
}
|
||||
-#define CD_WEATHER_BASE_URL "http://xml.weather.com"
|
||||
+
|
||||
static void _cd_weather_search_for_location (GtkEntry *pEntry, GldiModuleInstance *myApplet)
|
||||
{
|
||||
const gchar *cLocationName = gtk_entry_get_text (pEntry);
|
||||
diff --git a/weather/src/applet-read-data.c b/weather/src/applet-read-data.c
|
||||
index 0bbdce7..8ca8d21 100755
|
||||
--- a/weather/src/applet-read-data.c
|
||||
+++ b/weather/src/applet-read-data.c
|
||||
@@ -30,9 +30,6 @@
|
||||
#include "applet-load-icons.h"
|
||||
#include "applet-read-data.h"
|
||||
|
||||
-#define CD_WEATHER_BASE_URL "http://xml.weather.com"
|
||||
-
|
||||
-
|
||||
static xmlDocPtr _cd_weather_open_xml_buffer (const gchar *cData, xmlNodePtr *root_node, const gchar *cRootNodeName, GError **erreur)
|
||||
{
|
||||
if (cData == NULL || *cData == '\0')
|
||||
diff --git a/weather/src/applet-struct.h b/weather/src/applet-struct.h
|
||||
index e96191e..02ba3d0 100755
|
||||
--- a/weather/src/applet-struct.h
|
||||
+++ b/weather/src/applet-struct.h
|
||||
@@ -29,6 +29,9 @@
|
||||
|
||||
#define WEATHER_DEFAULT_NAME "weather"
|
||||
|
||||
+#define CD_WEATHER_BASE_URL "http://wxdata.weather.com/wxdata"
|
||||
+
|
||||
+
|
||||
#define _display(cValue) ((cValue) == NULL || *((gchar*)cValue) == 'N' ? "?" : (const gchar*)(cValue))
|
||||
|
||||
struct _AppletConfig {
|
||||
@@ -56,9 +56,9 @@
|
||||
<Dependency versionFrom="3.4.1">cairo-dock-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>cairo-dock-plug-ins-mono.patch</Patch> -->
|
||||
<Patch>cairo-dock-plugins-3.4.1-gcc10-extern.patch</Patch>
|
||||
<Patch>cairo-dock-plugins-3.4.1-time_h-confict.patch</Patch>
|
||||
<Patch>cairo-dock-plugins-3.4.1-0004-weather-update-URL.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user