Hello community,

here is the log from the commit of package c-toxcore for openSUSE:Factory 
checked in at 2018-06-20 15:27:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/c-toxcore (Old)
 and      /work/SRC/openSUSE:Factory/.c-toxcore.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "c-toxcore"

Wed Jun 20 15:27:04 2018 rev:4 rq:617462 version:0.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/c-toxcore/c-toxcore.changes      2018-04-19 
15:32:06.540600849 +0200
+++ /work/SRC/openSUSE:Factory/.c-toxcore.new/c-toxcore.changes 2018-06-20 
15:27:12.503106495 +0200
@@ -1,0 +2,6 @@
+Wed May 16 17:33:08 UTC 2018 - [email protected]
+
+- switch building from autotools to cmake, so uTox can build.
+  See https://github.com/uTox/uTox/issues/1205 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ c-toxcore.spec ++++++
--- /var/tmp/diff_new_pack.BQ8nF5/_old  2018-06-20 15:27:13.343076024 +0200
+++ /var/tmp/diff_new_pack.BQ8nF5/_new  2018-06-20 15:27:13.343076024 +0200
@@ -29,8 +29,7 @@
 Source0:        
https://github.com/TokTok/c-toxcore/archive/v%{version}.tar.gz#./%{name}-%{version}.tar.gz
 Source1:        %{name}.tmpfiles.d
 Source2:        
https://github.com/TokTok/c-toxcore/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
-BuildRequires:  autoconf
-BuildRequires:  automake
+BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libconfig-devel
 BuildRequires:  libopus-devel
@@ -55,9 +54,7 @@
 Summary:        Development files for %{name}
 Group:          Development/Libraries/C and C++
 Requires:       %{name} = %{version}
-Requires:       libtoxav%{_soversion} = %{version}
 Requires:       libtoxcore%{_soversion} = %{version}
-Requires:       libtoxencryptsave%{_soversion} = %{version}
 
 %description devel
 Development libraries and headers needed to build software using %{name}.
@@ -69,13 +66,6 @@
 %description daemon
 Bootstrap-daemon to dispose hashtable for toxcore.
 
-%package -n libtoxav%{_soversion}
-Summary:        Audio/Video library for toxcore
-Group:          System/Libraries
-
-%description -n libtoxav%{_soversion}
-This are the Audio/Video library for toxcore.
-
 %package -n libtoxcore%{_soversion}
 Summary:        Core library for toxcore
 Group:          System/Libraries
@@ -83,12 +73,6 @@
 %description -n libtoxcore%{_soversion}
 This are the Core library for toxcore.
 
-%package -n libtoxencryptsave%{_soversion}
-Summary:        Encrypt Save library for toxcore
-Group:          System/Libraries
-
-%description -n libtoxencryptsave%{_soversion}
-This are the Encrypt Save library for toxcore.
 
 %prep
 %setup -q
@@ -101,15 +85,20 @@
 sed -ri 
's:%{_localstatedir}/lib/tox-bootstrapd/keys:%{_sysconfdir}/tox/bootstrapd/keys:g'
 other/bootstrap_daemon/tox-bootstrapd.conf
 
 %build
-autoreconf -i
-%configure \
-            --enable-daemon \
-            --enable-dht-bootstrap \
-            --disable-static
+pushd build
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+      -DBUILD_TOXAV=ON \
+      -DMUST_BUILD_TOXAV=ON \
+      -DBOOTSTRAP_DAEMON=ON \
+      -DDHT_BOOTSTRAP=ON \
+      -DENABLE_STATIC=OFF  \
+      ..
+
 make %{?_smp_mflags}
+popd
 
 %install
-%make_install
+make install -C build PREFIX=%_prefix DESTDIR=%buildroot
 
 # Install dir /var/run/graylog2-server
 install -d -m 0755 %{buildroot}%{_prefix}/lib/tmpfiles.d/
@@ -129,9 +118,6 @@
 install -D -m 0644 other/bootstrap_daemon/tox-bootstrapd.service 
%{buildroot}%{_unitdir}/tox-bootstrapd.service
 ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rctox-bootstrapd
 
-# get rid of libtool files
-rm %{buildroot}%{_libdir}/*.la
-
 %pre daemon
 %service_add_pre tox-bootstrapd.service
 # create tox-bootstrapd group
@@ -148,18 +134,15 @@
 %service_add_post tox-bootstrapd.service
 systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/tox-bootstrapd.conf
 
-%post -n libtoxav%{_soversion} -p /sbin/ldconfig
 %post -n libtoxcore%{_soversion} -p /sbin/ldconfig
-%post -n libtoxencryptsave%{_soversion} -p /sbin/ldconfig
+
 %preun daemon
 %service_del_preun tox-bootstrapd.service
 
 %postun daemon
 %service_del_postun tox-bootstrapd.service
 
-%postun -n libtoxav%{_soversion} -p /sbin/ldconfig
 %postun -n libtoxcore%{_soversion} -p /sbin/ldconfig
-%postun -n libtoxencryptsave%{_soversion} -p /sbin/ldconfig
 
 %files devel
 %{_libdir}/*.so
@@ -175,7 +158,6 @@
 %dir %{_sysconfdir}/tox
 %dir %{_sysconfdir}/tox/bootstrapd
 %config(noreplace) %{_sysconfdir}/tox/bootstrapd/tox-bootstrapd.conf
-%{_bindir}/DHT_bootstrap
 %{_bindir}/tox-bootstrapd
 %{_unitdir}/tox-bootstrapd.service
 %{_tmpfilesdir}/tox-bootstrapd.conf
@@ -183,13 +165,7 @@
 %dir %{_localstatedir}/lib/tox-bootstrapd
 %dir %attr(0770,tox,toxcmd) %{_sysconfdir}/tox/bootstrapd/keys
 
-%files -n libtoxav%{_soversion}
-%{_libdir}/libtoxav.so.%{_soversion}*
-
 %files -n libtoxcore%{_soversion}
 %{_libdir}/libtoxcore.so.%{_soversion}*
 
-%files -n libtoxencryptsave%{_soversion}
-%{_libdir}/libtoxencryptsave.so.%{_soversion}*
-
 %changelog



Reply via email to