[gentoo-commits] proj/devmanual:master commit in: xsl/

2024-04-22 Thread Ulrich Müller
commit: e41215d8fa7d630db9c8ddf8f862e13026895a4b
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Apr 13 19:15:14 2024 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Apr 22 11:55:30 2024 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=e41215d8

lang.highlight.ebuild.xsl: Drop epatch keyword

Signed-off-by: Ulrich Müller  gentoo.org>

 xsl/lang.highlight.ebuild.xsl | 2 --
 1 file changed, 2 deletions(-)

diff --git a/xsl/lang.highlight.ebuild.xsl b/xsl/lang.highlight.ebuild.xsl
index 30ccc08..f615393 100644
--- a/xsl/lang.highlight.ebuild.xsl
+++ b/xsl/lang.highlight.ebuild.xsl
@@ -53,8 +53,6 @@
 cmake_src_prepare cmake_src_test cmake_use_find_package
 
 doicon domenu make_desktop_entry make_session_desktop newicon newmenu
-
-epatch
 
 all-flag-vars append-atomic-flags append-cflags append-cppflags 
append-cxxflags append-fflags append-flags
 append-ldflags append-lfs-flags append-libs filter-flags filter-ldflags 
filter-lfs-flags filter-lto filter-mfpmath



[gentoo-commits] proj/devmanual:master commit in: xsl/

2023-11-06 Thread Ulrich Müller
commit: 2c608b94d37db7706096864c67ed34772724ffc8
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Nov  4 20:43:34 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Nov  6 18:08:43 2023 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=2c608b94

lang.highlight.ebuild.xsl: Collect shell commands in a variable

Rewrap some long lines.

Signed-off-by: Ulrich Müller  gentoo.org>

 xsl/lang.highlight.ebuild.xsl | 20 +++-
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/xsl/lang.highlight.ebuild.xsl b/xsl/lang.highlight.ebuild.xsl
index 4dff8d1..30ccc08 100644
--- a/xsl/lang.highlight.ebuild.xsl
+++ b/xsl/lang.highlight.ebuild.xsl
@@ -11,6 +11,11 @@
   }
   #
 
+  
+; if then fi -ge -lt -le -gt elif else eval unset sed rm cat [[ ]] while 
do read done make echo cd local return for
+case esac in -n [ ] -z -f -  EOF
+  
+
   
 
 assert best_version debug-print debug-print-function debug-print-section 
die diropts dobin docinto doconfd dodir
@@ -184,14 +189,9 @@
 
   
 
-  
+  
   
-  
+  
 
   
 
@@ -221,7 +221,8 @@
 
-
+
 
 
 
@@ -232,7 +233,8 @@
   
-  
 
   



[gentoo-commits] proj/devmanual:master commit in: xsl/

2023-11-06 Thread Ulrich Müller
commit: 7393d9b055bf655e0c1b12067de0d18537786ed3
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Nov  4 18:44:31 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Nov  6 18:08:43 2023 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=7393d9b0

lang.highlight.ebuild.xsl: Update keyword lists

Update list of package manager commands up to EAPI 8.

Include eclasses that are:
- used in an existing example in the Devmanual, or
- general purpose eclasses and inherited by more than 1000 ebuilds
  in the Gentoo repository.

The lists of commands are taken from ebuild-mode.

Closes: https://bugs.gentoo.org/916628
Signed-off-by: Ulrich Müller  gentoo.org>

 xsl/lang.highlight.ebuild.xsl | 337 +++---
 1 file changed, 89 insertions(+), 248 deletions(-)

diff --git a/xsl/lang.highlight.ebuild.xsl b/xsl/lang.highlight.ebuild.xsl
index 5a931e0..4dff8d1 100644
--- a/xsl/lang.highlight.ebuild.xsl
+++ b/xsl/lang.highlight.ebuild.xsl
@@ -11,6 +11,91 @@
   }
   #
 
