[Pkg-e-commits] [SCM] Enlightenment 17 branch, master, updated. 24840a0c50ea51134c03f002700b46781da62316

Jan Luebbe jluebbe at debian.org
Wed Mar 12 15:14:39 UTC 2008


The following commit has been merged in the master branch:
commit 24840a0c50ea51134c03f002700b46781da62316
Author: Jan Luebbe <jluebbe at debian.org>
Date:   Wed Mar 12 16:16:35 2008 +0100

    Add Debian dir (thanks to Albin Tonnerre <albin.tonnerre at gmail.com>)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..c7dfab8
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,32 @@
+Enlightenment DR0.17
+--------------------
+About the menu files
+  Enlightenment handles the menus the same way as gnome or kde, that means, a
+  full compliance with the FDO specs. In order to have menus, you have to use
+  a .menu file. The enlightenment-data package provides an exemple file in
+  /etc/xdg/menus/enlightenment-applications.menu.
+  If you want to use it, copy it to $HOME/.config/menus/applications.menu, or
+  symlink it. You can also renames it to /etc/xdg/menus/applications.menu if
+  this file does not exist yet.
+  Please see http://wiki.enlightenment.org/index.php/E17_and_Efreet for further
+  information.
+
+-------------------
+About the system-wide configuration
+
+  This version is patched to change the way E looks for profiles and
+  configurations.
+  Usually, it just looks in ~/.e/e/config/profile.cfg, extracts the profiles
+  from it (it is a single name, such as 'defaut', 'Home', 'Work' or whatever),
+  and loads it from  ~/.e/e/config/<profile>/<whatever>.cfg
+
+  In this version, it also tries to look in
+    /usr/share/enlightenment/config/profile.cfg
+    /usr/share/enlightenment/config/<profile>/<whatever>.cfg
+  to allow system-wide configurations.
+  Please note that this package does not ship any modified config.
+  If you want to provide your own custom config, you HAVE TO use the
+  alternatives system to point to /usr/share/enlightenment/config/profile.cfg,
+  so that anyone can benefit from this.
+
+  -- Albin Tonnerre <albin.tonnerre at gmail.com>  Sun, 21 Oct 2007 23:30:27 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..365dcaf
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+e17 (0.16.999.041-1dfsg1) experimental; urgency=low
+
+  * Initial Release
+
+ -- Albin Tonnerre <albin.tonnerre at gmail.com>  Sun, 05 Aug 2007 11:19:41 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..1e8b314
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+6
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..562f039
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,74 @@
+Source: e17
+Section: x11
+Priority: optional
+Maintainer:  Debian Pkg-e Team <pkg-e-devel at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5), cdbs, libeet-dev, libembryo-dev, libedje-dev, libedje-bin, libpam0g-dev, libefreet-dev, libefreet-mime-dev, libecore-evas-dev, libecore-imf-evas-dev, libecore-job-dev, libecore-txt-dev, libecore-ipc-dev, libecore-con-dev, libedbus-dev, libxext-dev
+Standards-Version: 3.7.2
+
+Package: enlightenment
+Architecture: any
+Recommends: libevas-loaders-all
+Suggests: emodules-all
+Depends: ${shlibs:Depends}, enlightenment-data (= ${source:Version}), libevas-loader-eet, libevas-loader-jpeg, libevas-loader-png, libevas-saver-eet, libevas-saver-jpeg, libevas-saver-png, libevas-engine-buffer, libevas-engine-software-x11
+Provides: x-window-manager
+Description: The Enlightenment DR17 Window Manager
+ Enlightenment is an advanced window manager for X11. Unique
+ features include: a fully animated background, nice drop shadows
+ around windows, backed by an extremely clean and optimized
+ foundation of APIs.
+ .
+ This package contains the core files for Enlightenment DR17.
+
+Package: enlightenment-data
+Architecture: all
+Enhances: enlightenment (>= 0.16.999)
+Description: Enlightenment Window Manager Run Time Data Files
+ Enlightenment is an advanced window manager for X11. Unique
+ features include: a fully animated background, nice drop shadows
+ around windows, backed by an extremely clean and optimized
+ foundation of APIs.
+ .
+ These are the architecture independent runtime support files for the
+ Enlightenment Window Manager package.
+
+Package: enlightenment-dev
+Architecture: any
+Section: devel
+Depends: enlightenment (= ${binary:Version}), efl-dev
+Description: Enlightenment headers, static libraries and documentation
+ Enlightenment is an advanced window manager for X11. Unique
+ features include: a fully animated background, nice drop shadows
+ around windows, backed by an extremely clean and optimized
+ foundation of APIs.
+ .
+ This package contains headers, static libraries and documentation for
+ enlightenment.
+
+Package: efl-dev
+Architecture: any
+Section: devel
+Depends: libeet-dev, libevas-dev, libecore-dev, libedje-dev, libefreet-dev, libefreet-mime-dev, libecore-con-dev, libecore-evas-dev, libecore-file-dev, libecore-ipc-dev, libecore-job-dev, libecore-txt-dev, libecore-x-dev, libedbus-dev
+Description: EFL headers, static libraries and documentation
+ Enlightenment is an advanced window manager for X11. Unique
+ features include: a fully animated background, nice drop shadows
+ around windows, backed by an extremely clean and optimized
+ foundation of APIs.
+ .
+ This package contains headers, static libraries and documentation for
+ the enlightenment foundation librairies.
+
+Package: enlightenment-dbg
+Architecture: any
+Section: devel
+Depends: enlightenment (= ${binary:Version})
+Priority: extra
+Description: The Enlightenment DR17 Window Manager
+ Enlightenment is an advanced window manager for X11. Unique
+ features include: a fully animated background, nice drop shadows
+ around windows, backed by an extremely clean and optimized
+ foundation of APIs
+ .
+ This package contains unstripped shared libraries. It is provided primarily
+ to provide a backtrace with names in a debugger, this makes it somewhat
+ easier to interpret core dumps. The libraries are installed in
+ /usr/lib/debug and are automatically used by gdb.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0937908
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+This package was debianized by Blake Barnett <shadoi at soulmachine.net> on
+Sat, 28 Nov 2004 14:26:46 -0700.
+
+The source code is from the e17/apps/e module of the enlightenment CVS
+tree. For more information, see:
+
+  http://www.enlightenment.org/cvs.html
+
+Upstream Author: Carsten Haitzler <raster at rasterman.com>
+
+Copyright:
+
+  Copyright (C) 2000 Carsten Haitzler and various contributors (see AUTHORS)
+
+License:
+
+  Permission is hereby granted, free of charge, to any person obtaining a copy
+  of this software and associated documentation files (the "Software"), to
+  deal in the Software without restriction, including without limitation the
+  rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+  sell copies of the Software, and to permit persons to whom the Software is
+  furnished to do so, subject to the following conditions:
+
+  The above copyright notice and this permission notice shall be included in
+  all copies of the Software, its documentation and marketing & publicity
+  materials, and acknowledgment shall be given in the documentation, materials
+  and software packages that this Software was used.
+
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+  THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+On Debian systems, the complete text of the BSD License can be found
+in `/usr/share/common-licenses/BSD'.
+
+The Debian packaging is:
+   (C) 2006 2007,Debian Pkg-e Team <pkg-e-devel at lists.alioth.debian.org>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/enlightenment-applications.menu b/debian/enlightenment-applications.menu
new file mode 100644
index 0000000..88c3b5d
--- /dev/null
+++ b/debian/enlightenment-applications.menu
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<!DOCTYPE Menu
+  PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
+  'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
+
+
+<Menu>
+	<Name>Applications</Name>
+    <DefaultDirectoryDirs/>
+    <DefaultAppDirs/>
+
+    <Layout>
+          <Menuname>Audio-Video</Menuname>
+          <Menuname>Internet</Menuname>
+          <Menuname>Office</Menuname>
+          <Menuname>Graphics</Menuname>
+          <Menuname>Games</Menuname>
+          <Menuname>Development</Menuname>
+          <Separator/>
+          <Menuname>Settings</Menuname>
+          <Menuname>Administration</Menuname>
+    </Layout>
+
+    <Menu>
+        <Name>Audio-Video</Name>
+        <Include> <Category>AudioVideo</Category> </Include>
+    </Menu>
+    <Menu>
+        <Name>Internet</Name>
+        <Include> <Category>Network</Category> </Include>
+    </Menu>
+    <Menu>
+        <Name>Development</Name>
+        <Include> <Category>Development</Category> </Include>
+    </Menu>
+    <Menu>
+        <Name>Office</Name>
+        <Include> <Category>Office</Category> </Include>
+    </Menu>
+    <Menu>
+        <Name>Graphics</Name>
+        <Include> <Category>Graphics</Category> </Include>
+    </Menu>
+    <Menu>
+        <Name>Administration</Name>
+        <Include> <And><Category>System</Category><Category>Settings</Category></And> </Include>
+    </Menu>
+    <Menu>
+        <Name>Settings</Name>
+        <Include> <And><Category>System</Category><Not><Category>Settings</Category></Not></And> </Include>
+    </Menu>
+    <Menu>
+        <Name>Games</Name>
+        <Include><Category>Game</Category></Include>
+    </Menu>
+</Menu>
diff --git a/debian/enlightenment-data.doc-base b/debian/enlightenment-data.doc-base
new file mode 100644
index 0000000..968bf41
--- /dev/null
+++ b/debian/enlightenment-data.doc-base
@@ -0,0 +1,13 @@
+Document: enlightenment
+Title: Enlightenment DR17 Documentation
+Author: Carsten Haitzler
+Abstract: This document describes what is Enlightenment DR17
+ and how it works 
+Section: Apps/Graphics
+
+Format: text
+Files: /usr/share/doc/enlightenment/*.txt.gz
+
+Format: HTML
+Index: /usr/share/doc/enlightenment/html/documentation.html
+Files: /usr/share/doc/enlightenment/html/documentation.html
diff --git a/debian/enlightenment-data.install b/debian/enlightenment-data.install
new file mode 100644
index 0000000..9b6c12f
--- /dev/null
+++ b/debian/enlightenment-data.install
@@ -0,0 +1,7 @@
+debian/tmp/usr/share/enlightenment
+debian/tmp/usr/share/locale
+debian/tmp/usr/share/xsessions
+debian/enlightenment-applications.menu etc/xdg/menus
+debian/tmp/usr/share/enlightenment/doc/documentation.html usr/share/doc/enlightenment/html
+debian/tmp/usr/share/enlightenment/doc/enlightenment.png usr/share/doc/enlightenment/html
+debian/tmp/usr/share/enlightenment/doc/*.txt.gz usr/share/doc/enlightenment
diff --git a/debian/enlightenment-data.postinst b/debian/enlightenment-data.postinst
new file mode 100644
index 0000000..07fff6f
--- /dev/null
+++ b/debian/enlightenment-data.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives  --install /usr/share/enlightenment/data/themes/default.edj\
+    enlightenment-theme  /usr/share/enlightenment/data/themes/bling.edj 10
+
+update-alternatives  --install /usr/share/enlightenment/data/init/default.edj\
+    enlightenment-init-theme  /usr/share/enlightenment/data/init/bling.edj 10
+
+#DEBHELPER#
diff --git a/debian/enlightenment-data.prerm b/debian/enlightenment-data.prerm
new file mode 100644
index 0000000..1512923
--- /dev/null
+++ b/debian/enlightenment-data.prerm
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+  remove|upgrade|failed-upgrade)
+      update-alternatives  --remove enlightenment-theme /usr/share/enlightenment/data/themes/bling.edj
+      update-alternatives  --remove enlightenment-init-theme /usr/share/enlightenment/data/init/bling.edj
+;;
+*)
+;;
+esac
+
+#DEBHELPER#
diff --git a/debian/enlightenment-dev.install b/debian/enlightenment-dev.install
new file mode 100644
index 0000000..b591f85
--- /dev/null
+++ b/debian/enlightenment-dev.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/enlightenment-config
+debian/tmp/usr/include/enlightenment/*.h
diff --git a/debian/enlightenment.install b/debian/enlightenment.install
new file mode 100644
index 0000000..83ef3ad
--- /dev/null
+++ b/debian/enlightenment.install
@@ -0,0 +1,8 @@
+debian/tmp/usr/bin/enlightenment
+debian/tmp/usr/bin/enlightenment_*
+debian/tmp/etc/enlightenment/sysactions.conf
+debian/tmp/usr/lib/enlightenment/preload/*.so
+debian/tmp/usr/lib/enlightenment/modules/*/linux-gnu-*/*.so
+debian/tmp/usr/lib/enlightenment/modules/*/*.desktop
+debian/tmp/usr/lib/enlightenment/modules/*/*.edj
+debian/tmp/usr/lib/enlightenment/modules/cpufreq/linux-gnu-*/freqset
diff --git a/debian/enlightenment.postinst b/debian/enlightenment.postinst
new file mode 100644
index 0000000..e0c35e4
--- /dev/null
+++ b/debian/enlightenment.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+wm=enlightenment_start
+
+update-alternatives  --install /usr/bin/x-window-manager x-window-manager \
+    /usr/bin/$wm 90
+
+chmod u+s /usr/bin/enlightenment_sys
+chmod u+s /usr/lib/enlightenment/modules/cpufreq/linux-gnu-*/freqset
+#DEBHELPER#
diff --git a/debian/enlightenment.prerm b/debian/enlightenment.prerm
new file mode 100644
index 0000000..fe0fc26
--- /dev/null
+++ b/debian/enlightenment.prerm
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+wm=enlightenment_start
+
+case "$1" in
+  remove|upgrade|failed-upgrade)
+      update-alternatives  --remove x-window-manager /usr/bin/$wm
+;;
+*)
+;;
+esac
+
+#DEBHELPER#
diff --git a/debian/patches/01_system_wide_config.patch b/debian/patches/01_system_wide_config.patch
new file mode 100644
index 0000000..7df202a
--- /dev/null
+++ b/debian/patches/01_system_wide_config.patch
@@ -0,0 +1,27 @@
+diff -Nur enlightenment-0.16.999.041+cvs20071025/src/bin/e_config.c enlightenment-0.16.999.041+cvs20071025.new/src/bin/e_config.c
+--- enlightenment-0.16.999.041+cvs20071025/src/bin/e_config.c	2007-10-21 11:23:49.000000000 +0200
++++ enlightenment-0.16.999.041+cvs20071025.new/src/bin/e_config.c	2007-10-26 13:39:11.000000000 +0200
+@@ -61,6 +61,11 @@
+ 	snprintf(buf, sizeof(buf), "%s/.e/e/config/profile.cfg",
+ 		 homedir);
+ 	ef = eet_open(buf, EET_FILE_MODE_READ);
++    if (!ef)
++      {
++         snprintf(buf, sizeof(buf), "%s/data/config/profile.cfg", e_prefix_data_get());
++         ef = eet_open(buf, EET_FILE_MODE_READ);
++      }
+ 	if (ef)
+ 	  {
+ 	     char *data;
+@@ -1796,6 +1801,11 @@
+    snprintf(buf, sizeof(buf), "%s/.e/e/config/%s/%s.cfg",
+ 	    homedir, _e_config_profile, domain);
+    ef = eet_open(buf, EET_FILE_MODE_READ);
++   if (!ef)
++     {
++    snprintf(buf, sizeof(buf), "%s/data/config/%s/%s.cfg", e_prefix_data_get(), _e_config_profile, domain);
++    ef = eet_open(buf, EET_FILE_MODE_READ);
++     }
+    if (ef)
+      {
+ 	data = eet_data_read(ef, edd, "config");
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..dc35221
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+install/enlightenment-data::
+	gzip -9 debian/tmp/usr/share/enlightenment/doc/*.txt
+	rm debian/tmp/usr/share/enlightenment/COPYING
+
+install/enlightenment::
+	rm -R debian/tmp/usr/lib/enlightenment/modules/layout
+	rm -R debian/tmp/usr/lib/enlightenment/modules/wizard
+
+DEB_DH_STRIP_ARGS := --dbg-package=enlightenment-dbg
+DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath

-- 
Enlightenment 17



More information about the Pkg-e-commits mailing list