From wangmy at fujitsu.com Fri Mar 17 01:14:20 2023 From: wangmy at fujitsu.com (wangmy at fujitsu.com) Date: Fri, 17 Mar 2023 01:14:20 +0000 Subject: [Xcb] ask for directory of xcb-proto.pc Message-ID: When compiling with version 1.15.2 of xcb-proto, conflict occured in a multilib environment: file /usr/share/pkgconfig/xcb-proto.pc conflicts between attempted installs of lib32-xcb-proto-dev and xcb-proto-dev After investigation, it is found that the following setting in Makefile.am: pkgconfigdir = $(datarootdir)/pkgconfig The setting for pgkconfigdir in version 1.15 is as follows: pkgconfigdir = $(libdir)/pkgconfig In this version, conflicts do not occur in the multilib environment. Could you tell me why the pkgconfigdir changed from libdir to datarootdir? ? -- Best Regards --------------------------------------------------- Wang Mingyu Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China TEL: +86+25-86630566-8568 COINS: 79988548 FAX: +86+25-83317685 MAIL: wangmy at fujitsu.com http://www.fujitsu.com/cn/fnst/ From ofourdan at redhat.com Fri Mar 17 08:38:23 2023 From: ofourdan at redhat.com (Olivier Fourdan) Date: Fri, 17 Mar 2023 09:38:23 +0100 Subject: [Xcb] ask for directory of xcb-proto.pc In-Reply-To: References: Message-ID: Hi, On Fri, Mar 17, 2023 at 9:01?AM wangmy at fujitsu.com wrote: > > When compiling with version 1.15.2 of xcb-proto, conflict occured in a multilib environment: > file /usr/share/pkgconfig/xcb-proto.pc conflicts between attempted installs of lib32-xcb-proto-dev and xcb-proto-dev > > After investigation, it is found that the following setting in Makefile.am: > pkgconfigdir = $(datarootdir)/pkgconfig > > The setting for pgkconfigdir in version 1.15 is as follows: > pkgconfigdir = $(libdir)/pkgconfig > In this version, conflicts do not occur in the multilib environment. > > Could you tell me why the pkgconfigdir changed from libdir to datarootdir? That's commit d849b9534a5 [1]. The commit message does not not tell, but the corresponding merge request [2] hints that's because this is an architecture independent package. The multilib issue might be a packaging issue with your distribution, xcb proto should not be architecture dependent. HTH Cheers Olivier [1] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/d849b9534a5 [2] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/30 From tycho at tycho.pizza Fri Mar 17 14:12:59 2023 From: tycho at tycho.pizza (Tycho Andersen) Date: Fri, 17 Mar 2023 08:12:59 -0600 Subject: [Xcb] [PATCH] xinput: qualify CW as from xproto In-Reply-To: <20221224031658.249118-1-tycho@tycho.pizza> References: <20221224031658.249118-1-tycho@tycho.pizza> Message-ID: On Fri, Dec 23, 2022 at 08:16:58PM -0700, Tycho Andersen wrote: > Otherwise it's hard to tell where this came from, and we qualify most > everything else in this file anyway. Ping, just ran across this again. Should I make a PR instead? Thanks. Tycho From alan.coopersmith at oracle.com Fri Mar 17 16:45:08 2023 From: alan.coopersmith at oracle.com (Alan Coopersmith) Date: Fri, 17 Mar 2023 09:45:08 -0700 Subject: [Xcb] [PATCH] xinput: qualify CW as from xproto In-Reply-To: References: <20221224031658.249118-1-tycho@tycho.pizza> Message-ID: On 3/17/23 07:12, Tycho Andersen wrote: > On Fri, Dec 23, 2022 at 08:16:58PM -0700, Tycho Andersen wrote: >> Otherwise it's hard to tell where this came from, and we qualify most >> everything else in this file anyway. > > Ping, just ran across this again. Should I make a PR instead? Yes, we don't really track patches by email anymore, but via merge requests at https://gitlab.freedesktop.org/xorg/proto/xcbproto and https://gitlab.freedesktop.org/xorg/lib/libxcb . -- -Alan Coopersmith- alan.coopersmith at oracle.com Oracle Solaris Engineering - https://blogs.oracle.com/solaris From wangmy at fujitsu.com Wed Mar 22 07:44:58 2023 From: wangmy at fujitsu.com (wangmy at fujitsu.com) Date: Wed, 22 Mar 2023 07:44:58 +0000 Subject: [Xcb] ask for directory of xcb-proto.pc In-Reply-To: References: Message-ID: xcb-proto.pc has been placed under /usr/share, regardless of architecture. However, this file contains the following contents: pythondir=${pc_sysrootdir}${libdir}/python3.11/site-packages It needs to find python related content under libdir, which is architecture related. Therefore, it seems not possible to make xcb-proto.pc architecture independent. ? -- Best Regards --------------------------------------------------- Wang Mingyu Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China TEL: +86+25-86630566-8568 COINS: 79988548 FAX: +86+25-83317685 MAIL: wangmy at fujitsu.com http://www.fujitsu.com/cn/fnst/ > -----Original Message----- > From: Olivier Fourdan > Sent: Friday, March 17, 2023 4:38 PM > To: Wang, Mingyu/? ?? > Cc: xcb at lists.freedesktop.org > Subject: Re: [Xcb] ask for directory of xcb-proto.pc > > Hi, > > On Fri, Mar 17, 2023 at 9:01?AM wangmy at fujitsu.com > wrote: > > > > When compiling with version 1.15.2 of xcb-proto, conflict occured in a multilib > environment: > > file /usr/share/pkgconfig/xcb-proto.pc conflicts between attempted > > installs of lib32-xcb-proto-dev and xcb-proto-dev > > > > After investigation, it is found that the following setting in Makefile.am: > > pkgconfigdir = $(datarootdir)/pkgconfig > > > > The setting for pgkconfigdir in version 1.15 is as follows: > > pkgconfigdir = $(libdir)/pkgconfig > > In this version, conflicts do not occur in the multilib environment. > > > > Could you tell me why the pkgconfigdir changed from libdir to datarootdir? > > That's commit d849b9534a5 [1]. > > The commit message does not not tell, but the corresponding merge request [2] > hints that's because this is an architecture independent package. > > The multilib issue might be a packaging issue with your distribution, xcb proto > should not be architecture dependent. > > HTH > Cheers > Olivier > > [1] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/d849b9534a5 > [2] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/30 From mattst88 at gmail.com Wed Mar 22 18:48:52 2023 From: mattst88 at gmail.com (Matt Turner) Date: Wed, 22 Mar 2023 14:48:52 -0400 Subject: [Xcb] ask for directory of xcb-proto.pc In-Reply-To: References: Message-ID: On Wed, Mar 22, 2023 at 3:52?AM wangmy at fujitsu.com wrote: > > xcb-proto.pc has been placed under /usr/share, regardless of architecture. > However, this file contains the following contents: > pythondir=${pc_sysrootdir}${libdir}/python3.11/site-packages > It needs to find python related content under libdir, which is architecture related. > Therefore, it seems not possible to make xcb-proto.pc architecture independent. I left a larger comment here: https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/30#note_1834213 But in short, I don't understand how/why pythondir is defined in terms of libdir. From wangmy at fujitsu.com Fri Mar 17 08:53:37 2023 From: wangmy at fujitsu.com (wangmy at fujitsu.com) Date: Fri, 17 Mar 2023 08:53:37 +0000 Subject: [Xcb] ask for directory of xcb-proto.pc In-Reply-To: References: Message-ID: xcb-proto.pc has been placed under /usr/share, regardless of architecture. However, this file contains the following contents: pythondir=${pc_sysrootdir}${libdir}/python3.11/site-packages It needs to find python related content under libdir, which is architecture related. Therefore, it seems not possible to make xcb-proto.pc architecture independent. ? -- Best Regards --------------------------------------------------- Wang Mingyu Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China TEL: +86+25-86630566-8568 COINS: 79988548 FAX: +86+25-83317685 MAIL: wangmy at fujitsu.com http://www.fujitsu.com/cn/fnst/ > -----Original Message----- > From: Olivier Fourdan > Sent: Friday, March 17, 2023 4:38 PM > To: Wang, Mingyu/? ?? > Cc: xcb at lists.freedesktop.org > Subject: Re: [Xcb] ask for directory of xcb-proto.pc > > Hi, > > On Fri, Mar 17, 2023 at 9:01?AM wangmy at fujitsu.com > wrote: > > > > When compiling with version 1.15.2 of xcb-proto, conflict occured in a multilib > environment: > > file /usr/share/pkgconfig/xcb-proto.pc conflicts between attempted > > installs of lib32-xcb-proto-dev and xcb-proto-dev > > > > After investigation, it is found that the following setting in Makefile.am: > > pkgconfigdir = $(datarootdir)/pkgconfig > > > > The setting for pgkconfigdir in version 1.15 is as follows: > > pkgconfigdir = $(libdir)/pkgconfig > > In this version, conflicts do not occur in the multilib environment. > > > > Could you tell me why the pkgconfigdir changed from libdir to datarootdir? > > That's commit d849b9534a5 [1]. > > The commit message does not not tell, but the corresponding merge request [2] > hints that's because this is an architecture independent package. > > The multilib issue might be a packaging issue with your distribution, xcb proto > should not be architecture dependent. > > HTH > Cheers > Olivier > > [1] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/d849b9534a5 > [2] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/30