[Pkg-e-commits] [SCM] Enlightenment 17 branch, master, updated. debian/0.16.999.70492-1

Albin Tonnerre albin.tonnerre at gmail.com
Thu May 17 10:44:15 UTC 2012


The following commit has been merged in the master branch:
commit 15f441ba0a1f635a89496df0eb3e0fbd90a2645c
Author: Albin Tonnerre <albin.tonnerre at gmail.com>
Date:   Tue May 8 20:47:29 2012 +0200

    drop patches/02_upgrade_notice: it should no longer be needed

diff --git a/debian/README.Debian b/debian/README.Debian
index 7035e84..2ee8a91 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,17 +1,3 @@
-e17 0.16.999.55225 upgrade notes
----------------------------------
-This version of e17 uses a new format to store themes and backgrounds.
-If your usual themes or background no longer work correctly, you need to update
-them. To do this, please run the 'edje_convert' command (from the 'libedje-bin'
-package) on all themes and backgrounds that need converting.
-
-Usually, user-supplied themes and backgrounds are located in ~/.e/e/themes
-and ~/.e/e/backgrounds, respectively. A simple 'find ~/.e -name \*.edj'
-should be enough to find all themes and background.
-
-  -- Albin Tonnerre <lutin at debian.org>  Sun, 03 Apr 2011 18:34:21 +0200
-
-
 Enlightenment DR0.17
 --------------------
 About the menu files
diff --git a/debian/patches/02_upgrade_notice.diff b/debian/patches/02_upgrade_notice.diff
deleted file mode 100644
index 60cc4ee..0000000
--- a/debian/patches/02_upgrade_notice.diff
+++ /dev/null
@@ -1,89 +0,0 @@
-From cc6e256265cf3ab2410a2c7e12c2bee39ee6d2f4 Mon Sep 17 00:00:00 2001
-From: Albin Tonnerre <lutin at debian.org>
-Date: Sat, 9 Oct 2010 16:16:37 +0200
-Subject: [PATCH] upgrade notice
-
----
- src/bin/e_config.c |    8 ++++++++
- src/bin/e_config.h |    3 +++
- src/bin/e_main.c   |   21 +++++++++++++++++++++
- 3 files changed, 32 insertions(+), 0 deletions(-)
-
-diff --git a/src/bin/e_config.c b/src/bin/e_config.c
-index 98180d4..6023bf4 100644
---- a/src/bin/e_config.c
-+++ b/src/bin/e_config.c
-@@ -876,6 +876,7 @@ e_config_init(void)
-    E_CONFIG_VAL(D, T, exec.expire_timeout, DOUBLE);
-    E_CONFIG_VAL(D, T, exec.show_run_dialog, UCHAR);
-    E_CONFIG_VAL(D, T, exec.show_exit_dialog, UCHAR);
-+   E_CONFIG_VAL(D, T, did_upgrade_notice, INT);
- 
-    e_config_load();
- 
-@@ -2189,3 +2190,10 @@ _eet_union_type_set(const char *type, void *data, Eina_Bool unknow)
- 
-    return EINA_FALSE;
- }
-+
-+void disable_upgrade_notice(void *data, E_Dialog *dia)
-+{
-+	e_config->did_upgrade_notice = 1;
-+	e_object_del(E_OBJECT(dia));
-+	e_config_save_queue();
-+}
-diff --git a/src/bin/e_config.h b/src/bin/e_config.h
-index d985c93..4fcd02c 100644
---- a/src/bin/e_config.h
-+++ b/src/bin/e_config.h
-@@ -337,6 +337,7 @@ struct _E_Config
-       Eina_Bool show_run_dialog;
-       Eina_Bool show_exit_dialog;
-    } exec;
-+   int did_upgrade_notice;
- };
- 
- struct _E_Config_Syscon_Action
-@@ -540,5 +541,7 @@ extern EAPI E_Config *e_config;
- extern EAPI int E_EVENT_CONFIG_ICON_THEME;
- extern EAPI int E_EVENT_CONFIG_MODE_CHANGED;
- 
-+void disable_upgrade_notice(void *data, E_Dialog *dia);
-+
- #endif
- #endif
-diff --git a/src/bin/e_main.c b/src/bin/e_main.c
-index 96cedd8..3c6e334 100644
---- a/src/bin/e_main.c
-+++ b/src/bin/e_main.c
-@@ -1063,6 +1063,27 @@ main(int argc, char **argv)
- 
-    /* ecore_x_ungrab(); */
- 
-+
-+   /* upgrade warning */
-+	e_init_status_set(_("Upgrade notice"));
-+	TS("upgrade notice");
-+	if (!e_config->did_upgrade_notice) {
-+		E_Dialog *dia;
-+		char msg[PATH_MAX] = "This version of e17 uses a new format to store themes and backgrounds.<br>If your usual themes or background no longer work correctly, you need to update them.<br>To do this, please run the 'edje_convert' command (from the 'libedje-bin' package) on all themes and backgrounds that need converting.<br>The text of this warning and further explanations may be found in /usr/share/doc/e17/README.Debian";
-+
-+		dia = e_dialog_new(e_container_current_get(e_manager_current_get()), 
-+		                   "E", "_upgrade_dialog");
-+		if (dia) {
-+			e_dialog_title_set(dia, "Upgrade notice");
-+			e_dialog_icon_set(dia, "enlightenment", 64);
-+			e_dialog_text_set(dia, msg);
-+			e_dialog_button_add(dia, _("Don't show this notice again"), NULL, disable_upgrade_notice, NULL);
-+			e_dialog_button_add(dia, _("Display this notice on next startup"), NULL, NULL, NULL);
-+			e_win_centered_set(dia->win, 1);
-+			e_dialog_show(dia);
-+		}
-+	}
-+
-    /* load modules */
-    e_init_status_set(_("Load Modules"));
-    TS("load modules");
--- 
-1.7.4.1
-
diff --git a/debian/patches/series b/debian/patches/series
index f8e717a..cfafd81 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
 01_menu_extra_path.patch
-02_upgrade_notice.diff
 03_bind_XF86PowerOff_instead_of_Execute_in_illume.diff
 04_evry_fix_default_path_for_terminal.diff

-- 
Enlightenment 17



More information about the Pkg-e-commits mailing list