public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rex Dieter <rdieter@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10: - amarok-1.4.9.1
Date: Mon, 06 Jul 2026 18:03:50 GMT	[thread overview]
Message-ID: <178336103001.1.89010686567364248.rpms-amarok-1924f3b44d46@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/amarok
            Branch : epel10
            Commit : 1924f3b44d469a09cb31110d7f875103d1e7d6ad
            Author : Rex Dieter <rdieter@fedoraproject.org>
            Date   : 2008-04-15T19:16:13+00:00
            Stats  : +62/-54 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/amarok/c/1924f3b44d469a09cb31110d7f875103d1e7d6ad?branch=epel10

            Log:
            - amarok-1.4.9.1
AND: make buildable on rhel (first try anyway)

---
diff --git a/amarok-1.4.8-gcc43.patch b/amarok-1.4.8-gcc43.patch
index d1d2325..8b0c781 100644
--- a/amarok-1.4.8-gcc43.patch
+++ b/amarok-1.4.8-gcc43.patch
@@ -5,7 +5,7 @@ diff -up amarok-1.4.8/amarok/src/metadata/mp4/mp4file.cpp.gcc43 amarok-1.4.8/ama
  #include <audioproperties.h>
  
  #include <stdint.h>
-+#include <stdlib.h>
++#include <cstdlib>
  
  #define MP4V2_HAS_WRITE_BUG 1
  
@@ -16,7 +16,7 @@ diff -up amarok-1.4.8/amarok/src/metadata/mp4/taglib_mp4filetyperesolver.cpp.gcc
  
  #include "taglib_mp4filetyperesolver.h"
  #include "mp4file.h"
-+#include <string.h>
++#include <cstring>
  
  TagLib::File *MP4FileTypeResolver::createFile(const char *fileName,
          bool readProperties,
@@ -27,8 +27,8 @@ diff -up amarok-1.4.8/amarok/src/metadata/mp4/mp4tag.cpp.gcc43 amarok-1.4.8/amar
  
  #include <tag.h>
  #include <stdint.h>
-+#include <stdlib.h>
-+#include <string.h>
++#include <cstdlib>
++#include <cstring>
  
  using namespace TagLib;
  
@@ -39,7 +39,7 @@ diff -up amarok-1.4.8/amarok/src/metadata/mp4/mp4properties.cpp.gcc43 amarok-1.4
  #endif
  
  #include <stdint.h>
-+#include <string.h>
++#include <cstring>
  
  #ifndef UINT64_TO_DOUBLE
  #define UINT64_TO_DOUBLE(a) ((double)((int64_t)(a)))
@@ -50,8 +50,8 @@ diff -up amarok-1.4.8/amarok/src/engine/helix/hxplayercontrol.cpp.gcc43 amarok-1
   the alsa guys
   ***************************************************************************/
  
-+#include <stdlib.h>
-+#include <string.h>
++#include <cstdlib>
++#include <cstring>
  #include <sys/time.h>
  #include <sys/types.h>
  #include <sys/wait.h>
@@ -62,7 +62,7 @@ diff -up amarok-1.4.8/amarok/src/engine/helix/helix-sp/helix-sp.h.gcc43 amarok-1
  #include <limits.h>
  #include <sys/param.h>
  #include <pthread.h>
-+#include <string.h>
++#include <cstring>
  #include <vector>
  #include <config.h>
  #include <iostream>
@@ -73,7 +73,7 @@ diff -up amarok-1.4.8/amarok/src/engine/helix/helix-engine.cpp.gcc43 amarok-1.4.
  #include <climits>
  #include <cmath>
  #include <stdarg.h>
-+#include <string.h>
++#include <cstring>
  
  #include <config.h>
  

diff --git a/amarok.spec b/amarok.spec
index cbe07b2..22c74cc 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -1,20 +1,29 @@
 # TODO:
 # Rio Karma support : libkarma
 
-%define _with_mp4v2 --with-mp4v2
-
 %if 0%{?fedora} < 9 
+%define kde3 3
 %define konq 1
 %endif
 
+# Helix engine on archs where it is available
 %ifnarch ppc64 x86_64 s390 s390x ia64 sparc sparc64 alpha
+# consider omitting helix support, srsly, does *anyone* use it? -- Rex
 %define _with_helix --with-helix=%{_libdir}/helix
 %endif
 
+%if 0%{?fedora}
+%define _with_ifp --with-ifp
+%define _with_libgpod --with-libgpod
+%define _with_libmtp --with-libmtp
+%define _with_libnjb --with-libnjb
+%define _with_mp4v2 --with-mp4v2
+%endif
+
 Name:       amarok
 Summary:    Media player
-Version:    1.4.8
-Release:    5%{?dist}
+Version:    1.4.9.1
+Release:    1%{?dist}
 
 Group: 	    Applications/Multimedia
 License:    GPLv2+
@@ -30,31 +39,27 @@ BuildRequires:  alsa-lib-devel
 BuildRequires:  desktop-file-utils
 BuildRequires:  esound-devel
 BuildRequires:  gettext
-## Gstreamer engine, disabled indefinitely, see:
-##  http://amarok.kde.org/blog/archives/91-Backends,-Phonon,-GStreamer.html
-#define _with_gstreamer --with-gstreamer10
-%{?_with_gstreamer:BuildRequires:  gstreamer-plugins-base-devel gstreamer-plugins-good-devel gstreamer-devel}
-# Helix engine on archs where it is available
-%ifnarch ppc64 x86_64 s390 s390x ia64 sparc sparc64 alpha
-BuildRequires:  HelixPlayer
-%endif
-BuildRequires:  kdelibs3-devel
+%{?_with_helix:BuildRequires:  HelixPlayer}
+BuildRequires:  kdelibs%{?kde3}-devel
 %if 0%{?konq}
-BuildRequires:  kdebase3-devel
+BuildRequires:  kdebase%{?kde3}-devel
 %else
 Obsoletes: %{name}-konqueror < %{version}-%{release}
 %endif
 BuildRequires:  taglib-devel 
-BuildRequires:  libifp-devel
+%{?_with_ifp:BuildRequires:  libifp-devel}
 # Ipod
-BuildRequires:  libgpod-devel
+%{?_with_libgpod:BuildRequires:  libgpod-devel}
 %{?_with_mp4v2:BuildRequires: libmp4v2-devel}
 # MTP players
-BuildRequires:  libmtp-devel
+%{?_with_libmtp:BuildRequires:  libmtp-devel}
 BuildRequires:  libmusicbrainz-devel
 # Creative Nomad Jukebox
-BuildRequires:  libnjb-devel
+%{?_with_njb:BuildRequires:  libnjb-devel}
+BuildRequires:  libtool
+%if 0%{?fedora} > 4 || 0%{?rhel} > 4
 BuildRequires:  libtool-ltdl-devel
+%endif
 BuildRequires:  libtunepimp-devel
 BuildRequires:  libusb-devel
 BuildRequires:  libvisual-devel
@@ -66,15 +71,13 @@ BuildRequires:  taglib-devel
 BuildRequires:  xine-lib-devel
 BuildRequires:  xmms-devel
 
-# For some default plugins (lyrics)
-Requires(hint):  ruby
-
-# Bug 245386
-%global kdelibs_ver %((kde-config --version 2>/dev/null || echo KDE 3.5.8) | grep '^KDE' | cut -d' ' -f2 | cut -d'-' -f1)
-Requires:  kdelibs3 >= %{kdelibs_ver} 
+# For dir ownership and some default plugins (lyrics), -ruby subpkg?  -- Rex
+Requires:  ruby
 
 # To open the selected browser, works with Patch2
 Requires:  xdg-utils
+Requires(post): xdg-utils
+Requires(postun): xdg-utils
 
 Obsoletes: amarok-arts < 1.3, amarok-akode < 1.3
 
@@ -91,8 +94,6 @@ Obsoletes: amarok-arts < 1.3, amarok-akode < 1.3
 Provides: %{name}-engine-xine = %{version}-%{release}
 
 
-
-
 %description
 Amarok is a multimedia player with:
  - fresh playlist concept, very fast to use, with drag and drop
@@ -101,9 +102,11 @@ Amarok is a multimedia player with:
  - compatible with the .m3u and .pls formats for playlists
  - nice GUI, integrates into the KDE look, but with a unique touch
 
+%if 0%{?_with_helix:1}
 Amarok can use various engines to decode sound : helix and xine.
-To use the helix engine, you'll have to install either HelixPlayer
+To use the helix engine, you need to install either HelixPlayer
 or RealPlayer
+%endif
 
 %package konqueror
 Summary: Amarok konqueror (service menus, sidebar) support
@@ -124,7 +127,6 @@ Right now, only xmms is supported, which means that you can
 use any of xmms' visualisation plugins with Amarok.
 
 
-
 %prep
 %setup -q 
 
@@ -140,10 +142,11 @@ unset QTDIR && . %{_sysconfdir}/profile.d/qt.sh
      --disable-rpath \
      --enable-mysql \
      --enable-postgresql \
-     --with-ifp \
-     --with-libgpod \
      %{?_with_helix} %{!?_with_helix:--without-helix} \
-     %{?_with_gstreamer} \
+     %{?_with_ifp} %{!?_with_ifp:--without-ifp} \
+     %{?_with_libgpod} %{!?_with_libgpod:--without-libgpod} \
+     %{?_with_libmtp} %{!?_with_libmtp:--without-libmtp} \
+     %{?_with_libnjb} %{!?_with_libnjb:--without-libnjb  \
      %{?_with_mp4v2} %{!?_with_mp4v2:--without-mp4v2}
 
 #     --enable-final \
@@ -185,21 +188,13 @@ done
 
 %post
 /sbin/ldconfig
-# update icon themes if necessary
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-    %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-update-desktop-database &> /dev/null ||:
+xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
+xdg-desktop-menu forceupdate 2> /dev/null || :
 
 %postun
 /sbin/ldconfig
-# update icon themes if necessary
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-    %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-update-desktop-database &> /dev/null ||:
+xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
+xdg-desktop-menu forceupdate 2> /dev/null || :
 
 
 %clean
@@ -214,7 +209,7 @@ rm -fr $RPM_BUILD_ROOT
 %{_bindir}/amarokcollectionscanner
 %{_bindir}/amarok_proxy.rb
 %{_datadir}/apps/amarok/
-%{_datadir}/icons/hicolor/*/*
+%{_datadir}/icons/hicolor/*/*/*
 %{_datadir}/applications/kde/*.desktop
 %{_datadir}/servicetypes/*.desktop
 %{_datadir}/apps/profiles/amarok.profile.xml
@@ -223,7 +218,9 @@ rm -fr $RPM_BUILD_ROOT
 %{_datadir}/services/amarokitpc.protocol
 %{_datadir}/services/amaroklastfm.protocol
 %{_datadir}/services/amarokpcast.protocol
+# -libs ?  -- Rex
 %{_libdir}/libamarok.*
+# -ruby ? -- Rex
 %{_libdir}/ruby_lib/*
 # DAAP
 %{_bindir}/amarok_daapserver.rb
@@ -238,21 +235,29 @@ rm -fr $RPM_BUILD_ROOT
 # SMB
 %{_datadir}/services/amarok_smb-device.desktop
 %{_libdir}/kde3/libamarok_smb-device.*
+%if 0%{?_with_libgpod:1}
 # IPod
 %{_datadir}/services/amarok_ipod-mediadevice.desktop
 %{_libdir}/kde3/libamarok_ipod-mediadevice.*
+%endif
 # VFAT
 %{_datadir}/services/amarok_generic-mediadevice.desktop
 %{_libdir}/kde3/libamarok_generic-mediadevice.*
+%if 0%{?_with_ifp:1}
 # iRiver
 %{_datadir}/services/amarok_ifp-mediadevice.desktop
 %{_libdir}/kde3/libamarok_ifp-mediadevice.*
+%endif
+%if 0%{?_with_njb:1}
 # Creative Zen
 %{_datadir}/services/amarok_njb-mediadevice.desktop
 %{_libdir}/kde3/libamarok_njb-mediadevice.*
+%endif
+%if 0%{?_with_libmtp:1}
 # MTP players
 %{_datadir}/services/amarok_mtp-mediadevice.desktop
 %{_libdir}/kde3/libamarok_mtp-mediadevice.*
+%endif
 # Rio Karma
 #%{_datadir}/services/amarok_riokarma-mediadevice.desktop
 #%{_libdir}/kde3/libamarok_riokarma-mediadevice.*
@@ -285,6 +290,9 @@ rm -fr $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Apr 15 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.4.9.1-1
+- amarok-1.4.9.1
+
 * Wed Mar 12 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.4.8-5
 - -konqueror: drop Obsoletes: %%name < 1.4.8-4 , which breaks 
   multilib upgrades (#436578)

diff --git a/sources b/sources
index ab3ee02..5dda56e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7f65c4a8f3f0ff9042a5b5dd21b36cc8  amarok-1.4.8.tar.bz2
+aa588778379a391ad3f4b3fc770217e4  amarok-1.4.9.1.tar.bz2

                 reply	other threads:[~2026-07-06 18:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178336103001.1.89010686567364248.rpms-amarok-1924f3b44d46@fedoraproject.org \
    --to=rdieter@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox