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
Updating the location of localization files #1660
Conversation
@@ -206,98 +142,15 @@ rm -rf $RPM_BUILD_ROOT | |||
%defattr(-,root,root) | |||
%doc LICENSE README.md CHANGELOG.md shortcuts.md | |||
%{_bindir}/QOwnNotes | |||
%{_datadir}/pixmaps/QOwnNotes.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can that line really go?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The icon itself will be found
# manually install desktop file for Fedora and CentOS 7 | ||
%if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?centos} >= 7 | ||
install -D -m 0644 PBE.QOwnNotes.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/PBE.QOwnNotes.desktop | ||
%endif | ||
|
||
install -D -m 0644 images/icons/128x128/apps/QOwnNotes.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/QOwnNotes.png | ||
install -D -m 0644 images/icons/16x16/apps/QOwnNotes.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/16x16/apps/QOwnNotes.png | ||
install -D -m 0644 images/icons/24x24/apps/QOwnNotes.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/24x24/apps/QOwnNotes.png | ||
install -D -m 0644 images/icons/32x32/apps/QOwnNotes.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/QOwnNotes.png | ||
install -D -m 0644 images/icons/48x48/apps/QOwnNotes.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps/QOwnNotes.png | ||
install -D -m 0644 images/icons/64x64/apps/QOwnNotes.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/64x64/apps/QOwnNotes.png | ||
install -D -m 0644 images/icons/96x96/apps/QOwnNotes.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/96x96/apps/QOwnNotes.png | ||
install -D -m 0644 images/icons/128x128/apps/QOwnNotes.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/128x128/apps/QOwnNotes.png | ||
install -D -m 0644 images/icons/256x256/apps/QOwnNotes.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/256x256/apps/QOwnNotes.png | ||
install -D -m 0644 images/icons/512x512/apps/QOwnNotes.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/512x512/apps/QOwnNotes.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are those lines substituted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these files are automatically installed using a macro %make_install
Looks pretty complete (beside my comments). Can you please attempt to build the Arch Packages again, maybe OBS fixed the build already. And the application will check |
I checked the finished package for arch before the building broke, at first glance the packaging was completed as expected, but I will check again. |
Which old path do you mean? So do we need to include |
Checked on openSUSE, Fedora, Arch, Ubuntu, Appimage, everything works |
Thank you, we'll wait for the feedback from the next release then. 😬 |
It seems that I didn’t forget anything, I checked appimage and openSUSE, localization works, as in other distributions, packaging also went to fixed directories, I think there should be no problems
https://build.opensuse.org/package/show/home:Dead_Mozay:branches:home:pbek:QOwnNotes/desktop
building everywhere was successful except Arch, but I think this is due to some kind of error on the obs