dependency and package content cleanups.

split up edje0-bin into edje0-bin and edje0-debug.
move rules to CDBS.


SVN revision: 21682
This commit is contained in:
kaethorn 2006-04-01 22:18:39 +00:00 committed by kaethorn
parent ca80b9008e
commit b02a0e9422
6 changed files with 42 additions and 107 deletions

View File

@ -2,13 +2,13 @@ Source: edje
Section: libs Section: libs
Priority: optional Priority: optional
Maintainer: Sytse Wielinga <s.b.wielinga@student.utwente.nl> Maintainer: Sytse Wielinga <s.b.wielinga@student.utwente.nl>
Build-Depends: libeet-dev, libecore-dev, libevas-dev, libembryo-dev, debhelper (>> 4.0.0), automake-1.7 | automaken, libtool Build-Depends: libeet0-dev, libecore0-dev, libevas0-dev, libembryo0-dev, debhelper (>> 4.0.0), automake-1.7 | automaken, libtool
Standards-Version: 3.6.1.0 Standards-Version: 3.6.1.0
Package: edje0-bin Package: edje0-bin
Architecture: any Architecture: any
Section: graphics Section: graphics
Depends: ${shlibs:Depends} Depends: ${shlibs:Depends}, libedje0 (= ${Source-Version})
Provides: edje-bin Provides: edje-bin
Description: Various binaries for use with libedje. Description: Various binaries for use with libedje.
This package contains the following binaries: This package contains the following binaries:
@ -22,6 +22,18 @@ Description: Various binaries for use with libedje.
compressed and scalable themes. It is the theming engine behind compressed and scalable themes. It is the theming engine behind
Enlightenment DR 0.17. Enlightenment DR 0.17.
Package: edje0-debug
Architecture: any
Section: graphics
Depends: ${shlibs:Depends}, libedje0 (= ${Source-Version}), edje0-bin
Provides: edje-debug
Description: Various binaries for use with libedje.
This package contains the edje test binaries.
.
Edje is a graphical layout and animation library for animated resizable,
compressed and scalable themes. It is the theming engine behind
Enlightenment DR 0.17.
Package: libedje0 Package: libedje0
Architecture: any Architecture: any
Section: libs Section: libs
@ -37,7 +49,7 @@ Package: libedje0-dev
Architecture: any Architecture: any
Section: devel Section: devel
Architecture: any Architecture: any
Depends: libedje0 (= ${Source-Version}), libc6-dev | libc-dev, libeet-dev, libecore-dev, libevas-dev, libembryo-dev Depends: libedje0 (= ${Source-Version}), libc6-dev | libc-dev, libeet0-dev, libecore0-dev, libevas0-dev, libembryo0-dev
Provides: libedje-dev Provides: libedje-dev
Description: libedje0 headers, static libraries and documentation Description: libedje0 headers, static libraries and documentation
This package provides headers, shared libraries and documentation for Edje. This package provides headers, shared libraries and documentation for Edje.

View File

@ -1,13 +1,6 @@
usr/bin/edje_cc debian/tmp/usr/bin/edje_cc
usr/bin/edje_ls debian/tmp/usr/bin/edje_ls
usr/bin/edje_decc debian/tmp/usr/bin/edje_decc
usr/bin/edje_recc debian/tmp/usr/bin/edje_recc
usr/bin/edje debian/tmp/usr/bin/edje
usr/share/edje/data/src/*.edc debian/tmp/usr/share/edje/data/template/*
usr/share/edje/data/images/*.png
usr/share/edje/data/*.sh
usr/share/edje/data/test/fonts/*.alias
usr/share/edje/data/test/fonts/*.ttf
usr/share/edje/data/test/fonts/*.dir
usr/share/edje/data/test/images/*.png
usr/share/edje/data/template/*

View File

@ -0,0 +1,8 @@
debian/tmp/usr/bin/*test
debian/tmp/usr/share/edje/data/e_logo.sh
debian/tmp/usr/share/edje/data/src/*.edc
debian/tmp/usr/share/edje/data/images/*.png
debian/tmp/usr/share/edje/data/test/fonts/*.alias
debian/tmp/usr/share/edje/data/test/fonts/*.ttf
debian/tmp/usr/share/edje/data/test/fonts/*.dir
debian/tmp/usr/share/edje/data/test/images/*.png

View File

@ -1,7 +1,5 @@
usr/include/* debian/tmp/usr/include/*
usr/lib/lib*.a debian/tmp/usr/lib/lib*.a
usr/lib/lib*.so debian/tmp/usr/lib/*.la
usr/lib/*.la debian/tmp/usr/bin/*-config
usr/share/aclocal/* debian/tmp/usr/lib/pkgconfig/*
usr/bin/*-config
/usr/lib/pkgconfig/*

View File

@ -1,2 +1,2 @@
usr/lib/lib*.so.* debian/tmp/usr/lib/lib*.so.*
usr/share/edje/include/edje.inc debian/tmp/usr/share/edje/include/edje.inc

View File

@ -1,87 +1,11 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# Sample debian/rules that uses debhelper. # Simple debian/rules rewrote for cdbs
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatability version to use. include /usr/share/cdbs/1/rules/debhelper.mk
export DH_COMPAT=4 include /usr/share/cdbs/1/class/autotools.mk
DEB_MAKE_CLEAN_TARGET := clean
CFLAGS ?= -Wall -g clean::
if [ -f $(CURDIR)/../../snapshot ]; then ./autogen.sh --prefix=/usr; fi
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 --with-vim=/usr/share/vim/addons --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
package=libedje0
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
$(MAKE)
touch build-stamp
clean:
dh_testdir
rm -f build-stamp configure-stamp
-$(MAKE) distclean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
chmod 755 $(CURDIR)/debian/tmp/usr/share/edje/data/e_logo.sh
chmod 755 $(CURDIR)/debian/tmp/usr/share/edje/data/template/build_theme.sh
binary-indep: build install
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs AUTHORS README
dh_installchangelogs
dh_install --sourcedir=debian/tmp --list-missing
dh_link
dh_strip
dh_compress
dh_fixperms
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 configure