Re: Remove gz From 'make dist'?
Kornel Benko <[email protected]>
| Newsgroups | gmane.editors.lyx.devel |
|---|---|
| Message-ID | <20260418113439.72400a82@admin1-desktop> |
Am Sat, 18 Apr 2026 09:47:10 +0200 schrieb Pavel Sanda <[email protected]>: > On Fri, Apr 17, 2026 at 03:47:08PM -0400, Richard Kimberly Heck wrote: > > On 4/16/26 6:21 AM, Pavel Sanda wrote: > > > On Thu, Apr 16, 2026 at 11:48:03AM +0200, Pavel Sanda wrote: > > > > On Wed, Apr 15, 2026 at 01:58:28PM -0400, Richard Kimberly Heck wrote: > > > > > I can easily enough stop distributing the gz file, but does someone want to > > > > > remove the code that generates it from 'make dist'? For now, perhaps we > > > > > should just comment it out. > > > > I can look at it later. For the moment we won't just distribute it... > > > > That's fine. It'll just save a bit of time when building if we remove it. > > I just committed the change to master. > > Can you try whether your pipeline for release process still works > once we are done with 2.5.1? We can backport then. > > Kornel I did not touch cmake. E.g. development/lyx.package.README > still operates with .tar.gz. As in attached? > Pavel Kornel -- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
lyx.package.README.patch
(text/x-patch, 1.5 KB)
diff --git a/development/lyx.package.README b/development/lyx.package.README
index 88b0a7f52e..865adbd832 100755
--- a/development/lyx.package.README
+++ b/development/lyx.package.README
@@ -12,25 +12,25 @@ Using cmake-gui:
select: Configure
Likewise you may call cmake directly. E.g. to create debian package
cd _BUILD_DIR_; cmake _SRC_DIR_ -DCPACK_BINARY_DEB:BOOL=ON
The generators (dependent on your system) are
- DEB, RPM, TGZ, NSIS, STGZ, TBZ2, TZ
+ DEB, RPM, TGZ, NSIS, STGZ, TBZ2, TXZ, TZ
Now it is possible to create the package
cd _BUILD_DIR_; make package
- #The created packages will be something like
- #_PKG_NAME_.tar.gz
- #_PKG_NAME_.zip
+ #As an example the created packages for -DCPACK_BINARY_TXZ:BOOL=ON will be something like
+ #_PKG_NAME_.tar.xz
#...
-In archives for TGZ, STGZ, TBZ2 or TZ the filenames are prepended with the package-name,
+In archives for TGZ, STGZ, TBZ2, TXZ or TZ the filenames are prepended with the package-name,
therefore we have to get rid of it (e.g. for STGZ the parameter "--exclude-subdir").
Some installation proceedings:
STGZ: sudo _PKG_NAME_.sh --exclude-subdir
- TGZ: sudo tar -zxv --strip-components 1 --directory / -f _PKG_NAME_.tar.gz
+ TXZ: sudo tar -axv --strip-components 1 --directory / -f _PKG_NAME_.tar.xz
+ TGZ: sudo tar -axv --strip-components 1 --directory / -f _PKG_NAME_.tar.gz
DEB: sudo dpkg -i _PKG_NAME_.deb
RPM: sudo rpm -U --force _PKG_NAME_.rpm
See also:
http://www.cmake.org/Wiki/CMake:CPackPackageGenerators
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE75EqQxV38F6szpLQb1AEVgNfRFsFAmnjUC8ACgkQb1AEVgNf RFuohwf+PF3RTtX8uO3gRfYDQne0hlBtG4qiGUxIlISMGlUaznx9QFqFCXP7wero VGU+OUgWMJ9i5PBnfiTgyi9nu29fpwrzOiFsjOc68t4rEO3tkah7/xg2kyw3AbdX pJUI3sd+gdgZV7YBFrF/eKToXd9Ij4el8UC0m5AA3U4cLcqVymxM7wic9ci58ahR /E1BxVzRsG2Oj0tf97a0Nvmpcj/WydFPy+TLAhiCr506idPD3tcuCU0j7fOTq8Pk /OIm7AWMDoE2d2+yIBHA9ND/hFmtIBsSaYpEn5Uk1AtU5MkvcJLbfC4lipitSFkC Cp9G6YlHaeyjFLZmwRc8BAK93IoBmA== =U0v5 -----END PGP SIGNATURE-----