From 8aca0ba576645e1c9ae29792b0303a48c2e85cec Mon Sep 17 00:00:00 2001 From: Thomas Frauendorfer Date: Fri, 10 Jul 2009 21:26:29 +0200 Subject: [PATCH] OTHER: Add a manpage and a changelog, tag as 0.1-rc1 --- ChangeLog | 3 +++ config.pri | 3 ++- promoe.1 | 39 +++++++++++++++++++++++++++++++++++++++ promoe.pro | 9 ++++++++- src/application.cpp | 2 +- 5 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 ChangeLog create mode 100644 promoe.1 diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..0738eed --- /dev/null +++ b/ChangeLog @@ -0,0 +1,3 @@ +Version 0.1rc1 (2009-07-08) + * first release candidate + * mainwindow, playlistwindow and equalizer mostly work diff --git a/config.pri b/config.pri index 3bbcb2a..f56b23e 100644 --- a/config.pri +++ b/config.pri @@ -1,8 +1,9 @@ -DEFINES += PROMOE_VERSION="\"\\\"0.1-dev\\\"\"" +DEFINES += PROMOE_VERSION="\"\\\"0.1-rc1\\\"\"" isEmpty(PREFIX): PREFIX = /usr/local isEmpty(BINDIR): BINDIR = $$PREFIX/bin isEmpty(DATADIR): DATADIR = $$PREFIX/share/promoe +isEmpty(MANDIR): MANDIR = $$PREFIX/share/man DEFINES += DATADIR="\"\\\"$$DATADIR\\\"\"" diff --git a/promoe.1 b/promoe.1 new file mode 100644 index 0000000..c17c20d --- /dev/null +++ b/promoe.1 @@ -0,0 +1,39 @@ +.TH PROMOE 1 +.SH NAME +promoe \- gui client for xmms2 +.SH SYNOPSIS +.B promoe +.P +.SH DESCRIPTION +.I Promoe +is a client for the xmms2 music daemon. Promoe's interface is modeled after +XMMS/WinAMP classic. +.SH FILES +.TP +.I $XDG_CONFIG_HOME/xmms2/Promoe.conf +The configuration file +.TP +.I $HOME/.config/xmms2/clients/promoe/skins +Default directory for skins, can be changed in the configuration file +.SH ENVIRONMENT VARIABLES +.TP +.I XMMS_PATH +The URL path to +.I xmms2d. +See +.B IPC SOCKET +in +.I xmms2d(8) +for details of possible values for this variable +.SH SEE ALSO +xmms2d(8), http://xmms2.xmms.org +.SH BUGS +Please report bugs at +.B http://bugs.xmms2.xmms.se +.SH AUTHORS +Thomas Frauendorfer, Tobias Rundström, Daniel Svensson and others. +The +.B AUTHORS +file contains a complete list of contributors +.PP +Thomas Frauendorfer is to blame for the manpage diff --git a/promoe.pro b/promoe.pro index 1bfa7f2..5c1aca7 100644 --- a/promoe.pro +++ b/promoe.pro @@ -4,9 +4,16 @@ SUBDIRS = lib src include (config.pri) -message ( "Install path set to:" $$PREFIX ) +message ( "Install prefix set to:" $$PREFIX ) binary.path = $$BINDIR binary.files = promoe INSTALLS += binary + +unix: { +manpages1.path = $$MANDIR/man1 +manpages1.files = promoe.1 +INSTALLS += manpages1 +} + diff --git a/src/application.cpp b/src/application.cpp index 8c127e5..b49ada8 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -96,7 +96,7 @@ Application::handleDisconnected () int pressed = QMessageBox::warning( NULL, "xmms2 daemon disconnected", - "The xmms2 deamon has disconnected\n" + "The xmms2 daemon has disconnected\n" "This could be because the server crashed\n" "or because another client has shut down the sever.", "Reconnect", "Quit Promoe");