Commit 7f08dcfc authored by Mateusz Łukasik's avatar Mateusz Łukasik

Imported Upstream version 3.7.1

parent b541fedc
......@@ -25,3 +25,39 @@ based on the Tango Icon Library and are in the public domain.
Please note that many of the plugins distributed with Audacious are under
different licenses.
THIRD-PARTY LICENSES
libguess - a high-speed character set detection library
Copyright © 2000-2003 Shiro Kawai
Copyright © 2005-2010 Yoshiki Yazawa
Copyright © 2007-2010 William Pitcock
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the authors nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
This software is provided by the copyright holders and contributors “as is”
and any express or implied warranties, including, but not limited to, the
implied warranties of merchantability and fitness for a particular purpose
are disclaimed. In no event shall the copyright owner or contributors be
liable for any direct, indirect, incidental, special, exemplary, or
consequential damages (including, but not limited to, procurement of
substitute goods or services; loss of use, data, or profits; or business
interruption) however caused and on any theory of liability, whether in
contract, strict liability, or tort (including negligence or otherwise)
arising in any way out of the use of this software, even if advised of the
possibility of such damage.
......@@ -81,12 +81,12 @@ AC_REQUIRE([AC_C_BIGENDIAN])
AC_REQUIRE([AC_SYS_LARGEFILE])
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -std=gnu99 -ffast-math -Wall -pipe"
CFLAGS="$CFLAGS -std=gnu99 -ffast-math -Wall -pipe -Wno-deprecated-declarations"
if test "x$HAVE_DARWIN" = "xyes"; then
CXXFLAGS="$CXXFLAGS -stdlib=libc++ -std=gnu++11 -ffast-math -Wall -pipe"
CXXFLAGS="$CXXFLAGS -stdlib=libc++ -std=gnu++11 -ffast-math -Wall -pipe -Wno-deprecated-declarations"
LDFLAGS="$LDFLAGS -lc++ -stdlib=libc++"
else
CXXFLAGS="$CXXFLAGS -std=gnu++11 -ffast-math -Wall -pipe"
CXXFLAGS="$CXXFLAGS -std=gnu++11 -ffast-math -Wall -pipe -Wno-deprecated-declarations"
fi
AUD_CHECK_CFLAGS(-Wtype-limits)
AUD_CHECK_CXXFLAGS(-Woverloaded-virtual)
......@@ -107,13 +107,13 @@ fi
dnl Enable "-Wl,-z,defs" only on Linux
dnl ==================================
if test $HAVE_LINUX = yes ; then
LDFLAGS="$LDFLAGS -Wl,-z,defs"
LDFLAGS="$LDFLAGS -Wl,-z,defs"
fi
dnl MinGW needs -march=i686 for atomics
dnl ===================================
if test $HAVE_MSWINDOWS = yes ; then
CFLAGS="$CFLAGS -march=i686"
CFLAGS="$CFLAGS -march=i686"
fi
dnl Byte order
......@@ -173,7 +173,7 @@ AC_SUBST(USE_GTK)
if test $HAVE_MSWINDOWS = yes ; then
PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.32)
else
PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.32 gio-unix-2.0 >= 2.32)
PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.32 gio-unix-2.0 >= 2.32)
fi
AC_SUBST(GLIB_CFLAGS)
......@@ -193,10 +193,12 @@ AC_ARG_ENABLE(qt,
USE_QT=$enableval, USE_QT=no)
if test $USE_QT = yes ; then
PKG_CHECK_MODULES([QT], [Qt5Core Qt5Gui Qt5Widgets])
PKG_CHECK_MODULES([QTCORE], [Qt5Core >= 5.2])
PKG_CHECK_MODULES([QT], [Qt5Core Qt5Gui Qt5Widgets >= 5.2])
AC_DEFINE(USE_QT, 1, [Define if Qt support enabled])
# needed if Qt was built with -reduce-relocations
QTCORE_CFLAGS="$QTCORE_CFLAGS -fPIC"
QT_CFLAGS="$QT_CFLAGS -fPIC"
fi
......
......@@ -33,15 +33,15 @@ Comment[lv]=Klausīties mūziku
Comment[ms]=Dengar muzik
Comment[nl]=Luister naar muziek
Comment[pl]=Słuchaj muzyki
Comment[pt_BR]=Ouvir Música
Comment[pt_BR]=Ouça música
Comment[pt_PT]=Reprodução de músicas
Comment[ro]=Ascultă muzică
Comment[ru]=Слушать музыку
Comment[sr]=Слушајте музику
Comment[sr_RS]=Слушајте музику
Comment[sv]=Lyssna på musik
Comment[tr]=Müzik dinleyin
Comment[uk]=Слухати музику
Comment[vi]=Nghe nhạc
Comment[zh_CN]=聆听音乐
Comment[zh_TW]=音樂鑑賞
......@@ -67,7 +67,7 @@ GenericName[lv]=Mūzikas atskaņotājs
GenericName[ms]=Pemain Muzik
GenericName[nl]=Muziekspeler
GenericName[pl]=Odtwarzacz muzyczny
GenericName[pt_BR]=Player de Música
GenericName[pt_BR]=Reprodutor de Música
GenericName[pt_PT]=Reprodutor áudio
GenericName[ro]=Player de muzică
GenericName[ru]=Музыкальный проигрыватель
......@@ -75,5 +75,6 @@ GenericName[sr]=Програм за слушање музике
GenericName[sv]=Musikspelare
GenericName[tr]=Müzik Çalar
GenericName[uk]=Музичний програвач
GenericName[vi]=Trình chơi nhạc
GenericName[zh_CN]=音乐播放器
GenericName[zh_TW]=音樂播放器
......@@ -97,9 +97,6 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define if character set detection enabled */
#undef USE_CHARDET
/* Define if D-Bus support enabled */
#undef USE_DBUS
......
This diff is collapsed.
......@@ -5,7 +5,7 @@ dnl ***
dnl Initialize
dnl ==========
AC_PREREQ([2.59])
AC_INIT([audacious], [3.6.2])
AC_INIT([audacious], [3.7.1])
AC_COPYRIGHT([Copyright (C) 2001-2015 Audacious developers and others])
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE_NAME", [Name of package])
......@@ -70,27 +70,6 @@ if test "x$HAVE_MSWINDOWS" = "xyes" && test "x$use_text_console" = "xno" ; then
LDFLAGS="$LDFLAGS -Wl,-subsystem,windows"
fi
dnl Character set detection
dnl =======================
AC_ARG_ENABLE(chardet,
AS_HELP_STRING(--enable-chardet, [Disable character set detection (default=auto)]),
USE_CHARDET=$enableval, USE_CHARDET=auto)
if test $USE_CHARDET != no ; then
PKG_CHECK_MODULES(LIBGUESS, libguess >= 1.2, have_libguess=yes, have_libguess=no)
if test $have_libguess = yes ; then
USE_CHARDET=yes
AC_DEFINE(USE_CHARDET, 1, [Define if character set detection enabled])
elif test $USE_CHARDET = yes ; then
AC_MSG_ERROR([Character set detection could not be enabled; check config.log])
else
USE_CHARDET=no
fi
fi
AC_SUBST(USE_CHARDET)
dnl D-Bus support
dnl =============
......@@ -99,10 +78,10 @@ AC_ARG_ENABLE(dbus,
USE_DBUS=$enableval, USE_DBUS=yes)
if test $USE_DBUS = yes ; then
AC_CHECK_PROG(have_dbus, gdbus-codegen, yes, no)
if test $have_dbus = no ; then
AC_MSG_ERROR([D-Bus support unavailable; use --disable-dbus for a crippled build])
fi
AC_CHECK_PROG(have_dbus, gdbus-codegen, yes, no)
if test $have_dbus = no ; then
AC_MSG_ERROR([D-Bus support unavailable; use --disable-dbus for a crippled build])
fi
AC_DEFINE(USE_DBUS, 1, [Define if D-Bus support enabled])
fi
......@@ -161,7 +140,6 @@ echo "Configuration:"
echo ""
echo " Install path: $prefix"
echo ""
echo " Automatic character code detection: $USE_CHARDET"
echo " D-Bus support: $USE_DBUS"
echo " GTK+ support: $USE_GTK"
echo " Qt support: $USE_QT"
......
......@@ -32,7 +32,6 @@ LIBRARY_PATH=/C/GTK/lib:/C/libs/lib</tt></p></blockquote>
<p>In the MinGW Installation Manager window, install the following packages:</p>
<ul><li>mingw32-base (bin)</li>
<li>mingw32-gcc-g++ (bin)</li>
<li>mingw32-gcc-g++ (bin)</li>
<li>mingw-developer-toolkit (bin)</li>
<li>mingw32-pthreads-w32 (dev)</li>
<li>mingw32-libz (dev)</li></ul>
......@@ -43,10 +42,16 @@ following line, in lowercase:</p>
<p>As of version 4.0.3-1, the MinGW runtime library is missing some mathematical
functions that are necessary to build Audacious. Downgrade the library by
running the following in a command prompt window:<p>
running the following in a command prompt window:</p>
<blockquote><p><tt>mingw-get upgrade mingw32-mingwrt-dev=3.20-2<br>
mingw-get upgrade mingw32-w32api=3.17-2</tt></p></blockquote>
<p>Open the file <tt>C:\MinGW\lib\gcc\mingw32\4.8.1\include\c++\mingw32\bits\c++config.h</tt>
and locate the following line:</p>
<blockquote><p><tt>/* #undef _GLIBCXX_HAVE_FENV_H */</tt></p></blockquote>
<p>Change it to read:</p>
<blockquote><p><tt>#define _GLIBCXX_HAVE_FENV_H 1</tt></p></blockquote>
<h3>Install Python</h3>
<p>Download and run:<br>
......@@ -98,7 +103,8 @@ make install</tt></p></blockquote>
<tt>http://ftp.gnome.org/pub/GNOME/sources/glib/2.44/glib-2.44.1.tar.xz</tt></a></p>
<p>Apply the patch <tt>ggettext.c.diff</tt> to <tt>C:\glib\glib\ggettext.c</tt>.<br>
Apply the patch <tt>glocalfileinfo.c.diff</tt> to <tt>C:\glib\gio\glocalfileinfo.c.diff</tt>.<br>
Apply the patch <tt>gcontenttype-win32.c.diff</tt> to <tt>C:\glib\gio\gcontenttype-win32.c.diff</tt>.<br>
Apply the patch <tt>gwin32appinfo.c.diff</tt> to <tt>C:\glib\gio\gwin32appinfo.c.diff</tt>.<br>
Apply the patch <tt>gwin32networking.h.diff</tt> to <tt>C:\glib\gio\gwin32networking.h</tt>.</p>
<p>In the MinGW shell:</p>
......@@ -187,6 +193,8 @@ make install</tt></p></blockquote>
<a href="http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-2.24.28.tar.xz">
<tt>http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-2.24.28.tar.xz</tt></a></p>
<p>Apply the patch <tt>gdkwindow-win32.c.diff</tt> to <tt>C:\gtksrc\gdk\win32\gdkwindow-win32.c</tt>.</p>
<p>In the MinGW shell:</p>
<blockquote><p><tt>cd /C/gtksrc<br>
CFLAGS="-O2 -D_WIN32_WINNT=0x0501" ./configure --prefix=/C/GTK<br>
......@@ -377,7 +385,7 @@ make install</tt></p></blockquote>
<p>In the MinGW shell:</p>
<blockquote><p><tt>cd /C/libflac<br>
./configure --prefix=/C/libs<br>
./configure --prefix=/C/libs --disable-asm-optimizations --disable-sse --disable-ogg<br>
make<br>
make install</tt></p></blockquote>
......@@ -405,20 +413,6 @@ make install</tt></p></blockquote>
make<br>
make install</tt></p></blockquote>
<!-- TODO: set up SSL certificates for Scrobbler
<h3>Install OpenSSL</h3>
<p>Download and unzip to <tt>C:\openssl</tt>:<br>
<a href="http://www.openssl.org/source/openssl-1.0.1j.tar.gz">
<tt>http://www.openssl.org/source/openssl-1.0.1j.tar.gz</tt></a></p>
<p>In the MinGW shell:</p>
<blockquote><p><tt>cd /C/openssl<br>
./configure shared mingw --prefix=/C/libs<br>
make<br>
make install</tt></p></blockquote>
-->
<h3>Install libneon</h3>
<p>Download and unzip to <tt>C:\libneon</tt>:<br>
......@@ -427,7 +421,7 @@ make install</tt></p></blockquote>
<p>In the MinGW shell:</p>
<blockquote><p><tt>cd /C/libneon<br>
./configure --prefix=/C/libs --enable-shared<br> <!-- --with-ssl -->
./configure --prefix=/C/libs --enable-shared<br>
make<br>
make install</tt></p></blockquote>
......@@ -470,15 +464,6 @@ make install</tt></p></blockquote>
make<br>
make install</tt></p></blockquote>
<h3>Install libbinio</h3>
<p>Download and unzip to <tt>C:\libbinio</tt>:<br>
<a href="http://sourceforge.net/projects/libbinio/files/libbinio/1.4/libbinio-1.4.tar.bz2/download">
<tt>http://sourceforge.net/projects/libbinio/files/libbinio/1.4/libbinio-1.4.tar.bz2/download</tt></a></p>
<p>Apply the patch <tt>binwrap.cpp.diff</tt> to <tt>C:\libbinio\src\binwrap.cpp</tt>.<br>
Apply the patch <tt>libbinio-makefile.am.diff</tt> to <tt>C:\libbinio\src\Makefile.am</tt>.</p>
<p>In the MinGW shell:</p>
<blockquote><p><tt>cd /C/libbinio<br>
cp /C/MinGW/share/libtool/config/ltmain.sh .<br>
......@@ -487,20 +472,6 @@ autoreconf<br>
make<br>
make install</tt></p></blockquote>
<!-- TODO: set up SSL certificates for Scrobbler
<h3>Install libcurl</h3>
<p>Download and unzip to <tt>C:\libcurl</tt>:<br>
<a href="http://curl.haxx.se/download/curl-7.39.0.tar.bz2">
<tt>http://curl.haxx.se/download/curl-7.39.0.tar.bz2</tt></a></p>
<p>In the MinGW shell:</p>
<blockquote><p><tt>cd /C/libcurl<br>
./configure --prefix=/C/libs<br>
make<br>
make install</tt></p></blockquote>
-->
<h3>Install libmms</h3>
<p>Download and unzip to <tt>C:\libmms</tt>:<br>
......
--- binwrap.cpp.0 2003-03-08 11:02:34 -0500
+++ binwrap.cpp 2012-07-01 20:28:48 -0400
@@ -17,6 +17,7 @@
* Copyright (C) 2002, 2003 Simon Peter <dn.tlp@gmx.net>
*/
+#include <cstdio>
#include "binwrap.h"
#if BINIO_ENABLE_IOSTREAM
From 5f0665cbbc1d8b2fafeeb1fba7569612832b7541 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?=
=?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= <lrn1986@gmail.com>
Date: Thu, 30 Apr 2015 23:09:30 +0000
Subject: W32: Special treatment for inode/directory mime/type
This is a hack for GLocalFileInfo to correctly get icons for directories.
Without this change content type for any W32 directory is NULL
(because there's no registry entry for "inode/directory" by default,
and in any way there's no file extension that means "directory" to put there),
and GLocalFileInfo uses content type to grab icons.
https://bugzilla.gnome.org/show_bug.cgi?id=748727
diff --git a/gio/gcontenttype-win32.c b/gio/gcontenttype-win32.c
index cc8bd82..2db8bd7 100644
--- a/gio/gcontenttype-win32.c
+++ b/gio/gcontenttype-win32.c
@@ -299,6 +299,10 @@ g_content_type_from_mime_type (const gchar *mime_type)
g_return_val_if_fail (mime_type != NULL, NULL);
+ /* This is a hack to allow directories to have icons in filechooser */
+ if (strcmp ("inode/directory", mime_type) == 0)
+ return g_strdup (mime_type);
+
key = g_strconcat ("MIME\\DataBase\\Content Type\\", mime_type, NULL);
content_type = get_registry_classes_key (key, L"Extension");
g_free (key);
--
cgit v0.10.2
--- gdkwindow-win32.c.0 2014-09-29 16:02:16 -0400
+++ gdkwindow-win32.c 2015-12-24 06:08:41 -0500
@@ -3202,6 +3202,12 @@
SWP_FRAMECHANGED | SWP_NOACTIVATE |
SWP_NOREPOSITION | SWP_NOZORDER);
+ /* For reasons not clearly understood, the first call to SetWindowPos will
+ * sometimes ignore/adjust the window size we requested. The second call
+ * below works around this bug/feature. */
+ SetWindowPos (GDK_WINDOW_HWND (window), NULL,
+ 0, 0, rect.right - rect.left, rect.bottom - rect.top,
+ SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER);
}
static void
--- glocalfileinfo.c.0 2015-05-17 01:31:00 -0400
+++ glocalfileinfo.c 2015-05-17 01:54:24 -0400
@@ -1579,13 +1579,12 @@
}
}
-static const char *
-get_icon_name (const char *path,
- const char *content_type,
- gboolean use_symbolic,
- gboolean *with_fallbacks_out)
+static GIcon *
+get_icon_for_folder (const char *path,
+ gboolean use_symbolic)
{
- const char *name = NULL;
+ GIcon *icon;
+ const char *name;
gboolean with_fallbacks = TRUE;
if (strcmp (path, g_get_home_dir ()) == 0)
@@ -1626,45 +1625,15 @@
{
name = use_symbolic ? "folder-videos-symbolic" : "folder-videos";
}
- else if (g_strcmp0 (content_type, "inode/directory") == 0)
- {
- name = use_symbolic ? "folder-symbolic" : "folder";
- }
else
{
- name = NULL;
+ name = use_symbolic ? "folder-symbolic" : "folder";
}
- if (with_fallbacks_out != NULL)
- *with_fallbacks_out = with_fallbacks;
-
- return name;
-}
-
-static GIcon *
-get_icon (const char *path,
- const char *content_type,
- gboolean use_symbolic)
-{
- GIcon *icon = NULL;
- const char *icon_name;
- gboolean with_fallbacks;
-
- icon_name = get_icon_name (path, content_type, use_symbolic, &with_fallbacks);
- if (icon_name != NULL)
- {
- if (with_fallbacks)
- icon = g_themed_icon_new_with_default_fallbacks (icon_name);
- else
- icon = g_themed_icon_new (icon_name);
- }
+ if (with_fallbacks)
+ icon = g_themed_icon_new_with_default_fallbacks (name);
else
- {
- if (use_symbolic)
- icon = g_content_type_get_symbolic_icon (content_type);
- else
- icon = g_content_type_get_icon (content_type);
- }
+ icon = g_themed_icon_new (name);
return icon;
}
@@ -1839,37 +1808,47 @@
{
char *content_type = get_content_type (basename, path, stat_ok ? &statbuf : NULL, is_symlink, symlink_broken, flags, FALSE);
- if (content_type)
- {
- g_file_info_set_content_type (info, content_type);
-
- if (_g_file_attribute_matcher_matches_id (attribute_matcher,
- G_FILE_ATTRIBUTE_ID_STANDARD_ICON)
- || _g_file_attribute_matcher_matches_id (attribute_matcher,
- G_FILE_ATTRIBUTE_ID_STANDARD_SYMBOLIC_ICON))
- {
- GIcon *icon;
+ if (_g_file_attribute_matcher_matches_id (attribute_matcher,
+ G_FILE_ATTRIBUTE_ID_STANDARD_ICON) ||
+ _g_file_attribute_matcher_matches_id (attribute_matcher,
+ G_FILE_ATTRIBUTE_ID_STANDARD_SYMBOLIC_ICON))
+ {
+ GIcon *icon;
- /* non symbolic icon */
- icon = get_icon (path, content_type, FALSE);
- if (icon != NULL)
- {
- g_file_info_set_icon (info, icon);
- g_object_unref (icon);
- }
-
- /* symbolic icon */
- icon = get_icon (path, content_type, TRUE);
- if (icon != NULL)
- {
- g_file_info_set_symbolic_icon (info, icon);
- g_object_unref (icon);
- }
+ /* non symbolic icon */
+ if (stat_ok && S_ISDIR (statbuf.st_mode))
+ icon = get_icon_for_folder (path, FALSE);
+ else if (content_type != NULL)
+ icon = g_content_type_get_icon (content_type);
+ else
+ icon = NULL;
+
+ if (icon != NULL)
+ {
+ g_file_info_set_icon (info, icon);
+ g_object_unref (icon);
+ }
+
+ /* symbolic icon */
+ if (stat_ok && S_ISDIR (statbuf.st_mode))
+ icon = get_icon_for_folder (path, TRUE);
+ else if (content_type != NULL)
+ icon = g_content_type_get_symbolic_icon (content_type);
+ else
+ icon = NULL;
+
+ if (icon != NULL)
+ {
+ g_file_info_set_symbolic_icon (info, icon);
+ g_object_unref (icon);
+ }
+ }
- }
-
- g_free (content_type);
- }
+ if (content_type != NULL)
+ {
+ g_file_info_set_content_type (info, content_type);
+ g_free (content_type);
+ }
}
if (_g_file_attribute_matcher_matches_id (attribute_matcher,
--- gwin32appinfo.c.0 2015-02-26 07:57:09 -0500
+++ gwin32appinfo.c 2015-07-18 11:39:10 -0400
@@ -287,7 +287,11 @@
for (l = locations; l != NULL; l = l->next)
{
- wchar_t *wloc = g_utf8_to_utf16 (l->data, -1, NULL, NULL, NULL);
+ /* Some Windows apps (at least explorer.exe) don't know how to handle
+ * file:// URIs, so try to convert them to a local filename. */
+ gchar *fname = g_filename_from_uri (l->data, NULL, NULL);
+ wchar_t *wloc = g_utf8_to_utf16 (fname != NULL ? fname : l->data, -1,
+ NULL, NULL, NULL);
memset (&exec_info, 0, sizeof (exec_info));
exec_info.cbSize = sizeof (exec_info);
@@ -308,6 +312,7 @@
return FALSE;
}
+ g_free (fname);
g_free (wloc);
}
@@ -642,6 +647,11 @@
wchar_t buffer[1024];
DWORD buffer_size;
+ /* the GIO content type for a directory is "inode/directory";
+ * the corresponding Windows registry entry is "Folder" */
+ if (g_strcmp0 (association, "inode/directory") == 0)
+ association = "Folder";
+
wtype = g_utf8_to_utf16 (association, -1, NULL, NULL, NULL);
/* Verify that we have some sort of app registered for this type */
--- Makefile.am.0 2005-09-17 11:33:29 -0400
+++ Makefile.am 2013-09-13 21:55:38 -0400
@@ -2,7 +2,7 @@
libbinio_la_SOURCES = binio.cpp binfile.cpp binwrap.cpp binstr.cpp
-libbinio_la_LDFLAGS = -version-info 1:0:0
+libbinio_la_LDFLAGS = -version-info 1:0:0 -no-undefined
pkginclude_HEADERS = binio.h binfile.h binwrap.h binstr.h
HAVE_MSWINDOWS ?= @HAVE_MSWINDOWS@
USE_CHARDET ?= @USE_CHARDET@
USE_DBUS ?= @USE_DBUS@
USE_GTK ?= @USE_GTK@
USE_QT ?= @USE_QT@
......@@ -12,7 +11,7 @@ GMODULE_CFLAGS ?= @GMODULE_CFLAGS@
GMODULE_LIBS ?= @GMODULE_LIBS@
GTK_CFLAGS ?= @GTK_CFLAGS@
GTK_LIBS ?= @GTK_LIBS@
LIBGUESS_CFLAGS ?= @LIBGUESS_CFLAGS@
LIBGUESS_LIBS ?= @LIBGUESS_LIBS@
QTCORE_CFLAGS ?= @QTCORE_CFLAGS@
QTCORE_LIBS ?= @QTCORE_LIBS@
QT_CFLAGS ?= @QT_CFLAGS@
QT_LIBS ?= @QT_LIBS@
.TH AUDACIOUS "1" "November 2014" "Version @PACKAGE_VERSION@" "Audacious"
.TH AUDACIOUS "1" "July 2015" "Version @PACKAGE_VERSION@" "Audacious"
.SH NAME
audacious \- an advanced audio player.
.SH SYNOPSIS
.B audacious
[OPTION] ... [FILE] ...
[\fIoption\fR ...] [\fIfile\fR ...]
.SH DESCRIPTION
Audacious is a free advanced audio player for Linux and many other
UNIX-compatible systems. It focuses on low resource usage, high audio quality,
and support for a wide range of audio formats. It was originally based on Beep
UNIX-compatible systems. It focuses on low resource usage, high audio quality,
and support for a wide range of audio formats. It was originally based on Beep
Media Player, which was in turn based on XMMS.
.SH OPTIONS
.B Getting help:
.SS Getting help:
.TP
.I -h, --help
.B -h, --help
Show a brief list of options.
.PP
.B Opening files:
.SS Opening files:
.TP
.I -e, --enqueue
.B -e, --enqueue
Add the files on the command line to the current playlist but do not start
playback.
.TP
.I -E, --enqueue-to-temp
Add the files on the command line to a temporary playlist and start playback.
.B -E, --enqueue-to-temp
Add the files on the command line to the ``Now Playing'' playlist and start
playback.
.PP
.B Controlling playback:
.SS Controlling playback:
.TP
.I -p, --play
If currently playing, go to the beginning of the song; otherwise, begin playing.
.B -p, --play
Start playback. If paused, playback will resume from the same point. If
already active and not paused, it will restart from the beginning of the song.
.TP
.I -u, --pause
If currently playing, pause; if paused, resume playing.
.B -u, --pause
Pause playback, or resume if already paused.
.TP
.I -t, --play-pause
If currently playing, pause; otherwise, begin playing.
.B -t, --play-pause
Equivalent to \fB--pause\fR if playback is active, otherwise \fB--play\fR.
.TP
.I -s, --stop
Stop playing and go to the beginning of the song.
.B -s, --stop
Stop playback.
.TP
.I -r, --rew
Go to the previous song in the playlist.
.B -r, --rew
Skip to the previous song in the playlist.
.TP
.I -f, --fwd
Go to the next song in the playlist.
.B -f, --fwd
Skip to the next song in the playlist.
.PP
.B Miscellaneous:
.SS Miscellaneous:
.TP
.I -m, --show-main-window
.B -m, --show-main-window
Show the Audacious window if it is hidden and bring it to the top.