xaizek / pms (License: GPLv3+) (since 2018-12-07)
Older version of Practical Music Search written in C++.
Commit 449eb668d12cd069002b925675ae5d870e09186c

Reduce libmpdclient version requirement to 2.5

Author: Kim Tore Jensen
Author date (UTC): 2015-08-28 22:10
Committer: Kim Tore Jensen
Commit date (UTC): 2015-08-28 22:10
Tree: 194ede31e9786b87c97a90a3a44e4291845fe604
Parents: 33965f0d7308af22b7108d1068069de3defc04c4
File Lines added Lines deleted
configure.ac 1 1
src/command.cpp 1 1

File configure.ac changed (mode: 100644) (index 69aab8b..5c0ed13)
... ... AC_PROG_MAKE_SET
23 23 AX_WITH_CURSES AX_WITH_CURSES
24 24 PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.0],, [AC_MSG_ERROR([glib 2.0 or newer is required])]) PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.0],, [AC_MSG_ERROR([glib 2.0 or newer is required])])
25 25 PKG_CHECK_MODULES([libzmq], [libzmq >= 3.0],, [AC_MSG_ERROR([ZeroMQ 3.x or newer is required])]) PKG_CHECK_MODULES([libzmq], [libzmq >= 3.0],, [AC_MSG_ERROR([ZeroMQ 3.x or newer is required])])
26 PKG_CHECK_MODULES([libmpdclient], [libmpdclient >= 2.11],, [AC_MSG_ERROR([libmpdclient 2.11 or newer is required])])
26 PKG_CHECK_MODULES([libmpdclient], [libmpdclient >= 2.5],, [AC_MSG_ERROR([libmpdclient 2.5 or newer is required])])
27 27
28 28 # Checks for header files. # Checks for header files.
29 29 AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h]) AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h])

File src/command.cpp changed (mode: 100644) (index 04dc498..4596280)
... ... Mpd_status::assign_status(struct mpd_status * status)
101 101 db_updating = mpd_status_get_update_id(status); db_updating = mpd_status_get_update_id(status);
102 102
103 103 /* Time elapsed */ /* Time elapsed */
104 #if LIBMPDCLIENT_CHECK_VERSION(2, 10, 0)
104 #if LIBMPDCLIENT_CHECK_VERSION(2, 1, 0)
105 105 ms = mpd_status_get_elapsed_ms(status); ms = mpd_status_get_elapsed_ms(status);
106 106 #else #else
107 107 ms = mpd_status_get_elapsed(status) * 1000; ms = mpd_status_get_elapsed(status) * 1000;
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/pms

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/pms

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master