+  
+
+assert best_version debug-print debug-print-function debug-print-section 
die diropts dobin docinto doconfd dodir
+dodoc doenvd doexe doinfo doinitd doins dolib.a dolib.so doman domo dosbin 
dosym ebegin econf eend eerror einfo
+einfon elog emake ewarn exeinto exeopts EXPORT_FUNCTIONS fowners fperms 
has has_version inherit insinto insopts into
+keepdir newbin newconfd newdoc newenvd newexe newinitd newins newlib.a 
newlib.so newman newsbin unpack use usev
+use_enable use_with
+
+docompress nonfatal
+
+doheader newheader usex
+
+eapply eapply_user einstalldocs get_libdir in_iuse
+
+dostrip eqawarn ver_cut ver_rs ver_test
+
+
+adddeny addpredict addread addwrite
+
+pkg_pretend pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm 
pkg_config pkg_info pkg_nofetch src_unpack
+src_prepare src_configure src_compile src_test src_install
+
+default default_pkg_nofetch default_src_unpack default_src_prepare 
default_src_configure default_src_compile
+default_src_test default_src_install
+  
+
+  
+
+autotools_check_macro autotools_m4dir_include autotools_m4sysdir_include 
config_rpath_update eaclocal
+eaclocal_amflags eautoconf eautoheader eautomake eautopoint eautoreconf
+
+bashcomp_alias dobashcomp get_bashcompdir newbashcomp
+
+cmake_build cmake_comment_add_subdirectory cmake_run_in cmake_src_compile 
cmake_src_configure cmake_src_install
+cmake_src_prepare cmake_src_test cmake_use_find_package
+
+doicon domenu make_desktop_entry make_session_desktop newicon newmenu
+
+epatch
+
+all-flag-vars append-atomic-flags append-cflags append-cppflags 
append-cxxflags append-fflags append-flags
+append-ldflags append-lfs-flags append-libs filter-flags filter-ldflags 
filter-lfs-flags filter-lto filter-mfpmath
+get-flag is-flag is-flagq is-ldflag is-ldflagq no-as-needed raw-ldflags 
replace-cpu-flags replace-flags
+replace-sparc64-flags strip-flags strip-unsupported-flags test-compile 
test-flag-CC test-flag-CCLD test-flag-CXX
+test-flag-F77 test-flag-FC test-flags test-flags-CC test-flags-CCLD 
test-flags-CXX test-flags-F77 test-flags-FC
+test_version_info
+
+git-r3_checkout git-r3_fetch git-r3_peek_remote_ref git-r3_pkg_needrebuild 
git-r3_src_fetch git-r3_src_unpack
+pkg_needrebuild
+
+meson_feature meson_install meson_src_compile meson_src_configure 
meson_src_install meson_src_test meson_use
+
+get_abi_CFLAGS get_abi_CHOST get_abi_CTARGET get_abi_FAKE_TARGETS 
get_abi_LDFLAGS get_abi_LIBDIR get_all_abis
+get_all_libdirs get_exeext get_install_abis get_libname get_modname 
has_multilib_profile is_final_abi multilib_env
+multilib_toolchain_setup number_abis
+
+eninja get_NINJAOPTS
+
+readme.gentoo_create_doc readme.gentoo_print_elog
+
+rpm_spec_epatch rpm_src_unpack rpm_unpack srcrpm_unpack
+
+clang-fullversion clang-major-version clang-micro-version 
clang-minor-version clang-version econf_build
+gcc-fullversion gcc-major-version gcc-micro-version gcc-minor-version 
gcc-specs-directive gcc-specs-nostrict
+gcc-specs-now gcc-specs-pie gcc-specs-relro gcc-specs-ssp 
gcc-specs-ssp-to-all gcc-specs-stack-check gcc-version
+gen_usr_ldscript tc-arch tc-arch-kernel tc-check-openmp tc-cpp-is-true 
tc-detect-is-softfloat
+tc-enables-cxx-assertions tc-enables-fortify-source tc-enables-pie 
tc-enables-ssp tc-enables-ssp-all
+tc-enables-ssp-strong tc-endian tc-env_build tc-export tc-export_build_env 
tc-get-c-rtlib tc-get-compiler-type
+tc-get-cxx-stdlib tc-getAR tc-getAS tc-getBUILD_AR tc-getBUILD_AS 
tc-getBUILD_CC tc-getBUILD_CPP tc-getBUILD_CXX
+tc-getBUILD_LD tc-getBUILD_NM tc-getBUILD_OBJCOPY tc-getBUILD_PKG_CONFIG 
tc-getBUILD_PROG tc-getBUILD_RANLIB
+tc-getBUILD_READELF tc-getBUILD_STRINGS tc-getBUILD_STRIP tc-getCC 

