summaryrefslogtreecommitdiffstats
path: root/redhat/applications/amarok
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-08-04 22:17:21 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-08-04 22:17:21 +0200
commit23921d42c670b601f623ddf441bdddde446ddefc (patch)
tree6bb9ba394ed8bb782f68c4b651b84f20b189b4df /redhat/applications/amarok
parent7336aed1c1722594a8e8ead94d7d1fec8e578743 (diff)
downloadtde-packaging-23921d42c670b601f623ddf441bdddde446ddefc.tar.gz
tde-packaging-23921d42c670b601f623ddf441bdddde446ddefc.zip
MGA2/MDV2012: add some applications ...
Diffstat (limited to 'redhat/applications/amarok')
-rw-r--r--redhat/applications/amarok/amarok-3.5.13-fix_linear_alphabet.patch46
-rw-r--r--redhat/applications/amarok/trinity-amarok.spec15
2 files changed, 58 insertions, 3 deletions
diff --git a/redhat/applications/amarok/amarok-3.5.13-fix_linear_alphabet.patch b/redhat/applications/amarok/amarok-3.5.13-fix_linear_alphabet.patch
new file mode 100644
index 000000000..82d3542c6
--- /dev/null
+++ b/redhat/applications/amarok/amarok-3.5.13-fix_linear_alphabet.patch
@@ -0,0 +1,46 @@
+commit 6e5a3b666215cef086b9116b834475227dbf9343
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1327529588 -0600
+
+ Fix linear alphabet string errors
+
+diff --git a/amarok/src/sqlite/sqlite3.c b/amarok/src/sqlite/sqlite3.c
+index 1d55403..2b1d3e0 100644
+--- a/amarok/src/sqlite/sqlite3.c
++++ b/amarok/src/sqlite/sqlite3.c
+@@ -11964,7 +11964,7 @@ int os2OpenDirectory(
+ SQLITE_PRIVATE int sqlite3Os2TempFileName( char *zBuf ){
+ static const unsigned char zChars[] =
+ "abcdefghijklmnopqrstuvwxyz"
+- "ABCDEFGHIJKLMNOPTQRSTUVWXYZ"
++ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
+ "0123456789";
+ int i, j;
+ PSZ zTempPath = 0;
+@@ -13914,7 +13914,7 @@ SQLITE_PRIVATE int sqlite3UnixTempFileName(char *zBuf){
+ };
+ static const unsigned char zChars[] =
+ "abcdefghijklmnopqrstuvwxyz"
+- "ABCDEFGHIJKLMNOPTQRSTUVWXYZ"
++ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
+ "0123456789";
+ int i, j;
+ struct stat buf;
+@@ -17014,7 +17014,7 @@ static int winOpenDirectory(
+ SQLITE_PRIVATE int sqlite3WinTempFileName(char *zBuf){
+ static char zChars[] =
+ "abcdefghijklmnopqrstuvwxyz"
+- "ABCDEFGHIJKLMNOPTQRSTUVWXYZ"
++ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
+ "0123456789";
+ int i, j;
+ char zTempPath[SQLITE_TEMPNAME_SIZE];
+@@ -48880,7 +48880,7 @@ static void loadExt(sqlite3_context *context, int argc, sqlite3_value **argv){
+ static void randStr(sqlite3_context *context, int argc, sqlite3_value **argv){
+ static const unsigned char zSrc[] =
+ "abcdefghijklmnopqrstuvwxyz"
+- "ABCDEFGHIJKLMNOPTQRSTUVWXYZ"
++ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
+ "0123456789"
+ ".-!,:*^+=_|?/<> ";
+ int iMin, iMax, n, r, i;
diff --git a/redhat/applications/amarok/trinity-amarok.spec b/redhat/applications/amarok/trinity-amarok.spec
index 3252bd4fa..a5eb0d8ae 100644
--- a/redhat/applications/amarok/trinity-amarok.spec
+++ b/redhat/applications/amarok/trinity-amarok.spec
@@ -25,7 +25,7 @@
Name: trinity-%{kdecomp}
Summary: Media player
Version: 1.4.10
-Release: 6%{?dist}%{?_variant}
+Release: 7%{?dist}%{?_variant}
Group: Applications/Multimedia
License: GPLv2+
@@ -49,6 +49,8 @@ Patch7: amarok-3.5.13-fix_gcc47_compilation.patch
# [amarok] Fix inotify detection [Commit #899586da]
Patch11: amarok-3.5.13-fix_inotify_support.patch
+# [amarok] Fix linear alphabet string errors [Commit #6e5a3b66]
+Patch12: amarok-3.5.13-fix_linear_alphabet.patch
BuildRequires: alsa-lib-devel
BuildRequires: desktop-file-utils
@@ -147,7 +149,8 @@ Amarok is a multimedia player with:
%{tde_datadir}/services/amaroklastfm.protocol
%{tde_datadir}/services/amarokpcast.protocol
# -libs ? -- Rex
-%{tde_libdir}/libamarok.*
+%{tde_libdir}/libamarok.so.0
+%{tde_libdir}/libamarok.so.0.0.0
# DAAP
%{tde_bindir}/amarok_daapserver.rb
%{tde_tdelibdir}/libamarok_daap-mediadevice.*
@@ -273,6 +276,7 @@ use any of xmms' visualisation plugins with Amarok.
%patch7 -p1
%patch11 -p1 -b .inotify
+%patch12 -p1 -b .alphabet
%build
@@ -317,7 +321,8 @@ cd build
# unpackaged files
%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la
-
+# Removes '.so' to avoid automatic -devel dependency
+%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so
# HTML
for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do
@@ -347,6 +352,10 @@ done
%changelog
+* Sat Aug 04 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.10-7
+- Fix linear alphabet string errors [Commit #6e5a3b66]
+- Fix dependencies issues with -devel packages.
+
* Mon Apr 29 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.10-6
- Rebuilt for Fedora 17
- Fix compilation with GCC 4.7