Skip to content

NaSC#128

Closed
phw wants to merge 3 commits intoflathub:new-prfrom
phw:new-pr
Closed

NaSC#128
phw wants to merge 3 commits intoflathub:new-prfrom
phw:new-pr

Conversation

@phw
Copy link
Copy Markdown

@phw phw commented Oct 10, 2017

App where you do maths like a normal person. GPLv3, see upstream https://github.com/parnold-x/nasc

Needs patching of App ID, see discussion on flatpak/flatpak-builder#37

See also parnoldx/nasc#67

App where you do maths like a normal person. GPLv3, see upstream https://github.com/parnold-x/nasc

Needs patching of App ID, see discussion on flatpak/flatpak-builder#37
@smcv
Copy link
Copy Markdown

smcv commented Oct 10, 2017

If the patched app ID is going to change from com.github.parnoldx.nasc to com.github.parnold_x.nasc like I suggested on parnoldx/nasc#67 then it might be best to do that before adding the app to Flathub, so that the unique ID published on Flathub doesn't change.

I'll see if I can get the Desktop Entry Specification changed to recommend normalizing dashes to underscores when forming app IDs - that works better with DBusActivatable anyway.

@phw
Copy link
Copy Markdown
Author

phw commented Oct 11, 2017

Yes, your explanation makes a lot of sense here. I will update the patch.

As I see it the app ID needs to be changed anyway, so once the patches are in that would be ok for Flatpak, right? Upstream NaSC changing the app ID depends on Elementary following your recommendation (what they hopefully will do) and whether it is feasible to change the app ID for an already published app.

"--filesystem=xdg-documents",
"--filesystem=xdg-public-share",
"--filesystem=xdg-run/dconf",
"--filesystem=~/.local/share/nasc/",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$XDG_DATA_HOME is set to another private location for you automatically so you shouldn't need to pass this through.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"V": "1"
}
},
"cleanup": [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test it but you probably have extra gir files and such that aren't cleaned up, always good to go over every dir in the build directory.

@phw
Copy link
Copy Markdown
Author

phw commented Oct 11, 2017

I fixed the app ID to use _. Will tackle the other issues later.

@TingPing TingPing added the awaiting-changes Pull request waiting for inputs or changes from author label Oct 13, 2017
@nedrichards
Copy link
Copy Markdown
Member

@phw
Copy link
Copy Markdown
Author

phw commented Oct 23, 2017

Just for a follow up: I still want to deal with the issues reported by @TingPing , but this has to wait 2-3 weeks as I am currently not able to get some time for this.

@nedrichards
Copy link
Copy Markdown
Member

bot, build com.github.parnold_x.nasc

@rushsteve1
Copy link
Copy Markdown

What is the status of this? Has it been abandoned? If so I would be willing to take it up.

@phw
Copy link
Copy Markdown
Author

phw commented Jan 9, 2018

@rushsteve1 Not abondoned, but due to missing time (also for the forseeable future) unfortunately on ice. So feel free to continue where I left: Currently open is the issue reported by @TingPing above (hardcoded path to .local/share/nasc/). My plan was to create a patch, add this patch to the flatpak build and submit it upstream.

@rushsteve1
Copy link
Copy Markdown

Any new updates on this? A newer version of NaSC is out which may or may not fix things.

@AsciiWolf
Copy link
Copy Markdown
Contributor

Any news?

@barthalion
Copy link
Copy Markdown
Member

I'm closing it due to inactivity – but please re-open it or resubmit as new pull request if you would like to see it merged in the future.

@scx
Copy link
Copy Markdown

scx commented Feb 16, 2019

New attempt to create a flatpak package:
#867

See also:
https://github.com/scx/nasc-flatpak

su-ex pushed a commit to su-ex/flathub that referenced this pull request Dec 9, 2020
Zishan-Rahman added a commit to Zishan-Rahman/flathub that referenced this pull request Sep 20, 2023
Using GitHub link to source download this time as it hasn't been uploaded to TuxFamily yet
jbruechert pushed a commit to jbruechert/flathub that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-changes Pull request waiting for inputs or changes from author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants