Bug 2176394

Summary: Review Request: xine-ui - A skinned xlib-based gui for xine-lib
Product: [Fedora] Fedora Reporter: Xavier Bachelot <xavier>
Component: Package ReviewAssignee: Neal Gompa <ngompa13>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ngompa13, package-review
Target Milestone: ---Flags: ngompa13: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.xine-project.org/
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-01 13:04:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2218117    
Attachments:
Description Flags
The .spec file difference from Copr build 5613863 to 5615144
none
The .spec file difference from Copr build 5615144 to 5615532 none

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.