linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sheng Mao <shngmao@gmail.com>
To: linux-btrfs@vger.kernel.org
Cc: ngompa13@gmail.com, dsterba@suse.cz
Subject: Re: [PATCH v2] btrfs-progs: btrfsutil: add pkg-config files for btrfsutil
Date: Fri, 2 Oct 2020 13:15:46 -0600	[thread overview]
Message-ID: <1ac70f38-4887-c28d-4601-3f9494ce9f09@gmail.com> (raw)
In-Reply-To: <20201002175458.GZ6756@twin.jikos.cz>

On 2020-10-02 11:54 a.m., David Sterba wrote:
> On Wed, Aug 19, 2020 at 10:36:18PM -0600, Sheng Mao wrote:
>> Add pc file for btrfsutil libraries. Users can use
>> pkg-config to set up compilation and linking flags.
>>
>> The paths in pc file depend on prefix variable but
>> ignore DESTDIR. DESTDIR is used for packaging and
>> it should not affect the paths in pc file.
>>
>> Signed-off-by: Sheng Mao <shngmao@gmail.com>
> 
> Thanks, I've added it to devel.
> 
>> +test-pkg-config:
>> +	@echo "Test pkg-config settings"
>> +	export libdir incdir
>> +	$(Q)bash tests/pkg-config-tests.sh
> 
> I've deleted this section and the script, there's no point testing it
> like that.
> 
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -12,6 +12,10 @@ LIBBTRFS_MAJOR=0
>>   LIBBTRFS_MINOR=1
>>   LIBBTRFS_PATCHLEVEL=2
>>   
>> +BTRFS_UTIL_VERSION_MAJOR=1
>> +BTRFS_UTIL_VERSION_MINOR=2
>> +BTRFS_UTIL_VERSION_PATCH=0
> 
> This would duplicate the version definition, so this needs to parse it
> from libbtrfsutil/btrfsutil.h.
> 

Hi David,

Thank you for reviewing and merging the code! I agree with you, the test 
code doesn't make sense and it is right to remove it.

Also, thank you Neal for helping me improving the patch!

Thank you!

Regards,
Sheng

      reply	other threads:[~2020-10-02 19:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 21:45 [PATCH] btrfs-progs: btrfsutil: add pkg-config files for btrfsutil Sheng Mao
2020-08-20  0:23 ` Neal Gompa
2020-08-20  4:36   ` [PATCH v2] " Sheng Mao
2020-10-02 17:54     ` David Sterba
2020-10-02 19:15       ` Sheng Mao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1ac70f38-4887-c28d-4601-3f9494ce9f09@gmail.com \
    --to=shngmao@gmail.com \
    --cc=dsterba@suse.cz \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=ngompa13@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).