[Pkg-cli-libs-commits] r4442 - in /packages/taoframework/trunk/debian: changelog compat rules source/ source/format taoframework-examples.examples
laney-guest at users.alioth.debian.org
laney-guest at users.alioth.debian.org
Wed Jun 29 19:35:34 UTC 2011
Author: laney-guest
Date: Wed Jun 29 19:35:33 2011
New Revision: 4442
URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=4442
Log:
Convert to DH7
Added:
packages/taoframework/trunk/debian/source/
packages/taoframework/trunk/debian/source/format
Modified:
packages/taoframework/trunk/debian/changelog
packages/taoframework/trunk/debian/compat
packages/taoframework/trunk/debian/rules
packages/taoframework/trunk/debian/taoframework-examples.examples
Modified: packages/taoframework/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/taoframework/trunk/debian/changelog?rev=4442&op=diff
==============================================================================
--- packages/taoframework/trunk/debian/changelog (original)
+++ packages/taoframework/trunk/debian/changelog Wed Jun 29 19:35:33 2011
@@ -2,6 +2,7 @@
* debian/control: Add missing libx11-dev BD, needed so that dh_clideps
generates all runtime dependencies in a clean environment.
+ * Convert to DH7
-- Iain Lane <laney at debian.org> Wed, 29 Jun 2011 15:33:30 +0100
Modified: packages/taoframework/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/taoframework/trunk/debian/compat?rev=4442&op=diff
==============================================================================
--- packages/taoframework/trunk/debian/compat (original)
+++ packages/taoframework/trunk/debian/compat Wed Jun 29 19:35:33 2011
@@ -1,1 +1,1 @@
-5
+7
Modified: packages/taoframework/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/taoframework/trunk/debian/rules?rev=4442&op=diff
==============================================================================
--- packages/taoframework/trunk/debian/rules (original)
+++ packages/taoframework/trunk/debian/rules Wed Jun 29 19:35:33 2011
@@ -2,103 +2,34 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-export MONO_SHARED_DIR=$(CURDIR)
UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2 | sed 's,-.*,,' | sed 's,+.*,,')
NEXT_UPVERSION = $(shell perl -e '$$_=pop; s/(\d+)$$/$$1+1/e; print' $(UPVERSION))
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
- GACUTIL=/usr/bin/gacutil CSC=/usr/bin/mono-csc ./configure --prefix=/usr
- touch configure-stamp
+override_dh_auto_configure:
+ dh_auto_configure -- GACUTIL=/usr/bin/gacutil CSC=/usr/bin/mono-csc
-build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
- $(MAKE)
- touch build-stamp
-
- #for dir in $(shell find -maxdepth 2 -wholename './Tao.*/Tao.*' -type d | grep -v '\(Cg\|Glfw\|Tests\|Windows\)'); do \
- # base="$${dir##*/}"; \
- # cp $(CURDIR)/$$dir/$$base.dll \
- # $(CURDIR)/$$dir/$$base.dll.config \
- # $(CURDIR)/build/; \
- # /usr/bin/monodocer --assembly:$(CURDIR)/build/$$base.dll \
- # --path:$(CURDIR)/build/doc/tmp/$$base; \
- # pkg=$$(echo $$base | cut -f2 -d. | tr A-Z a-z); \
- # if [ "$$pkg" = "platform" ]; then continue; fi; \
- # version=$$(monodis --assembly $(CURDIR)/build/$$base.dll | sed -ne 's/Version:[[:space:]]*//p'); \
- # abi=$$(echo $$version | cut -f1,2 -d.); \
- # if [ ! -f debian/tao-$$pkg-$$abi.pc ]; then echo "Error: file debian/tao-$$pkg-$$abi.pc for tao.$$base (version $$version) not found"; exit 1; fi; \
- # pcversion=$$(sed -ne 's/Version:[[:space:]]*//p' debian/tao-$$pkg-$$abi.pc); \
- # if [ "$$version" != "$$pcversion" ]; then echo "Error: version $$pcversion in debian/tao-$$pkg-$$abi.pc does not match tao.$$base version $$version"; exit 1; fi; \
- # if [ ! -f debian/libtaoframework-$$pkg$$abi-cil.install ]; then echo "Error: file debian/libtaoframework-$$pkg$$abi-cil.install for tao.$$base (version $$version) not found"; exit 1; fi; \
- #done
+override_dh_installexamples:
+ dh_installexamples
+ find $(CURDIR)/debian/taoframework-examples/usr/share/doc \
+ '(' -name bin -o -name '*.exe' -o -name '*.dll' -o -name \
+ '*.dll.config' -o -name 'Makefile*' -o -name '*.csproj' -o \
+ -name COPYING ')' -delete
+ cp $(CURDIR)/debian/Makefile \
+ $(CURDIR)/debian/taoframework-examples/usr/share/doc/taoframework-examples/examples/
-clean:
- dh_testdir
- dh_testroot
- #rm -f debian/*.config
- rm -f build-stamp configure-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
- rm -rf $(CURDIR)/debian/examples
- QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- $(MAKE) install DESTDIR=$$(pwd)/debian/tmp
-
- # Copy examples contents, then clean up unwanted files
- mkdir -p $(CURDIR)/debian/examples
- cp -r $(CURDIR)/examples/* $(CURDIR)/debian/examples
- find $(CURDIR)/debian/examples '(' -name bin -o -name '*.exe' \
- -o -name '*.dll' -o -name '*.dll.config' -o -name 'Makefile*' \
- -o -name '*.csproj' -o -name COPYING ')' -exec rm -f '{}' ';'
-
- # On Debian, we want stuff in /usr/lib/cli instead of /usr/lib/mono
- # and we manage the GAC ourselves.
- #mkdir debian/tmp/usr/lib/cli
- #find debian -path '*lib/mono/tao*' | while read src; do \
- # dest=$$(echo "$$src" | sed s,/mono/,/cli/,); \
- # [ -d "$$src" ] && mkdir "$$dest"; \
- # [ -f "$$src" ] && cp "$$src" "$$dest" && rm -f "$$src"; \
- #done
- #find debian -path '*lib/pkgconfig/*.pc' | while read pc; do \
- # sed -i 's,/mono/,/cli/,' "$$pc"; \
- #done
- #rm -Rf debian/tmp/usr/lib/mono/gac
-
- dh_install -si --list-missing --sourcedir=debian/tmp
- dh_installdirs
-
-binary-arch:
- # Do nothing
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installcligac
- dh_installchangelogs
- dh_installdocs
- dh_clifixperms
- dh_installexamples
- dh_installman
- dh_link
- dh_strip
+override_dh_compress:
# please don't compress the examples, thanks
dh_compress -Xusr/share/doc/taoframework-examples/examples
- dh_fixperms
- dh_installdeb
+
+override_dh_makeclilibs:
dh_makeclilibs -m $(UPVERSION) -l $(NEXT_UPVERSION)
- dh_clideps -d --exclude-moduleref=libdl.dylib --exclude-moduleref=/System/Library/Frameworks/Cocoa.framework/Cocoa --exclude-moduleref=libobjc.dylib
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-binary: binary-indep
-.PHONY: build clean binary-indep binary install configure
+override_dh_clideps:
+ dh_clideps -d \
+ --exclude-moduleref=libdl.dylib \
+ --exclude-moduleref=/System/Library/Frameworks/Cocoa.framework/Cocoa \
+ --exclude-moduleref=libobjc.dylib
+
+%:
+ dh $@ --with quilt,cli
Added: packages/taoframework/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/taoframework/trunk/debian/source/format?rev=4442&op=file
==============================================================================
--- packages/taoframework/trunk/debian/source/format (added)
+++ packages/taoframework/trunk/debian/source/format Wed Jun 29 19:35:33 2011
@@ -1,0 +1,1 @@
+1.0
Modified: packages/taoframework/trunk/debian/taoframework-examples.examples
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/taoframework/trunk/debian/taoframework-examples.examples?rev=4442&op=diff
==============================================================================
--- packages/taoframework/trunk/debian/taoframework-examples.examples (original)
+++ packages/taoframework/trunk/debian/taoframework-examples.examples Wed Jun 29 19:35:33 2011
@@ -1,2 +1,1 @@
-debian/examples/*
-debian/Makefile
+examples/*
More information about the Pkg-cli-libs-commits
mailing list