Bug 2161114 - Review Request: openshot - Create and edit videos and movies
Summary: Review Request: openshot - Create and edit videos and movies
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2161113
Blocks: MultimediaSIG
TreeView+ depends on / blocked
 
Reported: 2023-01-15 23:57 UTC by Neal Gompa
Modified: 2023-08-06 10:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
dominik: fedora-review?


Attachments (Terms of Use)

Description Neal Gompa 2023-01-15 23:57:27 UTC
Spec URL: https://ngompa.fedorapeople.org/for-review/openshot.spec
SRPM URL: https://ngompa.fedorapeople.org/for-review/openshot-3.0.0-2.fc37.src.rpm

Description:
OpenShot Video Editor is a free, open-source, non-linear video editor. It
can create and edit videos and movies using many popular video, audio,
image formats.  Create videos for YouTube, Flickr, Vimeo, Metacafe, iPod,
Xbox, and many more common formats!

Features include:
* Multiple tracks (layers)
* Compositing, image overlays, and watermarks
* Audio mixing and editing
* Support for image sequences (rotoscoping)
* Key-frame animation
* Video effects (chroma-key)
* Transitions (lumas and masks)
* Titles with integrated editor and templates
* 3D animation (titles and effects)


Fedora Account System Username: ngompa

Comment 1 Jakub Kadlčík 2023-01-16 15:27:19 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5238031
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2161114-openshot/srpm-builds/05238031/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

Comment 2 Dominik 'Rathann' Mierzejewski 2023-08-04 23:45:27 UTC
Taking review.

Comment 3 Dominik 'Rathann' Mierzejewski 2023-08-06 10:11:27 UTC
Scratch build in koji succeeded: https://koji.fedoraproject.org/koji/taskinfo?taskID=104433221 .

License tag must be corrected:
License:        GPL-3.0-or-later

licensecheck finds the following additional licenses:
Apache-2.0:
src/timeline/media/css/bootstrap.min.css
GPL-2.0-or-later:
images/Humanity/*
MIT:
src/timeline/media/css/ui-darkness/jquery-ui.theme.css
src/timeline/media/js/angular-animate.min.js
src/timeline/media/js/angular.min.js
src/timeline/media/js/jquery.js
src/timeline/media/js/jquery-ui.js
CC-BY-SA-4.0:
src/emojis/*
public-domain:
doc/youtube_directive.py

However, the doc/youtube_directive.py file doesn't seem to be included in the final package, so I think it can be skipped.

Please convert to using the pyproject_* macros if possible. %py3_build and %py3_install are old-style.
This might let you drop some of the manual BuildRequires, too.

Please change -f to -v in the rm invocation below:
rm -f %{buildroot}%{_prefix}/lib/mime/packages/openshot-qt
It'll fail when it's no longer necessary and the maintainer will know they can remove it.

Please open an upstream issue for non-x86 support.

The %files section should be more explicit, because the globs resolve to just one file in most cases:

%{_bindir}/*
should be
%{_bindir}/openshot-qt

%{_datadir}/applications/*.desktop
should be
%{_datadir}/applications/org.openshot.OpenShot.desktop

%{_datadir}/icons/hicolor/*/*/*
should be
%{_datadir}/icons/hicolor/*/apps/openshot-qt.png
%{_datadir}/icons/hicolor/scalable/apps/openshot-qt.svg
%{_datadir}/icons/hicolor/scalable/mimetypes/openshot-qt-doc.svg

%{_datadir}/pixmaps/*
should be
%{_datadir}/pixmaps/openshot-qt.svg

%{_datadir}/mime/packages/*
should be
%{_datadir}/mime/packages/org.openshot.OpenShot.xml

%{_metainfodir}/*.appdata.xml
should be
%{_metainfodir}/org.openshot.OpenShot.appdata.xml

Using a macro for 'org.openshot.OpenShot' might be a good idea here.

%{python3_sitelib}/*egg-info
will not be required if you use %pyproject_* macros.

rpmlint finds some issues:
openshot.noarch: E: zero-length /usr/lib/python3.12/site-packages/openshot_qt/windows/views/timeline_mixins.py
openshot.noarch: W: no-manual-page-for-binary openshot-qt
and some duplicate files:
openshot.noarch: E: files-duplicated-waste 1318606
openshot.noarch: W: files-duplicate /usr/lib/python3.12/site-packages/openshot_qt/images/cache/2744.png /usr/lib/python3.12/site-packages/openshot_qt/images/cache/1F300.png:/usr/lib/python3.12/site-packages/openshot_qt/images/cache/1F3BC.png:/usr/lib/python3.12/site-packages/openshot_qt/images/cache/1F4A4.png:/usr/lib/python3.12/site-packages/openshot_qt/images/cache/1F4CE.png:/usr/lib/python3.12/site-packages/openshot_qt/images/cache/1F587.png
...

Other than that, the spec file is legible.


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