Bug 263941

Summary: math/pantheon-calculator: Update to 2.0.0
Product: Ports & Packages Reporter: Olivier Duchateau <duchateau.olivier>
Component: Individual Port(s)Assignee: Nuno Teixeira <eduardo>
Status: Closed FIXED    
Severity: Affects Only Me CC: eduardo, nc
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/elementary/calculator/releases/tag/2.0.0
Bug Depends on: 263776    
Bug Blocks:    
Attachments:
Description Flags
Patch to update math/pantheon-calculator none

Description Olivier Duchateau 2022-05-12 17:25:12 UTC
Created attachment 233875 [details]
Patch to update math/pantheon-calculator

- Update to 2.0.0
- Adjust dependencies and patch
- Rename to math/elementary-calculator (follow domain name notation, as other ElementaryOS applications)
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2022-05-16 12:05:23 UTC
Hello,

Could you submit a 'git diff' instead of 'patch' command?
Comment 2 Olivier Duchateau 2022-05-17 17:49:52 UTC
(In reply to Nuno Teixeira from comment #1)

What did you mean?

I created diff with following command:
- git add .
- git diff --staged > elementary-calculator-2.0.0.diff

You can "import" changes in ports tree with git apply command.
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2022-05-18 07:19:29 UTC
error: patch failed: MOVED:17148

Could you please do a git pull and update patch?

It seems that MOVED was updated so patch doesn't apply.
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2022-05-18 07:23:41 UTC
Nevermind I will update MOVED manualy
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-05-18 10:55:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18e22b62edc8c7cf0d8b92c4ae4679248df60814

commit 18e22b62edc8c7cf0d8b92c4ae4679248df60814
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2022-05-18 10:51:24 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-05-18 10:54:45 +0000

    math/pantheon-calculator: Update to 2.0.0

    - Update to 2.0.0
    - Adjust dependencies and patch
    - Rename to math/elementary-calculator (follow domain name notation,
      as other ElementaryOS applications)

    ChangeLog: https://github.com/elementary/calculator/releases/tag/2.0.0

    PR:             263941

 MOVED                                              |  1 +
 math/Makefile                                      |  2 +-
 .../Makefile                                       | 10 ++++----
 math/elementary-calculator/distinfo (new)          |  3 +++
 .../files/patch-src_MainWindow.vala (new)          | 28 ++++++++++++++++++++++
 .../pkg-descr                                      |  0
 .../pkg-plist                                      |  0
 math/pantheon-calculator/distinfo (gone)           |  3 ---
 .../files/patch-src_MainWindow.vala (gone)         | 15 ------------
 9 files changed, 38 insertions(+), 24 deletions(-)
Comment 6 Nuno Teixeira freebsd_committer freebsd_triage 2022-05-18 10:58:53 UTC
Commited, thanks!