Bug 2176394 - Review Request: xine-ui - A skinned xlib-based gui for xine-lib
Summary: Review Request: xine-ui - A skinned xlib-based gui for xine-lib
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL: http://www.xine-project.org/
Whiteboard:
Depends On:
Blocks: MultimediaSIG
TreeView+ depends on / blocked
 
Reported: 2023-03-08 10:02 UTC by Xavier Bachelot
Modified: 2023-09-01 13:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-09-01 13:04:30 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 5613863 to 5615144 (3.65 KB, patch)
2023-03-08 15:04 UTC, Jakub Kadlčík
no flags Details | Diff
The .spec file difference from Copr build 5615144 to 5615532 (4.66 KB, patch)
2023-03-08 17:59 UTC, Jakub Kadlčík
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure releng issue 11329 0 None None None 2023-09-01 10:41:05 UTC

Description Xavier Bachelot 2023-03-08 10:02:07 UTC
Spec URL: https://www.bachelot.org/fedora/SPECS/xine-ui.spec
SRPM URL: https://www.bachelot.org/fedora/SRPMS/xine-ui-0.99.14-1.fc39.src.rpm
Description: xine-ui is the traditional, skinned GUI for xine-lib

Fedora Account System Username: xavierb

Comment 1 Jakub Kadlčík 2023-03-08 10:30:06 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5613863
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2176394-xine-ui/fedora-rawhide-x86_64/05613863-xine-ui/fedora-review/review.txt

Please take a look if any issues were found.

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

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Neal Gompa 2023-03-08 12:37:44 UTC
Taking this review.

Comment 3 Neal Gompa 2023-03-08 13:14:59 UTC
Initial spec review:

> %{!?_without_caca:BuildRequires:  libcaca-devel}
> %{!?_without_lirc:BuildRequires:  lirc-devel}

We can drop the conditional goop here since it's available everywhere xine-lib is (EPEL9 and Fedora)

> %if 0%{!?_without_lirc}
> export LIRC_CFLAGS="-llirc_client"
> export LIRC_LIBS="-llirc_client"
> %endif

Ditto for here too.

> %if 0%{?rhel} && 0%{?rhel} < 8
> %post
> # Mime type
> update-desktop-database &> /dev/null || :
> update-mime-database %{_datadir}/mime &> /dev/null || :
> # Icon cache
> touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
> 
> %postun
> # Mime type
> update-desktop-database &> /dev/null || :
> update-mime-database %{_datadir}/mime &> /dev/null || :
> # Icon cache
> if [ $1 -eq 0 ] ; then
>     touch --no-create %{_datadir}/icons/hicolor &>/dev/null
>     gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
> fi
> 
> %posttrans
> gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
> %endif

We can drop all this since this package can't be built on anything older than EPEL 9.

> %{!?_without_caca:%{_bindir}/cacaxine}

We can drop the conditional goop here since it's available everywhere xine-lib is (EPEL9 and Fedora)

Comment 4 Neal Gompa 2023-03-08 13:15:36 UTC
> It also contains the %{!?_without_caca:color ascii art and} framebuffer version%{!?_without_caca:s}.

One more of the conditional goop that can be dropped too.

Comment 5 Xavier Bachelot 2023-03-08 14:41:38 UTC
Thanks Neal, all (and more) fixed:
- Use SPDX License: tag
- Drop useless conditionals
- Drop useless comments
- Add EL7 cond for %%post/%%postun
- Escape unescaped %% in %%changelog
- Drop very old Obsoletes:/Provides: for xine/xine-skins

Spec URL: https://www.bachelot.org/fedora/SPECS/xine-ui.spec
SRPM URL: https://www.bachelot.org/fedora/SRPMS/xine-ui-0.99.14-2.fc39.src.rpm

Comment 6 Jakub Kadlčík 2023-03-08 15:04:26 UTC
Created attachment 1949075 [details]
The .spec file difference from Copr build 5613863 to 5615144

Comment 7 Jakub Kadlčík 2023-03-08 15:04:28 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5615144
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2176394-xine-ui/fedora-rawhide-x86_64/05615144-xine-ui/fedora-review/review.txt

Please take a look if any issues were found.

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

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 9 Jakub Kadlčík 2023-03-08 17:59:20 UTC
Created attachment 1949132 [details]
The .spec file difference from Copr build 5615144 to 5615532

Comment 10 Jakub Kadlčík 2023-03-08 17:59:22 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5615532
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2176394-xine-ui/fedora-rawhide-x86_64/05615532-xine-ui/fedora-review/review.txt

Please take a look if any issues were found.

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

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 11 Neal Gompa 2023-03-09 17:42:40 UTC
It probably makes sense to drop all the EL7 specific stuff, since we don't have xine-lib in EPEL7 (or even EPEL8).

Comment 12 Xavier Bachelot 2023-03-09 20:26:53 UTC
Sure, but xine-lib still lives in RPM Fusion for EL7 and EL8, so I'd like to keep the conditionals to be able to keep the spec synch'ed across branches.

Comment 13 Neal Gompa 2023-03-09 20:38:38 UTC
Okay, fine with me.

Everything else looks good here.

PACKAGE APPROVED.

Comment 14 Xavier Bachelot 2023-03-09 22:05:26 UTC
Thanks Neal !

Request for unretirement: https://pagure.io/releng/issue/11329

Comment 15 Dominik 'Rathann' Mierzejewski 2023-09-01 10:41:06 UTC
(In reply to Xavier Bachelot from comment #14)
> Thanks Neal !
> 
> Request for unretirement: https://pagure.io/releng/issue/11329

Unretirement was done. You can go ahead and build this.


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