Bug#863822: Use debhelper's meson support

2017-06-05 Thread Mario.Limonciello
> -Original Message-
> From: Iain Lane [mailto:la...@debian.org]
> Sent: Monday, June 5, 2017 9:53 AM
> To: Limonciello, Mario 
> Cc: 863...@bugs.debian.org
> Subject: Re: Bug#863822: Use debhelper's meson support
> 
> On Mon, Jun 05, 2017 at 02:47:43PM +, mario.limoncie...@dell.com wrote:
> > Oh cool!  Thanks for the diff (and the reminder I forgot to push).
> >
> > The multiarch thing for the daemon is not desirable actually.
> > There was another issue opened up talking about how this daemon doesn't make
> sense to have it's own multiarch path.
> >
> > I'll see if I can find a way to override just that bit.
> 
> What's the problem? I'd be interested to read that bug.
> 
> Anyway, something like (untested):
> 
>   override_dh_auto_configure:
> dh_auto_configure -- --libdir=/usr/lib
> 
> should work.
> 
> Cheers,
> 
> --
> Iain Lane  [ i...@orangesquash.org.uk ]
> Debian Developer   [ la...@debian.org ]
> Ubuntu Developer   [ la...@ubuntu.com ]
Oh good, I'll give that a go.

This is the bug that it was mentioned in in Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808831



Bug#863822: Use debhelper's meson support

2017-06-05 Thread Iain Lane
On Mon, Jun 05, 2017 at 02:47:43PM +, mario.limoncie...@dell.com wrote:
> Oh cool!  Thanks for the diff (and the reminder I forgot to push).
> 
> The multiarch thing for the daemon is not desirable actually.  
> There was another issue opened up talking about how this daemon doesn't make 
> sense to have it's own multiarch path.
> 
> I'll see if I can find a way to override just that bit.

What's the problem? I'd be interested to read that bug.

Anyway, something like (untested):

  override_dh_auto_configure:
dh_auto_configure -- --libdir=/usr/lib

should work.

Cheers,

-- 
Iain Lane  [ i...@orangesquash.org.uk ]
Debian Developer   [ la...@debian.org ]
Ubuntu Developer   [ la...@ubuntu.com ]


signature.asc
Description: PGP signature


Bug#863822: Use debhelper's meson support

2017-06-05 Thread Mario.Limonciello
> -Original Message-
> From: Iain Lane [mailto:la...@debian.org]
> Sent: Wednesday, May 31, 2017 9:29 AM
> To: Debian Bug Tracking System 
> Subject: Bug#863822: Use debhelper's meson support
> 
> Package: src:fwupd
> Version: 0.9.2-5
> Severity: minor
> Tags: patch
> 
> Hiya,
> 
> [ looks like -5 and the tags aren't pushed to git; I did gbp import-dsc
>   to generate this patch ]
> 
> Since fwupd BDs on experimental's debhelper, we can make use of its
> meson build system support. The attached patch does that. I debdiffed
> the binaries, and it says this:
> 
>   laney@artful> debdiff fwupd_0.9.2-5_amd64.changes fwupd_0.9.2-
> 5ubuntu1_amd64.changes
> ~/temp
>   [The following lists of changes regard files as different if they have
>   different names, permissions or owners.]
> 
>   Files in second .changes but not in first
>   -
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/01/3af5051e01f609d88a24c2a98b410b629caa81.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/08/e84eda01a60a0923123122ef866c2bca69c2d5.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/2c/5725d679a4ef2f8cd150ea2bd4d93a443e2069.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/47/b385eca94e521556da88fdc2942cc11c20ea86.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/48/9b60ef7c7eee7230bb06a34bda2ff19c8d2efc.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/5e/f6f628331b4924f82c93c92005f907f336e7e9.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/6b/8d5d642c972ef6297d4b071aa766a670599332.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/85/704afcd78cc7f548f7fa8d1c8eba062ff24822.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/88/1da077ad1eb160f20eab129062004de744fbb8.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/b5/0365171bc84e47f219c2157c1f5465bda60c81.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/bc/4d2c8e8105c10e6c9d10e4d47179ae43aaec8f.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/cb/1fbdc6628066b3c900752afe5a871a163a47b7.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/d9/a33254896af181f436dfba8387e928425e237b.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/ea/c0dbf7e27c954bdf648633783113d4acf9584b.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/ec/78c8d16608691eb205c923a0eaead4a7a57b60.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/f3/d1d3593e951d6d0f095bd699a89bbf8e58f91e.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/ff/6f16ec8c2f28839ac6bedf70e3d538b7afe52d.debug
>   -rwxr-xr-x  root/root   /usr/lib/x86_64-linux-gnu/fwupd/fwupd
> 
>   Files in first .changes but not in second
>   -
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/19/42ec06f23beac06ce3bc8bd88006d56e793f29.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/28/1c986adedadb6e25ca48aaa142b6d0fe8ab3d0.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/34/ddcb7ccf309d16d0903bfa9211be8dc17dcf04.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/43/861873324603e449bca099b1234346ed5502bb.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/48/69c61fc9c276012f66bf89ae17d0e44aa37b4e.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/5b/e12253d8834f87e263de8b55e980002b3a1de5.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/74/de05561d2293576300057d9fa654b3d68abfc3.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/79/fb0dbb9e8a6fb0b379edca7145769cca30bc1f.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/83/8667ba1ebf332f290f62507670d844884fef13.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/87/37cd721633ab03418bf6e66c889ada8f079576.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/89/be5d81f611c7c5799f445210d450da67f86d03.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/91/025839a49b3b3c20f5becbf799da56863a6cd3.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/93/7d81336efacb1619e4ebbbe3b2b0b5031fff37.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/a4/a8d3cbbd15e4306b9e84138d79cde2ee6c954d.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/b3/3f4a2dd1475e6c38124f5d9158c5bb007a076e.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/ba/1c06d2a6a6c363b31f0296c779a7b18ada5d9d.debug
>   -rw-r--r--  root/root   /usr/lib/debug/.build-
> id/de/aa5bf15cac0d0f7a398a65097f8b9e7867d59f.debug
>   -rwxr-xr-x  root/root   /usr/lib/fwupd/fwupd
> 
>   Control files of packag

Bug#863822: Use debhelper's meson support

2017-05-31 Thread Iain Lane
Package: src:fwupd
Version: 0.9.2-5
Severity: minor
Tags: patch

Hiya,

[ looks like -5 and the tags aren't pushed to git; I did gbp import-dsc
  to generate this patch ]

Since fwupd BDs on experimental's debhelper, we can make use of its
meson build system support. The attached patch does that. I debdiffed
the binaries, and it says this:

  laney@artful> debdiff fwupd_0.9.2-5_amd64.changes 
fwupd_0.9.2-5ubuntu1_amd64.changes  
 ~/temp
  [The following lists of changes regard files as different if they have
  different names, permissions or owners.]

  Files in second .changes but not in first
  -
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/01/3af5051e01f609d88a24c2a98b410b629caa81.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/08/e84eda01a60a0923123122ef866c2bca69c2d5.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/2c/5725d679a4ef2f8cd150ea2bd4d93a443e2069.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/47/b385eca94e521556da88fdc2942cc11c20ea86.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/48/9b60ef7c7eee7230bb06a34bda2ff19c8d2efc.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/5e/f6f628331b4924f82c93c92005f907f336e7e9.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/6b/8d5d642c972ef6297d4b071aa766a670599332.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/85/704afcd78cc7f548f7fa8d1c8eba062ff24822.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/88/1da077ad1eb160f20eab129062004de744fbb8.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/b5/0365171bc84e47f219c2157c1f5465bda60c81.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/bc/4d2c8e8105c10e6c9d10e4d47179ae43aaec8f.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/cb/1fbdc6628066b3c900752afe5a871a163a47b7.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/d9/a33254896af181f436dfba8387e928425e237b.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/ea/c0dbf7e27c954bdf648633783113d4acf9584b.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/ec/78c8d16608691eb205c923a0eaead4a7a57b60.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/f3/d1d3593e951d6d0f095bd699a89bbf8e58f91e.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/ff/6f16ec8c2f28839ac6bedf70e3d538b7afe52d.debug
  -rwxr-xr-x  root/root   /usr/lib/x86_64-linux-gnu/fwupd/fwupd

  Files in first .changes but not in second
  -
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/19/42ec06f23beac06ce3bc8bd88006d56e793f29.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/28/1c986adedadb6e25ca48aaa142b6d0fe8ab3d0.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/34/ddcb7ccf309d16d0903bfa9211be8dc17dcf04.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/43/861873324603e449bca099b1234346ed5502bb.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/48/69c61fc9c276012f66bf89ae17d0e44aa37b4e.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/5b/e12253d8834f87e263de8b55e980002b3a1de5.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/74/de05561d2293576300057d9fa654b3d68abfc3.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/79/fb0dbb9e8a6fb0b379edca7145769cca30bc1f.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/83/8667ba1ebf332f290f62507670d844884fef13.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/87/37cd721633ab03418bf6e66c889ada8f079576.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/89/be5d81f611c7c5799f445210d450da67f86d03.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/91/025839a49b3b3c20f5becbf799da56863a6cd3.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/93/7d81336efacb1619e4ebbbe3b2b0b5031fff37.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/a4/a8d3cbbd15e4306b9e84138d79cde2ee6c954d.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/b3/3f4a2dd1475e6c38124f5d9158c5bb007a076e.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/ba/1c06d2a6a6c363b31f0296c779a7b18ada5d9d.debug
  -rw-r--r--  root/root   
/usr/lib/debug/.build-id/de/aa5bf15cac0d0f7a398a65097f8b9e7867d59f.debug
  -rwxr-xr-x  root/root   /usr/lib/fwupd/fwupd

  Control files of package fwupd: lines which differ (wdiff format)
  -
  Version: [-0.9.2-5-] {+0.9.2-5ubuntu1+}

  Control files of package fwupd-dbgsym: lines which differ (wdiff format)
  
  Build-Ids: [-1942ec06f23beac06ce3bc8bd88006d56e793f29 
281c986adedadb6e25ca48aaa142b6d0fe8ab3d0 
34ddcb7ccf309d16d0903bfa9211be8dc17dcf04 
43861873324603e449bca099b1234346ed5502bb 
4869c61fc9c276012f66bf89ae17d0e44aa37b4e 
5be12253d8834f87e263de8b55e980002b3a1de5 
74de05561d2293576300057d9fa654b3d68abfc3 
79fb0dbb9e