https://bugzilla.redhat.com/show_bug.cgi?id=2010999
Bug ID: 2010999 Summary: Review Request: gnome-text-editor - A simple text editor for the GNOME desktop Product: Fedora Version: rawhide Hardware: All OS: Linux Status: NEW Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: ngompa13@gmail.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Spec URL: https://ngompa.fedorapeople.org/for-review/gnome-text-editor.spec SRPM URL: https://ngompa.fedorapeople.org/for-review/gnome-text-editor-41.0-1.fc35.src...
Description: GNOME Text Editor is a simple text editor that focuses on session management. It works hard to keep track of changes and state even if you quit the application. You can come back to your work even if you've never saved it to a file.
Fedora Account System Username: ngompa
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
Neal Gompa ngompa13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |2010997 Doc Type|--- |If docs needed, set a value
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2010997 [Bug 2010997] Review Request: gtksourceview5 - Source code editing widget
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
Michael Catanzaro mcatanza@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |1998270
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1998270 [Bug 1998270] Review Request: gtksourceview5 - gtk widget for source code
https://bugzilla.redhat.com/show_bug.cgi?id=2010999 Bug 2010999 depends on bug 2010997, which changed state.
Bug 2010997 Summary: Review Request: gtksourceview5 - Source code editing widget https://bugzilla.redhat.com/show_bug.cgi?id=2010997
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |DUPLICATE
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
Michael Catanzaro mcatanza@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mcatanza@redhat.com
--- Comment #1 from Michael Catanzaro mcatanza@redhat.com --- This is not a full review, but a preliminary one:
Issues: ======= - If your application is a C or C++ application you must list a BuildRequires against gcc, gcc-c++ or clang. Note: No gcc, gcc-c++ or clang found in BuildRequires See: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/ - Package does not contain duplicates in %files. Note: warning: File listed twice: /usr/share/help/C/gnome-text-editor But I think this is a bug in fedora-review, since this is a directory, not a file. So... I think you can ignore this one. - I think all four of the runtime Requires are unnecessary. These should all be handled automatically via autogenerated .so deps. - I've never understood the directory ownership rules. Maybe we have to own or require other packages to own these dirs? Note: Directories without known owners: /usr/share/help/C, /usr/share/dbus-1, /usr/share/dbus-1/services
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
Link Dupont link@sub-pop.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-review? Assignee|nobody@fedoraproject.org |link@sub-pop.net
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
Link Dupont link@sub-pop.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(ngompa13@gmail.co | |m) Status|NEW |ASSIGNED
--- Comment #2 from Link Dupont link@sub-pop.net --- Note: This is a review based on gtksourceview5 and gnome-text-editor built from COPR. The SRPMs used to build gtksourceview5 and gnome-text-editor are imported unmodified from their source and built together.
Package Review ==============
Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed
Issues: ======= - Package must include a BuildRequires against gcc. See: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/ - Package %files needs to include %dir entries for %{_datadir}/dbus-1/services, %{_datadir}/help/C and %{_datadir}dbus-1 or adjust the existing lines to include the entire directory instead of the file explicitly (i.e. %{_datadir}/dbus-1). - The explicit Requires on glib2, enchant, gtk4 and gtksourceview5 are not necessary. They are automatically required by the dynamic link detection (see "Requires" section below). - 41.1 has been recently released. Consider rebasing to the newest release. - rpmlint caught a couple errors; consider looking at cleaning those up.
===== MUST items =====
C/C++: [x]: Package does not contain kernel modules. [x]: Package contains no static executables. [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 successfully compiles and builds into binary rpms on at least one supported primary architecture. [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. [x]: License file installed when any subpackage combination is installed. [!]: Package must own all directories that it creates. Note: Directories without known owners: /usr/share/dbus-1/services, /usr/share/help/C, /usr/share/dbus-1 [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. [-]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [x]: The spec file handles locales properly. [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. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [!]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: 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. [-]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 10240 bytes in 1 files. [x]: Package complies to the Packaging Guidelines [x]: Package installs properly. [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 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]: Reviewer should test that the package builds in mock. [-]: 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. [!]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [x]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [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]: 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: [x]: Rpmlint is run on debuginfo package(s). Note: No rpmlint messages. [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Large data in /usr/share should live in a noarch subpackage if package is arched.
Rpmlint ------- Checking: gnome-text-editor-41.0-1.fc36.x86_64.rpm gnome-text-editor-debuginfo-41.0-1.fc36.x86_64.rpm gnome-text-editor-debugsource-41.0-1.fc36.x86_64.rpm gnome-text-editor-41.0-1.fc36.src.rpm gnome-text-editor.x86_64: E: description-line-too-long C It works hard to keep track of changes and state even if you quit the application. gnome-text-editor.x86_64: W: no-manual-page-for-binary gnome-text-editor gnome-text-editor.x86_64: E: invalid-appdata-file /usr/share/appdata/org.gnome.TextEditor.appdata.xml gnome-text-editor.src: E: description-line-too-long C It works hard to keep track of changes and state even if you quit the application. 4 packages and 0 specfiles checked; 3 errors, 1 warnings.
Rpmlint (debuginfo) ------------------- Checking: gnome-text-editor-debuginfo-41.0-1.fc36.x86_64.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings.
Rpmlint (installed packages) ---------------------------- Cannot parse rpmlint output:
Source checksums ---------------- https://download.gnome.org/sources/gnome-text-editor/41/gnome-text-editor-41... : CHECKSUM(SHA256) this package : 64d7c0247d2737334d85fd35d810cc4cbb5386b9f1fa830ea4ee7f9e53170a6b CHECKSUM(SHA256) upstream package : 64d7c0247d2737334d85fd35d810cc4cbb5386b9f1fa830ea4ee7f9e53170a6b
Requires -------- gnome-text-editor (rpmlib, GLIBC filtered): enchant2(x86-64) glib2(x86-64) gtk4(x86-64) gtksourceview5(x86-64) libadwaita-1.so.0()(64bit) libadwaita-1.so.0(LIBADWAITA_1_0)(64bit) libc.so.6()(64bit) libenchant-2.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-4.so.1()(64bit) libgtksourceview-5.so.0()(64bit) libicuuc.so.69()(64bit) libm.so.6()(64bit) libpango-1.0.so.0()(64bit) libpcre.so.1()(64bit) rtld(GNU_HASH)
gnome-text-editor-debuginfo (rpmlib, GLIBC filtered):
gnome-text-editor-debugsource (rpmlib, GLIBC filtered):
Provides -------- gnome-text-editor: application() application(org.gnome.TextEditor.desktop) gnome-text-editor gnome-text-editor(x86-64) metainfo() metainfo(org.gnome.TextEditor.appdata.xml) mimehandler(text/plain)
gnome-text-editor-debuginfo: debuginfo(build-id) gnome-text-editor-debuginfo gnome-text-editor-debuginfo(x86-64)
gnome-text-editor-debugsource: gnome-text-editor-debugsource gnome-text-editor-debugsource(x86-64)
Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10 Command line :/usr/bin/fedora-review --no-colors --prebuilt --rpm-spec --name gnome-text-editor --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg Buildroot used: fedora-rawhide-x86_64 Active plugins: Generic, Shell-api, C/C++ Disabled plugins: Java, Perl, R, Ocaml, SugarActivity, PHP, Python, Haskell, fonts Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
Neal Gompa ngompa13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ASSIGNED Resolution|NOTABUG |--- Keywords| |Reopened
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
Neal Gompa ngompa13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|201449 (FE-DEADREVIEW) |
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=201449 [Bug 201449] FE-DEADREVIEW -- Reviews stalled due to lack of submitter response should be blocking this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
--- Comment #4 from Neal Gompa ngompa13@gmail.com ---
- The explicit Requires on glib2, enchant, gtk4 and gtksourceview5 are not
necessary. They are automatically required by the dynamic link detection (see "Requires" section below).
This is necessary because these libraries have soft-ABI breakage each GNOME cycle, so it is occasionally necessary to constrict them this way.
- Package %files needs to include %dir entries for %{_datadir}/dbus-1/services,
%{_datadir}/help/C and %{_datadir}/dbus-1 or adjust the existing lines to include the entire directory instead of the file explicitly (i.e. %{_datadir}/dbus-1).
I'll add %dir lines for these.
- Package must include a BuildRequires against gcc.
See: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/
I'll add it in the next iteration.
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
Link Dupont link@sub-pop.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-review+
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
--- Comment #5 from Gwyn Ciesla gwync@protonmail.com --- (fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/gnome-text-editor
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
--- Comment #6 from Michael Catanzaro mcatanza@redhat.com ---
This is necessary because these libraries have soft-ABI breakage each GNOME cycle, so it is occasionally necessary to constrict them this way.
I don't know about enchant, but glib2, gtk4, and gtksourceview5 should all be API stable for the life of the package. glib2 has been stable for 20+ years. Sure some small things may change, but I don't think explicit Requires is helpful.
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
--- Comment #7 from Link Dupont link@sub-pop.net --- (In reply to Michael Catanzaro from comment #6)
This is necessary because these libraries have soft-ABI breakage each GNOME cycle, so it is occasionally necessary to constrict them this way.
I don't know about enchant, but glib2, gtk4, and gtksourceview5 should all be API stable for the life of the package. glib2 has been stable for 20+ years. Sure some small things may change, but I don't think explicit Requires is helpful.
What do the rest/majority of the GNOME application packages do? This should follow the same pattern.
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
--- Comment #8 from Michael Catanzaro mcatanza@redhat.com ---
What do the rest/majority of the GNOME application packages do? This should follow the same pattern.
We rely on the generated so dependencies.
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
Neal Gompa ngompa13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |RAWHIDE Fixed In Version| |gnome-text-editor-41.1-1.fc | |36 Last Closed|2021-12-27 00:45:19 |2022-01-06 23:01:42
--- Comment #9 from Neal Gompa ngompa13@gmail.com --- This is now in Rawhide.
https://bugzilla.redhat.com/show_bug.cgi?id=2010999 Bug 2010999 depends on bug 1998270, which changed state.
Bug 1998270 Summary: Review Request: gtksourceview5 - gtk widget for source code https://bugzilla.redhat.com/show_bug.cgi?id=1998270
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |RAWHIDE
https://bugzilla.redhat.com/show_bug.cgi?id=2010999
--- Comment #10 from Neal Gompa ngompa13@gmail.com --- (In reply to Michael Catanzaro from comment #8)
What do the rest/majority of the GNOME application packages do? This should follow the same pattern.
We rely on the generated so dependencies.
This is not sufficient because GNOME library sonames never change when new APIs are introduced, which create incompatibilities for GNOME applications.
This is because GNOME libraries don't use symbol version expressions at all. :(
package-review@lists.fedoraproject.org