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

FileTypes: Use fd.o text-x-generic for text #1169

Merged
merged 1 commit into from
Jan 2, 2023

Conversation

newhoa
Copy link
Collaborator

@newhoa newhoa commented Dec 30, 2022

Changes text mimetype filename to text-x-generic to match FreeDesktop.org Icon Naming Specification. Same change made for the -rtl version.

Update the symlink names in mimes/meson.build.


Let me know if I need to make any other changes outside of the meson.build for symlinks or anything.

Also something I noticed while editing the meson.build file for symlinks, I'm not sure if plain names like wordprocessing and text are needed as symlinks anymore (same with stuff like image or package names/symlinks). Are these used anywhere that anyone knows of?

Thanks.

Changes `text` mimetype filename to `text-x-generic`
to match FreeDesktop.org Icon Naming Specification.
Same change made for the `-rtl` version.

Update the symlink names in mimes/meson.build.
@newhoa newhoa changed the title FileTypes: Update text to fd.o name FileTypes: Use fd.o text-x-generic for text Dec 30, 2022
Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

Looks good! Happy to make this match the spec and symlink makes sense to me.

I'm not 100% sure if those names are used, but I'd rather include the symlinks and have them unused then remove the symlinks and accidentally break something. A lot of these mime symlinks have been added over the years to fix various bugs. It might be worth going through git blame and seeing if we can add comments to the build file documenting that they're all for

@danirabbit danirabbit merged commit 61871ca into elementary:master Jan 2, 2023
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 this pull request may close these issues.

2 participants