This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new d207240960 pre-commit(whitespace): autofix `.in` files (#349)
d207240960 is described below

commit d2072409606cf1add9113a0565ce9b4c98890fa7
Author: John Bampton <jbamp...@users.noreply.github.com>
AuthorDate: Tue Apr 1 18:04:42 2025 +1000

    pre-commit(whitespace): autofix `.in` files (#349)
---
 .pre-commit-config.yaml                         |  2 +-
 main/Makefile.in                                |  9 ++++-----
 main/accessibility/workben/makefile.in          |  8 ++++----
 main/icc/source/create_sRGB_profile/Makefile.in |  2 +-
 main/odk/setsdkenv_unix.sh.in                   | 16 ++++++++--------
 main/toolkit/workben/layout/testrc.in           |  8 ++++----
 6 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 48f006c734..3850c06618 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -38,7 +38,7 @@ repos:
       - id: mixed-line-ending
         files: 
^main/.*\.(c|h)xx$|^main/.*\.java$|\.(asp|c|dxp|el|h|hrc|idl|in|ini|m|md|mk|pas|php|pl|pm|py|rc|sh|xcs|xdl|xhp|xmi|xsd|xslt?|ya?ml)$|^main/accessibility/.*$|^main/afms/.*$|^main/animations/.*$|^main/apache-commons/.*$
       - id: trailing-whitespace
-        files: \.(asp|bat|el|ini|m|pas|php|pl|pm|rc|sh|xcs|xdl|xmi|xsd|ya?ml)$
+        files: 
\.(asp|bat|el|in|ini|m|pas|php|pl|pm|rc|sh|xcs|xdl|xmi|xsd|ya?ml)$
   - repo: https://github.com/codespell-project/codespell
     rev: v2.4.1
     hooks:
diff --git a/main/Makefile.in b/main/Makefile.in
index 9d66b4dbdf..1af1da5619 100644
--- a/main/Makefile.in
+++ b/main/Makefile.in
@@ -1,5 +1,5 @@
 ###############################################################
-#  
+#
 #  Licensed to the Apache Software Foundation (ASF) under one
 #  or more contributor license agreements.  See the NOTICE file
 #  distributed with this work for additional information
@@ -7,16 +7,16 @@
 #  to you under the Apache License, Version 2.0 (the
 #  "License"); you may not use this file except in compliance
 #  with the License.  You may obtain a copy of the License at
-#  
+#
 #    http://www.apache.org/licenses/LICENSE-2.0
-#  
+#
 #  Unless required by applicable law or agreed to in writing,
 #  software distributed under the License is distributed on an
 #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 #  KIND, either express or implied.  See the License for the
 #  specific language governing permissions and limitations
 #  under the License.
-#  
+#
 ###############################################################
 # just dumb wrapper; make install comes later
 
@@ -34,4 +34,3 @@ distclean:
 clean:
        . ./*Env.Set.sh && \
        dmake clean
-       
diff --git a/main/accessibility/workben/makefile.in 
b/main/accessibility/workben/makefile.in
index f1e31c6dd1..32a890f696 100644
--- a/main/accessibility/workben/makefile.in
+++ b/main/accessibility/workben/makefile.in
@@ -1,5 +1,5 @@
 ###############################################################
-#  
+#
 #  Licensed to the Apache Software Foundation (ASF) under one
 #  or more contributor license agreements.  See the NOTICE file
 #  distributed with this work for additional information
@@ -7,16 +7,16 @@
 #  to you under the Apache License, Version 2.0 (the
 #  "License"); you may not use this file except in compliance
 #  with the License.  You may obtain a copy of the License at
-#  
+#
 #    http://www.apache.org/licenses/LICENSE-2.0
-#  
+#
 #  Unless required by applicable law or agreed to in writing,
 #  software distributed under the License is distributed on an
 #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 #  KIND, either express or implied.  See the License for the
 #  specific language governing permissions and limitations
 #  under the License.
-#  
+#
 ###############################################################
 PRJ=$(ROOT)/..
 SETTINGS=$(OO_SDK_HOME)/settings
diff --git a/main/icc/source/create_sRGB_profile/Makefile.in 
b/main/icc/source/create_sRGB_profile/Makefile.in
index 5745b7ad5a..d4c2b991f4 100644
--- a/main/icc/source/create_sRGB_profile/Makefile.in
+++ b/main/icc/source/create_sRGB_profile/Makefile.in
@@ -187,7 +187,7 @@ clean-binPROGRAMS:
          echo " rm -f $$p $$f"; \
          rm -f $$p $$f ; \
        done
-create_sRGB_profile$(EXEEXT): $(create_sRGB_profile_OBJECTS) 
$(create_sRGB_profile_DEPENDENCIES) 
+create_sRGB_profile$(EXEEXT): $(create_sRGB_profile_OBJECTS) 
$(create_sRGB_profile_DEPENDENCIES)
        @rm -f create_sRGB_profile$(EXEEXT)
        $(CXXLINK) $(create_sRGB_profile_LDFLAGS) 
$(create_sRGB_profile_OBJECTS) $(create_sRGB_profile_LDADD) $(LIBS)
 
diff --git a/main/odk/setsdkenv_unix.sh.in b/main/odk/setsdkenv_unix.sh.in
index 27935fb42a..d5ad78368c 100644
--- a/main/odk/setsdkenv_unix.sh.in
+++ b/main/odk/setsdkenv_unix.sh.in
@@ -1,6 +1,6 @@
 #! /bin/sh
 ###############################################################
-#  
+#
 #  Licensed to the Apache Software Foundation (ASF) under one
 #  or more contributor license agreements.  See the NOTICE file
 #  distributed with this work for additional information
@@ -8,16 +8,16 @@
 #  to you under the Apache License, Version 2.0 (the
 #  "License"); you may not use this file except in compliance
 #  with the License.  You may obtain a copy of the License at
-#  
+#
 #    http://www.apache.org/licenses/LICENSE-2.0
-#  
+#
 #  Unless required by applicable law or agreed to in writing,
 #  software distributed under the License is distributed on an
 #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 #  KIND, either express or implied.  See the License for the
 #  specific language governing permissions and limitations
 #  under the License.
-#  
+#
 ###############################################################
 
 # This script starts a new shell and sets all environment variables, which
@@ -210,7 +210,7 @@ case ${sdk_platform} in
        PTHREAD_LIBS=-lc_r
        export PTHREAD_CFLAGS
        export PTHREAD_LIBS
-    else       
+    else
        PTHREAD_LIBS=-pthread
        export PTHREAD_LIBS
     fi
@@ -284,7 +284,7 @@ then
 #    Only necessary on MacOSX, on other Unix systems the links are already 
prepared
 #    in the SDK installation.
 
-#    prepare links 
+#    prepare links
     if [ "${OFFICE_HOME}" ]
     then
        mkdir -p "${OO_SDK_OUT}/${directoryname}/lib"
@@ -322,11 +322,11 @@ then
            "${OO_SDK_OFFICE_LIB_DIR}/libuno_purpenvhelper${comid}.${soext}.3"
 
     fi
-fi 
+fi
 
 
 # Prepare shell with all necessary environment variables.
-echo 
+echo
 echo " 
************************************************************************"
 echo " *"
 echo " * SDK environment is prepared for ${platform}"
diff --git a/main/toolkit/workben/layout/testrc.in 
b/main/toolkit/workben/layout/testrc.in
index ea01affd63..60bdb10e42 100644
--- a/main/toolkit/workben/layout/testrc.in
+++ b/main/toolkit/workben/layout/testrc.in
@@ -1,5 +1,5 @@
 ###############################################################
-#  
+#
 #  Licensed to the Apache Software Foundation (ASF) under one
 #  or more contributor license agreements.  See the NOTICE file
 #  distributed with this work for additional information
@@ -7,16 +7,16 @@
 #  to you under the Apache License, Version 2.0 (the
 #  "License"); you may not use this file except in compliance
 #  with the License.  You may obtain a copy of the License at
-#  
+#
 #    http://www.apache.org/licenses/LICENSE-2.0
-#  
+#
 #  Unless required by applicable law or agreed to in writing,
 #  software distributed under the License is distributed on an
 #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 #  KIND, either express or implied.  See the License for the
 #  specific language governing permissions and limitations
 #  under the License.
-#  
+#
 ###############################################################
 OOO_INSTALL_PREFIX_URL=file://${OOO_INSTALL_PREFIX}
 OOO_BASIS_URL=${OOO_INSTALL_PREFIX_URL}/basis-link

Reply via email to