Merge lp:~cosme/ubuntu/oneiric/wayland/wayland into lp:ubuntu/oneiric/wayland
- Oneiric (11.10)
- wayland
- Merge into oneiric
Proposed by
Cosme Domínguez
Status: | Merged |
---|---|
Merge reported by: | Bryce Harrington |
Merged at revision: | not available |
Proposed branch: | lp:~cosme/ubuntu/oneiric/wayland/wayland |
Merge into: | lp:ubuntu/oneiric/wayland |
Diff against target: |
295 lines (+41/-134) 6 files modified
debian/README.source (+0/-3) debian/changelog (+8/-0) debian/compat (+1/-1) debian/control (+12/-13) debian/copyright (+1/-1) debian/rules (+19/-116) |
To merge this branch: | bzr merge lp:~cosme/ubuntu/oneiric/wayland/wayland |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bryce Harrington | packaging | Approve | |
Review via email: mp+61327@code.launchpad.net |
Commit message
Description of the change
* Simplify debian/rules code
* Fix almost all lintian complaints (LP: #724608)
* Switch to dpkg-source 3.0 (quilt) format
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed file 'debian/README.source' | |||
2 | --- debian/README.source 2011-02-21 18:35:33 +0000 | |||
3 | +++ debian/README.source 1970-01-01 00:00:00 +0000 | |||
4 | @@ -1,3 +0,0 @@ | |||
5 | 1 | See /usr/share/doc/quilt/README.source | ||
6 | 2 | |||
7 | 3 | -- Bryce Harrington <bryce@ubuntu.com>, Wed, 24 Nov 2010 16:43:12 -0800 | ||
8 | 4 | 0 | ||
9 | === modified file 'debian/changelog' | |||
10 | --- debian/changelog 2011-02-23 18:13:23 +0000 | |||
11 | +++ debian/changelog 2011-05-17 22:28:16 +0000 | |||
12 | @@ -1,3 +1,11 @@ | |||
13 | 1 | wayland (0.1~git20110214.e4762a6a-0ubuntu2) oneiric; urgency=low | ||
14 | 2 | |||
15 | 3 | * Simplify debian/rules code | ||
16 | 4 | * Fix almost all lintian complaints (LP: #724608) | ||
17 | 5 | * Switch to dpkg-source 3.0 (quilt) format | ||
18 | 6 | |||
19 | 7 | -- Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> Tue, 17 May 2011 21:54:23 +0000 | ||
20 | 8 | |||
21 | 1 | wayland (0.1~git20110214.e4762a6a-0ubuntu1) natty; urgency=low | 9 | wayland (0.1~git20110214.e4762a6a-0ubuntu1) natty; urgency=low |
22 | 2 | 10 | ||
23 | 3 | * Update to new git snapshot from 2011-02-14 up to commit e4762a6a. (This | 11 | * Update to new git snapshot from 2011-02-14 up to commit e4762a6a. (This |
24 | 4 | 12 | ||
25 | === modified file 'debian/compat' | |||
26 | --- debian/compat 2011-02-21 18:35:33 +0000 | |||
27 | +++ debian/compat 2011-05-17 22:28:16 +0000 | |||
28 | @@ -1,1 +1,1 @@ | |||
30 | 1 | 5 | 1 | 8 |
31 | 2 | 2 | ||
32 | === modified file 'debian/control' | |||
33 | --- debian/control 2011-02-21 18:35:33 +0000 | |||
34 | +++ debian/control 2011-05-17 22:28:16 +0000 | |||
35 | @@ -4,12 +4,10 @@ | |||
36 | 4 | Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> | 4 | Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
37 | 5 | Uploaders: Bryce Harrington <bryce@canonical.com> | 5 | Uploaders: Bryce Harrington <bryce@canonical.com> |
38 | 6 | Build-Depends: | 6 | Build-Depends: |
40 | 7 | debhelper (>= 5), | 7 | debhelper (>= 8), |
41 | 8 | pkg-config, | 8 | pkg-config, |
42 | 9 | dpkg-dev (>= 1.14.17), | 9 | dpkg-dev (>= 1.14.17), |
46 | 10 | automake, | 10 | dh-autoreconf, |
44 | 11 | libtool, | ||
45 | 12 | quilt, | ||
47 | 13 | libcairo2-dev (>= 1.10.2-2), | 11 | libcairo2-dev (>= 1.10.2-2), |
48 | 14 | libdrm-dev (>= 2.4.23) [!hurd-i386], | 12 | libdrm-dev (>= 2.4.23) [!hurd-i386], |
49 | 15 | libegl1-mesa-dev (>= 7.10.1~git20110215.cc1636b6-0ubuntu2), | 13 | libegl1-mesa-dev (>= 7.10.1~git20110215.cc1636b6-0ubuntu2), |
50 | @@ -25,6 +23,7 @@ | |||
51 | 25 | libxcb-xfixes0-dev, | 23 | libxcb-xfixes0-dev, |
52 | 26 | libxkbcommon-dev | 24 | libxkbcommon-dev |
53 | 27 | Standards-Version: 3.9.1 | 25 | Standards-Version: 3.9.1 |
54 | 26 | Homepage: http://wayland.freedesktop.org | ||
55 | 28 | 27 | ||
56 | 29 | Package: wayland | 28 | Package: wayland |
57 | 30 | Architecture: any | 29 | Architecture: any |
58 | @@ -37,7 +36,7 @@ | |||
59 | 37 | libgles2-mesa, | 36 | libgles2-mesa, |
60 | 38 | libwayland-server0 (= ${binary:Version}), | 37 | libwayland-server0 (= ${binary:Version}), |
61 | 39 | libwayland-client0 (= ${binary:Version}) | 38 | libwayland-client0 (= ${binary:Version}) |
63 | 40 | Description: display server -- A nano, non-X11 graphical display server | 39 | Description: nano, non-X11 graphical display server |
64 | 41 | The Wayland display server is a minimal graphics server which relies on | 40 | The Wayland display server is a minimal graphics server which relies on |
65 | 42 | the kernel for modesetting, batchbuffer submission, and hardware | 41 | the kernel for modesetting, batchbuffer submission, and hardware |
66 | 43 | initialization. It leaves window management and most desktop policy to | 42 | initialization. It leaves window management and most desktop policy to |
67 | @@ -58,7 +57,7 @@ | |||
68 | 58 | libdrm-dev, | 57 | libdrm-dev, |
69 | 59 | wayland (= ${binary:Version}) | 58 | wayland (= ${binary:Version}) |
70 | 60 | Pre-Depends: x11-common (>= 1:7.0.0) | 59 | Pre-Depends: x11-common (>= 1:7.0.0) |
72 | 61 | Description: display server -- A nano, non-X11 graphical display server | 60 | Description: nano, non-X11 graphical display server (development files) |
73 | 62 | The Wayland display server is a minimal graphics server which relies on | 61 | The Wayland display server is a minimal graphics server which relies on |
74 | 63 | the kernel for modesetting, batchbuffer submission, and hardware | 62 | the kernel for modesetting, batchbuffer submission, and hardware |
75 | 64 | initialization. It leaves window management and most desktop policy to | 63 | initialization. It leaves window management and most desktop policy to |
76 | @@ -73,7 +72,7 @@ | |||
77 | 73 | Depends: wayland (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} | 72 | Depends: wayland (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} |
78 | 74 | Section: debug | 73 | Section: debug |
79 | 75 | Priority: extra | 74 | Priority: extra |
81 | 76 | Description: display server -- A nano, non-X11 graphical display server | 75 | Description: nano, non-X11 graphical display server (debugging symbols) |
82 | 77 | The Wayland display server is a minimal graphics server which relies on | 76 | The Wayland display server is a minimal graphics server which relies on |
83 | 78 | the kernel for modesetting, batchbuffer submission, and hardware | 77 | the kernel for modesetting, batchbuffer submission, and hardware |
84 | 79 | initialization. It leaves window management and most desktop policy to | 78 | initialization. It leaves window management and most desktop policy to |
85 | @@ -87,7 +86,7 @@ | |||
86 | 87 | Section: libs | 86 | Section: libs |
87 | 88 | Architecture: any | 87 | Architecture: any |
88 | 89 | Depends: ${shlibs:Depends}, ${misc:Depends} | 88 | Depends: ${shlibs:Depends}, ${misc:Depends} |
90 | 90 | Description: display server -- A nano, non-X11 graphical display server | 89 | Description: nano, non-X11 graphical display server (client shared libs) |
91 | 91 | The Wayland display server is a minimal graphics server which relies on | 90 | The Wayland display server is a minimal graphics server which relies on |
92 | 92 | the kernel for modesetting, batchbuffer submission, and hardware | 91 | the kernel for modesetting, batchbuffer submission, and hardware |
93 | 93 | initialization. It leaves window management and most desktop policy to | 92 | initialization. It leaves window management and most desktop policy to |
94 | @@ -97,10 +96,10 @@ | |||
95 | 97 | This package provides shared libraries for use by clients. | 96 | This package provides shared libraries for use by clients. |
96 | 98 | 97 | ||
97 | 99 | Package: libwayland-server-dev | 98 | Package: libwayland-server-dev |
99 | 100 | Section: libs | 99 | Section: libdevel |
100 | 101 | Architecture: any | 100 | Architecture: any |
101 | 102 | Depends: ${shlibs:Depends}, ${misc:Depends} | 101 | Depends: ${shlibs:Depends}, ${misc:Depends} |
103 | 103 | Description: display server -- A nano, non-X11 graphical display server | 102 | Description: nano, non-X11 graphical display server (server dev files) |
104 | 104 | The Wayland display server is a minimal graphics server which relies on | 103 | The Wayland display server is a minimal graphics server which relies on |
105 | 105 | the kernel for modesetting, batchbuffer submission, and hardware | 104 | the kernel for modesetting, batchbuffer submission, and hardware |
106 | 106 | initialization. It leaves window management and most desktop policy to | 105 | initialization. It leaves window management and most desktop policy to |
107 | @@ -113,7 +112,7 @@ | |||
108 | 113 | Section: libs | 112 | Section: libs |
109 | 114 | Architecture: any | 113 | Architecture: any |
110 | 115 | Depends: ${shlibs:Depends}, ${misc:Depends} | 114 | Depends: ${shlibs:Depends}, ${misc:Depends} |
112 | 116 | Description: display server -- A nano, non-X11 graphical display server | 115 | Description: nano, non-X11 graphical display server (server shared libs) |
113 | 117 | The Wayland display server is a minimal graphics server which relies on | 116 | The Wayland display server is a minimal graphics server which relies on |
114 | 118 | the kernel for modesetting, batchbuffer submission, and hardware | 117 | the kernel for modesetting, batchbuffer submission, and hardware |
115 | 119 | initialization. It leaves window management and most desktop policy to | 118 | initialization. It leaves window management and most desktop policy to |
116 | @@ -123,10 +122,10 @@ | |||
117 | 123 | This package provides shared server libraries. | 122 | This package provides shared server libraries. |
118 | 124 | 123 | ||
119 | 125 | Package: libwayland-client-dev | 124 | Package: libwayland-client-dev |
121 | 126 | Section: libs | 125 | Section: libdevel |
122 | 127 | Architecture: any | 126 | Architecture: any |
123 | 128 | Depends: ${shlibs:Depends}, ${misc:Depends} | 127 | Depends: ${shlibs:Depends}, ${misc:Depends} |
125 | 129 | Description: display server -- A nano, non-X11 graphical display server | 128 | Description: nano, non-X11 graphical display server (client dev files) |
126 | 130 | The Wayland display server is a minimal graphics server which relies on | 129 | The Wayland display server is a minimal graphics server which relies on |
127 | 131 | the kernel for modesetting, batchbuffer submission, and hardware | 130 | the kernel for modesetting, batchbuffer submission, and hardware |
128 | 132 | initialization. It leaves window management and most desktop policy to | 131 | initialization. It leaves window management and most desktop policy to |
129 | 133 | 132 | ||
130 | === modified file 'debian/copyright' | |||
131 | --- debian/copyright 2011-02-23 18:13:23 +0000 | |||
132 | +++ debian/copyright 2011-05-17 22:28:16 +0000 | |||
133 | @@ -74,7 +74,7 @@ | |||
134 | 74 | . | 74 | . |
135 | 75 | You should have received a copy of the GNU General Public License | 75 | You should have received a copy of the GNU General Public License |
136 | 76 | along with this program; if not, write to the Free Software Foundation, | 76 | along with this program; if not, write to the Free Software Foundation, |
138 | 77 | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 77 | Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. |
139 | 78 | 78 | ||
140 | 79 | 79 | ||
141 | 80 | Files: data/* | 80 | Files: data/* |
142 | 81 | 81 | ||
143 | === modified file 'debian/rules' | |||
144 | --- debian/rules 2011-02-21 18:35:33 +0000 | |||
145 | +++ debian/rules 2011-05-17 22:28:16 +0000 | |||
146 | @@ -1,130 +1,33 @@ | |||
147 | 1 | #!/usr/bin/make -f | 1 | #!/usr/bin/make -f |
148 | 2 | # debian/rules for the Debian xserver-xorg-driver-ati package. | ||
149 | 3 | # Copyright © 2004 Scott James Remnant <scott@netsplit.com> | ||
150 | 4 | # Copyright © 2005 Daniel Stone <daniel@fooishbar.org> | ||
151 | 5 | # Copyright © 2005 David Nusinow <dnusinow@debian.org> | ||
152 | 6 | |||
153 | 7 | # comment this to turn off verbose mode. | ||
154 | 8 | export DH_VERBOSE=1 | ||
155 | 9 | 2 | ||
156 | 10 | include debian/xsfbs/xsfbs.mk | 3 | include debian/xsfbs/xsfbs.mk |
157 | 11 | 4 | ||
164 | 12 | CFLAGS = -Wall -g -fvisibility=hidden | 5 | NUMJOBS = $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1) |
159 | 13 | ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) | ||
160 | 14 | CFLAGS += -O0 | ||
161 | 15 | else | ||
162 | 16 | CFLAGS += -O2 | ||
163 | 17 | endif | ||
165 | 18 | ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) | 6 | ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) |
166 | 19 | NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) | 7 | NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) |
167 | 20 | MAKEFLAGS += -j$(NUMJOBS) | 8 | MAKEFLAGS += -j$(NUMJOBS) |
168 | 21 | endif | ||
169 | 22 | |||
170 | 23 | DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) | ||
171 | 24 | DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) | ||
172 | 25 | DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) | ||
173 | 26 | ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) | ||
174 | 27 | confflags += --build=$(DEB_HOST_GNU_TYPE) | ||
175 | 28 | else | 9 | else |
177 | 29 | confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) | 10 | DEB_BUILD_OPTIONS += parallel=$(NUMJOBS) |
178 | 11 | export DEB_BUILD_OPTIONS | ||
179 | 30 | endif | 12 | endif |
180 | 31 | 13 | ||
190 | 32 | configure: $(STAMP_DIR)/patch | 14 | override_dh_auto_configure: |
191 | 33 | dh_testdir | 15 | dh_auto_configure -- --prefix=/usr \ |
183 | 34 | autoreconf -vfi | ||
184 | 35 | |||
185 | 36 | build/config.status: configure | ||
186 | 37 | dh_testdir | ||
187 | 38 | test -d build || mkdir build | ||
188 | 39 | cd build && \ | ||
189 | 40 | ../configure --prefix=/usr \ | ||
192 | 41 | --program-prefix="wayland-" \ | 16 | --program-prefix="wayland-" \ |
193 | 42 | --mandir=\$${prefix}/share/man \ | 17 | --mandir=\$${prefix}/share/man \ |
194 | 43 | --infodir=\$${prefix}/share/info \ | 18 | --infodir=\$${prefix}/share/info \ |
267 | 44 | --sysconfdir=\$${prefix}/etc \ | 19 | --sysconfdir=\$${prefix}/etc |
268 | 45 | $(confflags) \ | 20 | |
269 | 46 | CFLAGS="$(CFLAGS) -I$(CURDIR)/build/wayland" | 21 | override_dh_install: |
270 | 47 | 22 | cp debian/wstart debian/tmp/usr/bin | |
271 | 48 | .PHONY: build | 23 | cp wayland/.libs/libwayland-util.a debian/tmp/usr/lib/ |
272 | 49 | build: build-stamp | 24 | test -d debian/tmp/lib/udev/rules.d || \ |
273 | 50 | build-stamp: build/config.status | 25 | mkdir -p debian/tmp/lib/udev/rules.d |
274 | 51 | dh_testdir | 26 | cp compositor/70-wayland.rules debian/tmp/lib/udev/rules.d/ |
275 | 52 | cd build && $(MAKE) | 27 | dh_install --list-missing --exclude=.la --exclude=usr/share/man/man4 |
276 | 53 | >$@ | 28 | |
277 | 54 | 29 | override_dh_strip: | |
206 | 55 | clean: clean-patched unpatch | ||
207 | 56 | rm -rf .pc | ||
208 | 57 | rm -r stampdir | ||
209 | 58 | clean-patched: | ||
210 | 59 | dh_testdir | ||
211 | 60 | dh_testroot | ||
212 | 61 | rm -f build-stamp | ||
213 | 62 | |||
214 | 63 | rm -f config.cache config.log config.status | ||
215 | 64 | rm -f */config.cache */config.log */config.status | ||
216 | 65 | rm -f conftest* */conftest* | ||
217 | 66 | rm -rf autom4te.cache */autom4te.cache | ||
218 | 67 | rm -rf build | ||
219 | 68 | rm -f compile config.guess config.sub configure depcomp install-sh | ||
220 | 69 | rm -f ltmain.sh missing INSTALL aclocal.m4 config.h.in mkinstalldirs | ||
221 | 70 | |||
222 | 71 | dh_clean | ||
223 | 72 | |||
224 | 73 | install: build | ||
225 | 74 | dh_testdir | ||
226 | 75 | dh_testroot | ||
227 | 76 | dh_clean -k | ||
228 | 77 | dh_installdirs | ||
229 | 78 | |||
230 | 79 | cp compositor/70-wayland.rules build/ | ||
231 | 80 | cp data/*.png build/data/ | ||
232 | 81 | |||
233 | 82 | cd build && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install | ||
234 | 83 | test -d $(CURDIR)/debian/tmp/lib/udev/rules.d || mkdir -p $(CURDIR)/debian/tmp/lib/udev/rules.d | ||
235 | 84 | cp compositor/70-wayland.rules $(CURDIR)/debian/tmp/lib/udev/rules.d/ | ||
236 | 85 | |||
237 | 86 | #XXX probably better to patch source to install libs properly | ||
238 | 87 | test -d $(CURDIR)/debian/tmp/usr/lib/pkgconfig || mkdir -p $(CURDIR)/debian/tmp/usr/lib/pkgconfig | ||
239 | 88 | cp build/wayland/.libs/*.a $(CURDIR)/debian/tmp/usr/lib/ | ||
240 | 89 | cp build/wayland/.libs/*.so $(CURDIR)/debian/tmp/usr/lib/ | ||
241 | 90 | cp build/wayland/.libs/*.so.* $(CURDIR)/debian/tmp/usr/lib/ | ||
242 | 91 | cp build/wayland/*.pc $(CURDIR)/debian/tmp/usr/lib/pkgconfig/ | ||
243 | 92 | |||
244 | 93 | #test -d $(CURDIR)/debian/tmp/usr/bin || mkdir -p $(CURDIR)/debian/tmp/usr/bin | ||
245 | 94 | cp build/clients/.libs/*.a $(CURDIR)/debian/tmp/usr/lib/ | ||
246 | 95 | |||
247 | 96 | #XXX probably better to patch source to install data in the Makefile | ||
248 | 97 | test -d $(CURDIR)/debian/tmp/usr/share/wayland || mkdir -p $(CURDIR)/debian/tmp/usr/share/wayland | ||
249 | 98 | cp build/data/*.png $(CURDIR)/debian/tmp/usr/share/wayland/ | ||
250 | 99 | |||
251 | 100 | test -d $(CURDIR)/debian/tmp/usr/bin || mkdir -p $(CURDIR)/debian/tmp/usr/bin | ||
252 | 101 | cp $(CURDIR)/debian/wstart $(CURDIR)/debian/tmp/usr/bin | ||
253 | 102 | |||
254 | 103 | |||
255 | 104 | # Build architecture-dependent files here. | ||
256 | 105 | binary-arch: DH_OPTIONS=-s | ||
257 | 106 | binary-arch: build install | ||
258 | 107 | dh_testdir | ||
259 | 108 | dh_testroot | ||
260 | 109 | |||
261 | 110 | dh_installdocs | ||
262 | 111 | dh_installchangelogs ChangeLog | ||
263 | 112 | dh_install --sourcedir=debian/tmp --list-missing --exclude=.la --exclude=usr/share/man/man4 | ||
264 | 113 | dh_installman | ||
265 | 114 | dh_installudev | ||
266 | 115 | dh_link | ||
278 | 116 | dh_strip -pwayland --dbg-package=wayland-dbg | 30 | dh_strip -pwayland --dbg-package=wayland-dbg |
293 | 117 | dh_compress | 31 | |
294 | 118 | dh_fixperms | 32 | %: |
295 | 119 | dh_installdeb | 33 | dh $@ --parallel --with autoreconf |
282 | 120 | #dh_shlibdeps -- --warnings=6 | ||
283 | 121 | dh_gencontrol | ||
284 | 122 | dh_md5sums | ||
285 | 123 | dh_builddeb | ||
286 | 124 | |||
287 | 125 | # Build architecture-independent files here. | ||
288 | 126 | binary-indep: build install | ||
289 | 127 | # Nothing to do | ||
290 | 128 | |||
291 | 129 | binary: binary-indep binary-arch | ||
292 | 130 | .PHONY: build clean binary-indep binary-arch binary install |
Thanks, looks good.