[gentoo-commits] proj/devmanual:master commit in: xsl/

2021-09-07 Thread Ulrich Müller
commit: 49511c02cfe9b3ca1a188a3254735ebfe75460be
Author: Ulrich Müller  gentoo  org>
AuthorDate: Tue Sep  7 17:57:12 2021 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Tue Sep  7 17:57:12 2021 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=49511c02

lang.highlight.ebuild.xsl: Fix spurious replacement of . by $data

Signed-off-by: Ulrich Müller  gentoo.org>

 xsl/lang.highlight.ebuild.xsl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xsl/lang.highlight.ebuild.xsl b/xsl/lang.highlight.ebuild.xsl
index bbf9c64..47d884a 100644
--- a/xsl/lang.highlight.ebuild.xsl
+++ b/xsl/lang.highlight.ebuild.xsl
@@ -115,7 +115,7 @@
  $data = 'elog' or
  $data = 'ewarn' or $data = 'eerror' or $data = 'diropts' 
or $data = 'dobin' or $data = 'docinto' or $data = 'dodoc' or
  $data = 'doexe' or $data = 'dohard' or $data = 'dohtml' 
or $data = 'doinfo' or $data = 'doins' or $data = 'dolib' or
- $data = 'dolib$dataa' or $data = 'dolib$dataso' or $data 
= 'doman' or $data = 'dosbin' or $data = 'dosym' or $data = 'emake' or
+ $data = 'dolib.a' or $data = 'dolib.so' or $data = 
'doman' or $data = 'dosbin' or $data = 'dosym' or $data = 'emake' or
  $data = 'exeinto' or $data = 'exeopts' or $data = 
'fowners' or $data = 'fperms' or $data = 'insinto' or $data = 'insopts' or
  $data = 'into' or $data = 'libopts' or $data = 'newbin' 
or $data = 'newexe' or $data = 'newins' or $data = 'newman' or
  $data = 'newsbin' or $data = 'prepall' or $data = 
'prepalldocs' or $data = 'prepallinfo' or $data = 'prepallman' or
@@ -282,7 +282,7 @@
 
   
   
@@ -326,7 +326,7 @@

   
 
-  
+  
   

   



[gentoo-commits] proj/devmanual:master commit in: xsl/

2020-01-15 Thread Ulrich Müller
commit: 484b3f78d5bc5a2ae47c4f52d0bb4c5ead80aa2d
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Jan 11 10:11:11 2020 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Wed Jan 15 21:28:45 2020 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=484b3f78

xsl/lang.highlight.c.xsl: Define the myPos variable.

This was undeclared, leading to a runtime error:

runtime error: file xsl/lang.highlight.c.xsl line 35 element variable
Variable 'myPos' has not been declared.
XPath error : Undefined variable
runtime error: file xsl/lang.highlight.c.xsl line 35 element variable
Failed to evaluate the expression of variable 'quotePos'.

Signed-off-by: Ulrich Müller  gentoo.org>

 xsl/lang.highlight.c.xsl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xsl/lang.highlight.c.xsl b/xsl/lang.highlight.c.xsl
index d2d115e..730182c 100644
--- a/xsl/lang.highlight.c.xsl
+++ b/xsl/lang.highlight.c.xsl
@@ -32,6 +32,7 @@
 
 
 
+
 
 
 



[gentoo-commits] proj/devmanual:master commit in: xsl/

2019-12-19 Thread Ulrich Müller
commit: 4d741415a1a0c237a2cd9ad552c4371b5c6bf532
Author: Ulrich Müller  gentoo  org>
AuthorDate: Thu Dec 19 08:53:19 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Thu Dec 19 08:53:19 2019 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4d741415

str.tokenize.function.xsl: Fix line endings from CRLF to LF.

Signed-off-by: Ulrich Müller  gentoo.org>

 xsl/str.tokenize.function.xsl | 176 +-
 1 file changed, 88 insertions(+), 88 deletions(-)

