--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/Beremiz.directory Wed Oct 28 11:38:23 2009 +0100
@@ -0,0 +1,4 @@
+Icon=/usr/share/beremiz/images/brz.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/Beremiz_demos.directory Wed Oct 28 11:38:23 2009 +0100
@@ -0,0 +1,4 @@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/Beremiz_docs.directory Wed Oct 28 11:38:23 2009 +0100
@@ -0,0 +1,4 @@
--- a/debian/beremiz.desktop Mon Oct 26 11:20:16 2009 +0100
+++ b/debian/beremiz.desktop Wed Oct 28 11:38:23 2009 +0100
@@ -8,6 +8,6 @@
-Categories=Application;Development;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/beremiz.menu Wed Oct 28 11:38:23 2009 +0100
@@ -0,0 +1,40 @@
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" + "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd"> + <Name>Applications</Name> + <Directory>Applications.directory</Directory> + <!-- Read standard .directory and .desktop file locations --> + <DefaultDirectoryDirs/> + <Name>Development</Name> + <Directory>Development.directory</Directory> + <!-- Beremiz submenu --> + <Directory>Beremiz.directory</Directory> + <Category>Beremiz</Category> + <Directory>Beremiz_demos.directory</Directory> + <Category>Beremiz_demo</Category> + </Menu> <!-- End Beremiz demo --> + <Directory>Beremiz_docs.directory</Directory> + <Category>Beremiz_doc</Category> + </Menu> <!-- End Beremiz doc --> + </Menu> <!-- End Beremiz --> + </Menu> <!-- End Development --> + <!-- possibly more submenus --> +</Menu> <!-- End Applications --> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/beremiz_doc.desktop Wed Oct 28 11:38:23 2009 +0100
@@ -0,0 +1,12 @@
+Comment=Open Source framework for automation +Comment[fr]=Environnement de développement Open Source pour l'automatisme +Exec=/usr/bin/xpdf /usr/share/beremiz/doc/manual_beremiz.pdf --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/beremiz_svgui.desktop Wed Oct 28 11:38:23 2009 +0100
@@ -0,0 +1,13 @@
+Name=Beremiz Demo (svgui) +Comment=Open Source framework for automation +Comment[fr]=Environnement de développement Open Source pour l'automatisme +Exec=/usr/bin/beremiz /usr/share/beremiz/tests/svgui +Icon=/usr/share/beremiz/images/brz.png +Categories=Beremiz_demo; --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/beremiz_wxglade.desktop Wed Oct 28 11:38:23 2009 +0100
@@ -0,0 +1,13 @@
+Name=Beremiz Demo (wxGlade) +Comment=Open Source framework for automation +Comment[fr]=Environnement de développement Open Source pour l'automatisme +Exec=/usr/bin/beremiz /usr/share/beremiz/tests/wxGlade +Icon=/usr/share/beremiz/images/brz.png +Categories=Beremiz_demo; --- a/debian/control Mon Oct 26 11:20:16 2009 +0100
+++ b/debian/control Wed Oct 28 11:38:23 2009 +0100
@@ -7,7 +7,7 @@
-Depends: build-essential, python-wxgtk2.8, python-ctypes, python-wxglade, xpdf, canfestival-devel, canfestival-objdictedit, matiec, docutils, pyro, xmlclass, plcopeneditor
+Depends: build-essential, python-wxgtk2.8, python-ctypes, python-numpy, python-twisted, python-nevow, python-simplejson, python-wxglade, xpdf, canfestival-devel, canfestival-objdictedit, matiec, docutils, pyro, xmlclass, plcopeneditor Description: Beremiz is an Open Source framework for automation
--- a/debian/rules Mon Oct 26 11:20:16 2009 +0100
+++ b/debian/rules Wed Oct 28 11:38:23 2009 +0100
@@ -1,17 +1,9 @@
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -23,8 +15,6 @@
configure: configure-stamp
- # Add here commands to configure the package.
@@ -32,21 +22,12 @@
build-stamp: configure-stamp
- # Add here commands to compile the package.
- #docbook-to-man debian/beremiz.sgml > beremiz.1
rm -f build-stamp configure-stamp
- # Add here commands to clean up after the build process.
@@ -55,35 +36,49 @@
- # Add here commands to install the package into debian/beremiz.
mkdir -p $(CURDIR)/debian/beremiz/usr/share/beremiz
- mkdir -p $(CURDIR)/debian/beremiz/usr/share/applications
cp -a images $(CURDIR)/debian/beremiz/usr/share/beremiz
cp -a plugins $(CURDIR)/debian/beremiz/usr/share/beremiz
cp -a runtime $(CURDIR)/debian/beremiz/usr/share/beremiz
cp -a tests $(CURDIR)/debian/beremiz/usr/share/beremiz
cp -a connectors $(CURDIR)/debian/beremiz/usr/share/beremiz
cp -a targets $(CURDIR)/debian/beremiz/usr/share/beremiz
- cp *.xml $(CURDIR)/debian/beremiz/usr/share/beremiz
+ cp -a doc $(CURDIR)/debian/beremiz/usr/share/beremiz + cp -a locale $(CURDIR)/debian/beremiz/usr/share/beremiz + cp *.js $(CURDIR)/debian/beremiz/usr/share/beremiz cp *.py $(CURDIR)/debian/beremiz/usr/share/beremiz
- cp debian/beremiz.desktop $(CURDIR)/debian/beremiz/usr/share/applications/beremiz.desktop
+ # Copy desktop directory file + mkdir -p $(CURDIR)/debian/beremiz/usr/share/desktop-directories + cp debian/Beremiz.directory $(CURDIR)/debian/beremiz/usr/share/desktop-directories + cp debian/Beremiz_demos.directory $(CURDIR)/debian/beremiz/usr/share/desktop-directories + cp debian/Beremiz_docs.directory $(CURDIR)/debian/beremiz/usr/share/desktop-directories + # Copy desktop menu file + mkdir -p $(CURDIR)/debian/beremiz/etc/xdg/menus/applications-merged + cp debian/beremiz.menu $(CURDIR)/debian/beremiz/etc/xdg/menus/applications-merged + # Copy desktop entry files + mkdir -p $(CURDIR)/debian/beremiz/usr/share/applications + cp debian/beremiz.desktop $(CURDIR)/debian/beremiz/usr/share/applications/ + cp debian/beremiz_svgui.desktop $(CURDIR)/debian/beremiz/usr/share/applications/ + cp debian/beremiz_wxglade.desktop $(CURDIR)/debian/beremiz/usr/share/applications/ + cp debian/beremiz_doc.desktop $(CURDIR)/debian/beremiz/usr/share/applications/ rm -rf `find .|grep .cvsignore`
chmod -R a+r $(CURDIR)/debian/beremiz
# Build architecture-independent files here.
binary-indep: build install
-# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install