Merge lp:~vagrantc/ltsp/ltsp-ubuntu-debian-packaging-sync into lp:~stgraber/ltsp/ltsp.karmic

Proposed by Vagrant Cascadian
Status: Rejected
Rejected by: Stéphane Graber
Proposed branch: lp:~vagrantc/ltsp/ltsp-ubuntu-debian-packaging-sync
Merge into: lp:~stgraber/ltsp/ltsp.karmic
Diff against target: None lines
To merge this branch: bzr merge lp:~vagrantc/ltsp/ltsp-ubuntu-debian-packaging-sync
Reviewer Review Type Date Requested Status
Stéphane Graber Pending
Review via email: mp+11499@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Vagrant Cascadian (vagrantc) wrote :

some minor fixes, and a switch to debhelper 7, bringing it closer in sync with Debian.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Marking as Rejected as we've got a new batch of patches done by Alkis.

Unmerged revisions

45. By Vagrant Cascadian

switch to debhelper 7

44. By Vagrant Cascadian

updated upstream and debian dir URLs in copyright

43. By Vagrant Cascadian

sync updates to reportbug hooks

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/bugs/ltsp-server/script'
2--- debian/bugs/ltsp-server/script 2009-02-09 18:58:17 +0000
3+++ debian/bugs/ltsp-server/script 2009-09-10 02:20:36 +0000
4@@ -3,10 +3,15 @@
5 for chroot in $(find /opt/ltsp/ -mindepth 1 -maxdepth 1 -type d) ; do
6 if [ -f $chroot/var/lib/dpkg/status ]; then
7 echo "packages in chroot: $chroot" >&3
8- COLUMNS=120 dpkg --root=$chroot -l ltsp-client ldm initramfs-tools | egrep 'ltsp-client|ldm|initramfs-tools' >&3
9+ COLUMNS=120 dpkg --root=$chroot -l 'ltsp*' ldm | egrep 'ltsp-client|ldm|ltspfs' >&3
10 fi
11 if [ -f $chroot/etc/lts.conf ]; then
12 echo "lts.conf from chroot: $chroot" >&3
13 cat $chroot/etc/lts.conf >&3
14 fi
15 done
16+if [ -d "/opt/ltsp/images" ]; then
17+ for image in $(find /opt/ltsp/images/ -type f -name '*.img' ); do
18+ echo found image $image >&3
19+ done
20+fi
21
22=== modified file 'debian/compat'
23--- debian/compat 2009-06-14 17:57:34 +0000
24+++ debian/compat 2009-09-10 03:19:42 +0000
25@@ -1,1 +1,1 @@
26-5
27+7
28
29=== modified file 'debian/control'
30--- debian/control 2009-09-07 02:40:18 +0000
31+++ debian/control 2009-09-10 03:19:42 +0000
32@@ -2,7 +2,7 @@
33 Section: misc
34 Priority: extra
35 Maintainer: Stephane Graber <stgraber@ubuntu.com>
36-Build-Depends: debhelper (>= 5), flex, bison, libpopt-dev, po-debconf, libgtk2.0-dev
37+Build-Depends: debhelper (>= 7), flex, bison, libpopt-dev, po-debconf, libgtk2.0-dev
38 Standards-Version: 3.8.3
39 Homepage: http://www.ltsp.org
40 Vcs-Bzr: http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk
41
42=== modified file 'debian/copyright'
43--- debian/copyright 2009-02-09 18:58:17 +0000
44+++ debian/copyright 2009-09-10 02:26:08 +0000
45@@ -4,13 +4,13 @@
46 Modifications for use with debian by Vagrant Cascadian <vagrant@freegeek.org>
47 in August of 2005.
48
49-The Ubuntu upstream source tree can be found on launchpad:
50-
51-bzr get http://bazaar.lauchpad.net/~ogra/ltsp-mainline
52-
53-The source tree for Debian packages can be downloaded using bzr:
54-
55-bzr get http://bzr.debian.org/bzr/pkg-ltsp/main
56+The upstream source tree can be found on launchpad:
57+
58+ bzr get http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk
59+
60+The debian dir for ltsp packages in Debian is maintained in bzr:
61+
62+ bzr get http://bzr.debian.org/bzr/pkg-ltsp/ltsp-debian-packaging
63
64 The original LTSP sources can be downloaded from: http://ltsp.org
65
66
67=== modified file 'debian/rules'
68--- debian/rules 2009-09-07 02:40:18 +0000
69+++ debian/rules 2009-09-10 03:19:42 +0000
70@@ -1,21 +1,15 @@
71 #!/usr/bin/make -f
72-# Sample debian/rules that uses debhelper.
73-# This file is public domain software, originally written by Joey Hess.
74-
75-# Uncomment this to turn on verbose mode.
76-#export DH_VERBOSE=1
77-
78-DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
79-DEB_SRC_BUILD_PROG:=dpkg-buildpackage -rfakeroot -S -sa
80
81 build: build-stamp
82 build-stamp:
83- dh_testdir
84+ dh --before dh_auto_configure build
85 cd localapps; ./configure --prefix=/usr --libexecdir=/usr/lib; cd -
86
87 $(MAKE) -C client/getltscfg
88 $(MAKE) -C localapps
89 $(MAKE) -C po update-po
90+ dh --after dh_auto_configure build
91+
92 touch build-stamp
93
94 clean:
95@@ -23,8 +17,9 @@
96 dh_testroot
97 rm -f build-stamp
98
99-# $(MAKE) -C client/getltscfg clean
100-# $(MAKE) -C localapps clean
101+ [ ! -f client/getltscfg/Makefile ] || $(MAKE) -C client/getltscfg clean
102+
103+ [ ! -f localapps/Makefile ] || $(MAKE) -C localapps clean
104
105 # Using po specific Makefile to clean message catalogs
106 $(MAKE) -C po clean
107@@ -32,70 +27,32 @@
108 # Debconf translation update
109 debconf-updatepo
110
111+ chmod +x debian/bugs/ltsp-server/script
112+
113 dh_clean
114
115 install: build
116- dh_testdir
117- dh_testroot
118- dh_clean -k
119- dh_installdirs
120-
121- # Make the bug reporting script executable
122- chmod +x debian/bugs/ltsp-server/script
123-
124- # Using po specific Makefile to install message catalogs
125- $(MAKE) -C po install DESTDIR=$(CURDIR)/debian/ltsp-server/
126
127 # Copy default and init scripts from upstream code
128 cp $(CURDIR)/client/initscripts/ltsp-core $(CURDIR)/debian/ltsp-client-core.init
129 cp $(CURDIR)/client/initscripts/ltsp-setup $(CURDIR)/debian/ltsp-client-core.ltsp-client-setup.init
130 cp $(CURDIR)/client/initscripts/ltsp-setup.default $(CURDIR)/debian/ltsp-client-core.ltsp-client-setup.default
131
132+ dh --before dh_installinit install
133+ dh_installinit -pltsp-client-core --name=ltsp-client-setup --no-start -u"start 32 S ."
134+ dh_installinit -a --no-start -u"start 25 2 ."
135+ dh --after dh_installinit install
136+
137+ # Using po specific Makefile to install message catalogs
138+ $(MAKE) -C po install DESTDIR=$(CURDIR)/debian/ltsp-server/
139+
140 # Build architecture-independent files here.
141 binary-indep: build install
142-# We have nothing to do by default.
143- dh_testdir -i
144- dh_testroot -i
145- dh_installchangelogs -i
146- dh_installdocs -i
147- dh_installexamples -i
148- dh_install -i -Xarch-ids
149- dh_installdebconf -i
150- dh_installman -pltsp-server -pltsp-client-core
151- dh_link -i
152- dh_compress -i
153- dh_fixperms -i
154- dh_installdeb -i
155- dh_gencontrol -i
156- dh_md5sums -i
157- dh_builddeb -i
158+ dh binary-indep
159
160 # Build architecture-dependent files here.
161 binary-arch: build install
162- dh_testdir -a
163- dh_testroot -a
164- dh_installchangelogs -a
165- dh_installdocs -a
166- dh_installexamples -a
167- dh_install -a
168- dh_installdebconf -a
169- dh_installinit -a --no-start -u"start 25 2 ."
170- dh_installinit --name=ltsp-client-setup --no-start -u"start 32 S ."
171- dh_link -a
172- dh_strip -a
173- dh_compress -a
174- dh_fixperms -a
175- dh_installdeb -a
176- dh_shlibdeps -a
177- dh_gencontrol -a
178- dh_md5sums -a
179- dh_builddeb -a
180-
181-bzr-release:
182- bzr export ltsp-$(DEB_UPSTREAM_VERSION)
183- rm -rf ltsp-$(DEB_UPSTREAM_VERSION)/debian
184- tar czf ../ltsp_$(DEB_UPSTREAM_VERSION).orig.tar.gz ltsp-$(DEB_UPSTREAM_VERSION)
185- rm -rf ltsp-$(DEB_UPSTREAM_VERSION)
186+ dh binary-arch
187
188 binary: binary-indep binary-arch
189-.PHONY: build clean binary-indep binary-arch binary install bzr-release
190+.PHONY: build clean binary-indep binary-arch binary install

Subscribers

People subscribed via source and target branches