* [PR PATCH] lazarus: update to 2.0.10
@ 2020-10-01 7:48 reback00
2020-10-03 23:25 ` [PR PATCH] [Closed]: " the-maldridge
0 siblings, 1 reply; 2+ messages in thread
From: reback00 @ 2020-10-01 7:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 725 bytes --]
There is a new pull request by reback00 against master on the void-packages repository
https://github.com/reback00/void-packages lazarus-2.0.10-2
https://github.com/void-linux/void-packages/pull/25217
lazarus: update to 2.0.10
The filename structure of the source tarball for 2.0.10 is different. A "-2" was added at the end as a revision number for 2.0.10. This was not the case for earlier 2.0.x versions.
`revision` variable is reserved for package revision. Can't add "-2" on `version` because xlint complains `version must not contain the characters : or -`. So had to add a `_version_revision_suffix` variable to fix this.
A patch file from https://github.com/void-linux/void-packages/pull/25217.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lazarus-2.0.10-2-25217.patch --]
[-- Type: text/x-diff, Size: 1386 bytes --]
From ebc2f100ef5726753299ae85acd1e04e5414fbb3 Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Thu, 1 Oct 2020 13:45:36 +0600
Subject: [PATCH] lazarus: update to 2.0.10
---
srcpkgs/lazarus/template | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/lazarus/template b/srcpkgs/lazarus/template
index e2fd3770cc5..92c904cceb9 100644
--- a/srcpkgs/lazarus/template
+++ b/srcpkgs/lazarus/template
@@ -1,7 +1,9 @@
# Template file for 'lazarus'
pkgname=lazarus
-version=2.0.8
+version=2.0.10
revision=1
+# For adding a revision suffix to version on the source tarball file
+_version_revision_suffix="-2"
archs="x86_64 i686"
wrksrc=lazarus
hostmakedepends="fpc rsync"
@@ -11,8 +13,8 @@ short_desc="Delphi-like IDE for FreePascal"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, MPL-2.0, LGPL-2.0-or-later"
homepage="http://www.lazarus.freepascal.org"
-distfiles="${SOURCEFORGE_SITE}/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}.tar.gz"
-checksum=90b037280e5c63265bc25a63e6e78c9cb979fc4b45aa84606e3856b09ac791c5
+distfiles="${SOURCEFORGE_SITE}/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}${_version_revision_suffix}.tar.gz"
+checksum=64d5626468dd24a3332b205f3abd0a581ab7de1b060a2d57e21864066cfd43b7
nopie=yes
lib32disabled=yes
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Closed]: lazarus: update to 2.0.10
2020-10-01 7:48 [PR PATCH] lazarus: update to 2.0.10 reback00
@ 2020-10-03 23:25 ` the-maldridge
0 siblings, 0 replies; 2+ messages in thread
From: the-maldridge @ 2020-10-03 23:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
There's a closed pull request on the void-packages repository
lazarus: update to 2.0.10
https://github.com/void-linux/void-packages/pull/25217
Description:
The filename structure of the source tarball for 2.0.10 is different. A "-2" was added at the end as a revision number for 2.0.10. This was not the case for earlier 2.0.x versions.
`revision` variable is reserved for package revision. Can't add "-2" on `version` because xlint complains `version must not contain the characters : or -`. So had to add a `_version_revision_suffix` variable to fix this.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-03 23:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01 7:48 [PR PATCH] lazarus: update to 2.0.10 reback00
2020-10-03 23:25 ` [PR PATCH] [Closed]: " the-maldridge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).