[Bug 1948659] Review Request: gnome-kiosk - A pared down compositor and display server for single application deployments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1948659

Kalev Lember <klember@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



--- Comment #1 from Kalev Lember <klember@xxxxxxxxxx> ---
The first thing that sticks out to me is that source rpm is named
gnome-kiosk-40.alpha-1.fc34.src.rpm while the spec file goes to great lengths
to use ~alpha instead of .alpha. Looks like something has gone wrong with it if
the srpm file is named like this?

In other gnome packages we've used a system where we put this at the top of
each file:

%global tarball_version %%(echo %{version} | tr '~' '.')

and then used %{name}-%{tarball_version} in the Source line and in the %setup
line, which then automatically translates 40~alpha to 40.alpha for those two
places. Maybe it would be easiest to use the same system here? See e.g.
https://src.fedoraproject.org/rpms/gnome-shell/blob/rawhide/f/gnome-shell.spec


Another thing that sticks out is that none of the C code files in the tarball
have license headers. Would be nice to add them -- although I don't think it's
a requirement.


Some in line comments about the spec file:

> #VCS:           git:git://gitlab.gnome.org/halfline/gnome-kiosk

I think you can just take the VCS line out, it was for Colin's old automation
that nobody uses any more.

> %package -n gnome-kiosk-search-appliance
> Summary:        Example search application application that uses GNOME Kiosk
> License:        GPLv2+
> Requires:       %{name}%{?_isa} = %{version}-%{release}

You can't use %{?_isa} in a noarch package -- it's going to be different on
different arches, but noarch means that it's supposed to work on all arches.

> Requires:       firefox
> BuildArch:      noarch



%files -n gnome-kiosk-search-appliance
%{_datadir}/applications/org.gnome.Kiosk.SearchApp.desktop
%{_datadir}/gnome-session/sessions/org.gnome.Kiosk.SearchApp.session
%{_datadir}/xsessions/org.gnome.Kiosk.SearchApp.Session.desktop
%{_datadir}/wayland-sessions/org.gnome.Kiosk.SearchApp.Session.desktop

Looking at the files list, it sounds like the package should have runtime
requires on gnome-session to work?


Should the package have appdata to show up in gnome-software?


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux