[SCM] Amarok packaging branch, experimental, updated. debian/2.6-beta1-1
Modestas Vainius
modax at alioth.debian.org
Sat Jun 2 22:21:51 UTC 2012
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/amarok.git;a=commitdiff;h=28bbce1
The following commit has been merged in the experimental branch:
commit 28bbce194e9860e30f336c984c484529840a9196
Author: Modestas Vainius <modax at debian.org>
Date: Sun Jun 3 00:08:07 2012 +0300
Adapt debian_find_mysql_fix.diff to upstream changes.
---
debian/changelog | 1 +
debian/patches/debian_find_mysql_fix.diff | 48 ++---------------------------
2 files changed, 4 insertions(+), 45 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 35889fd..8200031 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ amarok (2.6~beta1-0r1) UNRELEASED; urgency=low
* New upstream development release (2.5.90).
* Drop upstream_fix_lyrics_autorefresh_in_some_cases.patch, merged upstream.
+ * Adapt debian_find_mysql_fix.diff to upstream changes.
-- Modestas Vainius <modax at debian.org> Sun, 03 Jun 2012 00:00:29 +0300
diff --git a/debian/patches/debian_find_mysql_fix.diff b/debian/patches/debian_find_mysql_fix.diff
index 0fc1c6a..3374c77 100644
--- a/debian/patches/debian_find_mysql_fix.diff
+++ b/debian/patches/debian_find_mysql_fix.diff
@@ -1,38 +1,11 @@
From: Modestas Vainius <modax at debian.org>
Subject: Fix mysql_config call for Debian MySQL
-Last-Update: 2012-05-21
+Last-Update: 2012-06-02
* As of 5.5.23, mysql_config_pic is shipped inside libmysqld-pic package.
-* As of 5.5.23, -L/usr/lib/mysql is no longer in --libmysqld-libs so linker
- can't find -lmysqld_pic anymore.
-
--- Found MySQL: Usage: /usr/bin/mysql_config [OPTIONS]
-Options:
- --cflags [-I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX]
- --include [-I/usr/include/mysql]
- --libs [-rdynamic -L/usr/lib/mysql -lmysqlclient]
- --libs_r [-rdynamic -L/usr/lib/mysql -lmysqlclient_r]
- --plugindir [/usr/lib/mysql/plugin]
- --socket [/var/run/mysqld/mysqld.sock]
- --port [0]
- --version [5.1.58]
- --libmysqld-libs [-rdynamic -L/usr/lib/mysql -lmysqld -ldl -lwrap -lrt], -rdynamic -L/usr/lib/mysql -lmysqlclient
--- Found MySQL Embedded: Usage: /usr/bin/mysql_config [OPTIONS]
-Options:
- --cflags [-I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX]
- --include [-I/usr/include/mysql]
- --libs [-rdynamic -L/usr/lib/mysql -lmysqlclient]
- --libs_r [-rdynamic -L/usr/lib/mysql -lmysqlclient_r]
- --plugindir [/usr/lib/mysql/plugin]
- --socket [/var/run/mysqld/mysqld.sock]
- --port [0]
- --version [5.1.58]
- --libmysqld-libs [-rdynamic -L/usr/lib/mysql -lmysqld -ldl -lwrap -lrt], -rdynamic -L/usr/lib/mysql -lmysqld_pic -ldl -lwrap -lrt -lpthread
-
-ii libmysqlclient-dev 5.1.58-1 MySQL database development files
--- a/cmake/modules/FindMySQLAmarok.cmake
+++ b/cmake/modules/FindMySQLAmarok.cmake
-@@ -13,11 +13,11 @@
+@@ -13,7 +13,7 @@
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
if(NOT WIN32)
@@ -40,19 +13,4 @@ ii libmysqlclient-dev 5.1.58-1 MySQL database d
+ find_program(MYSQLCONFIG_EXECUTABLE NAMES mysql_config_pic mysql_config mysql_config5 PATHS ${BIN_INSTALL_DIR} ~/usr/bin /usr/local/bin)
endif(NOT WIN32)
- if(MYSQLCONFIG_EXECUTABLE)
-- exec_program(${MYSQLCONFIG_EXECUTABLE} ARGS --variable=pkgincludedir RETURN_VALUE _return_VALUE OUTPUT_VARIABLE MYSQL_INCLUDE_DIR)
-+ exec_program(${MYSQLCONFIG_EXECUTABLE} ARGS --include RETURN_VALUE _return_VALUE OUTPUT_VARIABLE MYSQL_INCLUDE_DIR)
- exec_program(${MYSQLCONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE MYSQL_CFLAGS)
- exec_program(${MYSQLCONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE MYSQL_LIBRARIES)
- exec_program(${MYSQLCONFIG_EXECUTABLE} ARGS --libmysqld-libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE MYSQL_EMBEDDED_LIBSTEMP)
-@@ -36,6 +36,9 @@ if(MYSQLCONFIG_EXECUTABLE)
-
- if(MYSQLD_PIC_SEPARATE)
- string(REPLACE "lmysqld" "lmysqld_pic" MYSQL_EMBEDDED_LIBRARIES ${MYSQL_EMBEDDED_LIBSTEMP})
-+ # Hack for Debian. mysql_config{,_pic} as of 5.5.23 does not refer to
-+ # -L/usr/lib/mysql where mysqld_pic actually lives (see #673574)
-+ set(MYSQL_EMBEDDED_LIBRARIES "-L/usr/lib/mysql ${MYSQL_EMBEDDED_LIBRARIES}")
- else(MYSQLD_PIC_SEPARATE)
- set(MYSQL_EMBEDDED_LIBRARIES ${MYSQL_EMBEDDED_LIBSTEMP})
- endif(MYSQLD_PIC_SEPARATE)
+ find_path(MYSQL_INCLUDE_DIR mysql.h
--
Amarok packaging
More information about the pkg-kde-commits
mailing list