[LyX/master] Remove secondary deps on .tar.gz (rpmdist most notably)

Pavel Sanda <[email protected]>
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit 8cca85a8c5387790ac0eb51dfb15cc86e2571ddc
Author: Pavel Sanda <[email protected]>
Date:   Sat Apr 18 09:39:56 2026 +0200

    Remove secondary deps on .tar.gz (rpmdist most notably)
    
    Cmake not checked.
---
 INSTALL.cmake               | 4 ++--
 README                      | 6 +++---
 development/lyx.rpm.README  | 2 +-
 development/lyx.spec.in     | 2 +-
 development/tools/lyx-build | 6 ++----
 5 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/INSTALL.cmake b/INSTALL.cmake
index 2d49536bcf..27bd1544fe 100644
--- a/INSTALL.cmake
+++ b/INSTALL.cmake
@@ -316,10 +316,10 @@ Updating the translations
 Packaging
 ----------
 
-    - Source .tar.gz, .tar.bz2, .zip:
+    - Source .tar.gz, .tar.xz, .zip:
         make package_source
 
-    - Binary .tar.gz and install .sh:
+    - Binary .tar.xz and install .sh:
         make package
 
     - Binary .deb:
diff --git a/README b/README
index fcc37dde49..d8b246de0b 100644
--- a/README
+++ b/README
@@ -56,9 +56,9 @@ How does the LyX version scheme work?
     series. To summarize, there are three possible types of file names
     that are of interest to normal users:
 
-       lyx-2.3.0.tar.gz     -- stable release, first in the 2.3-series
-       lyx-2.2.4.tar.gz     -- fourth maintenance release of LyX 2.2
-       lyx-2.4.0rc1.tar.gz  -- potentially unstable release candidate
+       lyx-2.3.0.tar.xz     -- stable release, first in the 2.3-series
+       lyx-2.2.4.tar.xz     -- fourth maintenance release of LyX 2.2
+       lyx-2.4.0rc1.tar.xz  -- potentially unstable release candidate
 
     Note that the goal is not parallel development as for the Linux
     kernel --- the team is too small to afford that --- but rather to
diff --git a/development/lyx.rpm.README b/development/lyx.rpm.README
index 29f7a2c77e..04eb5580aa 100644
--- a/development/lyx.rpm.README
+++ b/development/lyx.rpm.README
@@ -12,7 +12,7 @@ changes should be needed for other platforms.
 3) Copy lyx.spec to the SPECS directory (on Redhat, this is located at
    /usr/src/redhat/SPECS, on other systems at /usr/src/packages/SPECS)
 
-4) Copy the tarball (lyx-2.x.y.tar.gz) to your SOURCES directory (located
+4) Copy the tarball (lyx-2.x.y.tar.xz) to your SOURCES directory (located
    in the same path as SPECS, e.g. /usr/src/packages/SOURCES).
 
 5) Issue the command
diff --git a/development/lyx.spec.in b/development/lyx.spec.in
index 9ee9555bcf..a729cd8cb5 100644
--- a/development/lyx.spec.in
+++ b/development/lyx.spec.in
@@ -8,7 +8,7 @@ License: GPL
 Group: Applications/Publishing
 URL: http://www.lyx.org/
 Packager: The LyX Team <[email protected]>
-Source: ftp://ftp.lyx.org/pub/lyx/stable/%{name}-%{version}.tar.gz
+Source: ftp://ftp.lyx.org/pub/lyx/stable/%{name}-%{version}.tar.xz
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Prefix: %{_prefix}
 Obsoletes: tetex-lyx
diff --git a/development/tools/lyx-build b/development/tools/lyx-build
index 0213401735..b2d22dd8e7 100755
--- a/development/tools/lyx-build
+++ b/development/tools/lyx-build
@@ -87,8 +87,7 @@ fi
 echo "Packages created:";
 
 # This will happen with development releases
-if [ ! -f "lyx-$PKG_VERSION.tar.gz" ]; then
-	$DEBUG mv "lyx-$VERSION.tar.gz" "lyx-$PKG_VERSION.tar.gz" || exit 1;
+if [ ! -f "lyx-$PKG_VERSION.tar.xz" ]; then
 	$DEBUG mv "lyx-$VERSION.tar.xz" "lyx-$PKG_VERSION.tar.xz" || exit 1;
 fi
 
@@ -97,7 +96,6 @@ $DEBUG ln lyx-$PKG_VERSION.tar.{gz,xz} $BASE/ || exit 1;
 echo -n "Ready to build signatures...";
 read
 
-$DEBUG gpg -b lyx-$VERSION.tar.gz
 $DEBUG gpg -b lyx-$VERSION.tar.xz
 
 echo "Signatures created:"
@@ -110,7 +108,7 @@ if [ -n "$COMPILE" ]; then
 	$DEBUG rm -Rf $BASE/lyx-test/
 	$DEBUG mkdir $BASE/lyx-test/
 	$DEBUG cd $BASE/lyx-test/
-	$DEBUG tar -zxvf $BASE/lyx-build/lyx-$VERSION.tar.gz
+	$DEBUG tar -xvf $BASE/lyx-build/lyx-$VERSION.tar.xz
 	if ! $DEBUG cd lyx-$PKG_VERSION; then
 		echo "Unable to enter build directory!";
 		exit 1;
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.