Github messages for voidlinux
 help / color / mirror / Atom feed
From: reback00 <reback00@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] lazarus: update to 2.0.10
Date: Thu, 01 Oct 2020 09:48:44 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25217@inbox.vuxu.org> (raw)

[-- 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
 

             reply	other threads:[~2020-10-01  7:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01  7:48 reback00 [this message]
2020-10-03 23:25 ` [PR PATCH] [Closed]: " the-maldridge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25217@inbox.vuxu.org \
    --to=reback00@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).