Enlightenment CVS committal

Author  : swielinga
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/debian


Modified Files:
        changelog control rules 
Added Files:
        ewl0-test.files libewl0-dev.files libewl0.files 
Removed Files:
        libewl0.postinst 


Log Message:
Updated most of the debian packaging. Everything I have missed is out of date,
not important or not working.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/debian/changelog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- changelog   28 Jun 2003 06:50:32 -0000      1.2
+++ changelog   26 Aug 2003 13:59:06 -0000      1.3
@@ -1,5 +1,5 @@
-ewl (0.0.3-0cvs2003062801) unstable; urgency=low
+ewl (0.0.3-0cvs20030826) unstable; urgency=low
 
   * a CVS release
   
- -- Laurence J. Lane <[EMAIL PROTECTED]>  Tue, 30 Oct 2001 13:37:24 +0000
+ -- Sytse Wielinga <[EMAIL PROTECTED]>  Tue, 26 Aug 2003 14:37:43 +0200
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/debian/control,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- control     28 Jun 2003 06:50:32 -0000      1.2
+++ control     26 Aug 2003 13:59:06 -0000      1.3
@@ -1,8 +1,9 @@
 Source: ewl
 Section: libs
 Priority: optional
-Maintainer: Laurence J. Lane <[EMAIL PROTECTED]>
-Standards-Version: 3.5.6.0
+Maintainer: Sytse Wielinga <[EMAIL PROTECTED]>
+Build-Depends: libecore1-dev, libedb1-dev, libedje0-dev, libestyle0-dev, 
libetox0-dev, libevas2-dev, libewd0-dev, zlib1g-dev | zlib-dev, debhelper (>> 4.0.0)
+Standards-Version: 3.6.1.0
 
 Package: libewl0
 Section: libs
@@ -15,7 +16,19 @@
 Package: libewl0-dev
 Architecture: any
 Section: devel
-Depends: libewl0 (= ${Source-Version}), libc6-dev
+Depends: libewl0 (= ${Source-Version}), libc6-dev | libc-dev, libecore1-dev, 
libedb1-dev, libedje0-dev, libestyle0-dev, libetox0-dev, libevas2-dev, libewd0-dev, 
zlib1g-dev | zlib-dev
+Provides: libewl-dev
+Conflicts: libewl-dev
 Description: Development files for EWL
+ EWL is a widget library based on the libraries provided by the Enlightenment
+ project.
+
+Package: ewl0-test
+Section: graphics
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Test programs for EWL
+ This package provides test programs packaged with EWL.
+ .
  EWL is a widget library based on the libraries provided by the Enlightenment
  project.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/debian/rules,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- rules       14 Jan 2003 21:44:55 -0000      1.4
+++ rules       26 Aug 2003 13:59:06 -0000      1.5
@@ -2,23 +2,56 @@
 # Sample debian/rules that uses debhelper.
 # GNU copyright 1997 to 1999 by Joey Hess.
 
-export DH_COMPAT=2
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-cfg:=--prefix=/usr
-INSTALL=/usr/bin/install
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+
+
+CFLAGS ?= -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+INSTALL=/usr/bin/install -p
+CONFIGUREOPTS = --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) 
--host=$(DEB_HOST_GNU_TYPE)
 package=libewl0
 
-build: build-stamp
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+
+       test -x autogen.sh && ./autogen.sh $(CONFIGUREOPTS) || ./configure 
$(CONFIGUREOPTS)
+
+       touch configure-stamp
+
+build: configure build-stamp
 build-stamp:
        dh_testdir
-       test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg)
+
        $(MAKE)
+
        touch build-stamp
+
 clean:
        dh_testdir
-       dh_testroot
-       rm -f build-stamp
+       rm -f build-stamp configure-stamp
+
        -$(MAKE) distclean
+
        dh_clean
 
 install: build
@@ -26,15 +59,8 @@
        dh_testroot
        dh_clean -k
        dh_installdirs
-       
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/$(package)
-       
-       $(INSTALL) -d debian/$(package)-dev/usr/lib \
-                     debian/$(package)-dev/usr/bin
-       mv debian/$(package)/usr/include debian/$(package)-dev/usr/
-       mv debian/$(package)/usr/lib/*.a debian/$(package)/usr/lib/*.la \
-          debian/$(package)/usr/lib/*.so debian/$(package)-dev/usr/lib
-       mv debian/$(package)/usr/bin/ewl-config debian/$(package)-dev/usr/bin
+
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
 binary-indep: build install
 
@@ -43,7 +69,9 @@
        dh_testroot
        dh_installdocs AUTHORS README
        dh_installchangelogs
-#      dh_strip
+       dh_movefiles
+       dh_link
+       dh_strip
        dh_compress
        dh_fixperms
        dh_makeshlibs
@@ -54,4 +82,4 @@
        dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install configure




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to