Bug 2121653 - Review Request: rofi-wayland - Window switcher, application launcher and dmenu replacement - fork with Wayland support
Summary: Review Request: rofi-wayland - Window switcher, application launcher and dmen...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fabio Alessandro Locati
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-26 06:20 UTC by Aleksei Bavshin
Modified: 2022-08-28 17:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-28 17:31:17 UTC
Type: ---
Embargoed:
me: fedora-review+


Attachments (Terms of Use)

Description Aleksei Bavshin 2022-08-26 06:20:33 UTC
Spec URL: https://alebastr.fedorapeople.org/review/rofi-wayland/rofi-wayland.spec
SRPM URL: https://alebastr.fedorapeople.org/review/rofi-wayland/rofi-wayland-1.7.5+wayland1-1.fc38.src.rpm
Description:
Rofi is a dmenu replacement. Rofi, like dmenu, will provide the user with a
textual list of options where one or more can be selected. This can either be,
running an application, selecting a window or options provided by an external
script.

This package contains a fork of rofi with native Wayland support, expected to
work with wlroots-based Wayland compositors (Sway).

Fedora Account System Username: alebastr

Notes:
Name is chosen based on the Alpine and FreeBSD packages, upstream is ok with the name despite their unwillingness to rename the repository.

-themes was a choice between two worst options; having a construction from 2 packages conflicting and replacing 2 other packages (which sometimes did not work as intended) or just relying on an absolutely identical contents of the rofi-themes.

Relaxed dependency on themes is another forced thing, as sometimes wayland fork is updated with slight delay and that shouldn't block regular rofi. The changes in themes were pretty minuscule for past few releases anyways.

Comment 1 Fabio Alessandro Locati 2022-08-27 15:45:49 UTC
Hi,

Very nice package, thanks!
The package is APPROVED with only one note: the Summary is too long, please shorten it.

Best,
Fale



Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
=======
None


===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "MIT License", "*No copyright* MIT
     License", "FSF All Permissive License", "NTP License (legal
     disclaimer) Historical Permission Notice and Disclaimer - sell
     variant". 110 files have unknown license. Detailed output of
     licensecheck in /var/home/fale/2121653-rofi-wayland/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[x]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[x]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[x]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 20480 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package contains desktop file if it is a GUI application.
[x]: Package installs a %{name}.desktop using desktop-file-install or
     desktop-file-validate if there is such a file.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[x]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Fully versioned dependency in subpackages if applicable.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[!]: Rpmlint is run on all installed packages.
     Note: Mock build failed
     See: https://docs.fedoraproject.org/en-US/packaging-
     guidelines/#_use_rpmlint
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Spec file according to URL is the same as in SRPM.


Installation errors
-------------------
INFO: mock.py version 3.1 starting (python version = 3.10.6, NVR = mock-3.1-1.fc36)...
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.1
INFO: Mock Version: 3.1
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.1
INFO: Mock Version: 3.1
Finish: chroot init
INFO: installing package(s): /builddir/rofi-wayland-debuginfo-1.7.5+wayland1-1.fc37.x86_64.rpm /builddir/rofi-wayland-debugsource-1.7.5+wayland1-1.fc37.x86_64.rpm /builddir/rofi-wayland-1.7.5+wayland1-1.fc37.x86_64.rpm
ERROR: Command failed: 
 # /usr/bin/systemd-nspawn -q -M a58a30ebe2844de38c1a4bcdd7ce0905 -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h2xnamvz:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$  --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 38 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install /builddir/rofi-wayland-debuginfo-1.7.5+wayland1-1.fc37.x86_64.rpm /builddir/rofi-wayland-debugsource-1.7.5+wayland1-1.fc37.x86_64.rpm /builddir/rofi-wayland-1.7.5+wayland1-1.fc37.x86_64.rpm --setopt=tsflags=nocontexts



Rpmlint
-------
Cannot parse rpmlint output:


Source checksums
----------------
https://github.com/lbonn/rofi/releases/download/1.7.5+wayland1/rofi-1.7.5+wayland1.tar.xz :
  CHECKSUM(SHA256) this package     : 971b0e384c37a0134ec1ae3685a8e8c352f7c1ecb457bcabbcff763b360fc726
  CHECKSUM(SHA256) upstream package : 971b0e384c37a0134ec1ae3685a8e8c352f7c1ecb457bcabbcff763b360fc726


Requires
--------
rofi-wayland (rpmlib, GLIBC filtered):
    (rofi-themes >= 1.7.5 with rofi-themes < 1.8)
    /usr/bin/bash
    hicolor-icon-theme
    libc.so.6()(64bit)
    libcairo.so.2()(64bit)
    libgdk_pixbuf-2.0.so.0()(64bit)
    libgio-2.0.so.0()(64bit)
    libglib-2.0.so.0()(64bit)
    libgmodule-2.0.so.0()(64bit)
    libgobject-2.0.so.0()(64bit)
    libm.so.6()(64bit)
    libpango-1.0.so.0()(64bit)
    libpangocairo-1.0.so.0()(64bit)
    libstartup-notification-1.so.0()(64bit)
    libwayland-client.so.0()(64bit)
    libwayland-cursor.so.0()(64bit)
    libxcb-cursor.so.0()(64bit)
    libxcb-ewmh.so.2()(64bit)
    libxcb-icccm.so.4()(64bit)
    libxcb-randr.so.0()(64bit)
    libxcb-util.so.1()(64bit)
    libxcb-xinerama.so.0()(64bit)
    libxcb-xkb.so.1()(64bit)
    libxcb.so.1()(64bit)
    libxkbcommon-x11.so.0()(64bit)
    libxkbcommon-x11.so.0(V_0.5.0)(64bit)
    libxkbcommon.so.0()(64bit)
    libxkbcommon.so.0(V_0.5.0)(64bit)
    libxkbcommon.so.0(V_0.7.0)(64bit)
    rtld(GNU_HASH)

rofi-wayland-debuginfo (rpmlib, GLIBC filtered):

rofi-wayland-debugsource (rpmlib, GLIBC filtered):



Provides
--------
rofi-wayland:
    application()
    application(rofi-theme-selector.desktop)
    application(rofi.desktop)
    bundled(libgwater)
    bundled(libnkutils)
    rofi
    rofi-wayland
    rofi-wayland(x86-64)

rofi-wayland-debuginfo:
    debuginfo(build-id)
    rofi-wayland-debuginfo
    rofi-wayland-debuginfo(x86-64)

rofi-wayland-debugsource:
    rofi-wayland-debugsource
    rofi-wayland-debugsource(x86-64)



Generated by fedora-review 0.9.0 (6761b6c) last change: 2022-08-23
Command line :/usr/bin/fedora-review -b 2121653
Buildroot used: fedora-rawhide-x86_64
Active plugins: C/C++, Generic, Shell-api
Disabled plugins: Ocaml, fonts, R, Python, Haskell, SugarActivity, Perl, PHP, Java
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 2 Jens Petersen 2022-08-28 05:47:52 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rofi-wayland


Note You need to log in before you can comment on or make changes to this bug.