summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDaniel Kolesa <quaker66@gmail.com>2009-01-03 08:14:29 +0000
committerDaniel Kolesa <quaker66@gmail.com>2009-01-03 08:14:29 +0000
commita747c9699171ef8574311e97d3cccb2535257686 (patch)
treea6fb40b9e99114a097178356e4a5c3df719dc18b /debian
parent2ebcc48d5e3e5e8476ebbeb2c854e3e54b02344c (diff)
downloadenlightenment-a747c9699171ef8574311e97d3cccb2535257686.tar.gz
Updated e debian subdir.
SVN revision: 38427
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/01_install_internal-use_binaries_in_usr_lib_enlightenment.diff103
-rwxr-xr-xdebian/rules3
2 files changed, 1 insertions, 105 deletions
diff --git a/debian/patches/01_install_internal-use_binaries_in_usr_lib_enlightenment.diff b/debian/patches/01_install_internal-use_binaries_in_usr_lib_enlightenment.diff
deleted file mode 100644
index 149eb9f1b8..0000000000
--- a/debian/patches/01_install_internal-use_binaries_in_usr_lib_enlightenment.diff
+++ /dev/null
@@ -1,103 +0,0 @@
-diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
---- a/src/bin/e_fm.c
-+++ b/src/bin/e_fm.c
-@@ -1476,7 +1476,7 @@ _e_fm2_client_spawn(void)
- char buf[4096];
-
- if (_e_fm2_client_spawning) return;
-- snprintf(buf, sizeof(buf), "%s/enlightenment_fm", e_prefix_bin_get());
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_fm", e_prefix_lib_get());
- exe = ecore_exe_run(buf, NULL);
- _e_fm2_client_spawning = 1;
- }
-diff --git a/src/bin/e_init.c b/src/bin/e_init.c
---- a/src/bin/e_init.c
-+++ b/src/bin/e_init.c
-@@ -79,8 +79,8 @@ e_init_show(void)
- if (version) ver = strdup(e_util_filename_escape(version));
- else ver = strdup("XvX");
-
-- snprintf(buf, sizeof(buf), "%s/enlightenment_init \'%s\' \'%i\' \'%i\' \'%s\' \'%s\'",
-- e_prefix_bin_get(),
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_init \'%s\' \'%i\' \'%i\' \'%s\' \'%s\'",
-+ e_prefix_lib_get(),
- theme,
- e_canvas_engine_decide(e_config->evas_engine_init),
- e_config->font_hinting,
-diff --git a/src/bin/e_sys.c b/src/bin/e_sys.c
---- a/src/bin/e_sys.c
-+++ b/src/bin/e_sys.c
-@@ -128,13 +128,13 @@ _e_sys_cb_timer(void *data)
- char buf[4096];
-
- e_init_status_set(_("Checking System Permissions"));
-- snprintf(buf, sizeof(buf), "%s/enlightenment_sys -t halt", e_prefix_bin_get());
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_sys -t halt", e_prefix_lib_get());
- _e_sys_halt_check_exe = ecore_exe_run(buf, NULL);
-- snprintf(buf, sizeof(buf), "%s/enlightenment_sys -t reboot", e_prefix_bin_get());
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_sys -t reboot", e_prefix_lib_get());
- _e_sys_reboot_check_exe = ecore_exe_run(buf, NULL);
-- snprintf(buf, sizeof(buf), "%s/enlightenment_sys -t suspend", e_prefix_bin_get());
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_sys -t suspend", e_prefix_lib_get());
- _e_sys_suspend_check_exe = ecore_exe_run(buf, NULL);
-- snprintf(buf, sizeof(buf), "%s/enlightenment_sys -t hibernate", e_prefix_bin_get());
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_sys -t hibernate", e_prefix_lib_get());
- _e_sys_hibernate_check_exe = ecore_exe_run(buf, NULL);
- return 0;
- }
-@@ -475,8 +475,8 @@ _e_sys_action_do(E_Sys_Action a, char *param)
- case E_SYS_HALT_NOW:
- /* shutdown -h now */
- if (e_util_immortal_check()) return 0;
-- snprintf(buf, sizeof(buf), "%s/enlightenment_sys halt",
-- e_prefix_bin_get());
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_sys halt",
-+ e_prefix_lib_get());
- if (_e_sys_exe)
- {
- _e_sys_current_action();
-@@ -502,8 +502,8 @@ _e_sys_action_do(E_Sys_Action a, char *param)
- case E_SYS_REBOOT:
- /* shutdown -r now */
- if (e_util_immortal_check()) return 0;
-- snprintf(buf, sizeof(buf), "%s/enlightenment_sys reboot",
-- e_prefix_bin_get());
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_sys reboot",
-+ e_prefix_lib_get());
- if (_e_sys_exe)
- {
- _e_sys_current_action();
-@@ -528,8 +528,8 @@ _e_sys_action_do(E_Sys_Action a, char *param)
- break;
- case E_SYS_SUSPEND:
- /* /etc/acpi/sleep.sh force */
-- snprintf(buf, sizeof(buf), "%s/enlightenment_sys suspend",
-- e_prefix_bin_get());
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_sys suspend",
-+ e_prefix_lib_get());
- if (_e_sys_exe)
- {
- _e_sys_current_action();
-@@ -554,8 +554,8 @@ _e_sys_action_do(E_Sys_Action a, char *param)
- break;
- case E_SYS_HIBERNATE:
- /* /etc/acpi/hibernate.sh force */
-- snprintf(buf, sizeof(buf), "%s/enlightenment_sys hibernate",
-- e_prefix_bin_get());
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_sys hibernate",
-+ e_prefix_lib_get());
- if (_e_sys_exe)
- {
- _e_sys_current_action();
-diff --git a/src/bin/e_thumb.c b/src/bin/e_thumb.c
---- a/src/bin/e_thumb.c
-+++ b/src/bin/e_thumb.c
-@@ -134,7 +134,7 @@ e_thumb_icon_begin(Evas_Object *obj)
- {
- Ecore_Exe *exe;
-
-- snprintf(buf, sizeof(buf), "%s/enlightenment_thumb --nice=%d", e_prefix_bin_get(),
-+ snprintf(buf, sizeof(buf), "%s/enlightenment/enlightenment_thumb --nice=%d", e_prefix_lib_get(),
- e_config->thumb_nice);
- exe = ecore_exe_run(buf, NULL);
- _thumbnailers_exe = evas_list_append(_thumbnailers_exe, exe);
diff --git a/debian/rules b/debian/rules
index b547eeda54..83756f66e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,13 +2,12 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
DEB_FIXPERMS_EXCLUDE := enlightenment_sys freqset tempget batget
DEB_MAKE_CLEAN_TARGET := clean
DEB_INSTALL_MANPAGES_e17 := $(DEB_SRCDIR)/debian/enlightenment.1 $(DEB_SRCDIR)/debian/enlightenment_*.1
DEB_DH_STRIP_ARGS := --dbg-package=e17-dbg
-DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath
+DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath --sysconfdir=/etc
install/e17-data::
gzip -9 debian/tmp/usr/share/enlightenment/doc/*.txt