diff --git a/xsl/str.tokenize.function.xsl b/xsl/str.tokenize.function.xsl
index 2be90fe..e588761 100644
--- a/xsl/str.tokenize.function.xsl
+++ b/xsl/str.tokenize.function.xsl
@@ -1,88 +1,88 @@
-
-
-
-http://www.w3.org/1999/XSL/Transform;
-xmlns:func="http://exslt.org/functions;
-xmlns:exsl="http://exslt.org/common;
-xmlns:str="http://exslt.org/strings;
-extension-element-prefixes="str func exsl xsl"
-exclude-result-prefixes="str func exsl xsl"
-xmlns="http://www.w3.org/1999/xhtml;>
-
-
-   
-  
-  
-
-  
-
-
-  
-ERROR: EXSLT - Functions implementation of str:tokenize relies on 
exsl:node-set().
-  
-
-
-  
-
-  
-
-  
-
-  
-  
-
-  
-  
-
-  
-
-  
-  
-
-  
-
-
-
-  
-  
-
-
-  
-
-  
-
-
-
-  
-  
-  
-  
-
-  
-
-
-  
-
-  
-  
-
-
-  
-  
-  
-
-
-  
-
-
-  
-
-
-  
-
-  
-
-
-
+
+
+
+http://www.w3.org/1999/XSL/Transform;
+xmlns:func="http://exslt.org/functions;
+xmlns:exsl="http://exslt.org/common;
+xmlns:str="http://exslt.org/strings;
+extension-element-prefixes="str func exsl xsl"
+exclude-result-prefixes="str func exsl xsl"
+xmlns="http://www.w3.org/1999/xhtml;>
+
+
+   
+  
+  
+
+  
+
+
+  
+ERROR: EXSLT - Functions implementation of str:tokenize relies on 
exsl:node-set().
+  
+
+
+  
+
+  
+
+  
+
+  
+  
+
+  
+  
+
+  
+
+  
+  
+
+  
+
+
+
+  
+  
+
+
+  
+
+  
+
+
+
+  
+  
+  
+  
+
+  
+
+
+  
+
+  
+  
+
+
+  
+  
+  
+
+
+  
+
+
+  
+
+
+  
+
+  
+
+
+



[gentoo-commits] proj/devmanual:master commit in: xsl/

2019-11-25 Thread Göktürk Yüksek
commit: d44fa2793160272f590aa4b976d4b8c80092c655
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Tue Nov 26 02:41:05 2019 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Tue Nov 26 02:51:51 2019 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=d44fa279

xsl/lang.highlight.ebuild.xsl: add more EAPI keywords to highlight

The list is taken from
https://gitweb.gentoo.org/proj/ebuild-mode.git/tree/ebuild-mode-keywords.el#n32

Signed-off-by: Göktürk Yüksek  gentoo.org>

 xsl/lang.highlight.ebuild.xsl | 29 -
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/xsl/lang.highlight.ebuild.xsl b/xsl/lang.highlight.ebuild.xsl
index b9a8c95..9f90fb1 100644
--- a/xsl/lang.highlight.ebuild.xsl
+++ b/xsl/lang.highlight.ebuild.xsl
@@ -112,7 +112,7 @@
   
   
   
 
+  
+  
+   
+  
+
+  
+  
+   
+  
+
+  
+  
+   
+  
+
+  
+  
+   
+  
+
   
   

@@ -138,6 +158,13 @@

   
 
+  
+  
+   
+  
+
   
   




[gentoo-commits] proj/devmanual:master commit in: xsl/

2019-11-25 Thread Göktürk Yüksek
commit: 0d2eb7f1f123886068ee8ef9171e7cbb73d040c0
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Jun 22 20:02:39 2018 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Tue Nov 26 02:20:31 2019 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=0d2eb7f1

xsl/lang.highlight.ebuild.xsl: highlight eapply calls

Closes: https://github.com/gentoo/devmanual/pull/86
Signed-off-by: Göktürk Yüksek  gentoo.org>

 xsl/lang.highlight.ebuild.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xsl/lang.highlight.ebuild.xsl b/xsl/lang.highlight.ebuild.xsl
index e2b1d72..b9a8c95 100644
--- a/xsl/lang.highlight.ebuild.xsl
+++ b/xsl/lang.highlight.ebuild.xsl
@@ -112,7 +112,7 @@