Re: unable to build kodi on Fedora 27

2018-01-23 Thread Andrea Musuruane
Hi!

On Tue, Jan 23, 2018 at 10:17 PM, Sérgio Basto  wrote:

>
> > By the way, perhaps we could change this? :)
> >
> > I'm interested if possible.
>
> Patches in attach , @Michael many I apply it ?
>
>
This is plain wrong:
+Source2:
https://github.com/xbmc/libdvdnav/archive/master/kodi-libdvdnav-master.tar.gz

You should use a commit version if a release is not avalable. E.g.:
Source0:
https://github.com/OWNER/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz

Otherwise the download is no longer reproducible.

Please read:
https://fedoraproject.org/wiki/Packaging:SourceURL

Bye,

Andrea
___
rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org


Re: unable to build kodi on Fedora 27

2018-01-23 Thread Sérgio Basto
On Sun, 2018-01-21 at 08:55 +0100, David Demelier wrote:
> On Sat, 2018-01-20 at 08:48 -0700, Wade Berrier wrote:
> > For what it's worth, I rebuilt kodi with dvd support about 2 weeks
> > ago 
> > without issue.
> > 
> > I installed the src.rpm, downloaded the referenced source urls 
> > (kodi-libdvd-*.tar.gz), modified the .spec with:
> > 
> > sed -i "s/_with_dvd 0/_with_dvd 1/g" kodi.spec
> > 
> > and built with:
> > 
> > rpmbuild -ba --with dvd kodi.spec
> 
> Does --with dvd has any effect? 

no, --with dvd will not work 

> Because according to the RPM
> conditional builds feature the kodi.spec does not use
> %bcond_with(out)
> and the %{with dvd} macros.
> 
> By the way, perhaps we could change this? :)
> 
> I'm interested if possible.

Patches in attach , @Michael many I apply it ? 

Best regards, 
-- 
Sérgio M. B.From ed1e936e85f69238d7f92a5a31454f7e16d9d837 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= 
Date: Tue, 23 Jan 2018 21:11:56 +
Subject: [PATCH 1/2] use bcond macro

---
 kodi.spec | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/kodi.spec b/kodi.spec
index 1691e9c..76b375b 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -4,7 +4,7 @@
 # use the line below for pre-releases
 #global DIRVERSION %{version}%{PRERELEASE}
 %global _hardened_build 1
-%global _with_dvd 0
+%bcond_with dvd
 
 Name: kodi
 Version: 17.6
@@ -24,7 +24,7 @@ Source0: %{name}-%{DIRVERSION}-patched.tar.xz
 # ./kodi-generate-tarball-xz.sh
 Source1: kodi-generate-tarball-xz.sh
 
-%if 0%{?_with_dvd}
+%if %{with dvd}
 # kodi uses modified libdvd{css,nav,read} source and downloads at build time
 # wget -O kodi-libdvdnav-master.tar.gz https://github.com/xbmc/libdvdnav/archive/master.tar.gz
 Source2: kodi-libdvdnav-master.tar.gz
@@ -37,7 +37,7 @@ Source4: kodi-libdvdcss-master.tar.gz
 # Set program version parameters
 Patch1: kodi-16.0-versioning.patch
 
-%if 0%{?_with_dvd} == 0
+%if ! %{with dvd}
 # Drop DVD library support
 Patch2: kodi-17a2-libdvd.patch
 %endif
@@ -260,7 +260,7 @@ library.
 %prep
 %setup -q -n %{name}-%{DIRVERSION}
 %patch1 -p1 -b.versioning
-%if 0%{?_with_dvd}
+%if %{with dvd}
 cp -p %{SOURCE2} tools/depends/target/libdvdnav/libdvdnav-master.tar.gz
 cp -p %{SOURCE3} tools/depends/target/libdvdread/libdvdread-master.tar.gz
 cp -p %{SOURCE4} tools/depends/target/libdvdcss/libdvdcss-master.tar.gz
@@ -296,7 +296,7 @@ chmod +x bootstrap
 %else
 --disable-ssh \
 %endif
-%if 0%{?_with_dvd} == 0
+%if ! %{with dvd}
 --disable-optical-drive \
 %endif
 --disable-optimizations --disable-debug \
-- 
2.13.6

From ee87f56d4c424ca5292ae33d15ebb018874fd1fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= 
Date: Tue, 23 Jan 2018 21:13:17 +
Subject: [PATCH 2/2] Improve github urls.

---
 kodi.spec | 9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/kodi.spec b/kodi.spec
index 76b375b..7a76d03 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -26,12 +26,9 @@ Source1: kodi-generate-tarball-xz.sh
 
 %if %{with dvd}
 # kodi uses modified libdvd{css,nav,read} source and downloads at build time
-# wget -O kodi-libdvdnav-master.tar.gz https://github.com/xbmc/libdvdnav/archive/master.tar.gz
-Source2: kodi-libdvdnav-master.tar.gz
-# wget -O kodi-libdvdread-master.tar.gz https://github.com/xbmc/libdvdread/archive/master.tar.gz
-Source3: kodi-libdvdread-master.tar.gz
-# wget -O kodi-libdvdcss-master.tar.gz https://github.com/xbmc/libdvdcss/archive/master.tar.gz
-Source4: kodi-libdvdcss-master.tar.gz
+Source2: https://github.com/xbmc/libdvdnav/archive/master/kodi-libdvdnav-master.tar.gz
+Source3: https://github.com/xbmc/libdvdread/archive/master/kodi-libdvdread-master.tar.gz
+Source4: https://github.com/xbmc/libdvdcss/archive/master/kodi-libdvdcss-master.tar.gz
 %endif
 
 # Set program version parameters
-- 
2.13.6

___
rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org


RPM Fusion update report 2018-01-23

2018-01-23 Thread noreply
RPM Fusion update report


Section free:
-
Fedora 25
-
Pushed to testing: 

Pushed to stable: 

Fedora 26
-
Pushed to testing: 
freshplayerplugin-0.3.9-1.fc26
mythtv-29.0-9.20180111.77.g771115f47d.fc26
qt5-qtwebengine-freeworld-5.10.0-1.fc26
transcode-1.1.7-22.fc26
vdr-xineliboutput-2.1.0-1.20180118gitcdd6595.fc26

Pushed to stable: 
motion-4.1.1-1.fc26
mp4tools-3.5-4.fc26
shotcut-18.01-1.fc26
smplayer-18.1.0-1.fc26
tvheadend-4.2.5-1.fc26
vlc-3.0.0-0.48.git20180109.rc5.fc26
xine-lib-1.2.9-1.fc26
xvst-3.0-1.20171201git14dee45.fc26

Fedora 27
-
Pushed to testing: 
VirtualBox-5.2.6-2.fc27
VirtualBox-kmod-5.2.6-2.fc27
freshplayerplugin-0.3.9-1.fc27
gstreamer1-plugins-ugly-1.12.4-3.fc27
mythtv-29.0-9.20180111.77.g771115f47d.fc27
transcode-1.1.7-22.fc27
vdr-xineliboutput-2.1.0-1.20180118gitcdd6595.fc27

Pushed to stable: 
motion-4.1.1-1.fc27
mp4tools-3.5-4.fc27
shotcut-18.01-1.fc27
smplayer-18.1.0-1.fc27
tvheadend-4.2.5-1.fc27
vlc-3.0.0-0.48.git20180109.rc5.fc27
xine-lib-1.2.9-1.fc27
xvst-3.0-1.20171201git14dee45.fc27


EL 6
-
Pushed to testing: 

Pushed to stable: 
xine-lib-1.2.9-1.el6

EL 7
-
Pushed to testing: 
mythtv-29.0-6.20171226.71.g339b08e467.el7
mythtv-29.0-9.20180111.77.g771115f47d.el7

Pushed to stable: 
buildsys-build-rpmfusion-20-104
mythweb-29.0-1.el7
smplayer-18.1.0-1.el7
xine-lib-1.2.9-1.el7

Section nonfree:
-
Fedora 25
-
Pushed to testing: 

Pushed to stable: 

Fedora 26
-
Pushed to testing: 
lpf-flash-plugin-28.0.0.137-1.fc26
nvidia-340xx-kmod-340.106-1.fc26
unrar-5.5.8-1.fc26
xorg-x11-drv-nvidia-340xx-340.106-1.fc26
yapeSDL-0.70.2-2.fc26

Pushed to stable: 
lpf-spotify-client-1.0.70.399-1.fc26

Fedora 27
-
Pushed to testing: 
dwarffortress-0.44.05-1.fc27
lpf-flash-plugin-28.0.0.137-1.fc27
nvidia-340xx-kmod-340.106-1.fc27
unrar-5.5.8-1.fc27
xorg-x11-drv-nvidia-340xx-340.106-1.fc27
yapeSDL-0.70.2-2.fc27

Pushed to stable: 
lpf-spotify-client-1.0.70.399-1.fc27


EL 6
-
Pushed to testing: 

Pushed to stable: 

EL 7
-
Pushed to testing: 

Pushed to stable: 
nvidia-kmod-384.111-1.el7
xorg-x11-drv-nvidia-384.111-1.el7


Theses packages will be available in main mirror in few minutes. Wait for local 
mirrors to sync
Please report any issue to https://bugzilla.rpmfusion.org
___
rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org