Re: [blfs-dev] xcb-utilities is not built with jhalfs
| Newsgroups | gmane.linux.lfs.automated,gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
On 11/28/24 21:03, Zhang Wen wrote:
> The xcb-utilities is not recognized by jhalfs, so other packages fails
> to build. To me this is causing gst-plugins-good fails to build.
Hello,
I've got a patch attached for jhalfs to build xcb-utilities, which works
well on my machine. Looking for some testing and review.
Here's also the inline patch since it's not very long.
diff --git a/BLFS/gen-special.sh b/BLFS/gen-special.sh
index 7296ff4..3d77355 100755
--- a/BLFS/gen-special.sh
+++ b/BLFS/gen-special.sh
@@ -109,7 +109,8 @@ cat >tmpfile << EOF
EOF
for file in $(ls ${BLFS_DIR}/x/installing/x7* | grep -v x7driver) \
${BLFS_DIR}/kde/kf6/kf6-frameworks.xml \
- ${BLFS_DIR}/kde/plasma/plasma-all.xml; do
+ ${BLFS_DIR}/kde/plasma/plasma-all.xml \
+ ${BLFS_DIR}/x/installing/xcb-utilities.xml; do
id=$(grep xreflabel $file | sed 's@.*id="\([^"]*\).*@\1@')
cat >>$SPECIAL_FILE << EOF
<xsl:when test="@id='$id'">
@@ -137,7 +138,7 @@ EOF
precpack=NONE
for pack in $list_cat; do
- if grep -q x7 $file; then # this is an xorg package
+ if grep -q -e 'x7\|xcb' $file; then # this is an xorg package
packname=$pack
# We extract the version from the ENTITY parts of the .xml file.
packversion=$(grep "ENTITY ${pack}-version" $file | \
diff --git a/BLFS/xsl/gen_config.xsl b/BLFS/xsl/gen_config.xsl
index d3326f8..863a0d7 100644
--- a/BLFS/xsl/gen_config.xsl
+++ b/BLFS/xsl/gen_config.xsl
@@ -312,7 +312,8 @@ if	MENU_</xsl:text>
<!-- for compound packages, default to selecting all the
subpackages-->
<xsl:when test="contains(../name,'xorg') or
contains(../name,'plasma') or
- contains(../name,'kf5')">
+ contains(../name,'kf5') or
+ contains(../name,'xcb-utilities')">
<xsl:text>y
</xsl:text>
diff --git a/BLFS/xsl/make_book.xsl b/BLFS/xsl/make_book.xsl
index 556ef37..75c6a42 100644
--- a/BLFS/xsl/make_book.xsl
+++ b/BLFS/xsl/make_book.xsl
@@ -127,7 +127,8 @@
<xsl:apply-templates
select="//sect1[(contains(@id,'xorg7') or
contains(@id,'frameworks') or
- contains(@id,'plasma5'))
+ contains(@id,'plasma5') or
+ contains(@id,'xcb-utilities'))
and
.//userinput/literal[contains(string(),
concat($list,'-'))]]"
mode="compound">
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
0001-fix-building-xcb-utilities.patch
(text/plain, 2.5 KB)
From 55271193f0094b0a21b5f93386269fb2ff422ba6 Mon Sep 17 00:00:00 2001 From: Zhang Wen <[email protected]> Date: Mon, 2 Dec 2024 00:34:24 +0800 Subject: [PATCH] fix building xcb-utilities --- BLFS/gen-special.sh | 5 +++-- BLFS/xsl/gen_config.xsl | 3 ++- BLFS/xsl/make_book.xsl | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/BLFS/gen-special.sh b/BLFS/gen-special.sh index 7296ff4..3d77355 100755 --- a/BLFS/gen-special.sh +++ b/BLFS/gen-special.sh @@ -109,7 +109,8 @@ cat >tmpfile << EOF EOF for file in $(ls ${BLFS_DIR}/x/installing/x7* | grep -v x7driver) \ ${BLFS_DIR}/kde/kf6/kf6-frameworks.xml \ - ${BLFS_DIR}/kde/plasma/plasma-all.xml; do + ${BLFS_DIR}/kde/plasma/plasma-all.xml \ + ${BLFS_DIR}/x/installing/xcb-utilities.xml; do id=$(grep xreflabel $file | sed 's@.*id="\([^"]*\).*@\1@') cat >>$SPECIAL_FILE << EOF <xsl:when test="@id='$id'"> @@ -137,7 +138,7 @@ EOF precpack=NONE for pack in $list_cat; do - if grep -q x7 $file; then # this is an xorg package + if grep -q -e 'x7\|xcb' $file; then # this is an xorg package packname=$pack # We extract the version from the ENTITY parts of the .xml file. packversion=$(grep "ENTITY ${pack}-version" $file | \ diff --git a/BLFS/xsl/gen_config.xsl b/BLFS/xsl/gen_config.xsl index d3326f8..863a0d7 100644 --- a/BLFS/xsl/gen_config.xsl +++ b/BLFS/xsl/gen_config.xsl @@ -312,7 +312,8 @@ if	MENU_</xsl:text> <!-- for compound packages, default to selecting all the subpackages--> <xsl:when test="contains(../name,'xorg') or contains(../name,'plasma') or - contains(../name,'kf5')"> + contains(../name,'kf5') or + contains(../name,'xcb-utilities')"> <xsl:text>y </xsl:text> diff --git a/BLFS/xsl/make_book.xsl b/BLFS/xsl/make_book.xsl index 556ef37..75c6a42 100644 --- a/BLFS/xsl/make_book.xsl +++ b/BLFS/xsl/make_book.xsl @@ -127,7 +127,8 @@ <xsl:apply-templates select="//sect1[(contains(@id,'xorg7') or contains(@id,'frameworks') or - contains(@id,'plasma5')) + contains(@id,'plasma5') or + contains(@id,'xcb-utilities')) and .//userinput/literal[contains(string(), concat($list,'-'))]]" mode="compound"> -- 2.47.1