Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide way to rename mime .xml files #1

Closed
alexlarsson opened this issue Aug 25, 2017 · 4 comments · Fixed by #567
Closed

Provide way to rename mime .xml files #1

alexlarsson opened this issue Aug 25, 2017 · 4 comments · Fixed by #567

Comments

@alexlarsson
Copy link
Member

From @jurf on August 13, 2017 14:17

So we can stop doing things like:

"post-install": [
    "mv /app/share/mime/packages/scribus.xml /app/share/mime/packages/net.scribus.Scribus.xml"
]

Copied from original issue: flatpak/flatpak#958

@jurf
Copy link
Member

jurf commented Oct 29, 2017

This would also be great for mimetype icons, which currently have to be renamed manually and the new names have to be added to the xml file.

@hfiguiere
Copy link
Contributor

This is much more complex. Renaming the mime .xml files. There is also renaming the icons for these mime type that otherwise don't get exported, but then the icon name should be set in the .xml file to match as this breaks the standard name of mime icons.

@hfiguiere
Copy link
Contributor

We could have:

rename-mime: file.xml

This would rename the MIME .xml file

and also

rename-mime-icons: [ icon-name ]

This would act like rename icon, except it would rename to $FLATPAK_ID.icon-name and then modify the MIME .xml file to set the icon name.

hfiguiere added a commit to hfiguiere/flatpak-builder that referenced this issue Oct 22, 2023
- Added rename-mime-file and rename-mime-icons.

flatpak#1
@hfiguiere
Copy link
Contributor

My proposed implementation in #567

hfiguiere added a commit to hfiguiere/flatpak-builder that referenced this issue Oct 22, 2023
- Added rename-mime-file and rename-mime-icons.

flatpak#1
hfiguiere added a commit to hfiguiere/flatpak-builder that referenced this issue Oct 22, 2023
- Added rename-mime-file and rename-mime-icons.

flatpak#1
hfiguiere added a commit to hfiguiere/flatpak-builder that referenced this issue Oct 22, 2023
- Added rename-mime-file and rename-mime-icons.

flatpak#1
@hfiguiere hfiguiere moved this to In Progress in @hfiguiere's xdg-portal Nov 7, 2023
hfiguiere added a commit to hfiguiere/flatpak-builder that referenced this issue Nov 7, 2023
- Added rename-mime-file and rename-mime-icons.

flatpak#1
@hfiguiere hfiguiere moved this from In Progress to In Review in @hfiguiere's xdg-portal Nov 11, 2023
@hfiguiere hfiguiere moved this from In Review to In Progress in @hfiguiere's xdg-portal Nov 16, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in @hfiguiere's xdg-portal Nov 19, 2023
TingPing pushed a commit that referenced this issue Nov 19, 2023
- Added rename-mime-file and rename-mime-icons.

#1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants