debian: First Clean Lintian run
authorJerome St-Louis <jerome@ecere.com>
Thu, 16 Aug 2012 17:21:32 +0000 (13:21 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 16 Aug 2012 17:21:32 +0000 (13:21 -0400)
34 files changed:
debian/changelog
debian/control
debian/ecere-dev.install.in32 [new file with mode: 0644]
debian/ecere-dev.install.in64 [new file with mode: 0644]
debian/ecere-dev.lintian-overrides [new file with mode: 0644]
debian/ecere-doc.install [deleted file]
debian/ecere-extras.install
debian/ecere-extras.lintian-overrides [new file with mode: 0644]
debian/ecere-samples.install
debian/ecere-samples.lintian-overrides [new file with mode: 0644]
debian/ecere-sdk.install [new file with mode: 0644]
debian/ecere-sdk.install.in32 [deleted file]
debian/ecere-sdk.install.in64 [deleted file]
debian/libec0.install.in32 [new file with mode: 0644]
debian/libec0.install.in64 [new file with mode: 0644]
debian/libec0.lintian-overrides [new file with mode: 0644]
debian/libec0.symbols [new file with mode: 0644]
debian/libecere.install.in32 [deleted file]
debian/libecere.install.in64 [deleted file]
debian/libecere0.install.in32 [new file with mode: 0644]
debian/libecere0.install.in64 [new file with mode: 0644]
debian/libecere0.symbols [moved from debian/libecere.symbols with 99% similarity]
debian/libecerecom0.install.in32 [new file with mode: 0644]
debian/libecerecom0.install.in64 [new file with mode: 0644]
debian/libecerecom0.symbols [moved from debian/ecere-sdk.symbols with 93% similarity]
debian/libeda0.install.in32 [new file with mode: 0644]
debian/libeda0.install.in64 [new file with mode: 0644]
debian/libeda0.lintian-overrides [new file with mode: 0644]
debian/libeda0.symbols [new file with mode: 0644]
debian/libedasqlite0.install.in32 [new file with mode: 0644]
debian/libedasqlite0.install.in64 [new file with mode: 0644]
debian/libedasqlite0.lintian-overrides [new file with mode: 0644]
debian/libedasqlite0.symbols [new file with mode: 0644]
debian/rules

index 8e35170..ce95f2d 100644 (file)
@@ -1,4 +1,4 @@
-ecere (0.44.01-1) experimental; urgency=low
+ecere-sdk (0.44.01-1) experimental; urgency=low
 
   * Initial packaging of Ecere SDK for Debian. (Closes: #665332, LP: #394998)
 
index b6e67f1..46ed9f7 100644 (file)
@@ -1,4 +1,4 @@
-Source: ecere
+Source: ecere-sdk
 Section: devel
 Priority: optional
 Maintainer: Jerome St-Louis <jerstlouis@gmail.com>
@@ -26,13 +26,23 @@ Homepage: http://www.ecere.com/
 
 Package: ecere-sdk
 Architecture: i386 armel armhf powerpc
-Depends: ecere-doc, ecere-samples, ecere-extras, libecere, ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ecere-dev, ecere-samples, ecere-extras, libeda0, libedasqlite0, ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Description: Ecere cross-platform SDK
+ This package is a metapackage providing
+ the entire Ecere cross-platform SDK
+ (ecere-dev, ecere-samples, ecere-extras,
+ libeda0, libedasqlite0).
+
+Package: ecere-dev
+Architecture: i386 armel armhf powerpc
+Depends: libec0 (= ${binary:Version}), libecerecom0 (= ${binary:Version}), ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Ecere SDK Development Tools
  This package provides the compiling tools
- for the eC language and the Ecere IDE, as
- well as EDA, Ecere's Data Access layer.
+ for the eC language, the Ecere IDE,
+ as well as the symlinks for the Ecere
+ libraries.
 
-Package: libecere
+Package: libecere0
 Architecture: i386 armel armhf powerpc
 Depends: ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Description: Ecere Runtime Library
@@ -43,6 +53,42 @@ Description: Ecere Runtime Library
  2D/3D graphics engine, networking engine
  as well as system functionality.
 
+Package: libecerecom0
+Architecture: i386 armel armhf powerpc
+Depends: ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: eC Core Runtime Library
+ This package provides the bare minimum
+ runtime library for applications
+ written in eC.
+
+Package: libec0
+Architecture: i386 armel armhf powerpc
+Depends: libecere0 (= ${binary:Version}), ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Ecere Compiler Library
+ This package provides the eC compiler.
+ It is used by the Ecere IDE, as well
+ as the eC compiling tools (ecp, ecc, ecs).
+ It could also be used by applications
+ wanting to parse or compile eC code.
+
+Package: libeda0
+Architecture: i386 armel armhf powerpc
+Depends: libecere0, ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Ecere Data Access
+ This package provides the Ecere
+ Data Access RDBMS abstraction layer.
+ The Ecere Database (EDB) engine is built-in.
+ For SQLite support, the SQLite driver
+ (libedasqlite0) is also required.
+
+Package: libedasqlite0
+Architecture: i386 armel armhf powerpc
+Depends: libeda0, ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: EDA SQLite Driver
+ This package provides SQLite driver
+ for building database applications
+ with the Ecere Database Access layer.
+
 Package: ecere-samples
 Architecture: all
 Depends: ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
@@ -53,17 +99,6 @@ Description: Project samples for the Ecere SDK
  software that can be created with
  the Ecere SDK.
 
-Package: ecere-doc
-Architecture: all
-Depends: ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
-Description: Documentation for the Ecere SDK
- This package includes the Ecere Tao
- of Programming, an ebook designed
- to help programmers become familiar
- with eC and Ecere, as well the API
- reference in the form of .eCdoc
- until it is embedded in the library.
-
 Package: ecere-extras
 Architecture: all
 Depends: ${devel:Depends}, ${shlibs:Depends}, ${misc:Depends}
diff --git a/debian/ecere-dev.install.in32 b/debian/ecere-dev.install.in32
new file mode 100644 (file)
index 0000000..5a93919
--- /dev/null
@@ -0,0 +1,11 @@
+usr/bin
+usr/lib/libecereVanilla.a
+usr/lib/libEDA.so
+usr/lib/libec.so
+usr/lib/libEDASQLite.so
+usr/lib/libecereCOM.so
+usr/lib/libecere.so
+usr/share/applications
+usr/share/pixmaps
+usr/share/man
+usr/share/doc/ecere-dev/changelog.gz
diff --git a/debian/ecere-dev.install.in64 b/debian/ecere-dev.install.in64
new file mode 100644 (file)
index 0000000..0cffcea
--- /dev/null
@@ -0,0 +1,11 @@
+usr/bin
+usr/lib32/libecereVanilla.a
+usr/lib32/libEDA.so
+usr/lib32/libec.so
+usr/lib32/libEDASQLite.so
+usr/lib32/libecereCOM.so
+usr/lib32/libecere.so
+usr/share/applications
+usr/share/pixmaps
+usr/share/man
+usr/share/doc/ecere-dev/changelog.gz
diff --git a/debian/ecere-dev.lintian-overrides b/debian/ecere-dev.lintian-overrides
new file mode 100644 (file)
index 0000000..a609f2b
--- /dev/null
@@ -0,0 +1,8 @@
+# Because -D_FORTIFY_SOURCE works in a non-standard way
+# (i.e. it is not handled by the preprocessor),
+# and the C code generated by eC is preprocessed
+# before being compiled to C code, which does not
+# include the C header files for the functions, but
+# rather define its own prototypes, fortify functions
+# is not supported in eC.
+ecere-dev binary: hardening-no-fortify-functions
diff --git a/debian/ecere-doc.install b/debian/ecere-doc.install
deleted file mode 100644 (file)
index 041c73c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/ecere/doc
index 3a9f49a..3f57140 100644 (file)
@@ -1 +1,2 @@
 usr/share/ecere/extras
+usr/share/doc/ecere-extras/changelog.gz
diff --git a/debian/ecere-extras.lintian-overrides b/debian/ecere-extras.lintian-overrides
new file mode 100644 (file)
index 0000000..7aad07f
--- /dev/null
@@ -0,0 +1,7 @@
+# This extras package provides the source for a licenses dialog which can be used
+# in an Ecere application to acknowledge in the application interface itself
+# software used by or integrated with the Ecere SDK, and thus the resulting
+# application itself. It can be found in: extras/gui/LicensesDialog.ec
+# The licenses for those software components are thus provided as a convenience
+# for use together with that dialog in: extras/res/licenses/
+ecere-extras binary:  extra-license-file
index be24837..7bb0555 100644 (file)
@@ -1 +1,2 @@
 usr/share/ecere/samples
+usr/share/doc/ecere-samples/changelog.gz
diff --git a/debian/ecere-samples.lintian-overrides b/debian/ecere-samples.lintian-overrides
new file mode 100644 (file)
index 0000000..89b4a16
--- /dev/null
@@ -0,0 +1,4 @@
+# A sample usage for the LicensesDialog provided in ecere-extras
+# is provided in this package, with a sample license resource which is displayed
+# in addition to the licenses in the base LicensesDialog class
+ecere-samples binary: extra-license-file usr/share/ecere/samples/misc/licensing/myapp.LICENSE
diff --git a/debian/ecere-sdk.install b/debian/ecere-sdk.install
new file mode 100644 (file)
index 0000000..5e2bc29
--- /dev/null
@@ -0,0 +1 @@
+usr/share/doc/ecere-sdk/changelog.gz
diff --git a/debian/ecere-sdk.install.in32 b/debian/ecere-sdk.install.in32
deleted file mode 100644 (file)
index 0d9caa6..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-usr/bin
-usr/lib/libEDA.so*
-usr/lib/libec.so*
-usr/lib/libecereVanilla.a
-usr/lib/libEDASQLite.so*
-usr/lib/libecereCOM.so*
-usr/share/applications
-usr/share/pixmaps
diff --git a/debian/ecere-sdk.install.in64 b/debian/ecere-sdk.install.in64
deleted file mode 100644 (file)
index 8a1b7d0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-usr/bin
-usr/lib32/libEDA.so*
-usr/lib32/libec.so*
-usr/lib32/libecereVanilla.a
-usr/lib32/libEDASQLite.so*
-usr/lib32/libecereCOM.so*
-usr/share/applications
-usr/share/pixmaps
diff --git a/debian/libec0.install.in32 b/debian/libec0.install.in32
new file mode 100644 (file)
index 0000000..e9c9402
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib/libec.so.0.44
+usr/lib/libec.so.0
+usr/lib/ec/libec.so
+usr/share/doc/libec0/changelog.gz
diff --git a/debian/libec0.install.in64 b/debian/libec0.install.in64
new file mode 100644 (file)
index 0000000..c0fd9f4
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib32/libec.so.0.44
+usr/lib32/libec.so.0
+usr/lib/ec/libec.so
+usr/share/doc/libec0/changelog.gz
diff --git a/debian/libec0.lintian-overrides b/debian/libec0.lintian-overrides
new file mode 100644 (file)
index 0000000..5006720
--- /dev/null
@@ -0,0 +1,15 @@
+# Because -D_FORTIFY_SOURCE works in a non-standard way
+# (i.e. it is not handled by the preprocessor),
+# and the C code generated by eC is preprocessed
+# before being compiled to C code, which does not
+# include the C header files for the functions, but
+# rather define its own prototypes, fortify functions
+# is not supported in eC.
+libec0 binary: hardening-no-fortify-functions
+
+# The lexer generated by flex uses exit() by default for a fatal error.
+# Since the parser, and the eC compiler does not expect any fatal error
+# to occur, the caller would not be able to handle continuing on in the 
+# case of such an error and it would result in a crash. Leaving the default 
+# exit() behavior is probably best.
+libec0 binary: shlib-calls-exit
diff --git a/debian/libec0.symbols b/debian/libec0.symbols
new file mode 100644 (file)
index 0000000..d0c2384
--- /dev/null
@@ -0,0 +1,3 @@
+libec.so.0 libec0 #MINVER#
+ __ecereDll_Load@Base 0.44.01
+ __ecereDll_Unload@Base 0.44.01
diff --git a/debian/libecere.install.in32 b/debian/libecere.install.in32
deleted file mode 100644 (file)
index 0d24720..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/libecere.so*
diff --git a/debian/libecere.install.in64 b/debian/libecere.install.in64
deleted file mode 100644 (file)
index 518916b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib32/libecere.so*
diff --git a/debian/libecere0.install.in32 b/debian/libecere0.install.in32
new file mode 100644 (file)
index 0000000..6c21388
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib/libecere.so.0.44
+usr/lib/libecere.so.0
+usr/lib/ec/libecere.so
+usr/share/doc/libecere0/changelog.gz
diff --git a/debian/libecere0.install.in64 b/debian/libecere0.install.in64
new file mode 100644 (file)
index 0000000..22af57c
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib32/libecere.so.0.44
+usr/lib32/libecere.so.0
+usr/lib/ec/libecere.so
+usr/share/doc/libecere0/changelog.gz
similarity index 99%
rename from debian/libecere.symbols
rename to debian/libecere0.symbols
index 8511c3b..f76225a 100644 (file)
@@ -1,4 +1,4 @@
-libecere.so.0 libecere #MINVER#
+libecere.so.0 libecere0 #MINVER#
  AddExtensionBlock@Base 0.44.01
  ApplyTranslation@Base 0.44.01
  BitSize@Base 0.44.01
diff --git a/debian/libecerecom0.install.in32 b/debian/libecerecom0.install.in32
new file mode 100644 (file)
index 0000000..5bb6667
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib/libecereCOM.so.0.44
+usr/lib/libecereCOM.so.0
+usr/lib/ec/libecereCOM.so
+usr/share/doc/libecerecom0/changelog.gz
diff --git a/debian/libecerecom0.install.in64 b/debian/libecerecom0.install.in64
new file mode 100644 (file)
index 0000000..f5f1779
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib32/libecereCOM.so.0.44
+usr/lib32/libecereCOM.so.0
+usr/lib/ec/libecereCOM.so
+usr/share/doc/libecerecom0/changelog.gz
similarity index 93%
rename from debian/ecere-sdk.symbols
rename to debian/libecerecom0.symbols
index 22dba63..51545b9 100644 (file)
@@ -1,13 +1,4 @@
-libEDA.so.0 ecere-sdk #MINVER#
- __ecereDll_Load@Base 0.44.01
- __ecereDll_Unload@Base 0.44.01
-libEDASQLite.so.0 ecere-sdk #MINVER#
- __ecereDll_Load@Base 0.44.01
- __ecereDll_Unload@Base 0.44.01
-libec.so.0 ecere-sdk #MINVER#
- __ecereDll_Load@Base 0.44.01
- __ecereDll_Unload@Base 0.44.01
-libecereCOM.so.0 ecere-sdk #MINVER#
+libecereCOM.so.0 libecerecom0 #MINVER#
  Instance_COM_Initialize@Base 0.44.01
  Instance_LocateModule@Base 0.44.01
  Instance_Module_Free@Base 0.44.01
diff --git a/debian/libeda0.install.in32 b/debian/libeda0.install.in32
new file mode 100644 (file)
index 0000000..3983d86
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib/libEDA.so.0.44
+usr/lib/libEDA.so.0
+usr/lib/ec/libEDA.so
+usr/share/doc/libeda0/changelog.gz
diff --git a/debian/libeda0.install.in64 b/debian/libeda0.install.in64
new file mode 100644 (file)
index 0000000..3b7dbc5
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib32/libEDA.so.0.44
+usr/lib32/libEDA.so.0
+usr/lib/ec/libED.so
+usr/share/doc/libeda0/changelog.gz
diff --git a/debian/libeda0.lintian-overrides b/debian/libeda0.lintian-overrides
new file mode 100644 (file)
index 0000000..63b7137
--- /dev/null
@@ -0,0 +1,8 @@
+# Because -D_FORTIFY_SOURCE works in a non-standard way
+# (i.e. it is not handled by the preprocessor),
+# and the C code generated by eC is preprocessed
+# before being compiled to C code, which does not
+# include the C header files for the functions, but
+# rather define its own prototypes, fortify functions
+# is not supported in eC.
+libeda0 binary: hardening-no-fortify-functions
diff --git a/debian/libeda0.symbols b/debian/libeda0.symbols
new file mode 100644 (file)
index 0000000..104bade
--- /dev/null
@@ -0,0 +1,3 @@
+libEDA.so.0 libeda0 #MINVER#
+ __ecereDll_Load@Base 0.44.01
+ __ecereDll_Unload@Base 0.44.01
diff --git a/debian/libedasqlite0.install.in32 b/debian/libedasqlite0.install.in32
new file mode 100644 (file)
index 0000000..52f8348
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib/libEDASQLite.so.0.44
+usr/lib/libEDASQLite.so.0
+usr/lib/ec/libEDASQLite.so
+usr/share/doc/libedasqlite0/changelog.gz
diff --git a/debian/libedasqlite0.install.in64 b/debian/libedasqlite0.install.in64
new file mode 100644 (file)
index 0000000..aacd4bd
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib32/libEDASQLite.so.0.44
+usr/lib32/libEDASQLite.so.0
+usr/lib/ec/libEDASQLite.so
+usr/share/doc/libedasqlite0/changelog.gz
diff --git a/debian/libedasqlite0.lintian-overrides b/debian/libedasqlite0.lintian-overrides
new file mode 100644 (file)
index 0000000..148c1fc
--- /dev/null
@@ -0,0 +1,8 @@
+# Because -D_FORTIFY_SOURCE works in a non-standard way
+# (i.e. it is not handled by the preprocessor),
+# and the C code generated by eC is preprocessed
+# before being compiled to C code, which does not
+# include the C header files for the functions, but
+# rather define its own prototypes, fortify functions
+# is not supported in eC.
+libedasqlite0 binary: hardening-no-fortify-functions
diff --git a/debian/libedasqlite0.symbols b/debian/libedasqlite0.symbols
new file mode 100644 (file)
index 0000000..bbe3b22
--- /dev/null
@@ -0,0 +1,3 @@
+libEDASQLite.so.0 libedasqlite0 #MINVER#
+ __ecereDll_Load@Base 0.44.01
+ __ecereDll_Unload@Base 0.44.01
index d483980..f281a2d 100755 (executable)
@@ -1,19 +1,28 @@
 #!/usr/bin/make -f
 
 DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+export DEBIAN_PACKAGE=1
 
 %:
        dh $@
 
 override_dh_install:
 ifeq ($(DEB_HOST_ARCH),amd64)
-       cp debian/libecere.install.in64 debian/libecere.install
-       cp debian/ecere-sdk.install.in64 debian/ecere-sdk.install
+       cp debian/libecere0.install.in64 debian/libecere0.install
+       cp debian/libecerecom0.install.in64 debian/libecerecom0.install
+       cp debian/libeda0.install.in64 debian/libeda0.install
+       cp debian/libedasqlite0.install.in64 debian/libedasqlite0.install
+       cp debian/libec0.install.in64 debian/libec0.install
+       cp debian/ecere-dev.install.in64 debian/ecere-dev.install
 endif
 
 ifeq ($(DEB_HOST_ARCH),i386)
-       cp debian/libecere.install.in32 debian/libecere.install
-       cp debian/ecere-sdk.install.in32 debian/ecere-sdk.install
+       cp debian/libecere0.install.in32 debian/libecere0.install
+       cp debian/libecerecom0.install.in32 debian/libecerecom0.install
+       cp debian/libeda0.install.in32 debian/libeda0.install
+       cp debian/libedasqlite0.install.in32 debian/libedasqlite0.install
+       cp debian/libec0.install.in32 debian/libec0.install
+       cp debian/ecere-dev.install.in32 debian/ecere-dev.install
 endif
        dh_install