Enlightenment CVS committal

Author  : swielinga
Project : e17
Module  : libs/estyle

Dir     : e17/libs/estyle/debian


Modified Files:
        Makefile.am changelog control rules 
Added Files:
        libestyle0-dev.files libestyle0.files 
Removed Files:
        libestyle0.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/estyle/debian/Makefile.am,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- Makefile.am 26 Jan 2002 07:37:26 -0000      1.1.1.1
+++ Makefile.am 26 Aug 2003 13:59:05 -0000      1.2
@@ -2,5 +2,6 @@
 changelog \
 control \
 copyright \
-libestyle0.postinst \
+libestyle0.files \
+libestyle0-dev.files \
 rules
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/estyle/debian/changelog,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- changelog   26 Jan 2002 07:37:26 -0000      1.1.1.1
+++ changelog   26 Aug 2003 13:59:05 -0000      1.2
@@ -1,5 +1,5 @@
-estyle (0.0.1-0cvs2001103001) unstable; urgency=low
+estyle (0.0.2-0cvs20030826) unstable; urgency=low
 
   * a CVS release
   
- -- Laurence J. Lane <[EMAIL PROTECTED]>  Tue, 30 Oct 2001 13:32:28 +0000
+ -- Sytse Wielinga <[EMAIL PROTECTED]>  Tue, 26 Aug 2003 13:31:11 +0200
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/estyle/debian/control,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- control     26 Jan 2002 07:37:26 -0000      1.1.1.1
+++ control     26 Aug 2003 13:59:05 -0000      1.2
@@ -1,22 +1,24 @@
 Source: estyle
 Section: libs
 Priority: optional
-Maintainer: Laurence J. Lane <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 2.0)
-Standards-Version: 3.2.1.0
+Maintainer: Sytse Wielinga <[EMAIL PROTECTED]>
+Build-Depends: libedb1-dev, libevas2-dev, libewd0-dev, debhelper (>= 3.0)
+Standards-Version: 3.6.1.0
 
 Package: libestyle0
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}
-Description: estyle is a simple text decoration library
+Description: A simple text decoration library
  Estyle adds decorations to text that will be displayed by evas.
  
 Package: libestyle0-dev
 Architecture: any
 Section: devel
 Architecture: any
-Depends: libestyle0 (= ${Source-Version})
+Depends: libestyle0 (= ${Source-Version}), libc6-dev | libc-dev, libedb1-dev, 
libevas2-dev, libewd0-dev
+Provides: libestyle-dev
+Conflicts: libestyle-dev
 Description: libestyle0 headers, static libraries and documentation
  Headers, static libraries and documentation for Imlib2.
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/estyle/debian/rules,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- rules       14 Jan 2003 18:50:28 -0000      1.3
+++ rules       26 Aug 2003 13:59:05 -0000      1.4
@@ -1,35 +1,48 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. 
-# GNU copyright 1997 by Joey Hess.
-#
-# This version is for a hypothetical package that builds an
-# architecture-dependant package, as well as an architecture-independent
-# package.
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode. 
+# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+
 # This is the debhelper compatability version to use.
-export DH_COMPAT=2
+export DH_COMPAT=4
+
+
+CFLAGS ?= -Wall -g
 
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
+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
+INSTALL=/usr/bin/install -p
+CONFIGUREOPTS = --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) 
--host=$(DEB_HOST_GNU_TYPE)
 package=libestyle0
 
 configure: configure-stamp
 configure-stamp:
-       ./autogen.sh --prefix=/usr || ./configure --prefix=/usr
-       touch configure-stamp
+       dh_testdir
 
+       test -x autogen.sh && ./autogen.sh $(CONFIGUREOPTS) || ./configure 
$(CONFIGUREOPTS)
+
+       touch configure-stamp
 
 build: configure build-stamp
 build-stamp:
        dh_testdir
 
-
-       SUBDIRS=src $(MAKE) 
+       $(MAKE) SUBDIRS=src
 
        touch build-stamp
 
@@ -38,44 +51,35 @@
        rm -f build-stamp configure-stamp
 
        -$(MAKE) distclean
-       -rm -f configure-stamp build-stamp
 
        dh_clean
 
-install: DH_OPTIONS=
 install: build 
        dh_testdir
        dh_testroot
        dh_clean -k
        dh_installdirs
 
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/$(package)/
-       $(INSTALL) -d debian/$(package)-dev/usr/lib
-       mv debian/$(package)/usr/include debian/$(package)-dev/usr
-       mv debian/$(package)/usr/lib/*.so debian/$(package)/usr/lib/*.la \
-          debian/$(package)/usr/lib/*.a debian/$(package)-dev/usr/lib/
+       $(MAKE) install SUBDIRS=src DESTDIR=$(CURDIR)/debian/tmp/
 
 binary-indep:
 
-# Build architecture-dependent files here.
-# Pass -a to all debhelper commands in this target to reduce clutter.
-binary-arch: DH_OPTIONS=-a
 binary-arch: build install
-       # Need this version of debhelper for DH_OPTIONS to work.
-       dh_testversion 2 
        dh_testdir
        dh_testroot
        dh_installdocs AUTHORS README
        dh_installchangelogs
-#      dh_strip
+       dh_movefiles
+       dh_link
+       dh_strip
        dh_compress
        dh_fixperms
-       dh_installdeb
        dh_makeshlibs
+       dh_installdeb
        dh_shlibdeps
        dh_gencontrol
        dh_md5sums
        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