Bug 263941 - math/pantheon-calculator: Update to 2.0.0
Summary: math/pantheon-calculator: Update to 2.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL: https://github.com/elementary/calcula...
Keywords:
Depends on: 263776
Blocks:
  Show dependency treegraph
 
Reported: 2022-05-12 17:25 UTC by Olivier Duchateau
Modified: 2022-05-18 10:59 UTC (History)
2 users (show)

See Also:


Attachments
Patch to update math/pantheon-calculator (5.88 KB, patch)
2022-05-12 17:25 UTC, Olivier Duchateau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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 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 2022-05-18 07:23:41 UTC
Nevermind I will update MOVED manualy
Comment 5 commit-hook freebsd_committer 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 2022-05-18 10:58:53 UTC
Commited, thanks!